Lines Matching refs:map
1729 noname_disable_map(Node** plink, GroupNumRemap* map, int* counter) in noname_disable_map() argument
1738 r = noname_disable_map(&(NCONS(node).left), map, counter); in noname_disable_map()
1746 r = noname_disable_map(ptarget, map, counter); in noname_disable_map()
1759 map[en->regnum].new_val = *counter; in noname_disable_map()
1761 r = noname_disable_map(&(en->target), map, counter); in noname_disable_map()
1767 r = noname_disable_map(plink, map, counter); in noname_disable_map()
1771 r = noname_disable_map(&(en->target), map, counter); in noname_disable_map()
1783 renumber_node_backref(Node* node, GroupNumRemap* map) in renumber_node_backref() argument
1799 n = map[backs[i]].new_val; in renumber_node_backref()
1811 renumber_by_map(Node* node, GroupNumRemap* map) in renumber_by_map() argument
1819 r = renumber_by_map(NCONS(node).left, map); in renumber_by_map()
1823 r = renumber_by_map(NQUANTIFIER(node).target, map); in renumber_by_map()
1826 r = renumber_by_map(NEFFECT(node).target, map); in renumber_by_map()
1830 r = renumber_node_backref(node, map); in renumber_by_map()
1876 GroupNumRemap* map; in disable_noname_group_capture() local
1878 map = (GroupNumRemap* )xalloca(sizeof(GroupNumRemap) * (env->num_mem + 1)); in disable_noname_group_capture()
1879 CHECK_NULL_RETURN_VAL(map, ONIGERR_MEMORY); in disable_noname_group_capture()
1881 map[i].new_val = 0; in disable_noname_group_capture()
1884 r = noname_disable_map(root, map, &counter); in disable_noname_group_capture()
1887 r = renumber_by_map(*root, map); in disable_noname_group_capture()
1891 if (map[i].new_val > 0) { in disable_noname_group_capture()
1901 BIT_STATUS_ON_AT_SIMPLE(env->capture_history, map[i].new_val); in disable_noname_group_capture()
1908 return onig_renumber_name_table(reg, map); in disable_noname_group_capture()
3752 UChar map[ONIG_CHAR_TABLE_SIZE]; member
3763 OptMapInfo map; /* boundary */ member
4105 clear_opt_map_info(OptMapInfo* map) in clear_opt_map_info() argument
4129 xmemcpy(map, &clean_info, sizeof(OptMapInfo)); in clear_opt_map_info()
4139 add_char_opt_map_info(OptMapInfo* map, UChar c, OnigEncoding enc) in add_char_opt_map_info() argument
4141 if (map->map[c] == 0) { in add_char_opt_map_info()
4142 map->map[c] = 1; in add_char_opt_map_info()
4143 map->value += map_position_value(enc, c); in add_char_opt_map_info()
4148 add_char_amb_opt_map_info(OptMapInfo* map, UChar* p, UChar* end, in add_char_amb_opt_map_info() argument
4157 add_char_opt_map_info(map, p[0], enc); in add_char_amb_opt_map_info()
4168 add_char_opt_map_info(map, buf[0], enc); in add_char_amb_opt_map_info()
4223 if (add->map[i]) in alt_merge_opt_map_info()
4224 to->map[i] = 1; in alt_merge_opt_map_info()
4226 if (to->map[i]) in alt_merge_opt_map_info()
4239 copy_mml(&(opt->map.mmd), mmd); in set_bound_node_opt_info()
4250 clear_opt_map_info(&opt->map); in clear_node_opt_info()
4274 if (add->map.value > 0 && to->len.max == 0) { in concat_left_node_opt_info()
4275 if (add->map.mmd.max == 0) in concat_left_node_opt_info()
4276 add->map.anc.left_anchor |= to->anc.left_anchor; in concat_left_node_opt_info()
4313 select_opt_map_info(&to->map, &add->map); in concat_left_node_opt_info()
4325 alt_merge_opt_map_info(env->enc, &to->map, &add->map); in alt_merge_node_opt_info()
4386 add_char_opt_map_info(&opt->map, *(sn->s), env->enc); in optimize_node_left()
4398 r = add_char_amb_opt_map_info(&opt->map, sn->s, sn->end, in optimize_node_left()
4435 add_char_opt_map_info(&opt->map, (UChar )i, env->enc); in optimize_node_left()
4456 add_char_opt_map_info(&opt->map, (UChar )i, env->enc); in optimize_node_left()
4464 add_char_opt_map_info(&opt->map, (UChar )i, env->enc); in optimize_node_left()
4509 if (nopt.map.value > 0) in optimize_node_left()
4510 copy_opt_map_info(&opt->map, &nopt.map); in optimize_node_left()
4701 reg->map, &(reg->int_map)); in set_optimize_exact_info()
4728 reg->map[i] = m->map[i]; in set_optimize_map_info()
4779 if (opt.map.value > 0 && in set_optimize_info_from_tree()
4780 comp_opt_exact_or_map_info(&opt.exb, &opt.map) > 0) { in set_optimize_info_from_tree()
4788 else if (opt.map.value > 0) { in set_optimize_info_from_tree()
4790 set_optimize_map_info(reg, &opt.map); in set_optimize_info_from_tree()
4791 set_sub_anchor(reg, &opt.map.anc); in set_optimize_info_from_tree()
4950 if (reg->map[i]) n++; in print_optimize_info()
4957 if (reg->map[i] != 0) { in print_optimize_info()