Home
last modified time | relevance | path

Searched refs:shmaddr (Results 1 – 15 of 15) sorted by relevance

/external/mesa3d/src/gallium/winsys/sw/xlib/
Dxlib_sw_winsys.c126 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/
Dshm.h38 void *shmat(int shmid, const void *shmaddr, int shmflg);
39 int shmdt(const void *shmaddr);
/external/webrtc/webrtc/modules/desktop_capture/x11/
Dx_server_pixel_buffer.cc86 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/
Dxm_buffer.c102 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/
Dvideo_x11_channel.cc255 _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/
Dposix.c562 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/
Dlinux_syscall_hooks.h1329 #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/
Dsanitizer_common_syscalls.inc2122 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/
Dsyswrap-tilegx-linux.c1034 int, shmid, const void *, shmaddr, int, shmflg); in PRE()
1049 PRE_REG_READ1(long, "shmdt", const void *, shmaddr); in PRE()
Dsyswrap-darwin.c2555 int, shmid, const void *, shmaddr, int, shmflg); in PRE()
2582 PRE_REG_READ1(long, "shmdt", const void *, shmaddr); in PRE()
Dsyswrap-solaris.c2597 int, shmid, const void *, shmaddr, int, shmflg); in PRE()
2698 const void *, shmaddr); in PRE()
Dsyswrap-linux.c3899 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/
Dmsan_interceptors.cc1320 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/
Dscalar.stderr.exp629 Syscall param shmat(shmaddr) contains uninitialised byte(s)
660 Syscall param shmdt(shmaddr) contains uninitialised byte(s)
/external/valgrind/memcheck/tests/solaris/
Dscalar.stderr.exp427 Syscall param shmsys_shmat(shmaddr) contains uninitialised byte(s)
618 Syscall param shmsys_shmdt(shmaddr) contains uninitialised byte(s)