• Home
  • Raw
  • Download

Lines Matching refs:alloc

972   set->alloc = size;  in re_node_set_alloc()
984 set->alloc = 1; in re_node_set_init_1()
989 set->alloc = set->nelem = 0; in re_node_set_init_1()
1000 set->alloc = 2; in re_node_set_init_2()
1033 dest->alloc = dest->nelem; in re_node_set_init_copy()
1034 dest->elems = re_malloc (Idx, dest->alloc); in re_node_set_init_copy()
1037 dest->alloc = dest->nelem = 0; in re_node_set_init_copy()
1062 if (src1->nelem + src2->nelem + dest->nelem > dest->alloc) in re_node_set_add_intersect()
1064 Idx new_alloc = src1->nelem + src2->nelem + dest->alloc; in re_node_set_add_intersect()
1069 dest->alloc = new_alloc; in re_node_set_add_intersect()
1150 dest->alloc = src1->nelem + src2->nelem; in re_node_set_init_union()
1151 dest->elems = re_malloc (Idx, dest->alloc); in re_node_set_init_union()
1202 if (dest->alloc < 2 * src->nelem + dest->nelem) in re_node_set_merge()
1204 Idx new_alloc = 2 * (src->nelem + dest->alloc); in re_node_set_merge()
1209 dest->alloc = new_alloc; in re_node_set_merge()
1285 if (set->alloc == 0) in re_node_set_insert()
1297 if (set->alloc == set->nelem) in re_node_set_insert()
1300 set->alloc = set->alloc * 2; in re_node_set_insert()
1301 new_elems = re_realloc (set->elems, Idx, set->alloc); in re_node_set_insert()
1336 if (set->alloc == set->nelem) in re_node_set_insert_last()
1339 set->alloc = (set->alloc + 1) * 2; in re_node_set_insert_last()
1340 new_elems = re_realloc (set->elems, Idx, set->alloc); in re_node_set_insert_last()
1587 if (BE (spot->alloc <= spot->num, 0)) in register_state()
1595 spot->alloc = new_alloc; in register_state()