Searched refs:Xcalloc (Results 1 - 25 of 63) sorted by relevance

123

/xsrc/external/mit/libX11/dist/src/
H A DPropAlloc.c42 return Xcalloc (1, sizeof (XSizeHints));
48 return Xcalloc (1, sizeof (XStandardColormap));
54 return Xcalloc (1, sizeof (XWMHints));
60 return Xcalloc (1, sizeof (XClassHint));
66 return Xcalloc (1, sizeof (XIconSize));
H A DOpenDis.c115 if ((dpy = Xcalloc(1, sizeof(Display))) == NULL) {
241 if ((dpy->bufptr = dpy->buffer = Xcalloc(1, conn_buf_size)) == NULL) {
253 if ((dpy->free_funcs = Xcalloc(1, sizeof(_XFreeFuncRec))) == NULL) {
347 dpy->pixmap_format = Xcalloc(dpy->nformats, sizeof(ScreenFormat));
375 dpy->screens = Xcalloc(dpy->nscreens, sizeof(Screen));
417 sp->depths = Xcalloc(sp->ndepths, sizeof(Depth));
439 dp->visuals = Xcalloc(dp->nvisuals, sizeof(Visual));
H A Dxcb_disp.c65 dpy->xcb = Xcalloc(1, sizeof(_X11XCBPrivate));
H A DContext.c114 db->table = Xcalloc(i, sizeof(TableEntry));
188 db->table = Xcalloc(db->mask + 1, sizeof(TableEntry));
H A DGetHints.c131 if ((hints = Xcalloc (1, sizeof(XWMHints)))) {
206 if (! (hp = hints = Xcalloc (nitems, sizeof(XIconSize)))) {
H A DIntAtom.c76 dpy->atoms = atoms = Xcalloc(1, sizeof(AtomTable));
131 dpy->atoms = Xcalloc(1, sizeof(AtomTable));
/xsrc/external/mit/libX11/dist/src/xcms/
H A DCCC.c115 !(newccc = Xcalloc(1, sizeof(XcmsCCCRec)))) {
148 if (!(pNewScrnInfo = Xcalloc(1, sizeof(XcmsPerScrnInfo)))) {
H A DcmsInt.c188 if (!(ccc = Xcalloc((unsigned)nScrn, sizeof(XcmsCCCRec)))) {
329 Xcalloc(1, sizeof(XcmsPerScrnInfo)))) {
H A DSetGetCols.c241 if ((pXColors_in_out = Xcalloc(nColors, sizeof(XColor))) ==
H A DLRGB.c486 Xcalloc (1, sizeof(LINEAR_RGB_SCCData)))) {
656 Xcalloc (1, sizeof(LINEAR_RGB_SCCData)))) {
665 Xcalloc (1, sizeof(XcmsIntensityMap)))) {
685 Xcalloc (1, sizeof(IntensityTbl)))) {
701 Xcalloc (1, sizeof(IntensityTbl)))) {
711 Xcalloc (1, sizeof(IntensityTbl)))) {
722 Xcalloc (1, sizeof(IntensityTbl)))) {
741 Xcalloc (1, sizeof(IntensityTbl)))) {
751 Xcalloc (1, sizeof(IntensityTbl)))) {
917 Xcalloc (nElement
[all...]
/xsrc/external/mit/xfs/dist/include/
H A Ddifsutils.h65 extern pointer Xcalloc (unsigned long n);
/xsrc/external/mit/xf86-video-intel-old/dist/src/
H A Di965_hwmc.c64 if ((private_context = Xcalloc(sizeof(*private_context))) == NULL) {
69 if ((context_dup = Xcalloc(sizeof(*private_context))) == NULL) {
105 priv_surface = Xcalloc(sizeof(*priv_surface));
108 surface_dup = Xcalloc(sizeof(*priv_surface));
/xsrc/external/mit/libXxf86misc/dist/src/
H A DXF86Misc.c147 if (!(mouseinfo->device = Xcalloc(rep.devnamelen + 1, 1))) {
293 if (!(filpaths->configfile = Xcalloc(rep.configlen + 1, 1))) {
303 if (!(filpaths->modulepath = Xcalloc(rep.modulelen + 1, 1))) {
315 if (!(filpaths->logfile = Xcalloc(rep.loglen + 1, 1))) {
383 if (!(*retmsg = Xcalloc(rep.mesglen + 1, 1))) {
/xsrc/external/mit/libX11/dist/src/xlibi18n/
H A DXDefaultIMIF.c176 if ((im = Xcalloc(1, sizeof(StaticXIMRec))) == NULL)
179 if ((im->private = Xcalloc(1, sizeof(XIMStaticXIMRec))) == NULL)
337 if ((ic = Xcalloc(1, sizeof(XICRec))) == (XIC)NULL) {
H A DlcPublic.c83 lcd = Xcalloc(1, sizeof(XLCdRec));
87 lcd->core = Xcalloc(1, sizeof(XLCdPublicRec));
H A DlcCharSet.c179 charset = Xcalloc(1, sizeof(XlcCharSetRec));
/xsrc/external/mit/libXext/dist/src/
H A DXEVI.c130 temp_visual = Xcalloc(sz_info, sz_VisualID32);
176 *evi_return = Xcalloc(1, sz_info + sz_conflict);
H A DXSecurity.c190 return Xcalloc(1, sizeof(Xauth));
286 if ((auth_return = Xcalloc(1,
/xsrc/external/mit/libX11/dist/src/xkb/
H A DXKBlibint.h119 #define _XkbCalloc(n,s) Xcalloc((n),(s))
122 #define _XkbTypedCalloc(n,t) ((t *)Xcalloc((n),sizeof(t)))
/xsrc/external/mit/libdrm/dist/tests/ttmtest/src/
H A Dxf86dri.c210 if (!(*busIdString = (char *)Xcalloc(rep.busIdStringLength + 1, 1))) {
317 (char *)Xcalloc(rep.clientDriverNameLength + 1, 1))) {
520 *pClipRects = (drm_clip_rect_t *) Xcalloc(len, 1);
530 *pBackClipRects = (drm_clip_rect_t *) Xcalloc(len, 1);
587 if (!(*pDevPrivate = (void *)Xcalloc(rep.devPrivateSize, 1))) {
/xsrc/external/mit/xf86-video-openchrome/dist/src/xvmc/
H A Dxf86dri.c208 *busIdString = Xcalloc(rep.busIdStringLength + 1, 1);
318 *clientDriverName = Xcalloc(rep.clientDriverNameLength + 1, 1);
524 *pClipRects = (drm_clip_rect_t *) Xcalloc(len, 1);
534 *pBackClipRects = (drm_clip_rect_t *) Xcalloc(len, 1);
591 if (!(*pDevPrivate = (void *)Xcalloc(rep.devPrivateSize, 1))) {
/xsrc/external/mit/libXxf86vm/dist/src/
H A DXF86VMode.c271 modeline->private = Xcalloc(modeline->privsize, sizeof(INT32));
333 if (!(modelines = (XF86VidModeModeInfo **) Xcalloc(rep.modecount,
369 Xcalloc(oldxmdline.privsize, sizeof(INT32)))) {
399 Xcalloc(xmdline.privsize, sizeof(INT32)))) {
885 monitor->vendor = Xcalloc(rep.vendorLength + 1, 1);
892 monitor->model = Xcalloc(rep.modelLength + 1, 1);
899 monitor->hsync = Xcalloc(rep.nhsync, sizeof(XF86VidModeSyncRange));
900 monitor->vsync = Xcalloc(rep.nvsync, sizeof(XF86VidModeSyncRange));
1038 dotclocks = Xcalloc(rep.clocks, sizeof(int));
/xsrc/external/mit/libXt/dist/src/
H A DAlloc.c91 #define Xcalloc(nelem, elsize) calloc((nelem), (elsize)) macro
243 if ((ptr = Xcalloc(num, size)) == NULL)
465 if ((ptr = (StatsPtr) Xcalloc(newsize, 1)) == NULL)
/xsrc/external/mit/libXi/dist/src/
H A DXIQueryDevice.c109 lib->name = Xcalloc(wire->name_len + 1, 1);
/xsrc/external/mit/xorg-server.old/dist/include/
H A Dos.h77 #define xcalloc(_num, _size) Xcalloc((unsigned long)(_num)*(unsigned long)(_size))
237 extern _X_EXPORT void *Xcalloc(unsigned long /*amount*/) _X_DEPRECATED;

Completed in 59 milliseconds

123