Lines Matching refs:MALLOC

139 #define MALLOC(p, t, n) ((p) = (t *) xmalloc((n) * sizeof (t)))
457 MALLOC(work_mbc->chars, wchar_t, chars_al);
531 MALLOC(work_mbc->ch_classes, wctype_t, ++ch_classes_al);
541 MALLOC(elem, char, len + 1);
548 MALLOC(work_mbc->equivs, char*, ++equivs_al);
559 MALLOC(work_mbc->coll_elems, char*, ++coll_elems_al);
605 MALLOC(work_mbc->range_sts, wchar_t, ++range_sts_al);
606 MALLOC(work_mbc->range_ends, wchar_t, ++range_ends_al);
1492 MALLOC(d->states[i].elems.elems, position, s->nelem);
1538 MALLOC(visited, int, d->tindex);
1677 MALLOC(nullable, int, d->depth);
1679 MALLOC(nfirstpos, int, d->depth);
1681 MALLOC(firstpos, position, d->nleaves);
1683 MALLOC(nlastpos, int, d->depth);
1685 MALLOC(lastpos, position, d->nleaves);
1687 MALLOC(nalloc, int, d->tindex);
1690 MALLOC(merged.elems, position, d->nleaves);
1801 MALLOC(d->follows[i].elems, position, nalloc[i]);
1870 MALLOC(d->states, dfa_state, d->salloc);
1969 MALLOC(d->states[s].mbps.elems, position,
2039 MALLOC(grps[ngrps].elems, position, d->nleaves);
2060 MALLOC(grps[ngrps].elems, position, d->nleaves);
2067 MALLOC(follows.elems, position, d->nleaves);
2068 MALLOC(tmp.elems, position, d->nleaves);
2251 MALLOC(trans, int, NOTCHAR);
2292 MALLOC(d->success, int, d->tralloc);
2562 MALLOC(rarray, int, d->states[s].mbps.nelem);
2685 MALLOC(follows.elems, position, d->nleaves);
2769 MALLOC(mblen_buf, unsigned char, end - (unsigned char const *)begin + 2);
2770 MALLOC(inputwcs, wchar_t, end - (unsigned char const *)begin + 2);
2914 MALLOC(d->charclasses, charclass, d->calloc);
2918 MALLOC(d->tokens, token, d->talloc);
2924 MALLOC(d->multibyte_prop, int, d->nmultibyte_prop);
2927 MALLOC(d->mbcsets, struct mb_char_classes, d->mbcsets_alloc);