Searched refs:privates (Results 1 - 25 of 45) sorted by relevance

12

/xsrc/external/mit/xorg-server.old/dist/include/
H A Dprivates.h48 /* extension privates */
114 dixGetPrivateAddr(PrivatePtr *privates, const DevPrivateKey key) argument
117 return (char *) (*privates) + key->offset;
128 dixGetPrivate(PrivatePtr *privates, const DevPrivateKey key) argument
131 return *(void **) dixGetPrivateAddr(privates, key);
135 * Associate 'val' with 'key' in 'privates' so that later calls to
136 * dixLookupPrivate(privates, key) will return 'val'.
139 dixSetPrivate(PrivatePtr *privates, const DevPrivateKey key, pointer val) argument
142 *(pointer *) dixGetPrivateAddr(privates, key) = val;
151 * For privates wit
156 dixLookupPrivate(PrivatePtr * privates,const DevPrivateKey key) argument
171 dixLookupPrivateAddr(PrivatePtr * privates,const DevPrivateKey key) argument
184 dixGetScreenPrivateAddr(PrivatePtr * privates,const DevScreenPrivateKey key,ScreenPtr pScreen) argument
190 dixGetScreenPrivate(PrivatePtr * privates,const DevScreenPrivateKey key,ScreenPtr pScreen) argument
196 dixSetScreenPrivate(PrivatePtr * privates,const DevScreenPrivateKey key,ScreenPtr pScreen,pointer val) argument
202 dixLookupScreenPrivate(PrivatePtr * privates,const DevScreenPrivateKey key,ScreenPtr pScreen) argument
208 dixLookupScreenPrivateAddr(PrivatePtr * privates,const DevScreenPrivateKey key,ScreenPtr pScreen) argument
[all...]
H A DMakefile.am37 privates.h \
/xsrc/external/mit/xorg-server/dist/include/
H A Dprivates.h49 /* extension privates */
120 dixGetPrivateAddr(PrivatePtr *privates, const DevPrivateKey key) argument
123 return (char *) (*privates) + key->offset;
134 dixGetPrivate(PrivatePtr *privates, const DevPrivateKey key) argument
137 return *(void **) dixGetPrivateAddr(privates, key);
141 * Associate 'val' with 'key' in 'privates' so that later calls to
142 * dixLookupPrivate(privates, key) will return 'val'.
145 dixSetPrivate(PrivatePtr *privates, const DevPrivateKey key, void *val) argument
148 *(void **) dixGetPrivateAddr(privates, key) = val;
157 * For privates wit
162 dixLookupPrivate(PrivatePtr * privates,const DevPrivateKey key) argument
177 dixLookupPrivateAddr(PrivatePtr * privates,const DevPrivateKey key) argument
192 dixGetScreenPrivateAddr(PrivatePtr * privates,const DevScreenPrivateKey key,ScreenPtr pScreen) argument
199 dixGetScreenPrivate(PrivatePtr * privates,const DevScreenPrivateKey key,ScreenPtr pScreen) argument
206 dixSetScreenPrivate(PrivatePtr * privates,const DevScreenPrivateKey key,ScreenPtr pScreen,void * val) argument
213 dixLookupScreenPrivate(PrivatePtr * privates,const DevScreenPrivateKey key,ScreenPtr pScreen) argument
220 dixLookupScreenPrivateAddr(PrivatePtr * privates,const DevScreenPrivateKey key,ScreenPtr pScreen) argument
[all...]
H A DMakefile.am43 privates.h \
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/ramdac/
H A Dxf86RamDac.c82 ((RamDacScreenRecPtr) (pScrn)->privates[RamDacGetScreenIndex()].ptr);
103 * New privates are always set to NULL, so we can check if the allocation
106 if (scrp->privates[RamDacHWPrivateIndex].ptr != NULL)
108 if (scrp->privates[RamDacScreenPrivateIndex].ptr != NULL)
111 scrp->privates[RamDacHWPrivateIndex].ptr =
113 scrp->privates[RamDacScreenPrivateIndex].ptr =
133 (pScrn)->privates[RamDacGetScreenIndex()].ptr);
H A Dxf86RamDac.h97 #define RAMDACHWPTR(p) ((RamDacHWRecPtr)((p)->privates[RamDacGetHWIndex()].ptr))
102 #define RAMDACSCRPTR(p) ((RamDacScreenRecPtr)((p)->privates[RamDacGetScreenIndex()].ptr))->RamDacRec
/xsrc/external/mit/xorg-server/dist/glamor/
H A Dglamor_font.c36 glamor_font_t *privates; local in function:glamor_font_get
53 privates = FontGetPrivate(font, glamor_font_private_index);
54 if (!privates) {
55 privates = calloc(glamor_font_screen_count, sizeof (glamor_font_t));
56 if (!privates)
58 xfont2_font_set_private(font, glamor_font_private_index, privates);
61 glamor_font = &privates[screen->myNum];
177 glamor_font_t *privates = FontGetPrivate(font, glamor_font_private_index); local in function:glamor_unrealize_font
181 if (!privates)
184 glamor_font = &privates[scree
[all...]
/xsrc/external/mit/xorg-server.old/dist/dix/
H A Dprivates.c58 #include "privates.h"
89 typedef Bool (*FixupFunc)(PrivatePtr *privates, int offset, unsigned bytes);
92 dixReallocPrivates(PrivatePtr *privates, int old_offset, unsigned bytes) argument
96 new_privates = realloc(*privates, old_offset + bytes);
100 *privates = new_privates;
105 dixMovePrivates(PrivatePtr *privates, int new_offset, unsigned bytes) argument
107 memmove((char *) *privates + bytes, *privates, new_offset - bytes);
108 memset(*privates, '\0', bytes);
204 /* Move all existing keys up in the privates spac
275 _dixInitPrivates(PrivatePtr * privates,void * addr,DevPrivateType type) argument
290 _dixFiniPrivates(PrivatePtr privates,DevPrivateType type) argument
308 PrivatePtr privates; local in function:_dixAllocateObjectWithPrivates
334 dixAllocatePrivates(PrivatePtr * privates,DevPrivateType type) argument
362 _dixFreeObjectWithPrivates(void * object,PrivatePtr privates,DevPrivateType type) argument
372 dixFreePrivates(PrivatePtr privates,DevPrivateType type) argument
[all...]
H A DMakefile.am33 privates.c \
/xsrc/external/mit/xorg-server/dist/dix/
H A Dprivates.c58 #include "privates.h"
107 /* extension privates */
130 typedef Bool (*FixupFunc) (PrivatePtr *privates, int offset, unsigned bytes);
135 dixReallocPrivates(PrivatePtr *privates, int old_offset, unsigned bytes) argument
139 new_privates = realloc(*privates, old_offset + bytes);
143 *privates = new_privates;
148 dixMovePrivates(PrivatePtr *privates, int new_offset, unsigned bytes) argument
150 memmove((char *) *privates + bytes, *privates, new_offset - bytes);
151 memset(*privates, '\
438 _dixInitPrivates(PrivatePtr * privates,void * addr,DevPrivateType type) argument
456 _dixFiniPrivates(PrivatePtr privates,DevPrivateType type) argument
475 PrivatePtr privates; local in function:_dixAllocateObjectWithPrivates
503 dixAllocatePrivates(PrivatePtr * privates,DevPrivateType type) argument
534 _dixFreeObjectWithPrivates(void * object,PrivatePtr privates,DevPrivateType type) argument
545 dixFreePrivates(PrivatePtr privates,DevPrivateType type) argument
667 _dixInitScreenPrivates(ScreenPtr pScreen,PrivatePtr * privates,void * addr,DevPrivateType type) argument
698 PrivatePtr privates; local in function:_dixAllocateScreenObjectWithPrivates
[all...]
H A DMakefile.am33 privates.c \
/xsrc/external/mit/xf86-video-intel-old/dist/src/
H A Di830_dri.c91 I830DRI2BufferPrivatePtr privates; local in function:I830DRI2CreateBuffers
97 privates = xcalloc(count, sizeof *privates);
98 if (privates == NULL) {
147 buffers[i].driverPrivate = &privates[i];
149 privates[i].pPixmap = pPixmap;
150 privates[i].attachment = attachments[i];
173 I830DRI2BufferPrivatePtr privates; local in function:I830DRI2CreateBuffer
179 privates = xcalloc(1, sizeof *privates);
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/dmx/glxProxy/
H A Dglxext.h53 void **privates
/xsrc/external/mit/xf86-video-intel/dist/src/uxa/
H A Dintel_dri.c161 I830DRI2BufferPrivatePtr privates; local in function:I830DRI2CreateBuffers
168 privates = calloc(count, sizeof *privates);
169 if (privates == NULL) {
224 buffers[i].driverPrivate = &privates[i];
226 privates[i].refcnt = 1;
227 privates[i].pixmap = pixmap;
240 screen->DestroyPixmap(privates[i].pixmap);
241 free(privates);
274 I830DRI2BufferPrivatePtr privates; local in function:I830DRI2CreateBuffer
[all...]
/xsrc/external/mit/xf86-video-intel-2014/dist/src/uxa/
H A Dintel_dri.c120 I830DRI2BufferPrivatePtr privates; local in function:I830DRI2CreateBuffers
127 privates = calloc(count, sizeof *privates);
128 if (privates == NULL) {
186 buffers[i].driverPrivate = &privates[i];
188 privates[i].refcnt = 1;
189 privates[i].pixmap = pixmap;
202 screen->DestroyPixmap(privates[i].pixmap);
203 free(privates);
236 I830DRI2BufferPrivatePtr privates; local in function:I830DRI2CreateBuffer
[all...]
/xsrc/external/mit/libXfont/dist/src/fontfile/
H A Dcatalogue.c338 pointer *privates; member in struct:_LFWIData
353 data = malloc (sizeof *data + sizeof data->privates[0] * cat->fpeCount);
356 data->privates = (pointer *) (data + 1);
361 max, &data->privates[i], mark_aliases);
372 /* FIXME: we have no way to free the per-fpe privates. */;
405 data->privates[data->current]);
442 data->privates[data->current]);
/xsrc/external/mit/libXfont2/dist/src/fontfile/
H A Dcatalogue.c339 pointer *privates; member in struct:_LFWIData
354 data = malloc (sizeof *data + sizeof data->privates[0] * cat->fpeCount);
357 data->privates = (pointer *) (data + 1);
362 max, &data->privates[i], mark_aliases);
373 /* FIXME: we have no way to free the per-fpe privates. */;
406 data->privates[data->current]);
443 data->privates[data->current]);
/xsrc/external/mit/xf86-video-ati/dist/src/
H A Dradeon_dri2.c87 struct dri2_buffer_priv *privates; local in function:radeon_dri2_create_buffers
102 privates = calloc(count, sizeof(struct dri2_buffer_priv));
103 if (privates == NULL) {
224 (*pScreen->DestroyPixmap)(privates[j].pixmap);
226 free(privates);
234 buffers[i].driverPrivate = &privates[i];
236 privates[i].pixmap = pixmap;
237 privates[i].attachment = attachments[i];
251 struct dri2_buffer_priv *privates; local in function:radeon_dri2_create_buffer
363 privates
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/shared/
H A Dvidmem.c72 #define VIDMAPPTR(p) ((VidMapPtr)((p)->privates[vidMapIndex].ptr))
93 vp = pScrn->privates[vidMapIndex].ptr = xnfcalloc(sizeof(VidMapRec), 1);
/xsrc/external/mit/xorg-server.old/dist/glx/
H A Dglxserver.h89 void *configs, void **privates);
/xsrc/external/mit/xf86-video-amdgpu/dist/src/
H A Damdgpu_dri2.c106 struct dri2_buffer_priv *privates; local in function:amdgpu_dri2_create_buffer2
185 privates = calloc(1, sizeof(struct dri2_buffer_priv));
186 if (!privates)
192 buffers->driverPrivate = privates;
195 privates->pixmap = pixmap;
196 privates->attachment = attachment;
197 privates->refcnt = 1;
650 /* Swap pixmap privates */
/xsrc/external/mit/xf86-video-ati-kms/dist/src/
H A Dradeon_dri2.c110 struct dri2_buffer_priv *privates; local in function:radeon_dri2_create_buffer2
266 privates = calloc(1, sizeof(struct dri2_buffer_priv));
267 if (!privates)
273 buffers->driverPrivate = privates;
276 privates->pixmap = pixmap;
277 privates->attachment = attachment;
278 privates->refcnt = 1;
748 /* Swap pixmap privates */
/xsrc/external/mit/xorg-server/dist/hw/xfree86/common/
H A Dxf86Helper.c189 pScrn->privates = xnfcalloc(sizeof(DevUnion), xf86ScrnInfoPrivateCount);
249 free(pScrn->privates);
291 nprivs = xnfreallocarray(pScr->privates,
295 pScr->privates = nprivs;
299 nprivs = xnfreallocarray(pScr->privates,
303 pScr->privates = nprivs;
977 * pixmap such as GC's, window privates etc. This also means that this code
/xsrc/external/mit/freetype/dist/include/freetype/
H A Dt1tables.h308 PS_Private privates [T1_MAX_MM_DESIGNS + 1]; member in struct:PS_BlendRec_
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/vgahw/
H A DvgaHW.h35 #define VGAHWPTR(p) ((vgaHWPtr)((p)->privates[vgaHWGetIndex()].ptr))

Completed in 23 milliseconds

12