Searched refs:re_malloc (Results 1 – 4 of 4) sorted by relevance
/ndk/sources/host-tools/sed-4.2.1/lib/ |
D | regex_internal.c | 405 pstr->offsets = re_malloc (Idx, pstr->bufs_len); in build_wcs_upper_buffer() 974 set->elems = re_malloc (Idx, size); in re_node_set_alloc() 986 set->elems = re_malloc (Idx, 1); in re_node_set_init_1() 1001 set->elems = re_malloc (Idx, 2); in re_node_set_init_2() 1034 dest->elems = re_malloc (Idx, dest->alloc); in re_node_set_init_copy() 1151 dest->elems = re_malloc (Idx, dest->alloc); in re_node_set_init_union() 1714 newstate->entrance_nodes = re_malloc (re_node_set, 1); in create_cd_newstate()
|
D | regexec.c | 390 s = re_malloc (char, len); in weak_alias() 471 pmatch = re_malloc (regmatch_t, nregs); in re_search_stub() 525 regs->start = re_malloc (regoff_t, need_regs); in re_copy_regs() 528 regs->end = re_malloc (regoff_t, need_regs); in re_copy_regs() 731 mctx.state_log = re_malloc (re_dfastate_t *, mctx.input.bufs_len + 1); in re_search_internal() 996 sifted_states = re_malloc (re_dfastate_t *, match_last + 1); in prune_impossible_nodes() 1004 lim_states = re_malloc (re_dfastate_t *, match_last + 1); in prune_impossible_nodes() 1408 fs->stack[num].regs = re_malloc (regmatch_t, nregs); in push_fail_stack() 1456 fs->stack = re_malloc (struct re_fail_stack_ent_t, fs->alloc); in set_regs() 1470 prev_idx_match = re_malloc (regmatch_t, nmatch); in set_regs() [all …]
|
D | regcomp.c | 490 preg->fastmap = re_malloc (char, SBC_MAX); 795 dfa->re_str = re_malloc (char, length + 1); in re_compile_internal() 880 dfa->nodes = re_malloc (re_token_t, dfa->nodes_alloc); in init_dfa() 1146 dfa->nexts = re_malloc (Idx, dfa->nodes_alloc); in analyze() 1147 dfa->org_indices = re_malloc (Idx, dfa->nodes_alloc); in analyze() 1148 dfa->edests = re_malloc (re_node_set, dfa->nodes_alloc); in analyze() 1149 dfa->eclosures = re_malloc (re_node_set, dfa->nodes_alloc); in analyze() 1154 dfa->subexp_map = re_malloc (Idx, preg->re_nsub); in analyze() 1190 dfa->inveclosures = re_malloc (re_node_set, dfa->nodes_len); in analyze() 3745 bin_tree_storage_t *storage = re_malloc (bin_tree_storage_t, 1); in create_token_tree()
|
D | regex_internal.h | 480 #define re_malloc(t,n) ((t *) malloc ((n) * sizeof (t))) macro
|