lc_mc_search      149 lib/search.h   void mc_search_free (mc_search_t * lc_mc_search);
lc_mc_search      161 lib/search.h   char *mc_search_prepare_replace_str2 (mc_search_t * lc_mc_search, const char *replace_str);
lc_mc_search      163 lib/search.h   gboolean mc_search_is_fixed_search_str (const mc_search_t * lc_mc_search);
lc_mc_search      170 lib/search.h   int mc_search_getstart_result_by_num (mc_search_t * lc_mc_search, int lc_index);
lc_mc_search      171 lib/search.h   int mc_search_getend_result_by_num (mc_search_t * lc_mc_search, int lc_index);
lc_mc_search      174 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      197 lib/search/glob.c     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       50 lib/search/internal.h void mc_search__cond_struct_new_init_regex (const char *charset, mc_search_t * lc_mc_search,
lc_mc_search       52 lib/search/internal.h gboolean mc_search__run_regex (mc_search_t * lc_mc_search, const void *user_data,
lc_mc_search       54 lib/search/internal.h GString *mc_search_regex_prepare_replace_str (mc_search_t * lc_mc_search, GString * replace_str);
lc_mc_search       58 lib/search/internal.h void mc_search__cond_struct_new_init_normal (const char *charset, mc_search_t * lc_mc_search,
lc_mc_search       60 lib/search/internal.h gboolean mc_search__run_normal (mc_search_t * lc_mc_search, const void *user_data,
lc_mc_search       62 lib/search/internal.h GString *mc_search_normal_prepare_replace_str (mc_search_t * lc_mc_search, GString * replace_str);
lc_mc_search       66 lib/search/internal.h void mc_search__cond_struct_new_init_glob (const char *charset, mc_search_t * lc_mc_search,
lc_mc_search       68 lib/search/internal.h gboolean mc_search__run_glob (mc_search_t * lc_mc_search, const void *user_data,
lc_mc_search       70 lib/search/internal.h GString *mc_search_glob_prepare_replace_str (mc_search_t * lc_mc_search, GString * replace_str);
lc_mc_search       74 lib/search/internal.h void mc_search__cond_struct_new_init_hex (const char *charset, mc_search_t * lc_mc_search,
lc_mc_search       76 lib/search/internal.h gboolean mc_search__run_hex (mc_search_t * lc_mc_search, const void *user_data,
lc_mc_search       78 lib/search/internal.h GString *mc_search_hex_prepare_replace_str (mc_search_t * lc_mc_search, GString * replace_str);
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      323 lib/search/regex.c mc_search__regex_found_cond_one (mc_search_t * lc_mc_search, mc_search_regex_t * regex,
lc_mc_search      331 lib/search/regex.c          &lc_mc_search->regex_match_info, &mcerror))
lc_mc_search      333 lib/search/regex.c         g_match_info_free (lc_mc_search->regex_match_info);
lc_mc_search      334 lib/search/regex.c         lc_mc_search->regex_match_info = NULL;
lc_mc_search      337 lib/search/regex.c             lc_mc_search->error = MC_SEARCH_E_REGEX;
lc_mc_search      338 lib/search/regex.c             g_free (lc_mc_search->error_str);
lc_mc_search      339 lib/search/regex.c             lc_mc_search->error_str =
lc_mc_search      346 lib/search/regex.c     lc_mc_search->num_results = g_match_info_get_match_count (lc_mc_search->regex_match_info);
lc_mc_search      348 lib/search/regex.c     lc_mc_search->num_results = pcre_exec (regex, lc_mc_search->regex_match_info,
lc_mc_search      350 lib/search/regex.c                                            lc_mc_search->iovector, MC_SEARCH__NUM_REPLACE_ARGS);
lc_mc_search      351 lib/search/regex.c     if (lc_mc_search->num_results < 0)
lc_mc_search      363 lib/search/regex.c mc_search__regex_found_cond (mc_search_t * lc_mc_search, GString * search_str)
lc_mc_search      367 lib/search/regex.c     for (loop1 = 0; loop1 < lc_mc_search->prepared.conditions->len; loop1++)
lc_mc_search      373 lib/search/regex.c             (mc_search_cond_t *) g_ptr_array_index (lc_mc_search->prepared.conditions, loop1);
lc_mc_search      379 lib/search/regex.c             mc_search__regex_found_cond_one (lc_mc_search, mc_search_cond->regex_handle,
lc_mc_search      434 lib/search/regex.c mc_search_regex__get_token_by_num (const mc_search_t * lc_mc_search, gsize lc_index)
lc_mc_search      439 lib/search/regex.c     g_match_info_fetch_pos (lc_mc_search->regex_match_info, lc_index, &fnd_start, &fnd_end);
lc_mc_search      441 lib/search/regex.c     fnd_start = lc_mc_search->iovector[lc_index * 2 + 0];
lc_mc_search      442 lib/search/regex.c     fnd_end = lc_mc_search->iovector[lc_index * 2 + 1];
lc_mc_search      448 lib/search/regex.c     return g_strndup (lc_mc_search->regex_buffer->str + fnd_start, fnd_end - fnd_start);
lc_mc_search      791 lib/search/regex.c mc_search__cond_struct_new_init_regex (const char *charset, mc_search_t * lc_mc_search,
lc_mc_search      794 lib/search/regex.c     if (lc_mc_search->whole_words && !lc_mc_search->is_entire_line)
lc_mc_search      810 lib/search/regex.c             if (!lc_mc_search->is_case_sensitive)
lc_mc_search      817 lib/search/regex.c             if (!lc_mc_search->is_case_sensitive)
lc_mc_search      832 lib/search/regex.c             lc_mc_search->error = MC_SEARCH_E_REGEX_COMPILE;
lc_mc_search      833 lib/search/regex.c             g_free (lc_mc_search->error_str);
lc_mc_search      834 lib/search/regex.c             lc_mc_search->error_str =
lc_mc_search      847 lib/search/regex.c             if (!lc_mc_search->is_case_sensitive)
lc_mc_search      850 lib/search/regex.c         else if (!lc_mc_search->is_case_sensitive)
lc_mc_search      863 lib/search/regex.c             mc_search_set_error (lc_mc_search, MC_SEARCH_E_REGEX_COMPILE, "%s", error);
lc_mc_search      866 lib/search/regex.c         lc_mc_search->regex_match_info = pcre_study (mc_search_cond->regex_handle, 0, &error);
lc_mc_search      867 lib/search/regex.c         if (lc_mc_search->regex_match_info == NULL && error != NULL)
lc_mc_search      869 lib/search/regex.c             mc_search_set_error (lc_mc_search, MC_SEARCH_E_REGEX_COMPILE, "%s", error);
lc_mc_search      876 lib/search/regex.c     lc_mc_search->is_utf8 = str_isutf8 (charset);
lc_mc_search      882 lib/search/regex.c mc_search__run_regex (mc_search_t * lc_mc_search, const void *user_data,
lc_mc_search      890 lib/search/regex.c     if (lc_mc_search->regex_buffer != NULL)
lc_mc_search      891 lib/search/regex.c         g_string_set_size (lc_mc_search->regex_buffer, 0);
lc_mc_search      893 lib/search/regex.c         lc_mc_search->regex_buffer = g_string_sized_new (64);
lc_mc_search      898 lib/search/regex.c         g_string_set_size (lc_mc_search->regex_buffer, 0);
lc_mc_search      899 lib/search/regex.c         lc_mc_search->start_buffer = current_pos;
lc_mc_search      901 lib/search/regex.c         if (lc_mc_search->search_fn != NULL)
lc_mc_search      907 lib/search/regex.c                 ret = lc_mc_search->search_fn (user_data, current_pos, &current_chr);
lc_mc_search      922 lib/search/regex.c                 g_string_append_c (lc_mc_search->regex_buffer, (char) current_chr);
lc_mc_search      948 lib/search/regex.c             g_string_append_len (lc_mc_search->regex_buffer, (const char *) user_data + virtual_pos,
lc_mc_search      953 lib/search/regex.c         switch (mc_search__regex_found_cond (lc_mc_search, lc_mc_search->regex_buffer))
lc_mc_search      957 lib/search/regex.c             g_match_info_fetch_pos (lc_mc_search->regex_match_info, 0, &start_pos, &end_pos);
lc_mc_search      959 lib/search/regex.c             start_pos = lc_mc_search->iovector[0];
lc_mc_search      960 lib/search/regex.c             end_pos = lc_mc_search->iovector[1];
lc_mc_search      964 lib/search/regex.c             lc_mc_search->normal_offset = lc_mc_search->start_buffer + start_pos;
lc_mc_search      969 lib/search/regex.c             g_string_free (lc_mc_search->regex_buffer, TRUE);
lc_mc_search      970 lib/search/regex.c             lc_mc_search->regex_buffer = NULL;
lc_mc_search      974 lib/search/regex.c         if ((lc_mc_search->update_fn != NULL) &&
lc_mc_search      975 lib/search/regex.c             ((lc_mc_search->update_fn) (user_data, current_pos) == MC_SEARCH_CB_ABORT))
lc_mc_search      982 lib/search/regex.c     g_string_free (lc_mc_search->regex_buffer, TRUE);
lc_mc_search      983 lib/search/regex.c     lc_mc_search->regex_buffer = NULL;
lc_mc_search      985 lib/search/regex.c     MC_PTR_FREE (lc_mc_search->error_str);
lc_mc_search      986 lib/search/regex.c     lc_mc_search->error = ret == MC_SEARCH_CB_ABORT ? MC_SEARCH_E_ABORT : MC_SEARCH_E_NOTFOUND;
lc_mc_search      994 lib/search/regex.c mc_search_regex_prepare_replace_str (mc_search_t * lc_mc_search, GString * replace_str)
lc_mc_search     1006 lib/search/regex.c     if (lc_mc_search->num_results < 0)
lc_mc_search     1009 lib/search/regex.c     if (num_replace_tokens > lc_mc_search->num_results - 1
lc_mc_search     1012 lib/search/regex.c         mc_search_set_error (lc_mc_search, MC_SEARCH_E_REGEX_REPLACE, "%s",
lc_mc_search     1059 lib/search/regex.c                                                       &replace_flags, lc_mc_search->is_utf8);
lc_mc_search     1066 lib/search/regex.c         if (lc_index > lc_mc_search->num_results)
lc_mc_search     1069 lib/search/regex.c             mc_search_set_error (lc_mc_search, MC_SEARCH_E_REGEX_REPLACE,
lc_mc_search     1074 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->prepared.conditions != NULL)
lc_mc_search      192 lib/search/search.c         mc_search__conditions_free (lc_mc_search->prepared.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      214 lib/search/search.c     if (lc_mc_search->prepared.conditions != NULL)
lc_mc_search      215 lib/search/search.c         return lc_mc_search->prepared.result;
lc_mc_search      219 lib/search/search.c     if (lc_mc_search->is_all_charsets)
lc_mc_search      230 lib/search/search.c             if (g_ascii_strcasecmp (id, lc_mc_search->original_charset) == 0)
lc_mc_search      233 lib/search/search.c                                  mc_search__cond_struct_new (lc_mc_search, lc_mc_search->original,
lc_mc_search      234 lib/search/search.c                                                              lc_mc_search->original_len,
lc_mc_search      235 lib/search/search.c                                                              lc_mc_search->original_charset));
lc_mc_search      240 lib/search/search.c                 mc_search__recode_str (lc_mc_search->original, lc_mc_search->original_len,
lc_mc_search      241 lib/search/search.c                                        lc_mc_search->original_charset, id, &recoded_str_len);
lc_mc_search      244 lib/search/search.c                              mc_search__cond_struct_new (lc_mc_search, buffer,
lc_mc_search      252 lib/search/search.c                          mc_search__cond_struct_new (lc_mc_search, lc_mc_search->original,
lc_mc_search      253 lib/search/search.c                                                      lc_mc_search->original_len,
lc_mc_search      254 lib/search/search.c                                                      lc_mc_search->original_charset));
lc_mc_search      258 lib/search/search.c                      mc_search__cond_struct_new (lc_mc_search, lc_mc_search->original,
lc_mc_search      259 lib/search/search.c                                                  lc_mc_search->original_len,
lc_mc_search      262 lib/search/search.c     lc_mc_search->prepared.conditions = ret;
lc_mc_search      263 lib/search/search.c     lc_mc_search->prepared.result = (lc_mc_search->error == MC_SEARCH_E_OK);
lc_mc_search      265 lib/search/search.c     return lc_mc_search->prepared.result;
lc_mc_search      284 lib/search/search.c mc_search_run (mc_search_t * lc_mc_search, const void *user_data,
lc_mc_search      289 lib/search/search.c     if (lc_mc_search == NULL || user_data == NULL)
lc_mc_search      291 lib/search/search.c     if (!mc_search_is_type_avail (lc_mc_search->search_type))
lc_mc_search      293 lib/search/search.c         mc_search_set_error (lc_mc_search, MC_SEARCH_E_INPUT, "%s", _(STR_E_UNKNOWN_TYPE));
lc_mc_search      297 lib/search/search.c     if (lc_mc_search->regex_match_info != NULL)
lc_mc_search      299 lib/search/search.c         g_match_info_free (lc_mc_search->regex_match_info);
lc_mc_search      300 lib/search/search.c         lc_mc_search->regex_match_info = NULL;
lc_mc_search      304 lib/search/search.c     mc_search_set_error (lc_mc_search, MC_SEARCH_E_OK, NULL);
lc_mc_search      306 lib/search/search.c     if (!mc_search_prepare (lc_mc_search))
lc_mc_search      309 lib/search/search.c     switch (lc_mc_search->search_type)
lc_mc_search      312 lib/search/search.c         ret = mc_search__run_normal (lc_mc_search, user_data, start_search, end_search, found_len);
lc_mc_search      315 lib/search/search.c         ret = mc_search__run_regex (lc_mc_search, user_data, start_search, end_search, found_len);
lc_mc_search      318 lib/search/search.c         ret = mc_search__run_glob (lc_mc_search, user_data, start_search, end_search, found_len);
lc_mc_search      321 lib/search/search.c         ret = mc_search__run_hex (lc_mc_search, user_data, start_search, end_search, found_len);
lc_mc_search      362 lib/search/search.c mc_search_prepare_replace_str (mc_search_t * lc_mc_search, GString * replace_str)
lc_mc_search      369 lib/search/search.c     if (lc_mc_search == NULL)
lc_mc_search      372 lib/search/search.c     switch (lc_mc_search->search_type)
lc_mc_search      375 lib/search/search.c         ret = mc_search_regex_prepare_replace_str (lc_mc_search, replace_str);
lc_mc_search      378 lib/search/search.c         ret = mc_search_glob_prepare_replace_str (lc_mc_search, replace_str);
lc_mc_search      381 lib/search/search.c         ret = mc_search_normal_prepare_replace_str (lc_mc_search, replace_str);
lc_mc_search      384 lib/search/search.c         ret = mc_search_hex_prepare_replace_str (lc_mc_search, replace_str);
lc_mc_search      396 lib/search/search.c mc_search_prepare_replace_str2 (mc_search_t * lc_mc_search, const char *replace_str)
lc_mc_search      402 lib/search/search.c     ret = mc_search_prepare_replace_str (lc_mc_search, replace_str2);
lc_mc_search      410 lib/search/search.c mc_search_is_fixed_search_str (const mc_search_t * lc_mc_search)
lc_mc_search      412 lib/search/search.c     if (lc_mc_search == NULL)
lc_mc_search      414 lib/search/search.c     switch (lc_mc_search->search_type)
lc_mc_search      463 lib/search/search.c mc_search_getstart_result_by_num (mc_search_t * lc_mc_search, int lc_index)
lc_mc_search      465 lib/search/search.c     if (lc_mc_search == NULL)
lc_mc_search      467 lib/search/search.c     if (lc_mc_search->search_type == MC_SEARCH_T_NORMAL)
lc_mc_search      474 lib/search/search.c         g_match_info_fetch_pos (lc_mc_search->regex_match_info, lc_index, &start_pos, &end_pos);
lc_mc_search      478 lib/search/search.c     return lc_mc_search->iovector[lc_index * 2];
lc_mc_search      485 lib/search/search.c mc_search_getend_result_by_num (mc_search_t * lc_mc_search, int lc_index)
lc_mc_search      487 lib/search/search.c     if (lc_mc_search == NULL)
lc_mc_search      489 lib/search/search.c     if (lc_mc_search->search_type == MC_SEARCH_T_NORMAL)
lc_mc_search      496 lib/search/search.c         g_match_info_fetch_pos (lc_mc_search->regex_match_info, lc_index, &start_pos, &end_pos);
lc_mc_search      500 lib/search/search.c     return lc_mc_search->iovector[lc_index * 2 + 1];
lc_mc_search      514 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      516 lib/search/search.c     lc_mc_search->error = code;
lc_mc_search      518 lib/search/search.c     MC_PTR_FREE (lc_mc_search->error_str);
lc_mc_search      525 lib/search/search.c         lc_mc_search->error_str = g_strdup_vprintf (format, args);