replace_str 190 lib/search.h GString *mc_search_prepare_replace_str (mc_search_t * mc_search, GString * replace_str); replace_str 191 lib/search.h char *mc_search_prepare_replace_str2 (mc_search_t * lc_mc_search, const char *replace_str); replace_str 199 lib/search/glob.c mc_search_glob_prepare_replace_str (mc_search_t *lc_mc_search, GString *replace_str) replace_str 203 lib/search/glob.c repl = mc_search__translate_replace_glob_to_regex (replace_str->str); replace_str 227 lib/search/hex.c mc_search_hex_prepare_replace_str (mc_search_t *lc_mc_search, GString *replace_str) replace_str 231 lib/search/hex.c return mc_g_string_dup (replace_str); replace_str 58 lib/search/internal.h GString *mc_search_regex_prepare_replace_str (mc_search_t * lc_mc_search, GString * replace_str); replace_str 66 lib/search/internal.h GString *mc_search_normal_prepare_replace_str (mc_search_t * lc_mc_search, GString * replace_str); replace_str 74 lib/search/internal.h GString *mc_search_glob_prepare_replace_str (mc_search_t * lc_mc_search, GString * replace_str); replace_str 82 lib/search/internal.h GString *mc_search_hex_prepare_replace_str (mc_search_t * lc_mc_search, GString * replace_str); replace_str 104 lib/search/normal.c mc_search_normal_prepare_replace_str (mc_search_t *lc_mc_search, GString *replace_str) replace_str 108 lib/search/normal.c return mc_g_string_dup (replace_str); replace_str 457 lib/search/regex.c mc_search_regex__replace_handle_esc_seq (const GString *replace_str, const gsize current_pos, replace_str 460 lib/search/regex.c char *curr_str = &(replace_str->str[current_pos]); replace_str 463 lib/search/regex.c if (replace_str->len > current_pos + 2) replace_str 468 lib/search/regex.c current_pos + *skip_len < replace_str->len && curr_str[*skip_len] >= '0' replace_str 472 lib/search/regex.c if (current_pos + *skip_len < replace_str->len && curr_str[*skip_len] == '}') replace_str 492 lib/search/regex.c current_pos + *skip_len < replace_str->len replace_str 496 lib/search/regex.c if (current_pos + *skip_len < replace_str->len && curr_str[*skip_len] == '}') replace_str 539 lib/search/regex.c mc_search_regex__process_replace_str (const GString *replace_str, const gsize current_pos, replace_str 543 lib/search/regex.c const char *curr_str = &(replace_str->str[current_pos]); replace_str 545 lib/search/regex.c if (current_pos > replace_str->len) replace_str 550 lib/search/regex.c if (replace_str->len > current_pos + 2 && curr_str[0] == '$' && curr_str[1] == '{' replace_str 555 lib/search/regex.c if (str_is_char_escaped (replace_str->str, curr_str)) replace_str 562 lib/search/regex.c current_pos + *skip_len + 2 < replace_str->len replace_str 580 lib/search/regex.c if (curr_str[0] == '\\' && replace_str->len > current_pos + 1) replace_str 582 lib/search/regex.c if (str_is_char_escaped (replace_str->str, curr_str)) replace_str 595 lib/search/regex.c if (!mc_search_regex__replace_handle_esc_seq (replace_str, current_pos, skip_len, &ret)) replace_str 1019 lib/search/regex.c mc_search_regex_prepare_replace_str (mc_search_t *lc_mc_search, GString *replace_str) replace_str 1029 lib/search/regex.c mc_search_regex__get_max_num_of_replace_tokens (replace_str->str, replace_str->len); replace_str 1032 lib/search/regex.c return mc_g_string_dup (replace_str); replace_str 1044 lib/search/regex.c for (loop = 0; loop < replace_str->len - 1; loop++) replace_str 1050 lib/search/regex.c lc_index = mc_search_regex__process_replace_str (replace_str, loop, &len, &replace_flags); replace_str 1056 lib/search/regex.c mc_search_regex__process_append_str (ret, replace_str->str + prev, loop - prev, replace_str 1058 lib/search/regex.c mc_search_regex__process_append_str (ret, replace_str->str + loop + 1, len - 1, replace_str 1070 lib/search/regex.c mc_search_regex__process_append_str (ret, replace_str->str + prev, loop - prev, replace_str 1080 lib/search/regex.c mc_search_regex__process_append_str (ret, replace_str->str + prev, loop - prev, replace_str 1083 lib/search/regex.c mc_search_regex__process_escape_sequence (ret, replace_str->str + loop + 1, len - 1, replace_str 1102 lib/search/regex.c mc_search_regex__process_append_str (ret, replace_str->str + prev, loop - prev, replace_str 1112 lib/search/regex.c mc_search_regex__process_append_str (ret, replace_str->str + prev, replace_str->len - prev, replace_str 353 lib/search/search.c mc_search_prepare_replace_str (mc_search_t *lc_mc_search, GString *replace_str) replace_str 357 lib/search/search.c if (replace_str == NULL || replace_str->len == 0) replace_str 361 lib/search/search.c return mc_g_string_dup (replace_str); replace_str 366 lib/search/search.c ret = mc_search_regex_prepare_replace_str (lc_mc_search, replace_str); replace_str 369 lib/search/search.c ret = mc_search_glob_prepare_replace_str (lc_mc_search, replace_str); replace_str 372 lib/search/search.c ret = mc_search_normal_prepare_replace_str (lc_mc_search, replace_str); replace_str 375 lib/search/search.c ret = mc_search_hex_prepare_replace_str (lc_mc_search, replace_str); replace_str 378 lib/search/search.c ret = mc_g_string_dup (replace_str); replace_str 387 lib/search/search.c mc_search_prepare_replace_str2 (mc_search_t *lc_mc_search, const char *replace_str) replace_str 392 lib/search/search.c replace_str2 = g_string_new (replace_str); replace_str 40 tests/lib/search/glob_prepare_replace_str.c const char *replace_str; replace_str 80 tests/lib/search/glob_prepare_replace_str.c dest_str = mc_search_prepare_replace_str2 (s, data->replace_str); replace_str 45 tests/lib/search/regex_replace_esc_seq.c mc_search_regex__replace_handle_esc_seq( replace_str, pos, &skip_len, &ret ), r,\ replace_str 186 tests/lib/search/regex_replace_esc_seq.c GString *replace_str; replace_str 191 tests/lib/search/regex_replace_esc_seq.c replace_str = g_string_new (data->input_string); replace_str 195 tests/lib/search/regex_replace_esc_seq.c mc_search_regex__replace_handle_esc_seq (replace_str, data->input_pos, &actual_skipped_len, replace_str 203 tests/lib/search/regex_replace_esc_seq.c g_string_free (replace_str, TRUE);