| /openbsd/src/gnu/usr.bin/perl/cpan/IPC-SysV/t/ |
| D | shm.t | 36 my $shm = sub { 45 unless (defined $shm) { 60 my $st = $shm->stat; 67 ok($shm->write(pack("N", 4711), 0, 4), 'write(offs=0)'); 68 ok($shm->write(pack("N", 210577), 4, 4), 'write(offs=4)'); 70 is($shm->read(0, 4), pack("N", 4711), 'read(offs=0)'); 71 is($shm->read(4, 4), pack("N", 210577), 'read(offs=4)'); 73 ok($shm->attach, 'attach'); 75 $st = $shm->stat; 81 is($shm->read(0, 4), pack("N", 4711), 'read(offs=0)'); [all …]
|
| D | ipcsysv.t | 277 my $shm = catchsig(sub { shmget(IPC_PRIVATE, 4, S_IRWXU) }); 280 unless (defined $shm && $shm >= 0) { 284 pass("shm acquire"); 286 ok(shmwrite($shm, pack("N", 0xdeadbeef), 0, 4), 'shmwrite(0xdeadbeef)'); 288 my $addr = shmat($shm, undef, 0); 291 is(unpack("N", unpack("P4", $addr)), 0xdeadbeef, 'read shm by addr'); 293 ok(defined shmctl($shm, IPC_RMID, 0), 'shmctl(IPC_RMID)'); 298 is(unpack("N", $var), 0xdeadbeef, 'read shm by memread'); 302 is(unpack("N", unpack("P4", $addr)), 0xbadc0de5, 'read modified shm by addr');
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/builtins/ve/ |
| D | grow_stack_align.S | 23 shm.l %s62, 0x0(%s63) # stored at addr:0 24 shm.l %sl, 0x8(%s63) # old limit at addr:8 25 shm.l %sp, 0x10(%s63) # new limit at addr:16
|
| D | grow_stack.S | 23 shm.l %s62, 0x0(%s63) # stored at addr:0 24 shm.l %sl, 0x8(%s63) # old limit at addr:8 25 shm.l %sp, 0x10(%s63) # new limit at addr:16
|
| /openbsd/src/lib/libc/hidden/sys/ |
| D | shm.h | 21 #include_next <sys/shm.h>
|
| /openbsd/src/gnu/usr.bin/perl/cpan/IPC-SysV/ |
| D | SysV.xs | 399 void *shm = (void *) shmat(id, caddr, flag); 400 ST(0) = shm == (void *) -1 ? &PL_sv_undef 401 : sv_2mortal(newSVpvn((char *) &shm, sizeof(void *)));
|
| /openbsd/src/gnu/usr.bin/perl/ |
| D | doio.c | 3358 char *shm; local 3377 shm = (char *)shmat(id, NULL, (optype == OP_SHMREAD) ? SHM_RDONLY : 0); 3382 if (shm == (char *)-1) /* I hate System V IPC, I really do */ 3394 Copy(shm + mpos, mbuf, msize, char); 3406 Copy(mbuf, shm + mpos, n, char); 3408 memzero(shm + mpos + n, msize - n); 3410 return shmdt(shm);
|
| D | config_h.SH | 1918 * This symbol, if defined, indicates that the entire shm*(2) library is 1928 * This symbol, if defined, indicates that the sys/shm.h includes
|
| D | configure.com | 4471 $! Check for the shm* routines.
|
| /openbsd/src/gnu/gcc/libmudflap/ |
| D | config.h.in | 213 /* Define to 1 if you have the <sys/shm.h> header file. */
|
| D | configure.ac | 64 netdb.h sys/ipc.h sys/sem.h sys/shm.h sys/wait.h ctype.h mntent.h \
|
| /openbsd/src/usr.sbin/unbound/util/ |
| D | configlexer.lex | 448 shm-enable{COLON} { YDVAR(1, VAR_SHM_ENABLE) } 449 shm-key{COLON} { YDVAR(1, VAR_SHM_KEY) }
|
| /openbsd/src/sbin/unwind/libunbound/util/ |
| D | configlexer.lex | 448 shm-enable{COLON} { YDVAR(1, VAR_SHM_ENABLE) } 449 shm-key{COLON} { YDVAR(1, VAR_SHM_KEY) }
|
| /openbsd/src/usr.sbin/unbound/doc/ |
| D | example.conf.in | 26 # enable shm for stats, default no. if you enable also enable 28 # shared memory segment keyed with shm-key. 29 # shm-enable: no 31 # shm for stats uses this key, and key+1 for the shared mem segment. 32 # shm-key: 11777
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/VE/ |
| D | VEInstrInfo.td | 1568 defm SHML : SHMm<"shm.l", 0x31, I64>; 1570 defm SHMW : SHMm<"shm.w", 0x31, I64>; 1572 defm SHMH : SHMm<"shm.h", 0x31, I64>; 1574 defm SHMB : SHMm<"shm.b", 0x31, I64>;
|
| /openbsd/src/gnu/usr.bin/perl/cpan/Pod-Simple/t/ |
| D | perlcygo.txt | 54 …mctl_semun is undefined because it fails a Configure test and on Win9x the shm*() functions seem t…
|
| D | perlcyg.pod | 164 and on Win9x the I<shm*()> functions seem to hang. It also creates
|
| /openbsd/src/usr.sbin/unbound/ |
| D | config.h.in | 662 /* Define to 1 if you have the <sys/shm.h> header file. */
|
| D | configure.ac | 468 …ck2.h ws2tcpip.h endian.h sys/endian.h libkern/OSByteOrder.h sys/ipc.h sys/shm.h ifaddrs.h poll.h]…
|
| /openbsd/src/gnu/usr.bin/perl/pod/ |
| D | perlipc.pod | 1684 print "shm key $id\n"; 1697 print "deleting shm $id\n";
|
| /openbsd/src/gnu/usr.bin/perl/plan9/ |
| D | config_h.sample | 2083 * This symbol, if defined, indicates that the entire shm*(2) library is 3460 * This symbol, if defined, indicates that the sys/shm.h includes
|
| D | config.plan9 | 2174 * This symbol, if defined, indicates that the entire shm*(2) library is 3636 * This symbol, if defined, indicates that the sys/shm.h includes
|
| /openbsd/src/gnu/usr.bin/perl/Porting/ |
| D | config_H | 1881 * This symbol, if defined, indicates that the entire shm*(2) library is 1891 * This symbol, if defined, indicates that the sys/shm.h includes
|
| /openbsd/src/gnu/usr.bin/perl/win32/ |
| D | config_H.vc | 1883 * This symbol, if defined, indicates that the entire shm*(2) library is 1893 * This symbol, if defined, indicates that the sys/shm.h includes
|
| D | config_H.gc | 1883 * This symbol, if defined, indicates that the entire shm*(2) library is 1893 * This symbol, if defined, indicates that the sys/shm.h includes
|