/external/mesa3d/src/gallium/winsys/sw/xlib/ |
D | xlib_sw_winsys.c | 126 shminfo->shmaddr = (char *) -1; in alloc_shm() 133 shminfo->shmaddr = (char *) shmat(shminfo->shmid, 0, 0); in alloc_shm() 134 if (shminfo->shmaddr == (char *) -1) { in alloc_shm() 140 return shminfo->shmaddr; in alloc_shm() 253 shmdt(xlib_dt->shminfo.shmaddr); in xlib_displaytarget_destroy() 257 xlib_dt->shminfo.shmaddr = (char *) -1; in xlib_displaytarget_destroy()
|
/external/fio/os/windows/posix/include/sys/ |
D | shm.h | 38 void *shmat(int shmid, const void *shmaddr, int shmflg); 39 int shmdt(const void *shmaddr);
|
/external/mesa3d/src/mesa/drivers/x11/ |
D | xm_buffer.c | 102 b->shminfo.shmaddr = b->backxrb->ximage->data in alloc_back_shm_ximage() 104 if (b->shminfo.shmaddr == (char *) -1) { in alloc_back_shm_ximage() 126 shmdt(b->shminfo.shmaddr); in alloc_back_shm_ximage() 147 shmdt(b->shminfo.shmaddr); in alloc_back_shm_ximage() 181 shmdt(b->shminfo.shmaddr); in alloc_back_buffer() 400 shmdt( b->shminfo.shmaddr ); in xmesa_delete_framebuffer()
|
/external/libvncserver/x11vnc/ |
D | scan.c | 255 shm->shmaddr = (char *) -1; in shm_create() 336 shm->shmaddr = xim->data = (char *) shmat(shm->shmid, 0, 0); in shm_create() 338 if (shm->shmaddr == (char *)-1) { in shm_create() 359 shmdt(shm->shmaddr); in shm_create() 360 shm->shmaddr = (char *) -1; in shm_create() 377 if (shm != NULL && shm->shmaddr != (char *) -1) { in shm_delete() 378 shmdt(shm->shmaddr); in shm_delete() 384 shm->shmaddr = (char *) -1; in shm_delete() 428 scanline_shm.shmaddr = (char *) -1; in initialize_polling_images() 431 fullscreen_shm.shmaddr = (char *) -1; in initialize_polling_images() [all …]
|
D | x11vnc.h | 508 int shmid; char *shmaddr; Bool readOnly; member
|
/external/fio/os/windows/ |
D | posix.c | 562 void *shmat(int shmid, const void *shmaddr, int shmflg) in shmat() argument 586 int shmdt(const void *shmaddr) in shmdt() argument 588 if (!UnmapViewOfFile(shmaddr)) { in shmdt()
|
/external/compiler-rt/include/sanitizer/ |
D | linux_syscall_hooks.h | 1329 #define __sanitizer_syscall_pre_shmat(shmid, shmaddr, shmflg) \ argument 1330 __sanitizer_syscall_pre_impl_shmat((long)(shmid), (long)(shmaddr), \ 1332 #define __sanitizer_syscall_post_shmat(res, shmid, shmaddr, shmflg) \ argument 1333 __sanitizer_syscall_post_impl_shmat(res, (long)(shmid), (long)(shmaddr), \ 1340 #define __sanitizer_syscall_pre_shmdt(shmaddr) \ argument 1341 __sanitizer_syscall_pre_impl_shmdt((long)(shmaddr)) 1342 #define __sanitizer_syscall_post_shmdt(res, shmaddr) \ argument 1343 __sanitizer_syscall_post_impl_shmdt(res, (long)(shmaddr)) 2750 void __sanitizer_syscall_pre_impl_shmat(long shmid, long shmaddr, long shmflg); 2751 void __sanitizer_syscall_post_impl_shmat(long res, long shmid, long shmaddr, [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_syscalls.inc | 2122 PRE_SYSCALL(shmat)(long shmid, void *shmaddr, long shmflg) {} 2124 POST_SYSCALL(shmat)(long res, long shmid, void *shmaddr, long shmflg) { 2126 if (shmaddr) 2127 POST_WRITE(shmaddr, 2128 __sanitizer::internal_strlen((const char *)shmaddr) + 1); 2136 PRE_SYSCALL(shmdt)(void *shmaddr) {} 2138 POST_SYSCALL(shmdt)(long res, void *shmaddr) { 2140 if (shmaddr) 2141 POST_WRITE(shmaddr, 2142 __sanitizer::internal_strlen((const char *)shmaddr) + 1);
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-tilegx-linux.c | 1031 int, shmid, const void *, shmaddr, int, shmflg); in PRE() 1046 PRE_REG_READ1(long, "shmdt", const void *, shmaddr); in PRE()
|
D | syswrap-darwin.c | 2421 int, shmid, const void *, shmaddr, int, shmflg); in PRE() 2448 PRE_REG_READ1(long, "shmdt", const void *, shmaddr); in PRE()
|
D | syswrap-linux.c | 3890 int, shmid, const void *, shmaddr, int, shmflg); in PRE() 3914 PRE_REG_READ1(long, "shmdt", const void *, shmaddr); in PRE()
|
/external/valgrind/memcheck/tests/darwin/ |
D | scalar.stderr.exp | 553 Syscall param shmat(shmaddr) contains uninitialised byte(s) 578 Syscall param shmdt(shmaddr) contains uninitialised byte(s)
|
/external/compiler-rt/lib/msan/ |
D | msan_interceptors.cc | 1299 INTERCEPTOR(void *, shmat, int shmid, const void *shmaddr, int shmflg) { in DECLARE_REAL() 1301 void *p = REAL(shmat)(shmid, shmaddr, shmflg); in DECLARE_REAL()
|
/external/libvncserver/x11vnc/misc/enhanced_tightvnc_viewer/src/patches/ |
D | tight-vncviewer-full.patch | 15506 - shmdt(shminfo.shmaddr); 15551 + shmdt(shminfo.shmaddr); 15559 - shminfo.shmaddr = image->data = shmat(shminfo.shmid, 0, 0); 15561 - if (shminfo.shmaddr == (char *)-1) { 15585 - shmdt(shminfo.shmaddr); 15630 + shminfo.shmaddr = image->data = shmat(shminfo.shmid, 0, 0); 15632 + if (shminfo.shmaddr == (char *)-1) { 15653 + shmdt(shminfo.shmaddr);
|