Home
last modified time | relevance | path

Searched refs:xallocarray (Results 1 – 25 of 100) sorted by relevance

1234

/OK3568_Linux_fs/external/xserver/hw/xnest/
H A DColor.c65 colors = xallocarray(ncolors, sizeof(XColor)); in xnestCreateColormap()
78 colors = xallocarray(ncolors, sizeof(XColor)); in xnestCreateColormap()
91 colors = xallocarray(ncolors, sizeof(XColor)); in xnestCreateColormap()
197 icws.cmapIDs = xallocarray(pScreen->maxInstalledCmaps, sizeof(Colormap)); in xnestSetInstalledColormapWindows()
202 icws.windows = xallocarray(icws.numWindows + 1, sizeof(Window)); in xnestSetInstalledColormapWindows()
221 Window64 *windows = xallocarray(numWindows, sizeof(Window64)); in xnestSetInstalledColormapWindows()
393 XColor *pColors64 = xallocarray(nColors, sizeof(XColor)); in xnestStoreColors()
/OK3568_Linux_fs/external/xserver/mi/
H A Dmibitblt.c135 pptFirst = ppt = xallocarray(heightSrc, sizeof(DDXPointRec)); in miCopyArea()
136 pwidthFirst = pwidth = xallocarray(heightSrc, sizeof(unsigned int)); in miCopyArea()
139 ordering = xallocarray(numRects, sizeof(unsigned int)); in miCopyArea()
222 pbits = xallocarray(height, PixmapBytePad(width, pSrcDrawable->depth)); in miCopyArea()
399 ppt = pptFirst = xallocarray(h, sizeof(DDXPointRec)); in miOpqStipDrawable()
400 pwidth = pwidthFirst = xallocarray(h, sizeof(int)); in miOpqStipDrawable()
747 ppt = pptFirst = xallocarray(h, sizeof(DDXPointRec)); in miPutImage()
748 pwidth = pwidthFirst = xallocarray(h, sizeof(int)); in miPutImage()
H A Dmifillrct.c103 pptFirst = xallocarray(maxheight, sizeof(DDXPointRec)); in miPolyFillRect()
104 pwFirst = xallocarray(maxheight, sizeof(int)); in miPolyFillRect()
H A Dmicmap.c461 depth = xallocarray(ndepth, sizeof(DepthRec)); in miInitVisuals()
462 visual = xallocarray(nvisual, sizeof(VisualRec)); in miInitVisuals()
463 preferredCVCs = xallocarray(ndepth, sizeof(int)); in miInitVisuals()
484 vid = xallocarray(nvtype, sizeof(VisualID)); in miInitVisuals()
H A Dmicopy.c65 pboxNew1 = xallocarray(nbox, sizeof(BoxRec)); in miCopyRegion()
96 pboxNew2 = xallocarray(nbox, sizeof(BoxRec)); in miCopyRegion()
H A Dmizerline.c153 pspanInit = xallocarray(list_len, sizeof(DDXPointRec)); in miZeroLine()
154 pwidthInit = xallocarray(list_len, sizeof(int)); in miZeroLine()
H A Dmipolypnt.c70 if (!(pwidthInit = xallocarray(npt, sizeof(int)))) in miPolyPoint()
/OK3568_Linux_fs/external/xserver/dix/
H A Dproperty.c150 props = xallocarray(stuff->nAtoms, sizeof(PropertyPtr)); in ProcRotateProperties()
151 saved = xallocarray(stuff->nAtoms, sizeof(PropertyRec)); in ProcRotateProperties()
327 data = xallocarray(pProp->size + len, sizeInBytes); in dixChangeWindowProperty()
336 data = xallocarray(len + pProp->size, sizeInBytes); in dixChangeWindowProperty()
587 if (numProps && !(pAtoms = xallocarray(numProps, sizeof(Atom)))) in ProcListProperties()
H A Dgrabs.c597 deletes = xallocarray(i, sizeof(GrabPtr)); in DeletePassiveGrabFromList()
598 adds = xallocarray(i, sizeof(GrabPtr)); in DeletePassiveGrabFromList()
599 updates = xallocarray(i, sizeof(Mask **)); in DeletePassiveGrabFromList()
600 details = xallocarray(i, sizeof(Mask *)); in DeletePassiveGrabFromList()
H A Datom.c201 nodeTable = xallocarray(InitialTableSize, sizeof(NodePtr)); in InitAtoms()
/OK3568_Linux_fs/external/xserver/hw/dmx/
H A Ddmxfont.c76 fp = xallocarray(*npaths, sizeof(*fp)); in dmxGetFontPath()
310 goodfps = xallocarray(npaths, sizeof(*goodfps)); in dmxBELoadFont()
358 newfp = xallocarray(len, sizeof(*newfp)); in dmxBELoadFont()
H A Ddmx.c428 if (!(attribs = xallocarray(stuff->screenCount, sizeof(*attribs)))) in ProcDMXChangeScreensAttributes()
625 if (!(screens = xallocarray(count, sizeof(*screens)))) in ProcDMXGetWindowAttributes()
627 if (!(windows = xallocarray(count, sizeof(*windows)))) { in ProcDMXGetWindowAttributes()
631 if (!(pos = xallocarray(count, sizeof(*pos)))) { in ProcDMXGetWindowAttributes()
636 if (!(vis = xallocarray(count, sizeof(*vis)))) { in ProcDMXGetWindowAttributes()
H A Ddmxpict.c393 gidsCopy = xallocarray(nglyphs, sizeof(*gidsCopy)); in dmxProcRenderAddGlyphs()
437 gids = xallocarray(nglyphs, sizeof(*gids)); in dmxProcRenderFreeGlyphs()
572 elts = xallocarray(nelt, sizeof(XGlyphElt8)); in dmxProcRenderCompositeGlyphs()
576 glyphs = xallocarray(nglyph, size); in dmxProcRenderCompositeGlyphs()
930 pRects = pRect = xallocarray(nRects, sizeof(*pRect)); in dmxChangePictureClip()
/OK3568_Linux_fs/external/xserver/hw/dmx/glxProxy/
H A Dglxscreens.c132 be_extensions = xallocarray(__glXNumActiveScreens, sizeof(char *)); in CalcServerVersionAndExtensions()
241 xallocarray(dmxScreen0->numFBConfigs * (numscreens + 1), in __glXScreenInit()
/OK3568_Linux_fs/external/xserver/randr/
H A Drrproperty.c206 new_value.data = xallocarray(total_len, size_in_bytes); in RRChangeOutputProperty()
378 new_values = xallocarray(num_values, sizeof(INT32)); in RRConfigureOutputProperty()
428 if (!(pAtoms = xallocarray(numProps, sizeof(Atom)))) in ProcRRListOutputProperties()
475 extra = xallocarray(prop->num_valid, sizeof(INT32)); in ProcRRQueryOutputProperty()
H A Drrproviderproperty.c353 new_values = xallocarray(num_values, sizeof(INT32)); in RRConfigureProviderProperty()
403 if (!(pAtoms = xallocarray(numProps, sizeof(Atom)))) in ProcRRListProviderProperties()
448 extra = xallocarray(prop->num_valid, sizeof(INT32)); in ProcRRQueryProviderProperty()
H A Drroutput.c146 newClones = xallocarray(numClones, sizeof(RROutputPtr)); in RROutputSetClones()
179 newModes = xallocarray(numModes, sizeof(RRModePtr)); in RROutputSetModes()
278 newCrtcs = xallocarray(numCrtcs, sizeof(RRCrtcPtr)); in RROutputSetCrtcs()
/OK3568_Linux_fs/external/xserver/Xext/
H A Dhashtable.c57 ht->buckets = xallocarray(numBuckets, sizeof(*ht->buckets)); in ht_create()
98 newBuckets = xallocarray(newNumBuckets, sizeof(*ht->buckets)); in double_size()
H A Dxcmisc.c104 pids = xallocarray(stuff->count, sizeof(XID)); in ProcXCMiscGetXIDList()
/OK3568_Linux_fs/external/xserver/hw/kdrive/src/
H A Dkshadow.c39 buf = xallocarray(paddedWidth, height); in KdShadowFbAlloc()
/OK3568_Linux_fs/external/xserver/glamor/
H A Dglamor_utils.c34 rect = xallocarray(nbox, sizeof(xRectangle)); in glamor_solid_boxes()
H A Dglamor_gradient.c969 stop_colors = xallocarray(stops_count, 4 * sizeof(float)); in glamor_generate_radial_gradient_picture()
975 n_stops = xallocarray(stops_count, sizeof(float)); in glamor_generate_radial_gradient_picture()
1310 stop_colors = xallocarray(stops_count, 4 * sizeof(float)); in glamor_generate_linear_gradient_picture()
1316 n_stops = xallocarray(stops_count, sizeof(float)); in glamor_generate_linear_gradient_picture()
/OK3568_Linux_fs/external/xserver/hw/dmx/input/
H A Ddmxmotion.c116 dmxLocal->history = xallocarray(numAxes + 1, in dmxPointerPutMotionEvent()
/OK3568_Linux_fs/external/xserver/Xi/
H A Dgetprop.c121 buf = xallocarray(rep.count, sizeof(XEventClass)); in ProcXGetDeviceDontPropagateList()
/OK3568_Linux_fs/external/xserver/hw/vfb/
H A DInitOutput.c420 ppix = xallocarray(entries, sizeof(Pixel)); in vfbInstallColormap()
421 prgb = xallocarray(entries, sizeof(xrgb)); in vfbInstallColormap()
422 defs = xallocarray(entries, sizeof(xColorItem)); in vfbInstallColormap()

1234