lc_mc_search      146 lib/search.h   void mc_search_free (mc_search_t * lc_mc_search);
lc_mc_search      158 lib/search.h   char *mc_search_prepare_replace_str2 (mc_search_t * lc_mc_search, const char *replace_str);
lc_mc_search      171 lib/search.h   void mc_search_set_error (mc_search_t * lc_mc_search, mc_search_error_t code, const gchar * format, ...)
lc_mc_search      162 lib/search/glob.c mc_search__cond_struct_new_init_glob (const char *charset, mc_search_t * lc_mc_search,
lc_mc_search      170 lib/search/glob.c     if (lc_mc_search->is_entire_line)
lc_mc_search      177 lib/search/glob.c     mc_search__cond_struct_new_init_regex (charset, lc_mc_search, mc_search_cond);
lc_mc_search      183 lib/search/glob.c mc_search__run_glob (mc_search_t * lc_mc_search, const void *user_data,
lc_mc_search      186 lib/search/glob.c     return mc_search__run_regex (lc_mc_search, user_data, start_search, end_search, found_len);
lc_mc_search      192 lib/search/glob.c mc_search_glob_prepare_replace_str (mc_search_t * lc_mc_search, GString * replace_str)
lc_mc_search      195 lib/search/glob.c     GString *res = mc_search_regex_prepare_replace_str (lc_mc_search, repl);
lc_mc_search      133 lib/search/hex.c mc_search__cond_struct_new_init_hex (const char *charset, mc_search_t * lc_mc_search,
lc_mc_search      181 lib/search/hex.c         mc_search__cond_struct_new_init_regex (charset, lc_mc_search, mc_search_cond);
lc_mc_search      204 lib/search/hex.c         lc_mc_search->error = MC_SEARCH_E_INPUT;
lc_mc_search      205 lib/search/hex.c         lc_mc_search->error_str =
lc_mc_search      213 lib/search/hex.c mc_search__run_hex (mc_search_t * lc_mc_search, const void *user_data,
lc_mc_search      216 lib/search/hex.c     return mc_search__run_regex (lc_mc_search, user_data, start_search, end_search, found_len);
lc_mc_search      222 lib/search/hex.c mc_search_hex_prepare_replace_str (mc_search_t * lc_mc_search, GString * replace_str)
lc_mc_search      224 lib/search/hex.c     (void) lc_mc_search;
lc_mc_search       86 lib/search/normal.c mc_search__cond_struct_new_init_normal (const char *charset, mc_search_t * lc_mc_search,
lc_mc_search       95 lib/search/normal.c     mc_search__cond_struct_new_init_regex (charset, lc_mc_search, mc_search_cond);
lc_mc_search      101 lib/search/normal.c mc_search__run_normal (mc_search_t * lc_mc_search, const void *user_data,
lc_mc_search      104 lib/search/normal.c     return mc_search__run_regex (lc_mc_search, user_data, start_search, end_search, found_len);
lc_mc_search      109 lib/search/normal.c mc_search_normal_prepare_replace_str (mc_search_t * lc_mc_search, GString * replace_str)
lc_mc_search      111 lib/search/normal.c     (void) lc_mc_search;
lc_mc_search      322 lib/search/regex.c mc_search__regex_found_cond_one (mc_search_t * lc_mc_search, mc_search_regex_t * regex,
lc_mc_search      330 lib/search/regex.c          &lc_mc_search->regex_match_info, &mcerror))
lc_mc_search      332 lib/search/regex.c         g_match_info_free (lc_mc_search->regex_match_info);
lc_mc_search      333 lib/search/regex.c         lc_mc_search->regex_match_info = NULL;
lc_mc_search      336 lib/search/regex.c             lc_mc_search->error = MC_SEARCH_E_REGEX;
lc_mc_search      337 lib/search/regex.c             g_free (lc_mc_search->error_str);
lc_mc_search      338 lib/search/regex.c             lc_mc_search->error_str =
lc_mc_search      345 lib/search/regex.c     lc_mc_search->num_results = g_match_info_get_match_count (lc_mc_search->regex_match_info);
lc_mc_search      347 lib/search/regex.c     lc_mc_search->num_results = pcre_exec (regex, lc_mc_search->regex_match_info,
lc_mc_search      349 lib/search/regex.c                                            lc_mc_search->iovector, MC_SEARCH__NUM_REPLACE_ARGS);
lc_mc_search      350 lib/search/regex.c     if (lc_mc_search->num_results < 0)
lc_mc_search      362 lib/search/regex.c mc_search__regex_found_cond (mc_search_t * lc_mc_search, GString * search_str)
lc_mc_search      366 lib/search/regex.c     for (loop1 = 0; loop1 < lc_mc_search->conditions->len; loop1++)
lc_mc_search      371 lib/search/regex.c         mc_search_cond = (mc_search_cond_t *) g_ptr_array_index (lc_mc_search->conditions, loop1);
lc_mc_search      377 lib/search/regex.c             mc_search__regex_found_cond_one (lc_mc_search, mc_search_cond->regex_handle,
lc_mc_search      432 lib/search/regex.c mc_search_regex__get_token_by_num (const mc_search_t * lc_mc_search, gsize lc_index)
lc_mc_search      437 lib/search/regex.c     g_match_info_fetch_pos (lc_mc_search->regex_match_info, lc_index, &fnd_start, &fnd_end);
lc_mc_search      439 lib/search/regex.c     fnd_start = lc_mc_search->iovector[lc_index * 2 + 0];
lc_mc_search      440 lib/search/regex.c     fnd_end = lc_mc_search->iovector[lc_index * 2 + 1];
lc_mc_search      446 lib/search/regex.c     return g_strndup (lc_mc_search->regex_buffer->str + fnd_start, fnd_end - fnd_start);
lc_mc_search      789 lib/search/regex.c mc_search__cond_struct_new_init_regex (const char *charset, mc_search_t * lc_mc_search,
lc_mc_search      792 lib/search/regex.c     if (lc_mc_search->whole_words && !lc_mc_search->is_entire_line)
lc_mc_search      808 lib/search/regex.c             if (!lc_mc_search->is_case_sensitive)
lc_mc_search      815 lib/search/regex.c             if (!lc_mc_search->is_case_sensitive)
lc_mc_search      831 lib/search/regex.c             lc_mc_search->error = MC_SEARCH_E_REGEX_COMPILE;
lc_mc_search      832 lib/search/regex.c             g_free (lc_mc_search->error_str);
lc_mc_search      833 lib/search/regex.c             lc_mc_search->error_str =
lc_mc_search      846 lib/search/regex.c             if (!lc_mc_search->is_case_sensitive)
lc_mc_search      851 lib/search/regex.c             if (!lc_mc_search->is_case_sensitive)
lc_mc_search      865 lib/search/regex.c             mc_search_set_error (lc_mc_search, MC_SEARCH_E_REGEX_COMPILE, "%s", error);
lc_mc_search      868 lib/search/regex.c         lc_mc_search->regex_match_info = pcre_study (mc_search_cond->regex_handle, 0, &error);
lc_mc_search      869 lib/search/regex.c         if (lc_mc_search->regex_match_info == NULL && error != NULL)
lc_mc_search      871 lib/search/regex.c             mc_search_set_error (lc_mc_search, MC_SEARCH_E_REGEX_COMPILE, "%s", error);
lc_mc_search      878 lib/search/regex.c     lc_mc_search->is_utf8 = str_isutf8 (charset);
lc_mc_search      884 lib/search/regex.c mc_search__run_regex (mc_search_t * lc_mc_search, const void *user_data,
lc_mc_search      892 lib/search/regex.c     if (lc_mc_search->regex_buffer != NULL)
lc_mc_search      893 lib/search/regex.c         g_string_set_size (lc_mc_search->regex_buffer, 0);
lc_mc_search      895 lib/search/regex.c         lc_mc_search->regex_buffer = g_string_sized_new (64);
lc_mc_search      900 lib/search/regex.c         g_string_set_size (lc_mc_search->regex_buffer, 0);
lc_mc_search      901 lib/search/regex.c         lc_mc_search->start_buffer = current_pos;
lc_mc_search      903 lib/search/regex.c         if (lc_mc_search->search_fn != NULL)
lc_mc_search      909 lib/search/regex.c                 ret = lc_mc_search->search_fn (user_data, current_pos, &current_chr);
lc_mc_search      924 lib/search/regex.c                 g_string_append_c (lc_mc_search->regex_buffer, (char) current_chr);
lc_mc_search      950 lib/search/regex.c             g_string_append_len (lc_mc_search->regex_buffer, (const char *) user_data + virtual_pos,
lc_mc_search      955 lib/search/regex.c         switch (mc_search__regex_found_cond (lc_mc_search, lc_mc_search->regex_buffer))
lc_mc_search      959 lib/search/regex.c             g_match_info_fetch_pos (lc_mc_search->regex_match_info, 0, &start_pos, &end_pos);
lc_mc_search      961 lib/search/regex.c             start_pos = lc_mc_search->iovector[0];
lc_mc_search      962 lib/search/regex.c             end_pos = lc_mc_search->iovector[1];
lc_mc_search      966 lib/search/regex.c             lc_mc_search->normal_offset = lc_mc_search->start_buffer + start_pos;
lc_mc_search      971 lib/search/regex.c             g_string_free (lc_mc_search->regex_buffer, TRUE);
lc_mc_search      972 lib/search/regex.c             lc_mc_search->regex_buffer = NULL;
lc_mc_search      976 lib/search/regex.c         if ((lc_mc_search->update_fn != NULL) &&
lc_mc_search      977 lib/search/regex.c             ((lc_mc_search->update_fn) (user_data, current_pos) == MC_SEARCH_CB_ABORT))
lc_mc_search      984 lib/search/regex.c     g_string_free (lc_mc_search->regex_buffer, TRUE);
lc_mc_search      985 lib/search/regex.c     lc_mc_search->regex_buffer = NULL;
lc_mc_search      987 lib/search/regex.c     MC_PTR_FREE (lc_mc_search->error_str);
lc_mc_search      988 lib/search/regex.c     lc_mc_search->error = ret == MC_SEARCH_CB_ABORT ? MC_SEARCH_E_ABORT : MC_SEARCH_E_NOTFOUND;
lc_mc_search      996 lib/search/regex.c mc_search_regex_prepare_replace_str (mc_search_t * lc_mc_search, GString * replace_str)
lc_mc_search     1008 lib/search/regex.c     if (lc_mc_search->num_results < 0)
lc_mc_search     1011 lib/search/regex.c     if (num_replace_tokens > lc_mc_search->num_results - 1
lc_mc_search     1014 lib/search/regex.c         mc_search_set_error (lc_mc_search, MC_SEARCH_E_REGEX_REPLACE, "%s",
lc_mc_search     1061 lib/search/regex.c                                                       &replace_flags, lc_mc_search->is_utf8);
lc_mc_search     1068 lib/search/regex.c         if (lc_index > lc_mc_search->num_results)
lc_mc_search     1071 lib/search/regex.c             mc_search_set_error (lc_mc_search, MC_SEARCH_E_REGEX_REPLACE,
lc_mc_search     1076 lib/search/regex.c         tmp_str = mc_search_regex__get_token_by_num (lc_mc_search, lc_index);
lc_mc_search       63 lib/search/search.c mc_search__cond_struct_new (mc_search_t * lc_mc_search, const char *str,
lc_mc_search       72 lib/search/search.c     switch (lc_mc_search->search_type)
lc_mc_search       75 lib/search/search.c         mc_search__cond_struct_new_init_glob (charset, lc_mc_search, mc_search_cond);
lc_mc_search       78 lib/search/search.c         mc_search__cond_struct_new_init_normal (charset, lc_mc_search, mc_search_cond);
lc_mc_search       81 lib/search/search.c         mc_search__cond_struct_new_init_regex (charset, lc_mc_search, mc_search_cond);
lc_mc_search       84 lib/search/search.c         mc_search__cond_struct_new_init_hex (charset, lc_mc_search, mc_search_cond);
lc_mc_search      158 lib/search/search.c     mc_search_t *lc_mc_search;
lc_mc_search      163 lib/search/search.c     lc_mc_search = g_new0 (mc_search_t, 1);
lc_mc_search      164 lib/search/search.c     lc_mc_search->original = g_strndup (original, original_len);
lc_mc_search      165 lib/search/search.c     lc_mc_search->original_len = original_len;
lc_mc_search      167 lib/search/search.c     lc_mc_search->original_charset =
lc_mc_search      174 lib/search/search.c     return lc_mc_search;
lc_mc_search      180 lib/search/search.c mc_search_free (mc_search_t * lc_mc_search)
lc_mc_search      182 lib/search/search.c     if (lc_mc_search == NULL)
lc_mc_search      185 lib/search/search.c     g_free (lc_mc_search->original);
lc_mc_search      187 lib/search/search.c     g_free (lc_mc_search->original_charset);
lc_mc_search      189 lib/search/search.c     g_free (lc_mc_search->error_str);
lc_mc_search      191 lib/search/search.c     if (lc_mc_search->conditions != NULL)
lc_mc_search      192 lib/search/search.c         mc_search__conditions_free (lc_mc_search->conditions);
lc_mc_search      195 lib/search/search.c     if (lc_mc_search->regex_match_info != NULL)
lc_mc_search      196 lib/search/search.c         g_match_info_free (lc_mc_search->regex_match_info);
lc_mc_search      198 lib/search/search.c     g_free (lc_mc_search->regex_match_info);
lc_mc_search      201 lib/search/search.c     if (lc_mc_search->regex_buffer != NULL)
lc_mc_search      202 lib/search/search.c         g_string_free (lc_mc_search->regex_buffer, TRUE);
lc_mc_search      204 lib/search/search.c     g_free (lc_mc_search);
lc_mc_search      210 lib/search/search.c mc_search_prepare (mc_search_t * lc_mc_search)
lc_mc_search      216 lib/search/search.c     if (lc_mc_search->is_all_charsets)
lc_mc_search      227 lib/search/search.c             if (g_ascii_strcasecmp (id, lc_mc_search->original_charset) == 0)
lc_mc_search      230 lib/search/search.c                                  mc_search__cond_struct_new (lc_mc_search, lc_mc_search->original,
lc_mc_search      231 lib/search/search.c                                                              lc_mc_search->original_len,
lc_mc_search      232 lib/search/search.c                                                              lc_mc_search->original_charset));
lc_mc_search      237 lib/search/search.c                 mc_search__recode_str (lc_mc_search->original, lc_mc_search->original_len,
lc_mc_search      238 lib/search/search.c                                        lc_mc_search->original_charset, id, &recoded_str_len);
lc_mc_search      241 lib/search/search.c                              mc_search__cond_struct_new (lc_mc_search, buffer,
lc_mc_search      249 lib/search/search.c                          mc_search__cond_struct_new (lc_mc_search, lc_mc_search->original,
lc_mc_search      250 lib/search/search.c                                                      lc_mc_search->original_len,
lc_mc_search      251 lib/search/search.c                                                      lc_mc_search->original_charset));
lc_mc_search      255 lib/search/search.c                      mc_search__cond_struct_new (lc_mc_search, lc_mc_search->original,
lc_mc_search      256 lib/search/search.c                                                  lc_mc_search->original_len,
lc_mc_search      259 lib/search/search.c     lc_mc_search->conditions = ret;
lc_mc_search      261 lib/search/search.c     return (lc_mc_search->error == MC_SEARCH_E_OK);
lc_mc_search      280 lib/search/search.c mc_search_run (mc_search_t * lc_mc_search, const void *user_data,
lc_mc_search      285 lib/search/search.c     if (lc_mc_search == NULL || user_data == NULL)
lc_mc_search      287 lib/search/search.c     if (!mc_search_is_type_avail (lc_mc_search->search_type))
lc_mc_search      289 lib/search/search.c         mc_search_set_error (lc_mc_search, MC_SEARCH_E_INPUT, "%s", _(STR_E_UNKNOWN_TYPE));
lc_mc_search      293 lib/search/search.c     if (lc_mc_search->regex_match_info != NULL)
lc_mc_search      295 lib/search/search.c         g_match_info_free (lc_mc_search->regex_match_info);
lc_mc_search      296 lib/search/search.c         lc_mc_search->regex_match_info = NULL;
lc_mc_search      300 lib/search/search.c     mc_search_set_error (lc_mc_search, MC_SEARCH_E_OK, NULL);
lc_mc_search      302 lib/search/search.c     if ((lc_mc_search->conditions == NULL) && !mc_search_prepare (lc_mc_search))
lc_mc_search      305 lib/search/search.c     switch (lc_mc_search->search_type)
lc_mc_search      308 lib/search/search.c         ret = mc_search__run_normal (lc_mc_search, user_data, start_search, end_search, found_len);
lc_mc_search      311 lib/search/search.c         ret = mc_search__run_regex (lc_mc_search, user_data, start_search, end_search, found_len);
lc_mc_search      314 lib/search/search.c         ret = mc_search__run_glob (lc_mc_search, user_data, start_search, end_search, found_len);
lc_mc_search      317 lib/search/search.c         ret = mc_search__run_hex (lc_mc_search, user_data, start_search, end_search, found_len);
lc_mc_search      358 lib/search/search.c mc_search_prepare_replace_str (mc_search_t * lc_mc_search, GString * replace_str)
lc_mc_search      365 lib/search/search.c     if (lc_mc_search == NULL)
lc_mc_search      368 lib/search/search.c     switch (lc_mc_search->search_type)
lc_mc_search      371 lib/search/search.c         ret = mc_search_regex_prepare_replace_str (lc_mc_search, replace_str);
lc_mc_search      374 lib/search/search.c         ret = mc_search_glob_prepare_replace_str (lc_mc_search, replace_str);
lc_mc_search      377 lib/search/search.c         ret = mc_search_normal_prepare_replace_str (lc_mc_search, replace_str);
lc_mc_search      380 lib/search/search.c         ret = mc_search_hex_prepare_replace_str (lc_mc_search, replace_str);
lc_mc_search      392 lib/search/search.c mc_search_prepare_replace_str2 (mc_search_t * lc_mc_search, const char *replace_str)
lc_mc_search      398 lib/search/search.c     ret = mc_search_prepare_replace_str (lc_mc_search, replace_str2);
lc_mc_search      406 lib/search/search.c mc_search_is_fixed_search_str (mc_search_t * lc_mc_search)
lc_mc_search      408 lib/search/search.c     if (lc_mc_search == NULL)
lc_mc_search      410 lib/search/search.c     switch (lc_mc_search->search_type)
lc_mc_search      459 lib/search/search.c mc_search_getstart_result_by_num (mc_search_t * lc_mc_search, int lc_index)
lc_mc_search      461 lib/search/search.c     if (lc_mc_search == NULL)
lc_mc_search      463 lib/search/search.c     if (lc_mc_search->search_type == MC_SEARCH_T_NORMAL)
lc_mc_search      470 lib/search/search.c         g_match_info_fetch_pos (lc_mc_search->regex_match_info, lc_index, &start_pos, &end_pos);
lc_mc_search      474 lib/search/search.c     return lc_mc_search->iovector[lc_index * 2];
lc_mc_search      481 lib/search/search.c mc_search_getend_result_by_num (mc_search_t * lc_mc_search, int lc_index)
lc_mc_search      483 lib/search/search.c     if (lc_mc_search == NULL)
lc_mc_search      485 lib/search/search.c     if (lc_mc_search->search_type == MC_SEARCH_T_NORMAL)
lc_mc_search      492 lib/search/search.c         g_match_info_fetch_pos (lc_mc_search->regex_match_info, lc_index, &start_pos, &end_pos);
lc_mc_search      496 lib/search/search.c     return lc_mc_search->iovector[lc_index * 2 + 1];
lc_mc_search      510 lib/search/search.c mc_search_set_error (mc_search_t * lc_mc_search, mc_search_error_t code, const gchar * format, ...)
lc_mc_search      512 lib/search/search.c     lc_mc_search->error = code;
lc_mc_search      514 lib/search/search.c     MC_PTR_FREE (lc_mc_search->error_str);
lc_mc_search      521 lib/search/search.c         lc_mc_search->error_str = g_strdup_vprintf (format, args);