Lines Matching refs:map

1765 noname_disable_map(Node** plink, GroupNumRemap* map, int* counter)  in noname_disable_map()  argument
1774 r = noname_disable_map(&(NCAR(node)), map, counter); in noname_disable_map()
1782 r = noname_disable_map(ptarget, map, counter); in noname_disable_map()
1795 map[en->regnum].new_val = *counter; in noname_disable_map()
1797 r = noname_disable_map(&(en->target), map, counter); in noname_disable_map()
1803 r = noname_disable_map(plink, map, counter); in noname_disable_map()
1807 r = noname_disable_map(&(en->target), map, counter); in noname_disable_map()
1813 r = noname_disable_map(&(NANCHOR(node)->target), map, counter); in noname_disable_map()
1824 renumber_node_backref(Node* node, GroupNumRemap* map) in renumber_node_backref() argument
1840 n = map[backs[i]].new_val; in renumber_node_backref()
1852 renumber_by_map(Node* node, GroupNumRemap* map) in renumber_by_map() argument
1860 r = renumber_by_map(NCAR(node), map); in renumber_by_map()
1864 r = renumber_by_map(NQTFR(node)->target, map); in renumber_by_map()
1867 r = renumber_by_map(NENCLOSE(node)->target, map); in renumber_by_map()
1871 r = renumber_node_backref(node, map); in renumber_by_map()
1876 r = renumber_by_map(NANCHOR(node)->target, map); in renumber_by_map()
1927 GroupNumRemap* map; in disable_noname_group_capture() local
1929 map = (GroupNumRemap* )xalloca(sizeof(GroupNumRemap) * (env->num_mem + 1)); in disable_noname_group_capture()
1930 CHECK_NULL_RETURN_MEMERR(map); in disable_noname_group_capture()
1932 map[i].new_val = 0; in disable_noname_group_capture()
1935 r = noname_disable_map(root, map, &counter); in disable_noname_group_capture()
1938 r = renumber_by_map(*root, map); in disable_noname_group_capture()
1942 if (map[i].new_val > 0) { in disable_noname_group_capture()
1952 BIT_STATUS_ON_AT_SIMPLE(env->capture_history, map[i].new_val); in disable_noname_group_capture()
1959 return onig_renumber_name_table(reg, map); in disable_noname_group_capture()
4016 UChar map[ONIG_CHAR_TABLE_SIZE]; member
4027 OptMapInfo map; /* boundary */ member
4372 clear_opt_map_info(OptMapInfo* map) in clear_opt_map_info() argument
4396 xmemcpy(map, &clean_info, sizeof(OptMapInfo)); in clear_opt_map_info()
4406 add_char_opt_map_info(OptMapInfo* map, UChar c, OnigEncoding enc) in add_char_opt_map_info() argument
4408 if (map->map[c] == 0) { in add_char_opt_map_info()
4409 map->map[c] = 1; in add_char_opt_map_info()
4410 map->value += map_position_value(enc, c); in add_char_opt_map_info()
4415 add_char_amb_opt_map_info(OptMapInfo* map, UChar* p, UChar* end, in add_char_amb_opt_map_info() argument
4422 add_char_opt_map_info(map, p[0], enc); in add_char_amb_opt_map_info()
4430 add_char_opt_map_info(map, buf[0], enc); in add_char_amb_opt_map_info()
4484 if (add->map[i]) in alt_merge_opt_map_info()
4485 to->map[i] = 1; in alt_merge_opt_map_info()
4487 if (to->map[i]) in alt_merge_opt_map_info()
4500 copy_mml(&(opt->map.mmd), mmd); in set_bound_node_opt_info()
4511 clear_opt_map_info(&opt->map); in clear_node_opt_info()
4535 if (add->map.value > 0 && to->len.max == 0) { in concat_left_node_opt_info()
4536 if (add->map.mmd.max == 0) in concat_left_node_opt_info()
4537 add->map.anc.left_anchor |= to->anc.left_anchor; in concat_left_node_opt_info()
4574 select_opt_map_info(&to->map, &add->map); in concat_left_node_opt_info()
4586 alt_merge_opt_map_info(env->enc, &to->map, &add->map); in alt_merge_node_opt_info()
4647 add_char_opt_map_info(&opt->map, *(sn->s), env->enc); in optimize_node_left()
4664 r = add_char_amb_opt_map_info(&opt->map, sn->s, sn->end, in optimize_node_left()
4697 add_char_opt_map_info(&opt->map, (UChar )i, env->enc); in optimize_node_left()
4719 add_char_opt_map_info(&opt->map, (UChar )i, env->enc); in optimize_node_left()
4726 add_char_opt_map_info(&opt->map, (UChar )i, env->enc); in optimize_node_left()
4774 if (nopt.map.value > 0) in optimize_node_left()
4775 copy_opt_map_info(&opt->map, &nopt.map); in optimize_node_left()
4964 reg->map, &(reg->int_map)); in set_optimize_exact_info()
4991 reg->map[i] = m->map[i]; in set_optimize_map_info()
5047 if (opt.map.value > 0 && in set_optimize_info_from_tree()
5048 comp_opt_exact_or_map_info(&opt.exb, &opt.map) > 0) { in set_optimize_info_from_tree()
5056 else if (opt.map.value > 0) { in set_optimize_info_from_tree()
5058 set_optimize_map_info(reg, &opt.map); in set_optimize_info_from_tree()
5059 set_sub_anchor(reg, &opt.map.anc); in set_optimize_info_from_tree()
5218 if (reg->map[i]) n++; in print_optimize_info()
5225 if (reg->map[i] != 0) { in print_optimize_info()