| /xsrc/external/mit/MesaLib.old/dist/src/gallium/include/state_tracker/ |
| H A D | drisw_api.h | 23 int shmid, char *shmaddr, unsigned offset, unsigned offset_x,
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/include/frontend/ |
| H A D | drisw_api.h | 23 int shmid, char *shmaddr, unsigned offset, unsigned offset_x,
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/sw/dri/ |
| H A D | dri_sw_winsys.c | 56 int shmid; member in struct:dri_sw_displaytarget 98 dri_sw_dt->shmid = shmget(IPC_PRIVATE, size, IPC_CREAT | 0600); 99 if (dri_sw_dt->shmid < 0) 102 addr = (char *) shmat(dri_sw_dt->shmid, 0, 0); 104 shmctl(dri_sw_dt->shmid, IPC_RMID, 0); 141 dri_sw_dt->shmid = -1; 169 if (dri_sw_dt->shmid >= 0) { 172 shmctl(dri_sw_dt->shmid, IPC_RMID, 0); 228 if (dri_sw_dt->shmid < 0) 230 whandle->handle = dri_sw_dt->shmid; [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/winsys/sw/dri/ |
| H A D | dri_sw_winsys.c | 60 int shmid; member in struct:dri_sw_displaytarget 102 dri_sw_dt->shmid = shmget(IPC_PRIVATE, size, IPC_CREAT | 0600); 103 if (dri_sw_dt->shmid < 0) 106 addr = (char *) shmat(dri_sw_dt->shmid, 0, 0); 108 shmctl(dri_sw_dt->shmid, IPC_RMID, 0); 145 dri_sw_dt->shmid = -1; 173 if (dri_sw_dt->shmid >= 0) { 176 shmctl(dri_sw_dt->shmid, IPC_RMID, 0); 232 if (dri_sw_dt->shmid < 0) 234 whandle->handle = dri_sw_dt->shmid; [all...] |
| /xsrc/external/mit/xorg-server.old/dist/Xext/ |
| H A D | xf86bigfont.c | 113 int shmid = -1; local in function:CheckForShmSyscall 119 shmid = shmget(IPC_PRIVATE, 4096, IPC_CREAT); 120 if (shmid != -1) 123 shmctl(shmid, IPC_RMID, NULL); 154 int shmid; member in struct:_ShmDesc 165 int shmid; local in function:shmalloc 187 shmid = shmget(IPC_PRIVATE, size, S_IWUSR | S_IRUSR | S_IRGRP | S_IROTH); 188 if (shmid == -1) { 195 if ((addr = shmat(shmid, 0, 0)) == (char *)-1) { 198 shmctl(shmid, IPC_RMI 354 int shmid; local in function:ProcXF86BigfontQueryFont [all...] |
| H A D | shm.c | 95 int shmid; member in struct:_ShmDesc 183 int shmid = -1; local in function:CheckForShmSyscall 189 shmid = shmget(IPC_PRIVATE, 4096, IPC_CREAT); 191 if (shmid != -1) 194 shmctl(shmid, IPC_RMID, NULL); 398 shmdesc && (shmdesc->shmid != stuff->shmid); 412 shmdesc->addr = shmat(stuff->shmid, 0, 415 SHMSTAT(stuff->shmid, &buf)) 431 shmdesc->shmid [all...] |
| /xsrc/external/mit/xorg-server/dist/Xext/ |
| H A D | xf86bigfont.c | 102 int shmid = -1; local in function:CheckForShmSyscall 108 shmid = shmget(IPC_PRIVATE, 4096, IPC_CREAT); 109 if (shmid != -1) { 111 shmctl(shmid, IPC_RMID, NULL); 141 int shmid; member in struct:_ShmDesc 151 int shmid; local in function:shmalloc 173 shmid = shmget(IPC_PRIVATE, size, S_IWUSR | S_IRUSR | S_IRGRP | S_IROTH); 174 if (shmid == -1) { 181 if ((addr = shmat(shmid, 0, 0)) == (char *) -1) { 184 shmctl(shmid, IPC_RMI 330 int shmid; local in function:ProcXF86BigfontQueryFont [all...] |
| H A D | shmint.h | 65 int shmid; member in struct:_ShmDesc
|
| /xsrc/external/mit/xf86-video-intel/dist/test/ |
| H A D | shm-test.c | 86 shm.shmid = shmget(IPC_PRIVATE, 4096, IPC_CREAT | 0666); 87 if (shm.shmid == -1) 90 shm.shmaddr = shmat(shm.shmid, 0, 0); 92 shmctl(shm.shmid, IPC_RMID, NULL); 106 shmctl(shm.shmid, IPC_RMID, NULL);
|
| H A D | lowlevel-blt-bench.c | 241 shm.shmid = -1; 249 shm.shmid = shmget(IPC_PRIVATE, size, IPC_CREAT | 0666); 250 if (shm.shmid == -1) 253 shm.shmaddr = shmat(shm.shmid, 0, 0); 255 shmctl(shm.shmid, IPC_RMID, NULL); 256 shm.shmid = -1; 278 if (shm->shmid == -1)
|
| H A D | test_display.c | 110 d->shm.shmid = shmget(IPC_PRIVATE, size, IPC_CREAT | 0600); 111 if (d->shm.shmid == -1) 114 d->shm.shmaddr = shmat(d->shm.shmid, NULL, 0);
|
| /xsrc/external/mit/xf86-video-intel-2014/dist/test/ |
| H A D | shm-test.c | 86 shm.shmid = shmget(IPC_PRIVATE, 4096, IPC_CREAT | 0666); 87 if (shm.shmid == -1) 90 shm.shmaddr = shmat(shm.shmid, 0, 0); 92 shmctl(shm.shmid, IPC_RMID, NULL); 106 shmctl(shm.shmid, IPC_RMID, NULL);
|
| H A D | lowlevel-blt-bench.c | 241 shm.shmid = -1; 249 shm.shmid = shmget(IPC_PRIVATE, size, IPC_CREAT | 0666); 250 if (shm.shmid == -1) 253 shm.shmaddr = shmat(shm.shmid, 0, 0); 255 shmctl(shm.shmid, IPC_RMID, NULL); 256 shm.shmid = -1; 278 if (shm->shmid == -1)
|
| H A D | test_display.c | 110 d->shm.shmid = shmget(IPC_PRIVATE, size, IPC_CREAT | 0600); 111 if (d->shm.shmid == -1) 114 d->shm.shmaddr = shmat(d->shm.shmid, NULL, 0);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/sw/xlib/ |
| H A D | xlib_sw_winsys.c | 126 shminfo->shmid = -1; 130 shminfo->shmid = shmget(IPC_PRIVATE, size, IPC_CREAT | 0600); 131 if (shminfo->shmid < 0) { 135 shminfo->shmaddr = (char *) shmat(shminfo->shmid, 0, 0); 137 shmctl(shminfo->shmid, IPC_RMID, 0); 170 shmctl(xlib_dt->shminfo.shmid, IPC_RMID, 0); 185 shmctl(xlib_dt->shminfo.shmid, IPC_RMID, 0); 260 if (xlib_dt->shminfo.shmid >= 0) { 262 shmctl(xlib_dt->shminfo.shmid, IPC_RMID, 0); 264 xlib_dt->shminfo.shmid [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/winsys/sw/xlib/ |
| H A D | xlib_sw_winsys.c | 126 shminfo->shmid = -1; 130 shminfo->shmid = shmget(IPC_PRIVATE, size, IPC_CREAT | 0600); 131 if (shminfo->shmid < 0) { 135 shminfo->shmaddr = (char *) shmat(shminfo->shmid, 0, 0); 137 shmctl(shminfo->shmid, IPC_RMID, 0); 170 shmctl(xlib_dt->shminfo.shmid, IPC_RMID, 0); 185 shmctl(xlib_dt->shminfo.shmid, IPC_RMID, 0); 260 if (xlib_dt->shminfo.shmid >= 0) { 262 shmctl(xlib_dt->shminfo.shmid, IPC_RMID, 0); 264 xlib_dt->shminfo.shmid [all...] |
| /xsrc/external/mit/MesaLib/dist/src/glx/ |
| H A D | drisw_glx.c | 57 XCreateDrawable(struct drisw_drawable * pdp, int shmid, Display * dpy) argument 62 if ((pdp->shminfo.shmid > 0) && (shmid != pdp->shminfo.shmid)) 66 if (!xshm_error && shmid >= 0) { 67 pdp->shminfo.shmid = shmid; 97 pdp->shminfo.shmid = -1; 124 if (pdp->shminfo.shmid > 0) 180 int shmid, cha 177 swrastXPutImage(__DRIdrawable * draw,int op,int srcx,int srcy,int x,int y,int w,int h,int stride,int shmid,char * data,void * loaderPrivate) argument 212 swrastPutImageShm(__DRIdrawable * draw,int op,int x,int y,int w,int h,int stride,int shmid,char * shmaddr,unsigned offset,void * loaderPrivate) argument 228 swrastPutImageShm2(__DRIdrawable * draw,int op,int x,int y,int w,int h,int stride,int shmid,char * shmaddr,unsigned offset,void * loaderPrivate) argument 306 swrastGetImageShm2(__DRIdrawable * read,int x,int y,int w,int h,int shmid,void * loaderPrivate) argument 336 swrastGetImageShm(__DRIdrawable * read,int x,int y,int w,int h,int shmid,void * loaderPrivate) argument [all...] |
| /xsrc/external/mit/libXext/dist/include/X11/extensions/ |
| H A D | XShm.h | 52 int shmid; /* kernel id */ member in struct:__anond865d6b90208
|
| /xsrc/external/mit/xcb-util/dist/image/ |
| H A D | test_xcb_image_shm.c | 115 shminfo.shmid = shmget (IPC_PRIVATE, img->size, IPC_CREAT|0777); 116 shminfo.shmaddr = shmat(shminfo.shmid, 0, 0); 120 xcb_shm_attach(c, shminfo.shmseg, shminfo.shmid, 0); 121 shmctl(shminfo.shmid, IPC_RMID, 0);
|
| /xsrc/external/mit/MesaLib.old/dist/src/glx/ |
| H A D | drisw_glx.c | 84 XCreateDrawable(struct drisw_drawable * pdp, int shmid, Display * dpy) argument 91 if (!xshm_error && shmid >= 0) { 92 pdp->shminfo.shmid = shmid; 122 pdp->shminfo.shmid = -1; 149 if (pdp->shminfo.shmid > 0) 208 int shmid, char *data, void *loaderPrivate) 217 if (!pdp->ximage || shmid != pdp->shminfo.shmid) { 218 if (!XCreateDrawable(pdp, shmid, dp 205 swrastXPutImage(__DRIdrawable * draw,int op,int srcx,int srcy,int x,int y,int w,int h,int stride,int shmid,char * data,void * loaderPrivate) argument 252 swrastPutImageShm(__DRIdrawable * draw,int op,int x,int y,int w,int h,int stride,int shmid,char * shmaddr,unsigned offset,void * loaderPrivate) argument 265 swrastPutImageShm2(__DRIdrawable * draw,int op,int x,int y,int w,int h,int stride,int shmid,char * shmaddr,unsigned offset,void * loaderPrivate) argument 334 swrastGetImageShm(__DRIdrawable * read,int x,int y,int w,int h,int shmid,void * loaderPrivate) argument [all...] |
| /xsrc/external/mit/xorgproto/dist/include/X11/extensions/ |
| H A D | xf86bigfproto.h | 79 CARD32 shmid; member in struct:__anonde9bc7850208 82 /* and if nCharInfos > 0 && shmid == -1,
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/x11/ |
| H A D | xm_buffer.c | 93 b->shminfo.shmid = shmget(IPC_PRIVATE, b->backxrb->ximage->bytes_per_line 95 if (b->shminfo.shmid < 0) { 105 = (char*)shmat(b->shminfo.shmid, 0, 0); 109 shmctl(b->shminfo.shmid, IPC_RMID, 0); 129 shmctl(b->shminfo.shmid, IPC_RMID, 0); 136 shmctl(b->shminfo.shmid, IPC_RMID, 0); /* nobody else needs it */ 150 shmctl(b->shminfo.shmid, IPC_RMID, 0);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/x11/ |
| H A D | xm_buffer.c | 93 b->shminfo.shmid = shmget(IPC_PRIVATE, b->backxrb->ximage->bytes_per_line 95 if (b->shminfo.shmid < 0) { 105 = (char*)shmat(b->shminfo.shmid, 0, 0); 109 shmctl(b->shminfo.shmid, IPC_RMID, 0); 129 shmctl(b->shminfo.shmid, IPC_RMID, 0); 136 shmctl(b->shminfo.shmid, IPC_RMID, 0); /* nobody else needs it */ 150 shmctl(b->shminfo.shmid, IPC_RMID, 0);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/dri/ |
| H A D | drisw.c | 81 put_image_shm(__DRIdrawable *dPriv, int shmid, char *shmaddr, argument 92 shmid, shmaddr, offset, dPriv->loaderPrivate); 96 shmid, shmaddr, offset + offset_x, dPriv->loaderPrivate); 187 int shmid, char *shmaddr, unsigned offset, 194 put_image_shm(dPriv, shmid, shmaddr, offset, offset_x, x, y, width, height, stride); 186 drisw_put_image_shm(struct dri_drawable * drawable,int shmid,char * shmaddr,unsigned offset,unsigned offset_x,int x,int y,unsigned width,unsigned height,unsigned stride) argument
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/dri/ |
| H A D | drisw.c | 81 put_image_shm(__DRIdrawable *dPriv, int shmid, char *shmaddr, argument 92 shmid, shmaddr, offset, dPriv->loaderPrivate); 96 shmid, shmaddr, offset + offset_x, dPriv->loaderPrivate); 190 int shmid, char *shmaddr, unsigned offset, 197 put_image_shm(dPriv, shmid, shmaddr, offset, offset_x, x, y, width, height, stride); 189 drisw_put_image_shm(struct dri_drawable * drawable,int shmid,char * shmaddr,unsigned offset,unsigned offset_x,int x,int y,unsigned width,unsigned height,unsigned stride) argument
|