/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
D | SDL_x11image.c | 56 shminfo.shmaddr = (char *)shmat(shminfo.shmid, 0, 0); in try_mitshm() 58 if ( shminfo.shmaddr != (char *)-1 ) { in try_mitshm() 65 shmdt(shminfo.shmaddr); in try_mitshm() 76 screen->pixels = shminfo.shmaddr; in try_mitshm() 91 shminfo.shmaddr, &shminfo, in X11_SetupImage() 96 shmdt(shminfo.shmaddr); in X11_SetupImage() 138 shmdt(shminfo.shmaddr); in X11_DestroyImage()
|
D | SDL_x11yuv.c | 344 yuvshm->shmaddr = (char *)shmat(yuvshm->shmid, 0, 0); in X11_CreateYUVOverlay() 346 if ( yuvshm->shmaddr != (char *)-1 ) { in X11_CreateYUVOverlay() 353 shmdt(yuvshm->shmaddr); in X11_CreateYUVOverlay() 365 hwdata->image->data = yuvshm->shmaddr; in X11_CreateYUVOverlay() 517 shmdt(hwdata->yuvshm.shmaddr); in X11_FreeYUVOverlay()
|
/external/stressapptest/src/ |
D | os.cc | 448 void *shmaddr; in AllocateTestMem() local 461 shmaddr = shmat(shmid, NULL, NULL); in AllocateTestMem() 462 if (shmaddr == reinterpret_cast<void*>(-1)) { in AllocateTestMem() 479 buf = shmaddr; in AllocateTestMem() 481 shmid, shmaddr); in AllocateTestMem() 488 void *shmaddr = NULL; in AllocateTestMem() local 516 shmaddr = mmap64(NULL, length, PROT_READ | PROT_WRITE, in AllocateTestMem() 519 if (shmaddr == reinterpret_cast<void*>(-1)) { in AllocateTestMem() 531 buf = shmaddr; in AllocateTestMem() 536 sprintf(location_message, "at %p", shmaddr); in AllocateTestMem()
|
/external/chromium_org/third_party/mesa/src/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/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/kernel-headers/original/linux/ |
D | shm.h | 98 long do_shmat(int shmid, char __user *shmaddr, int shmflg, unsigned long *addr); 100 static inline long do_shmat(int shmid, char __user *shmaddr, in do_shmat() argument
|
/external/chromium_org/third_party/mesa/src/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/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/chromium_org/content/browser/renderer_host/ |
D | backing_store_gtk.cc | 67 shmdt(shminfo->shmaddr); in DestroySharedImage() 404 shminfo.shmaddr = static_cast<char*>(dib->memory()); in PaintToBackingStore() 408 shminfo.shmaddr, &shminfo, in PaintToBackingStore() 566 shminfo.shmaddr = image->data = static_cast<char*>(mapped_memory); in CopyFromBackingStore()
|
/external/chromium_org/media/cast/test/ |
D | linux_output_window.cc | 97 shminfo_.shmaddr = image_->data = (char*) shmat(shminfo_.shmid, 0, 0); in CreateWindow()
|
/external/valgrind/main/coregrind/m_syswrap/ |
D | syswrap-amd64-linux.c | 958 int, shmid, const void *, shmaddr, int, shmflg); in PRE() 973 PRE_REG_READ1(long, "shmdt", const void *, shmaddr); in PRE()
|
D | syswrap-arm-linux.c | 908 int, shmid, const void *, shmaddr, int, shmflg); in PRE() 930 PRE_REG_READ1(long, "shmdt", const void *, shmaddr); in PRE()
|
D | syswrap-mips32-linux.c | 873 PRE_REG_READ1 (long, "shmdt", const void *, shmaddr); in PRE()
|
D | syswrap-darwin.c | 1879 int, shmid, const void *, shmaddr, int, shmflg); in PRE() 1906 PRE_REG_READ1(long, "shmdt", const void *, shmaddr); in PRE()
|
/external/valgrind/main/memcheck/tests/darwin/ |
D | scalar.stderr.exp | 537 Syscall param shmat(shmaddr) contains uninitialised byte(s) 562 Syscall param shmdt(shmaddr) contains uninitialised byte(s)
|
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/Xv/ |
D | Xv.c | 1099 req->offset = image->data - shminfo->shmaddr; in SDL_NAME()
|