Lines Matching refs:shminfo
226 Bool XShmAttach(Display *dpy, XShmSegmentInfo *shminfo)
237 req->shmseg = shminfo->shmseg = XAllocID(dpy);
238 req->shmid = shminfo->shmid;
239 req->readOnly = shminfo->readOnly ? xTrue : xFalse;
246 Bool XShmDetach(Display *dpy, XShmSegmentInfo *shminfo)
257 req->shmseg = shminfo->shmseg;
277 XShmSegmentInfo *shminfo,
287 image->obdata = (char *)shminfo;
325 XShmSegmentInfo *shminfo = (XShmSegmentInfo *)image->obdata;
329 if (!shminfo) return 0;
349 req->shmseg = shminfo->shmseg;
350 req->offset = image->data - shminfo->shmaddr;
365 XShmSegmentInfo *shminfo = (XShmSegmentInfo *)image->obdata;
371 if (!shminfo) return 0;
384 req->shmseg = shminfo->shmseg;
385 req->offset = image->data - shminfo->shmaddr;
408 XShmSegmentInfo *shminfo,
425 req->shmseg = shminfo->shmseg;
426 req->offset = data - shminfo->shmaddr;