Home
last modified time | relevance | path

Searched refs:new_alloc (Results 1 – 2 of 2) sorted by relevance

/ndk/sources/host-tools/sed-4.2.1/lib/
Dregex_internal.c1064 Idx new_alloc = src1->nelem + src2->nelem + dest->alloc; in re_node_set_add_intersect() local
1065 Idx *new_elems = re_realloc (dest->elems, Idx, new_alloc); in re_node_set_add_intersect()
1069 dest->alloc = new_alloc; in re_node_set_add_intersect()
1204 Idx new_alloc = 2 * (src->nelem + dest->alloc); in re_node_set_merge() local
1205 Idx *new_buffer = re_realloc (dest->elems, Idx, new_alloc); in re_node_set_merge()
1209 dest->alloc = new_alloc; in re_node_set_merge()
1589 Idx new_alloc = 2 * spot->num + 2; in register_state() local
1591 new_alloc); in register_state()
1595 spot->alloc = new_alloc; in register_state()
Dregexec.c2938 Idx new_alloc = old_alloc + last_str + mctx->max_mb_elem_len + 1; in check_arrival() local
2939 if (BE (new_alloc < old_alloc, 0) in check_arrival()
2940 || BE (SIZE_MAX / sizeof (re_dfastate_t *) < new_alloc, 0)) in check_arrival()
2942 new_array = re_realloc (path->array, re_dfastate_t *, new_alloc); in check_arrival()
2946 path->alloc = new_alloc; in check_arrival()