Searched refs:re_malloc (Results 1 – 4 of 4) sorted by relevance
| /freebsd-12.1/contrib/libgnuregex/ |
| H A D | regex_internal.c | 405 pstr->offsets = re_malloc (int, pstr->bufs_len); in build_wcs_upper_buffer() 971 set->elems = re_malloc (int, size); in re_node_set_alloc() 983 set->elems = re_malloc (int, 1); in re_node_set_init_1() 998 set->elems = re_malloc (int, 2); in re_node_set_init_2() 1031 dest->elems = re_malloc (int, dest->alloc); in re_node_set_init_copy() 1148 dest->elems = re_malloc (int, dest->alloc); in re_node_set_init_union() 1705 newstate->entrance_nodes = re_malloc (re_node_set, 1); in create_cd_newstate()
|
| H A D | regexec.c | 379 s = re_malloc (char, len); 455 pmatch = re_malloc (regmatch_t, nregs); 510 regs->start = re_malloc (regoff_t, need_regs); 513 regs->end = re_malloc (regoff_t, need_regs); 974 sifted_states = re_malloc (re_dfastate_t *, match_last + 1); 982 lim_states = re_malloc (re_dfastate_t *, match_last + 1); 1385 fs->stack[num].regs = re_malloc (regmatch_t, nregs); in push_fail_stack() 1433 fs->stack = re_malloc (struct re_fail_stack_ent_t, fs->alloc); in set_regs() 1447 prev_idx_match = re_malloc (regmatch_t, nmatch); in set_regs() 3354 dests_alloc = re_malloc (struct dests_alloc, 1); in build_trtable() [all …]
|
| H A D | regcomp.c | 480 preg->fastmap = re_malloc (char, SBC_MAX); 771 dfa->re_str = re_malloc (char, length + 1); in re_compile_internal() 845 dfa->nodes = re_malloc (re_token_t, dfa->nodes_alloc); in init_dfa() 1152 dfa->nexts = re_malloc (int, dfa->nodes_alloc); in analyze() 1153 dfa->org_indices = re_malloc (int, dfa->nodes_alloc); in analyze() 1154 dfa->edests = re_malloc (re_node_set, dfa->nodes_alloc); in analyze() 1155 dfa->eclosures = re_malloc (re_node_set, dfa->nodes_alloc); in analyze() 1160 dfa->subexp_map = re_malloc (int, preg->re_nsub); in analyze() 1196 dfa->inveclosures = re_malloc (re_node_set, dfa->nodes_len); in analyze() 3743 bin_tree_storage_t *storage = re_malloc (bin_tree_storage_t, 1); in create_token_tree()
|
| H A D | regex_internal.h | 437 #define re_malloc(t,n) ((t *) malloc ((n) * sizeof (t))) macro
|