/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/ |
H A D | w32shm.c | 72 PRSharedMemory *shm; local 87 shm = PR_NEWZAP( PRSharedMemory ); 88 if ( NULL == shm ) 95 shm->ipcname = PR_MALLOC( strlen( ipcname ) + 1 ); 96 if ( NULL == shm->ipcname ) 99 PR_LOG(_pr_shm_lm, PR_LOG_DEBUG, ( "PR_OpenSharedMemory: New shm->ipcname out of memory")); 100 PR_DELETE(shm); 105 strcpy( shm->ipcname, ipcname ); 106 shm->size = size; 107 shm 179 _MD_AttachSharedMemory( PRSharedMemory *shm, PRIntn flags ) argument 204 _MD_DetachSharedMemory( PRSharedMemory *shm, void *addr ) argument [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/memory/ |
H A D | prshm.c | 65 extern void * _MD_AttachSharedMemory( PRSharedMemory *shm, PRIntn flags ) argument 71 extern PRStatus _MD_DetachSharedMemory( PRSharedMemory *shm, void *addr ) argument 77 extern PRStatus _MD_CloseSharedMemory( PRSharedMemory *shm ) 112 PRSharedMemory *shm, 116 return( _PR_MD_ATTACH_SHARED_MEMORY( shm, flags )); 125 PRSharedMemory *shm, 129 return( _PR_MD_DETACH_SHARED_MEMORY( shm, addr )); 138 PRSharedMemory *shm 141 return( _PR_MD_CLOSE_SHARED_MEMORY( shm )); 111 PR_AttachSharedMemory( PRSharedMemory *shm, PRIntn flags ) argument
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/ |
H A D | uxshm.c | 61 #include <sys/shm.h> 80 PRSharedMemory *shm; local 92 shm = PR_NEWZAP( PRSharedMemory ); 93 if ( NULL == shm ) 100 shm->ipcname = (char*)PR_MALLOC( strlen( ipcname ) + 1 ); 101 if ( NULL == shm->ipcname ) 104 PR_LOG(_pr_shm_lm, PR_LOG_DEBUG, ( "PR_OpenSharedMemory: New shm->ipcname out of memory")); 109 strcpy( shm->ipcname, ipcname ); 110 shm->size = size; 111 shm 174 _MD_AttachSharedMemory( PRSharedMemory *shm, PRIntn flags ) argument 196 _MD_DetachSharedMemory( PRSharedMemory *shm, void *addr ) argument 318 PRSharedMemory *shm; local 390 _MD_AttachSharedMemory( PRSharedMemory *shm, PRIntn flags ) argument 416 _MD_DetachSharedMemory( PRSharedMemory *shm, void *addr ) argument [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/include/ |
H A D | prshm.h | 203 ** shm to the current process. 206 ** shm -- The handle returned from PR_OpenSharedMemory(). 212 ** On success, the shared memory segment represented by shm is mapped 223 PRSharedMemory *shm, 234 ** by shm. 237 ** shm -- The handle returned from PR_OpenSharedMemory(). 249 PRSharedMemory *shm, 258 ** shm. 261 ** shm -- The handle returned from PR_OpenSharedMemory(). 264 ** the shared memory represented by shm i 271 PRSharedMemory *shm variable [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/ |
H A D | nameshm1.c | 139 PRSharedMemory *shm; local 155 shm = PR_OpenSharedMemory( optName, optSize, (PR_SHM_CREATE | PR_SHM_EXCL), SHM_MODE ); 156 if ( NULL == shm ) 164 ( "nameshm1: RW Create: success: %p", shm )); 166 addr = PR_AttachSharedMemory( shm , 0 ); 183 rc = PR_DetachSharedMemory( shm, addr ); 194 rc = PR_CloseSharedMemory( shm ); 224 PRSharedMemory *shm; local 231 shm = PR_OpenSharedMemory( optName, optSize, (PR_SHM_CREATE | PR_SHM_EXCL), SHM_MODE); 232 if ( NULL == shm ) 305 PRSharedMemory *shm; local 400 PRSharedMemory *shm; local [all...] |
H A D | semapong.c | 63 PRSharedMemory *shm; local 85 shm = PR_OpenSharedMemory(SHM_NAME, sizeof(*counter_addr), 0, 0666); 86 if (NULL == shm) { 104 counter_addr = PR_AttachSharedMemory(shm, 0); 131 if (PR_DetachSharedMemory(shm, counter_addr) == PR_FAILURE) { 135 if (PR_CloseSharedMemory(shm) == PR_FAILURE) {
|
H A D | semaping.c | 69 PRSharedMemory *shm; local 105 shm = PR_OpenSharedMemory(SHM_NAME, sizeof(*counter_addr), PR_SHM_CREATE, SHM_MODE); 106 if (NULL == shm) { 111 counter_addr = PR_AttachSharedMemory(shm, 0); 168 if (PR_DetachSharedMemory(shm, counter_addr) == PR_FAILURE) { 172 if (PR_CloseSharedMemory(shm) == PR_FAILURE) {
|
/vbox/src/VBox/Additions/x11/x11include/libXext-1.3.1/X11/extensions/ |
H A D | XShm.h | 33 #include <X11/extensions/shm.h>
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.13.0/ |
H A D | extinit.h | 122 #include <X11/extensions/shm.h>
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.14.0/ |
H A D | extinit.h | 118 #include <X11/extensions/shm.h>
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.16.0/ |
H A D | extinit.h | 118 #include <X11/extensions/shm.h>
|
H A D | xwayland.h | 77 struct wl_shm *shm; member in struct:xwl_screen
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.17.1/ |
H A D | extinit.h | 118 #include <X11/extensions/shm.h>
|
H A D | xwayland.h | 76 struct wl_shm *shm; member in struct:xwl_screen
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.15.0/ |
H A D | extinit.h | 118 #include <X11/extensions/shm.h>
|
/vbox/src/VBox/Additions/x11/x11include/xextproto-7.1.1/X11/extensions/ |
H A D | shmproto.h | 32 #include <X11/extensions/shm.h>
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.1.0/ |
H A D | xf86_ansic.h | 333 #include <sys/shm.h>
|
/vbox/src/VBox/Additions/x11/x11include/4.3/programs/Xserver/hw/xfree86/os-support/ |
H A D | xf86_ansic.h | 329 #include <sys/shm.h>
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.0.1/ |
H A D | xf86_ansic.h | 332 #include <sys/shm.h>
|
/vbox/src/VBox/Additions/common/crOpenGL/ |
H A D | stub.h | 44 #include <sys/shm.h>
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/include/private/ |
H A D | primpl.h | 2033 extern void * _MD_AttachSharedMemory( PRSharedMemory *shm, PRIntn flags ); 2036 extern PRStatus _MD_DetachSharedMemory( PRSharedMemory *shm, void *addr ); 2039 extern PRStatus _MD_CloseSharedMemory( PRSharedMemory *shm );
|
/vbox/src/recompiler/tests/ |
H A D | linux-test.c | 50 #include <sys/shm.h>
|