/external/mesa3d/src/gallium/winsys/sw/xlib/ |
D | xlib_sw_winsys.c | 77 XShmSegmentInfo shminfo; member 123 XShmSegmentInfo *const shminfo = & buf->shminfo; in alloc_shm() local 125 shminfo->shmid = -1; in alloc_shm() 126 shminfo->shmaddr = (char *) -1; in alloc_shm() 128 shminfo->shmid = shmget(IPC_PRIVATE, size, IPC_CREAT|0777); in alloc_shm() 129 if (shminfo->shmid < 0) { in alloc_shm() 133 shminfo->shmaddr = (char *) shmat(shminfo->shmid, 0, 0); in alloc_shm() 134 if (shminfo->shmaddr == (char *) -1) { in alloc_shm() 135 shmctl(shminfo->shmid, IPC_RMID, 0); in alloc_shm() 139 shminfo->readOnly = False; in alloc_shm() [all …]
|
/external/mesa3d/src/mesa/drivers/x11/ |
D | xm_buffer.c | 83 ZPixmap, NULL, &b->shminfo, in alloc_back_shm_ximage() 91 b->shminfo.shmid = shmget(IPC_PRIVATE, b->backxrb->ximage->bytes_per_line in alloc_back_shm_ximage() 93 if (b->shminfo.shmid < 0) { in alloc_back_shm_ximage() 102 b->shminfo.shmaddr = b->backxrb->ximage->data in alloc_back_shm_ximage() 103 = (char*)shmat(b->shminfo.shmid, 0, 0); in alloc_back_shm_ximage() 104 if (b->shminfo.shmaddr == (char *) -1) { in alloc_back_shm_ximage() 107 shmctl(b->shminfo.shmid, IPC_RMID, 0); in alloc_back_shm_ximage() 114 b->shminfo.readOnly = False; in alloc_back_shm_ximage() 118 XShmAttach(b->xm_visual->display, &b->shminfo); in alloc_back_shm_ximage() 126 shmdt(b->shminfo.shmaddr); in alloc_back_shm_ximage() [all …]
|
D | xmesaP.h | 210 XShmSegmentInfo shminfo; member
|
/external/libvncserver/x11vnc/ |
D | xwrappers.h | 58 int format, char* data, XShmSegmentInfo* shminfo, unsigned int width, 60 extern Status XShmAttach_wr(Display *disp, XShmSegmentInfo *shminfo); 61 extern Status XShmDetach_wr(Display *disp, XShmSegmentInfo *shminfo);
|
D | xwrappers.c | 63 int format, char* data, XShmSegmentInfo* shminfo, unsigned int width, 65 Status XShmAttach_wr(Display *disp, XShmSegmentInfo *shminfo); 66 Status XShmDetach_wr(Display *disp, XShmSegmentInfo *shminfo); 201 int format, char* data, XShmSegmentInfo* shminfo, unsigned int width, in XShmCreateImage_wr() argument 205 return XShmCreateImage(disp, vis, depth, format, data, shminfo, in XShmCreateImage_wr() 208 if (!disp || !vis || !depth || !format || !data || !shminfo || !width || !height) {} in XShmCreateImage_wr() 213 Status XShmAttach_wr(Display *disp, XShmSegmentInfo *shminfo) { in XShmAttach_wr() argument 215 return XShmAttach(disp, shminfo); in XShmAttach_wr() 217 if (!disp || !shminfo) {} in XShmAttach_wr() 222 Status XShmDetach_wr(Display *disp, XShmSegmentInfo *shminfo) { in XShmDetach_wr() argument [all …]
|
/external/kernel-headers/original/uapi/linux/ |
D | shm.h | 62 struct shminfo { struct
|
/external/toybox/toys/pending/ |
D | ipcs.c | 150 struct shminfo ipc_buf; in shm_array()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_platform_limits_posix.cc | 268 unsigned struct_shminfo_sz = sizeof(struct shminfo);
|
/external/libvncserver/x11vnc/misc/enhanced_tightvnc_viewer/src/patches/ |
D | tight-vncviewer-full.patch | 15506 - shmdt(shminfo.shmaddr); 15507 - shmctl(shminfo.shmid, IPC_RMID, 0); 15525 + XShmDetach(dpy, &shminfo); 15540 - image = XShmCreateImage(dpy, vis, visdepth, ZPixmap, NULL, &shminfo, 15544 - shminfo.shmid = shmget(IPC_PRIVATE, 15551 + shmdt(shminfo.shmaddr); 15552 + shmctl(shminfo.shmid, IPC_RMID, 0); 15554 - if (shminfo.shmid == -1) { 15559 - shminfo.shmaddr = image->data = shmat(shminfo.shmid, 0, 0); 15561 - if (shminfo.shmaddr == (char *)-1) { [all …]
|
/external/compiler-rt/lib/msan/tests/ |
D | msan_test.cc | 1201 struct shminfo si; in TEST()
|