/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/webrtc/webrtc/modules/desktop_capture/x11/ |
D | x_server_pixel_buffer.cc | 86 if (shm_segment_info_->shmaddr != reinterpret_cast<char*>(-1)) in Release() 87 shmdt(shm_segment_info_->shmaddr); in Release() 130 shm_segment_info_->shmaddr = reinterpret_cast<char*>(-1); in InitShm() 140 shm_segment_info_->shmaddr = x_image_->data = in InitShm() 183 shm_segment_info_->shmaddr, in InitPixmaps()
|
/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/webrtc/webrtc/modules/video_render/linux/ |
D | video_x11_channel.cc | 255 _shminfo.shmaddr = _image->data = (char*) shmat(_shminfo.shmid, 0, 0); in CreateLocalRenderer() 290 shmdt(_shminfo.shmaddr); in RemoveRenderer() 291 _shminfo.shmaddr = NULL; in RemoveRenderer()
|
/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 | 1034 int, shmid, const void *, shmaddr, int, shmflg); in PRE() 1049 PRE_REG_READ1(long, "shmdt", const void *, shmaddr); in PRE()
|
D | syswrap-darwin.c | 2555 int, shmid, const void *, shmaddr, int, shmflg); in PRE() 2582 PRE_REG_READ1(long, "shmdt", const void *, shmaddr); in PRE()
|
D | syswrap-solaris.c | 2597 int, shmid, const void *, shmaddr, int, shmflg); in PRE() 2698 const void *, shmaddr); in PRE()
|
D | syswrap-linux.c | 3899 int, shmid, const void *, shmaddr, int, shmflg); in PRE() 3923 PRE_REG_READ1(long, "shmdt", const void *, shmaddr); in PRE()
|
/external/compiler-rt/lib/msan/ |
D | msan_interceptors.cc | 1320 INTERCEPTOR(void *, shmat, int shmid, const void *shmaddr, int shmflg) { in DECLARE_REAL() 1322 void *p = REAL(shmat)(shmid, shmaddr, shmflg); in DECLARE_REAL()
|
/external/valgrind/memcheck/tests/darwin/ |
D | scalar.stderr.exp | 629 Syscall param shmat(shmaddr) contains uninitialised byte(s) 660 Syscall param shmdt(shmaddr) contains uninitialised byte(s)
|
/external/valgrind/memcheck/tests/solaris/ |
D | scalar.stderr.exp | 427 Syscall param shmsys_shmat(shmaddr) contains uninitialised byte(s) 618 Syscall param shmsys_shmdt(shmaddr) contains uninitialised byte(s)
|