Lines Matching refs:map
2195 noname_disable_map(Node** plink, GroupNumRemap* map, int* counter) in noname_disable_map() argument
2204 r = noname_disable_map(&(NODE_CAR(node)), map, counter); in noname_disable_map()
2212 r = noname_disable_map(ptarget, map, counter); in noname_disable_map()
2226 map[en->m.regnum].new_val = *counter; in noname_disable_map()
2228 r = noname_disable_map(&(NODE_BODY(node)), map, counter); in noname_disable_map()
2234 r = noname_disable_map(plink, map, counter); in noname_disable_map()
2238 r = noname_disable_map(&(NODE_BAG_BODY(en)), map, counter); in noname_disable_map()
2241 r = noname_disable_map(&(en->te.Then), map, counter); in noname_disable_map()
2245 r = noname_disable_map(&(en->te.Else), map, counter); in noname_disable_map()
2250 r = noname_disable_map(&(NODE_BODY(node)), map, counter); in noname_disable_map()
2256 r = noname_disable_map(&(NODE_BODY(node)), map, counter); in noname_disable_map()
2267 renumber_node_backref(Node* node, GroupNumRemap* map) in renumber_node_backref() argument
2283 n = map[backs[i]].new_val; in renumber_node_backref()
2295 renumber_by_map(Node* node, GroupNumRemap* map) in renumber_by_map() argument
2303 r = renumber_by_map(NODE_CAR(node), map); in renumber_by_map()
2308 r = renumber_by_map(NODE_BODY(node), map); in renumber_by_map()
2315 r = renumber_by_map(NODE_BODY(node), map); in renumber_by_map()
2320 r = renumber_by_map(en->te.Then, map); in renumber_by_map()
2324 r = renumber_by_map(en->te.Else, map); in renumber_by_map()
2332 r = renumber_node_backref(node, map); in renumber_by_map()
2337 r = renumber_by_map(NODE_BODY(node), map); in renumber_by_map()
2406 GroupNumRemap* map; in disable_noname_group_capture() local
2408 map = (GroupNumRemap* )xalloca(sizeof(GroupNumRemap) * (env->num_mem + 1)); in disable_noname_group_capture()
2409 CHECK_NULL_RETURN_MEMERR(map); in disable_noname_group_capture()
2411 map[i].new_val = 0; in disable_noname_group_capture()
2414 r = noname_disable_map(root, map, &counter); in disable_noname_group_capture()
2417 r = renumber_by_map(*root, map); in disable_noname_group_capture()
2421 if (map[i].new_val > 0) { in disable_noname_group_capture()
2431 MEM_STATUS_ON_SIMPLE(env->cap_history, map[i].new_val); in disable_noname_group_capture()
2438 return onig_renumber_name_table(reg, map); in disable_noname_group_capture()
5332 UChar map[CHAR_MAP_SIZE]; member
5341 OptMap map; /* boundary */ member
5686 clear_opt_map(OptMap* map) in clear_opt_map() argument
5710 xmemcpy(map, &clean_info, sizeof(OptMap)); in clear_opt_map()
5722 if (m->map[c] == 0) { in add_char_opt_map()
5723 m->map[c] = 1; in add_char_opt_map()
5729 add_char_amb_opt_map(OptMap* map, UChar* p, UChar* end, in add_char_amb_opt_map() argument
5736 add_char_opt_map(map, p[0], enc); in add_char_amb_opt_map()
5744 add_char_opt_map(map, buf[0], enc); in add_char_amb_opt_map()
5805 if (add->map[i]) in alt_merge_opt_map()
5806 to->map[i] = 1; in alt_merge_opt_map()
5808 if (to->map[i]) in alt_merge_opt_map()
5821 copy_mml(&(opt->map.mm), plen); in set_bound_node_opt_info()
5832 clear_opt_map(&opt->map); in clear_node_opt_info()
5855 if (add->map.value > 0 && to->len.max == 0) { in concat_left_node_opt_info()
5856 if (add->map.mm.max == 0) in concat_left_node_opt_info()
5857 add->map.anc.left |= to->anc.left; in concat_left_node_opt_info()
5891 select_opt_map(&to->map, &add->map); in concat_left_node_opt_info()
5902 alt_merge_opt_map(env->enc, &to->map, &add->map); in alt_merge_node_opt_info()
5962 add_char_opt_map(&opt->map, *(sn->s), enc); in optimize_nodes()
5973 r = add_char_amb_opt_map(&opt->map, sn->s, sn->end, in optimize_nodes()
6002 add_char_opt_map(&opt->map, (UChar )i, enc); in optimize_nodes()
6029 add_char_opt_map(&opt->map, (UChar )i, enc); in optimize_nodes()
6033 add_char_opt_map(&opt->map, (UChar )i, enc); in optimize_nodes()
6039 add_char_opt_map(&opt->map, (UChar )i, enc); in optimize_nodes()
6077 if (xo.map.value > 0) in optimize_nodes()
6078 copy_opt_map(&opt->map, &xo.map); in optimize_nodes()
6281 reg->map, &(reg->map_offset)); in set_optimize_exact()
6315 reg->map[i] = m->map[i]; in set_optimize_map()
6370 if (opt.map.value > 0 && comp_opt_exact_or_map(&opt.sb, &opt.map) > 0) { in set_optimize_info_from_tree()
6378 else if (opt.map.value > 0) { in set_optimize_info_from_tree()
6380 set_optimize_map(reg, &opt.map); in set_optimize_info_from_tree()
6381 set_sub_anchor(reg, &opt.map.anc); in set_optimize_info_from_tree()
6546 if (reg->map[i]) n++; in print_optimize_info()
6553 if (reg->map[i] != 0) { in print_optimize_info()