Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.15/src/video/x11/
DSDL_x11image.c56 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()
DSDL_x11yuv.c344 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/
Dos.cc448 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/
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/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/kernel-headers/original/linux/
Dshm.h98 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/
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/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/chromium_org/content/browser/renderer_host/
Dbacking_store_gtk.cc67 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/
Dlinux_output_window.cc97 shminfo_.shmaddr = image_->data = (char*) shmat(shminfo_.shmid, 0, 0); in CreateWindow()
/external/valgrind/main/coregrind/m_syswrap/
Dsyswrap-amd64-linux.c958 int, shmid, const void *, shmaddr, int, shmflg); in PRE()
973 PRE_REG_READ1(long, "shmdt", const void *, shmaddr); in PRE()
Dsyswrap-arm-linux.c908 int, shmid, const void *, shmaddr, int, shmflg); in PRE()
930 PRE_REG_READ1(long, "shmdt", const void *, shmaddr); in PRE()
Dsyswrap-mips32-linux.c873 PRE_REG_READ1 (long, "shmdt", const void *, shmaddr); in PRE()
Dsyswrap-darwin.c1879 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/
Dscalar.stderr.exp537 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/
DXv.c1099 req->offset = image->data - shminfo->shmaddr; in SDL_NAME()