replace_str 157 lib/search.h GString *mc_search_prepare_replace_str (mc_search_t *mc_search, GString *replace_str); replace_str 158 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 226 lib/search/hex.c mc_search_hex_prepare_replace_str (mc_search_t *lc_mc_search, GString *replace_str) replace_str 230 lib/search/hex.c return mc_g_string_dup (replace_str); replace_str 48 lib/search/internal.h GString *mc_search_regex_prepare_replace_str (mc_search_t *lc_mc_search, GString *replace_str); replace_str 56 lib/search/internal.h GString *mc_search_normal_prepare_replace_str (mc_search_t *lc_mc_search, GString *replace_str); replace_str 64 lib/search/internal.h GString *mc_search_glob_prepare_replace_str (mc_search_t *lc_mc_search, GString *replace_str); replace_str 72 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 439 lib/search/regex.c mc_search_regex__replace_handle_esc_seq (const GString *replace_str, const gsize current_pos, replace_str 442 lib/search/regex.c char *curr_str = &(replace_str->str[current_pos]); replace_str 445 lib/search/regex.c if (replace_str->len > current_pos + 2) replace_str 450 lib/search/regex.c current_pos + *skip_len < replace_str->len && curr_str[*skip_len] >= '0' replace_str 455 lib/search/regex.c if (current_pos + *skip_len < replace_str->len && curr_str[*skip_len] == '}') replace_str 475 lib/search/regex.c current_pos + *skip_len < replace_str->len replace_str 480 lib/search/regex.c if (current_pos + *skip_len < replace_str->len && curr_str[*skip_len] == '}') replace_str 523 lib/search/regex.c mc_search_regex__process_replace_str (const GString *replace_str, const gsize current_pos, replace_str 527 lib/search/regex.c const char *curr_str = &(replace_str->str[current_pos]); replace_str 529 lib/search/regex.c if (current_pos > replace_str->len) replace_str 534 lib/search/regex.c if (replace_str->len > current_pos + 2 && curr_str[0] == '$' && curr_str[1] == '{' replace_str 539 lib/search/regex.c if (str_is_char_escaped (replace_str->str, curr_str)) replace_str 545 lib/search/regex.c for (*skip_len = 0; current_pos + *skip_len + 2 < replace_str->len replace_str 564 lib/search/regex.c if (curr_str[0] == '\\' && replace_str->len > current_pos + 1) replace_str 566 lib/search/regex.c if (str_is_char_escaped (replace_str->str, curr_str)) replace_str 579 lib/search/regex.c if (!mc_search_regex__replace_handle_esc_seq (replace_str, current_pos, skip_len, &ret)) replace_str 938 lib/search/regex.c mc_search_regex_prepare_replace_str (mc_search_t *lc_mc_search, GString *replace_str) replace_str 948 lib/search/regex.c mc_search_regex__get_max_num_of_replace_tokens (replace_str->str, replace_str->len); replace_str 951 lib/search/regex.c return mc_g_string_dup (replace_str); replace_str 963 lib/search/regex.c for (loop = 0; loop < replace_str->len - 1; loop++) replace_str 969 lib/search/regex.c lc_index = mc_search_regex__process_replace_str (replace_str, loop, &len, &replace_flags); replace_str 975 lib/search/regex.c mc_search_regex__process_append_str (ret, replace_str->str + prev, loop - prev, replace_str 977 lib/search/regex.c mc_search_regex__process_append_str (ret, replace_str->str + loop + 1, len - 1, replace_str 989 lib/search/regex.c mc_search_regex__process_append_str (ret, replace_str->str + prev, loop - prev, replace_str 999 lib/search/regex.c mc_search_regex__process_append_str (ret, replace_str->str + prev, loop - prev, replace_str 1002 lib/search/regex.c mc_search_regex__process_escape_sequence (ret, replace_str->str + loop + 1, len - 1, replace_str 1021 lib/search/regex.c mc_search_regex__process_append_str (ret, replace_str->str + prev, loop - prev, replace_str 1031 lib/search/regex.c mc_search_regex__process_append_str (ret, replace_str->str + prev, replace_str->len - prev, replace_str 326 lib/search/search.c mc_search_prepare_replace_str (mc_search_t *lc_mc_search, GString *replace_str) replace_str 330 lib/search/search.c if (replace_str == NULL || replace_str->len == 0) replace_str 334 lib/search/search.c return mc_g_string_dup (replace_str); replace_str 339 lib/search/search.c ret = mc_search_regex_prepare_replace_str (lc_mc_search, replace_str); replace_str 342 lib/search/search.c ret = mc_search_glob_prepare_replace_str (lc_mc_search, replace_str); replace_str 345 lib/search/search.c ret = mc_search_normal_prepare_replace_str (lc_mc_search, replace_str); replace_str 348 lib/search/search.c ret = mc_search_hex_prepare_replace_str (lc_mc_search, replace_str); replace_str 351 lib/search/search.c ret = mc_g_string_dup (replace_str); replace_str 360 lib/search/search.c mc_search_prepare_replace_str2 (mc_search_t *lc_mc_search, const char *replace_str) replace_str 365 lib/search/search.c replace_str2 = g_string_new (replace_str); replace_str 39 tests/lib/search/glob_prepare_replace_str.c const char *replace_str; replace_str 78 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 195 tests/lib/search/regex_replace_esc_seq.c GString *replace_str; replace_str 200 tests/lib/search/regex_replace_esc_seq.c replace_str = g_string_new (data->input_string); replace_str 203 tests/lib/search/regex_replace_esc_seq.c actual_result = mc_search_regex__replace_handle_esc_seq (replace_str, data->input_pos, replace_str 211 tests/lib/search/regex_replace_esc_seq.c g_string_free (replace_str, TRUE);