Lines Matching refs:map

1751 noname_disable_map(Node** plink, GroupNumRemap* map, int* counter)  in noname_disable_map()  argument
1760 r = noname_disable_map(&(NCAR(node)), map, counter); in noname_disable_map()
1768 r = noname_disable_map(ptarget, map, counter); in noname_disable_map()
1781 map[en->regnum].new_val = *counter; in noname_disable_map()
1783 r = noname_disable_map(&(en->target), map, counter); in noname_disable_map()
1789 r = noname_disable_map(plink, map, counter); in noname_disable_map()
1793 r = noname_disable_map(&(en->target), map, counter); in noname_disable_map()
1805 renumber_node_backref(Node* node, GroupNumRemap* map) in renumber_node_backref() argument
1821 n = map[backs[i]].new_val; in renumber_node_backref()
1833 renumber_by_map(Node* node, GroupNumRemap* map) in renumber_by_map() argument
1841 r = renumber_by_map(NCAR(node), map); in renumber_by_map()
1845 r = renumber_by_map(NQTFR(node)->target, map); in renumber_by_map()
1848 r = renumber_by_map(NENCLOSE(node)->target, map); in renumber_by_map()
1852 r = renumber_node_backref(node, map); in renumber_by_map()
1898 GroupNumRemap* map; in disable_noname_group_capture() local
1900 map = (GroupNumRemap* )xalloca(sizeof(GroupNumRemap) * (env->num_mem + 1)); in disable_noname_group_capture()
1901 CHECK_NULL_RETURN_MEMERR(map); in disable_noname_group_capture()
1903 map[i].new_val = 0; in disable_noname_group_capture()
1906 r = noname_disable_map(root, map, &counter); in disable_noname_group_capture()
1909 r = renumber_by_map(*root, map); in disable_noname_group_capture()
1913 if (map[i].new_val > 0) { in disable_noname_group_capture()
1923 BIT_STATUS_ON_AT_SIMPLE(env->capture_history, map[i].new_val); in disable_noname_group_capture()
1930 return onig_renumber_name_table(reg, map); in disable_noname_group_capture()
3962 UChar map[ONIG_CHAR_TABLE_SIZE]; member
3973 OptMapInfo map; /* boundary */ member
4315 clear_opt_map_info(OptMapInfo* map) in clear_opt_map_info() argument
4339 xmemcpy(map, &clean_info, sizeof(OptMapInfo)); in clear_opt_map_info()
4349 add_char_opt_map_info(OptMapInfo* map, UChar c, OnigEncoding enc) in add_char_opt_map_info() argument
4351 if (map->map[c] == 0) { in add_char_opt_map_info()
4352 map->map[c] = 1; in add_char_opt_map_info()
4353 map->value += map_position_value(enc, c); in add_char_opt_map_info()
4358 add_char_amb_opt_map_info(OptMapInfo* map, UChar* p, UChar* end, in add_char_amb_opt_map_info() argument
4365 add_char_opt_map_info(map, p[0], enc); in add_char_amb_opt_map_info()
4373 add_char_opt_map_info(map, buf[0], enc); in add_char_amb_opt_map_info()
4427 if (add->map[i]) in alt_merge_opt_map_info()
4428 to->map[i] = 1; in alt_merge_opt_map_info()
4430 if (to->map[i]) in alt_merge_opt_map_info()
4443 copy_mml(&(opt->map.mmd), mmd); in set_bound_node_opt_info()
4454 clear_opt_map_info(&opt->map); in clear_node_opt_info()
4478 if (add->map.value > 0 && to->len.max == 0) { in concat_left_node_opt_info()
4479 if (add->map.mmd.max == 0) in concat_left_node_opt_info()
4480 add->map.anc.left_anchor |= to->anc.left_anchor; in concat_left_node_opt_info()
4517 select_opt_map_info(&to->map, &add->map); in concat_left_node_opt_info()
4529 alt_merge_opt_map_info(env->enc, &to->map, &add->map); in alt_merge_node_opt_info()
4590 add_char_opt_map_info(&opt->map, *(sn->s), env->enc); in optimize_node_left()
4607 r = add_char_amb_opt_map_info(&opt->map, sn->s, sn->end, in optimize_node_left()
4640 add_char_opt_map_info(&opt->map, (UChar )i, env->enc); in optimize_node_left()
4662 add_char_opt_map_info(&opt->map, (UChar )i, env->enc); in optimize_node_left()
4669 add_char_opt_map_info(&opt->map, (UChar )i, env->enc); in optimize_node_left()
4715 if (nopt.map.value > 0) in optimize_node_left()
4716 copy_opt_map_info(&opt->map, &nopt.map); in optimize_node_left()
4907 reg->map, &(reg->int_map)); in set_optimize_exact_info()
4934 reg->map[i] = m->map[i]; in set_optimize_map_info()
4985 if (opt.map.value > 0 && in set_optimize_info_from_tree()
4986 comp_opt_exact_or_map_info(&opt.exb, &opt.map) > 0) { in set_optimize_info_from_tree()
4994 else if (opt.map.value > 0) { in set_optimize_info_from_tree()
4996 set_optimize_map_info(reg, &opt.map); in set_optimize_info_from_tree()
4997 set_sub_anchor(reg, &opt.map.anc); in set_optimize_info_from_tree()
5156 if (reg->map[i]) n++; in print_optimize_info()
5163 if (reg->map[i] != 0) { in print_optimize_info()