Searched defs:shm (Results 1 - 9 of 9) sorted by relevance

/vbox/src/libs/xpcom18a4/nsprpub/pr/include/
H A Dprshm.h203 ** 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/src/memory/
H A Dprshm.c65 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/tests/
H A Dsemapong.c63 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 Dsemaping.c69 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) {
H A Dnameshm1.c139 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...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/
H A Dw32shm.c72 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/md/unix/
H A Duxshm.c61 #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/VBox/Additions/x11/x11include/xorg-server-1.16.0/
H A Dxwayland.h77 struct wl_shm *shm; member in struct:xwl_screen
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.17.1/
H A Dxwayland.h76 struct wl_shm *shm; member in struct:xwl_screen

Completed in 49 milliseconds