Searched refs:mallocarray (Results 1 - 17 of 17) sorted by relevance

/xsrc/external/mit/libXfont2/dist/src/util/
H A Dreplace.h41 #ifndef mallocarray
42 #define mallocarray(n, s) reallocarray(NULL, n, s) macro
H A Dfontnames.c68 pFN->length = mallocarray(size, sizeof(int));
69 pFN->names = mallocarray(size, sizeof(char *));
H A Dfontutil.c140 charinfo = mallocarray(count, sizeof(xCharInfo *));
306 *range = mallocarray(range_alloc_granularity, SIZEOF(fsRange));
/xsrc/external/mit/makedepend/dist/
H A Dinclude.c199 ip->i_list = mallocarray(ip->i_listlen, sizeof(struct inclist *));
200 ip->i_merged = mallocarray(ip->i_listlen, sizeof(boolean));
H A Ddef.h66 #define mallocarray(num, size) reallocarray(NULL, num, size) macro
H A Dparse.c343 file->i_defs = mallocarray(SYMTABINC, sizeof(struct symtab *));
502 i_defs = mallocarray(deflen, sizeof(struct symtab *));
/xsrc/external/mit/libXfont2/dist/src/bitmap/
H A Dpcfread.c142 tables = mallocarray(count, sizeof(PCFTableRec));
267 props = mallocarray(nprops, sizeof(FontPropRec));
273 isStringProp = mallocarray(nprops, sizeof(char));
460 metrics = mallocarray(nmetrics, sizeof(CharInfoRec));
487 offsets = mallocarray(nbitmaps, sizeof(CARD32));
577 ink_metrics = mallocarray(nink_metrics, sizeof(xCharInfo));
H A Dsnfread.c457 pFontInfo->props = mallocarray(fi.nProps, sizeof(FontPropRec));
463 pFontInfo->isStringProp = mallocarray(fi.nProps, sizeof(char));
H A Dbdfread.c111 picture = mallocarray(widthBytes, height);
317 bitmapExtra->glyphNames = mallocarray(nchars, sizeof(Atom));
325 bitmapExtra->sWidths = mallocarray(nchars, sizeof(int));
644 stringProps = mallocarray((nProps + BDF_GENPROPS), sizeof(char));
H A Dbitmaputil.c214 bitmapFont->ink_metrics = mallocarray(bitmapFont->num_chars, sizeof(xCharInfo));
H A Dbitscale.c585 fp = mallocarray(sizeof(FontPropRec), nProps);
861 bitmapFont->metrics = mallocarray(nchars, sizeof(CharInfoRec));
1176 char_grayscale = mallocarray((width + 1), (height + 1));
H A Dpcfwrite.c239 offsetProps = mallocarray(pFont->info.nprops, sizeof(FontPropRec));
/xsrc/external/mit/xrdb/dist/
H A Dxrdb.c204 # define mallocarray(n, s) reallocarray(NULL, n, s) macro
211 b->buff = mallocarray(INIT_BUFFER_SIZE, sizeof(char));
242 e->entry = mallocarray(INIT_ENTRY_SIZE, sizeof(Entry));
1189 dbs = mallocarray(ScreenCount(dpy), sizeof(Entries));
1491 hits = mallocarray(num, sizeof(int));
/xsrc/external/mit/libXfont2/dist/src/fc/
H A Dfsconvert.c111 dprop = mallocarray(nprops, sizeof(FontPropRec) + sizeof (char));
H A Dfserve.c1075 pCI = mallocarray(numInfos, sizeof(CharInfoRec));
/xsrc/external/mit/libXfont2/dist/src/fontfile/
H A Dfontdir.c52 table->entries = mallocarray(size, sizeof(FontEntryRec));
/xsrc/external/mit/libXfont2/dist/src/FreeType/
H A Dftfuncs.c640 (*glyphs)[segment] = mallocarray(sizeof(CharInfoRec), FONTSEGMENTSIZE);
1626 info->props = mallocarray(maxprops, sizeof(FontPropRec));
2819 font->ranges = mallocarray(vals->nranges, sizeof(fsRange));

Completed in 33 milliseconds