Lines Matching defs:MALLOC

165 #define MALLOC(p, t, n) ((p) = (t *) xmalloc((n) * sizeof (t)))
484 MALLOC(work_mbc->chars, wchar_t, chars_al);
557 MALLOC(work_mbc->ch_classes, wchar_t, ++ch_classes_al);
567 MALLOC(elem, char, len + 1);
574 MALLOC(work_mbc->equivs, char*, ++equivs_al);
585 MALLOC(work_mbc->coll_elems, char*, ++coll_elems_al);
631 MALLOC(work_mbc->range_sts, wchar_t, ++range_sts_al);
632 MALLOC(work_mbc->range_ends, wchar_t, ++range_ends_al);
1511 MALLOC(d->states[i].elems.elems, position, s->nelem);
1557 MALLOC(visited, int, d->tindex);
1696 MALLOC(nullable, int, d->depth);
1698 MALLOC(nfirstpos, int, d->depth);
1700 MALLOC(firstpos, position, d->nleaves);
1702 MALLOC(nlastpos, int, d->depth);
1704 MALLOC(lastpos, position, d->nleaves);
1706 MALLOC(nalloc, int, d->tindex);
1709 MALLOC(merged.elems, position, d->nleaves);
1820 MALLOC(d->follows[i].elems, position, nalloc[i]);
1889 MALLOC(d->states, dfa_state, d->salloc);
1988 MALLOC(d->states[s].mbps.elems, position,
2058 MALLOC(grps[ngrps].elems, position, d->nleaves);
2079 MALLOC(grps[ngrps].elems, position, d->nleaves);
2086 MALLOC(follows.elems, position, d->nleaves);
2087 MALLOC(tmp.elems, position, d->nleaves);
2270 MALLOC(trans, int, NOTCHAR);
2311 MALLOC(d->success, int, d->tralloc);
2583 MALLOC(rarray, int, d->states[s].mbps.nelem);
2706 MALLOC(follows.elems, position, d->nleaves);
2790 MALLOC(mblen_buf, unsigned char, end - (unsigned char const *)begin + 2);
2791 MALLOC(inputwcs, wchar_t, end - (unsigned char const *)begin + 2);
2925 MALLOC(d->charclasses, charclass, d->calloc);
2929 MALLOC(d->tokens, token, d->talloc);
2935 MALLOC(d->multibyte_prop, int, d->nmultibyte_prop);
2938 MALLOC(d->mbcsets, struct mb_char_classes, d->mbcsets_alloc);