Searched refs:pbuf (Results 1 - 25 of 53) sorted by relevance

123

/xsrc/external/mit/xsm/dist/
H A Dsaveutil.h37 extern Bool getnextline(char **pbuf, int *plen, FILE *f);
H A Dsaveutil.c526 getnextline(char **pbuf, int *plen, FILE *f)
536 if(*pbuf) *pbuf = (char *) realloc(*pbuf, *plen + 1);
537 else *pbuf = (char *) malloc(*plen + 1);
541 (*pbuf)[i++] = c;
544 (*pbuf)[i] = '\0';
520 getnextline(char ** pbuf,int * plen,FILE * f) argument
/xsrc/external/mit/MesaLib.old/dist/src/glx/apple/
H A Dapple_glx_pbuffer.c76 struct apple_glx_pbuffer *pbuf = &d->types.pbuffer; local in function:pbuffer_make_current
81 cglerr = apple_cgl.set_pbuffer(ac->context_obj, pbuf->buffer_obj, 0, 0, 0);
89 apple_glapi_oglfw_viewport_scissor(0, 0, pbuf->width, pbuf->height);
101 struct apple_glx_pbuffer *pbuf = &d->types.pbuffer; local in function:pbuffer_destroy
108 apple_cgl.destroy_pbuffer(pbuf->buffer_obj);
109 XFreePixmap(dpy, pbuf->xid);
114 apple_glx_pbuffer_destroy(Display * dpy, GLXPbuffer pbuf) argument
116 return !apple_glx_drawable_destroy_by_type(dpy, pbuf,
127 struct apple_glx_pbuffer *pbuf local in function:apple_glx_pbuffer_create
267 struct apple_glx_pbuffer *pbuf; local in function:apple_glx_pbuffer_query
[all...]
H A Dapple_glx_drawable.h196 GLXPbuffer * pbuf);
199 bool apple_glx_pbuffer_destroy(Display * dpy, GLXPbuffer pbuf);
/xsrc/external/mit/MesaLib/dist/src/glx/apple/
H A Dapple_glx_pbuffer.c77 struct apple_glx_pbuffer *pbuf = &d->types.pbuffer; local in function:pbuffer_make_current
82 cglerr = apple_cgl.set_pbuffer(ac->context_obj, pbuf->buffer_obj, 0, 0, 0);
90 apple_glapi_oglfw_viewport_scissor(0, 0, pbuf->width, pbuf->height);
102 struct apple_glx_pbuffer *pbuf = &d->types.pbuffer; local in function:pbuffer_destroy
109 apple_cgl.destroy_pbuffer(pbuf->buffer_obj);
110 XFreePixmap(dpy, pbuf->xid);
115 apple_glx_pbuffer_destroy(Display * dpy, GLXPbuffer pbuf) argument
117 return !apple_glx_drawable_destroy_by_type(dpy, pbuf,
128 struct apple_glx_pbuffer *pbuf local in function:apple_glx_pbuffer_create
264 struct apple_glx_pbuffer *pbuf; local in function:apple_glx_pbuffer_query
[all...]
H A Dapple_glx_drawable.h196 GLXPbuffer * pbuf);
199 bool apple_glx_pbuffer_destroy(Display * dpy, GLXPbuffer pbuf);
/xsrc/external/mit/proxymngr/dist/
H A Dconfig.c35 char **pbuf,
51 if (*pbuf)
52 *pbuf = realloc (*pbuf, *plen + 1);
54 *pbuf = malloc (*plen + 1);
55 if (! *pbuf) {
63 (*pbuf)[i++] = c;
69 (*pbuf)[i] = '\0';
34 getnextline(char ** pbuf,int * plen,FILE * f) argument
/xsrc/external/mit/xfs/dist/include/
H A Dswaprep.h36 extern void CopySwap16Write (ClientPtr client, int size, short *pbuf);
37 extern void CopySwap32Write (ClientPtr client, int size, long *pbuf);
52 extern void Swap16Write (ClientPtr client, int size, short *pbuf);
53 extern void Swap32Write (ClientPtr client, int size, long *pbuf);
H A Dclient.h100 #define WriteSwappedDataToClient(client, size, pbuf) \
102 (*(client)->pSwapReplyFunc)(client, (int)(size), pbuf); \
103 else (void) WriteToClient(client, (int)(size), (char *)(pbuf));
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_image.h34 void fd6_emit_ssbo_tex(struct fd_ringbuffer *ring, const struct pipe_shader_buffer *pbuf);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_image.h36 const struct pipe_shader_buffer *pbuf) assert_dt;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/d3d12/
H A Dd3d12_bufmgr.cpp217 d3d12_buffer_destroy(void *winsys, struct pb_buffer *pbuf) argument
219 struct d3d12_buffer *buf = d3d12_buffer(pbuf);
227 d3d12_buffer_map(struct pb_buffer *pbuf, argument
231 return d3d12_buffer(pbuf)->map;
235 d3d12_buffer_unmap(struct pb_buffer *pbuf) argument
249 d3d12_buffer_validate(struct pb_buffer *pbuf, argument
258 d3d12_buffer_fence(struct pb_buffer *pbuf, argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/
H A Dzink_bo.h104 zink_bo(struct pb_buffer *pbuf) argument
106 return (struct zink_bo*)pbuf;
265 struct pb_buffer *pbuf = &bo->base; local in function:zink_bo_unref
266 pb_reference_with_winsys(screen, &pbuf, NULL);
H A Dzink_bo.c119 bo_destroy(struct zink_screen *screen, struct pb_buffer *pbuf) argument
121 struct zink_bo *bo = zink_bo(pbuf);
140 bo_can_reclaim(struct zink_screen *screen, struct pb_buffer *pbuf) argument
142 struct zink_bo *bo = zink_bo(pbuf);
168 bo_slab_destroy(struct zink_screen *screen, struct pb_buffer *pbuf) argument
170 struct zink_bo *bo = zink_bo(pbuf);
209 bo_destroy_or_cache(struct zink_screen *screen, struct pb_buffer *pbuf) argument
211 struct zink_bo *bo = zink_bo(pbuf);
220 bo_destroy(screen, pbuf);
463 bo_sparse_destroy(struct zink_screen *screen, struct pb_buffer *pbuf) argument
[all...]
/xsrc/external/mit/xfs/dist/difs/
H A Dswaprep.c64 long *pbuf)
71 swapl(&pbuf[i], n);
73 (void) WriteToClient(client, size << 2, (char *) pbuf);
80 short *pbuf)
87 swaps(&pbuf[i], n);
89 (void) WriteToClient(client, size << 1, (char *) pbuf);
96 long *pbuf)
117 from = pbuf;
145 short *pbuf)
168 from = pbuf;
61 Swap32Write(ClientPtr client,int size,long * pbuf) argument
77 Swap16Write(ClientPtr client,int size,short * pbuf) argument
93 CopySwap32Write(ClientPtr client,int size,long * pbuf) argument
142 CopySwap16Write(ClientPtr client,int size,short * pbuf) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv50/
H A Dnv50_resource.c36 struct pipe_resource *pbuf,
44 pipe_resource_reference(&sf->base.texture, pbuf);
35 nv50_surface_from_buffer(struct pipe_context * pipe,struct pipe_resource * pbuf,const struct pipe_surface * templ) argument
/xsrc/external/mit/mesa-demos/dist/src/egl/opengles1/
H A Dpbuffer.c153 unsigned *wbuf, *pbuf; local in function:draw_both
158 pbuf = (unsigned *) malloc(WinWidth * WinHeight * 4);
179 glReadPixels(0, 0, WinWidth, WinHeight, GL_RGBA, GL_UNSIGNED_BYTE, pbuf);
180 printf("Pbuffer[%d,%d] = 0x%08x\n", x, y, pbuf[y*WinWidth+x]);
185 if (wbuf[i] != pbuf[i]) {
192 printf("Difference at %d: 0x%08x vs. 0x%08x\n", i, wbuf[i], pbuf[i]);
197 free(pbuf);
407 EGLSurface pbuf; local in function:make_pbuffer
422 pbuf = eglCreatePbufferSurface(egl_dpy, config, pbuf_attribs);
424 return pbuf;
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv50/
H A Dnv50_resource.c45 struct pipe_resource *pbuf,
53 pipe_resource_reference(&sf->base.texture, pbuf);
44 nv50_surface_from_buffer(struct pipe_context * pipe,struct pipe_resource * pbuf,const struct pipe_surface * templ) argument
/xsrc/external/mit/mesa-demos/dist/src/egl/opengl/
H A Dxeglgears.c350 EGLSurface pbuf; member in struct:egl_manager
543 eman->pbuf = eglCreatePbufferSurface(eman->dpy, eman->conf, attrib_list);
544 if (eman->pbuf == EGL_NO_SURFACE) {
601 eglBindTexImage(eman->dpy, eman->pbuf, EGL_BACK_BUFFER);
610 eglReleaseTexImage(eman->dpy, eman->pbuf, EGL_BACK_BUFFER);
706 if (!eglCopyBuffers(eman->dpy, eman->pbuf, eman->xpix))
712 eglMakeCurrent(eman->dpy, eman->pbuf, eman->pbuf, eman->ctx);
895 ret = eglMakeCurrent(eman->dpy, eman->pbuf, eman->pbuf, ema
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/glx/
H A Dg_glxglvnddispatchfuncs.c282 static void dispatch_DestroyGLXPbufferSGIX(Display *dpy, GLXPbuffer pbuf) argument
287 dd = GetDispatchFromDrawable(dpy, pbuf);
295 (*pDestroyGLXPbufferSGIX)(dpy, pbuf);
476 static void dispatch_QueryGLXPbufferSGIX(Display *dpy, GLXPbuffer pbuf, argument
482 dd = GetDispatchFromDrawable(dpy, pbuf);
490 (*pQueryGLXPbufferSGIX)(dpy, pbuf, attribute, value);
H A Dglx_pbuffer.c773 glXDestroyPbuffer(Display * dpy, GLXPbuffer pbuf) argument
776 if (apple_glx_pbuffer_destroy(dpy, pbuf)) {
777 __glXSendError(dpy, GLXBadPbuffer, pbuf, X_GLXDestroyPbuffer, false);
780 DestroyPbuffer(dpy, pbuf);
997 (Display * dpy, GLXPbufferSGIX pbuf),
998 (dpy, pbuf), glXDestroyPbuffer)
/xsrc/external/mit/MesaLib/dist/src/glx/
H A Dglx_pbuffer.c757 glXDestroyPbuffer(Display * dpy, GLXPbuffer pbuf) argument
760 if (apple_glx_pbuffer_destroy(dpy, pbuf)) {
761 __glXSendError(dpy, GLXBadPbuffer, pbuf, X_GLXDestroyPbuffer, false);
764 DestroyPbuffer(dpy, pbuf);
975 (Display * dpy, GLXPbufferSGIX pbuf),
976 (dpy, pbuf), glXDestroyPbuffer)
/xsrc/external/mit/imake/dist/
H A Dimake.c1724 *pbuf, /* walking pointer to buf */ local in function:CleanCppInput
1748 punwritten = pbuf = buf + 2;
1749 while (*pbuf) {
1751 if (*pbuf == '#' && pbuf[-1] == '\n' && pbuf[-2] != '\\') {
1752 ptoken = pbuf+1;
1797 writetmpfile(outFile, punwritten, pbuf-punwritten,
1799 if (ptoken > pbuf + 1)
1803 punwritten = pbuf
[all...]
/xsrc/external/mit/MesaLib.old/dist/include/GL/
H A Dglxext.h119 typedef void ( *PFNGLXDESTROYPBUFFERPROC) (Display *dpy, GLXPbuffer pbuf);
137 void glXDestroyPbuffer (Display *dpy, GLXPbuffer pbuf);
626 typedef int ( *PFNGLXBINDVIDEOIMAGENVPROC) (Display *dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer);
627 typedef int ( *PFNGLXRELEASEVIDEOIMAGENVPROC) (Display *dpy, GLXPbuffer pbuf);
628 typedef int ( *PFNGLXSENDPBUFFERTOVIDEONVPROC) (Display *dpy, GLXPbuffer pbuf, int iBufferType, unsigned long *pulCounterPbuffer, GLboolean bBlock);
633 int glXBindVideoImageNV (Display *dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer);
634 int glXReleaseVideoImageNV (Display *dpy, GLXPbuffer pbuf);
635 int glXSendPbufferToVideoNV (Display *dpy, GLXPbuffer pbuf, int iBufferType, unsigned long *pulCounterPbuffer, GLboolean bBlock);
838 typedef void ( *PFNGLXDESTROYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuf);
839 typedef int ( *PFNGLXQUERYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuf, in
[all...]
/xsrc/external/mit/MesaLib/dist/include/GL/
H A Dglxext.h119 typedef void ( *PFNGLXDESTROYPBUFFERPROC) (Display *dpy, GLXPbuffer pbuf);
137 void glXDestroyPbuffer (Display *dpy, GLXPbuffer pbuf);
642 typedef int ( *PFNGLXBINDVIDEOIMAGENVPROC) (Display *dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer);
643 typedef int ( *PFNGLXRELEASEVIDEOIMAGENVPROC) (Display *dpy, GLXPbuffer pbuf);
644 typedef int ( *PFNGLXSENDPBUFFERTOVIDEONVPROC) (Display *dpy, GLXPbuffer pbuf, int iBufferType, unsigned long *pulCounterPbuffer, GLboolean bBlock);
649 int glXBindVideoImageNV (Display *dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer);
650 int glXReleaseVideoImageNV (Display *dpy, GLXPbuffer pbuf);
651 int glXSendPbufferToVideoNV (Display *dpy, GLXPbuffer pbuf, int iBufferType, unsigned long *pulCounterPbuffer, GLboolean bBlock);
854 typedef void ( *PFNGLXDESTROYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuf);
855 typedef void ( *PFNGLXQUERYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuf, in
[all...]

Completed in 23 milliseconds

123