search 431 lib/search/search.c mc_search_t *search; search 436 lib/search/search.c search = mc_search_new (pattern, pattern_charset); search 437 lib/search/search.c if (search == NULL) search 440 lib/search/search.c search->search_type = type; search 441 lib/search/search.c search->is_case_sensitive = TRUE; search 444 lib/search/search.c search->is_entire_line = TRUE; search 446 lib/search/search.c ret = mc_search_run (search, str, 0, strlen (str), NULL); search 447 lib/search/search.c mc_search_free (search); search 806 lib/strutil/strutil.c str_search_first (const char *text, const char *search, gboolean case_sen) search 808 lib/strutil/strutil.c return used_class.search_first (text, search, case_sen); search 814 lib/strutil/strutil.c str_search_last (const char *text, const char *search, gboolean case_sen) search 816 lib/strutil/strutil.c return used_class.search_last (text, search, case_sen); search 602 lib/strutil/strutil8bit.c str_8bit_search_first (const char *text, const char *search, gboolean case_sen) search 609 lib/strutil/strutil8bit.c fold_search = case_sen ? (char *) search : str_8bit_strdown (search); search 632 lib/strutil/strutil8bit.c str_8bit_search_last (const char *text, const char *search, gboolean case_sen) search 639 lib/strutil/strutil8bit.c fold_search = case_sen ? (char *) search : str_8bit_strdown (search); search 583 lib/strutil/strutilascii.c str_ascii_search_first (const char *text, const char *search, gboolean case_sen) search 590 lib/strutil/strutilascii.c fold_search = case_sen ? (char *) search : g_ascii_strdown (search, -1); search 613 lib/strutil/strutilascii.c str_ascii_search_last (const char *text, const char *search, gboolean case_sen) search 620 lib/strutil/strutilascii.c fold_search = case_sen ? (char *) search : g_ascii_strdown (search, -1); search 993 lib/strutil/strutilutf8.c str_utf8_search_first (const char *text, const char *search, gboolean case_sen) search 1011 lib/strutil/strutilutf8.c search_len = strlen (search); search 1016 lib/strutil/strutilutf8.c match = g_strstr_len (match, -1, search); search 1045 lib/strutil/strutilutf8.c str_utf8_search_last (const char *text, const char *search, gboolean case_sen) search 1063 lib/strutil/strutilutf8.c search_len = strlen (search); search 1067 lib/strutil/strutilutf8.c match = g_strrstr_len (deco_text, -1, search); search 142 src/diffviewer/internal.h } search; search 138 src/diffviewer/search.c g_free (dview->search.last_string); search 139 src/diffviewer/search.c dview->search.last_string = exp; search 151 src/diffviewer/search.c if (dview->search.last_accessed_num_line < 0) search 153 src/diffviewer/search.c dview->search.last_accessed_num_line = -1; search 157 src/diffviewer/search.c if ((size_t) dview->search.last_accessed_num_line >= dview->a[dview->ord]->len) search 158 src/diffviewer/search.c dview->search.last_accessed_num_line = (ssize_t) dview->a[dview->ord]->len; search 160 src/diffviewer/search.c for (ind = --dview->search.last_accessed_num_line; ind >= 0; ind--) search 168 src/diffviewer/search.c if (mc_search_run (dview->search.handle, p->p, 0, p->u.len, NULL)) search 170 src/diffviewer/search.c dview->skip_rows = dview->search.last_found_line = search 171 src/diffviewer/search.c dview->search.last_accessed_num_line = ind; search 186 src/diffviewer/search.c if (dview->search.last_accessed_num_line < 0) search 187 src/diffviewer/search.c dview->search.last_accessed_num_line = -1; search 188 src/diffviewer/search.c else if ((size_t) dview->search.last_accessed_num_line >= dview->a[dview->ord]->len) search 190 src/diffviewer/search.c dview->search.last_accessed_num_line = (ssize_t) dview->a[dview->ord]->len; search 194 src/diffviewer/search.c for (ind = (size_t) ++dview->search.last_accessed_num_line; ind < dview->a[dview->ord]->len; search 203 src/diffviewer/search.c if (mc_search_run (dview->search.handle, p->p, 0, p->u.len, NULL)) search 205 src/diffviewer/search.c dview->skip_rows = dview->search.last_found_line = search 206 src/diffviewer/search.c dview->search.last_accessed_num_line = (ssize_t) ind; search 235 src/diffviewer/search.c dview->search.last_found_line = -1; search 256 src/diffviewer/search.c mc_search_free (dview->search.handle); search 258 src/diffviewer/search.c dview->search.handle = mc_search_new (dview->search.last_string, cp_source); search 260 src/diffviewer/search.c dview->search.handle = mc_search_new (dview->search.last_string, NULL); search 263 src/diffviewer/search.c if (dview->search.handle == NULL) search 266 src/diffviewer/search.c dview->search.handle->search_type = mcdiffview_search_options.type; search 268 src/diffviewer/search.c dview->search.handle->is_all_charsets = mcdiffview_search_options.all_codepages; search 270 src/diffviewer/search.c dview->search.handle->is_case_sensitive = mcdiffview_search_options.case_sens; search 271 src/diffviewer/search.c dview->search.handle->whole_words = mcdiffview_search_options.whole_words; search 283 src/diffviewer/search.c else if (dview->search.handle == NULL) search 1804 src/diffviewer/ydiff.c mc_search_free (dview->search.handle); search 1805 src/diffviewer/ydiff.c dview->search.handle = NULL; search 1806 src/diffviewer/ydiff.c MC_PTR_FREE (dview->search.last_string); search 2430 src/diffviewer/ydiff.c dview->search.handle = NULL; search 2431 src/diffviewer/ydiff.c dview->search.last_string = NULL; search 2432 src/diffviewer/ydiff.c dview->search.last_found_line = -1; search 2433 src/diffviewer/ydiff.c dview->search.last_accessed_num_line = -1; search 2571 src/diffviewer/ydiff.c if (i == (size_t) dview->search.last_found_line) search 2785 src/diffviewer/ydiff.c dview->skip_rows = dview->search.last_accessed_num_line = last; search 2787 src/diffviewer/ydiff.c dview->skip_rows = dview->search.last_accessed_num_line = 0; search 2931 src/diffviewer/ydiff.c dview->skip_rows = dview->search.last_accessed_num_line = (ssize_t) i; search 3095 src/diffviewer/ydiff.c dview->skip_rows = dview->search.last_accessed_num_line = search 3099 src/diffviewer/ydiff.c dview->skip_rows = dview->search.last_accessed_num_line = search 3126 src/diffviewer/ydiff.c dview->skip_rows = dview->search.last_accessed_num_line = 0; search 3129 src/diffviewer/ydiff.c dview->skip_rows = dview->search.last_accessed_num_line = dview->a[DIFF_LEFT]->len - 1; search 3135 src/diffviewer/ydiff.c dview->search.last_accessed_num_line = dview->skip_rows; search 3140 src/diffviewer/ydiff.c dview->search.last_accessed_num_line = dview->skip_rows; search 3146 src/diffviewer/ydiff.c dview->search.last_accessed_num_line = dview->skip_rows; search 3153 src/diffviewer/ydiff.c dview->search.last_accessed_num_line = dview->skip_rows; search 3285 src/diffviewer/ydiff.c dview->search.last_accessed_num_line = dview->skip_rows; search 303 src/editor/editsearch.c edit_get_search_line_type (const mc_search_t *search) search 307 src/editor/editsearch.c if (search->search_type == MC_SEARCH_T_REGEX) search 309 src/editor/editsearch.c if (search->original.str->str[0] == '^') search 312 src/editor/editsearch.c if (search->original.str->str[search->original.str->len - 1] == '$') search 458 src/editor/editsearch.c mc_search_set_error (edit->search, MC_SEARCH_E_NOTFOUND, "%s", _(STR_E_NOTFOUND)); search 478 src/editor/editsearch.c mc_search_set_error (edit->search, MC_SEARCH_E_NOTFOUND, "%s", _(STR_E_NOTFOUND)); search 500 src/editor/editsearch.c if (search_end > (off_t) (search_start + edit->search->original.str->len) search 501 src/editor/editsearch.c && mc_search_is_fixed_search_str (edit->search)) search 502 src/editor/editsearch.c search_end = search_start + edit->search->original.str->len; search 504 src/editor/editsearch.c ok = mc_search_run (edit->search, (void *) esm, search_start, search_end, len); search 506 src/editor/editsearch.c if (ok && edit->search->normal_offset == search_start) search 511 src/editor/editsearch.c if (!ok && edit->search->error != MC_SEARCH_E_NOTFOUND) search 522 src/editor/editsearch.c mc_search_set_error (edit->search, MC_SEARCH_E_NOTFOUND, "%s", _(STR_E_NOTFOUND)); search 532 src/editor/editsearch.c return mc_search_run (edit->search, (void *) esm, search_start, end_mark, len); search 578 src/editor/editsearch.c if (edit->search->error == MC_SEARCH_E_NOTFOUND) search 580 src/editor/editsearch.c else if (edit->search->error_str != NULL) search 581 src/editor/editsearch.c edit_query_dialog (title, edit->search->error_str); search 593 src/editor/editsearch.c assert (edit->search != NULL); search 613 src/editor/editsearch.c while (mc_search_run (edit->search, (void *) &esm, q, edit->buffer.size, &len)) search 616 src/editor/editsearch.c edit->search_start = edit->search->normal_offset; search 619 src/editor/editsearch.c l += edit_buffer_count_lines (&edit->buffer, q, edit->search->normal_offset); search 623 src/editor/editsearch.c q = edit->search->normal_offset + 1; search 643 src/editor/editsearch.c edit->found_start = edit->search_start = edit->search->normal_offset; search 683 src/editor/editsearch.c edit->search = mc_search_new (str, cp_source); search 685 src/editor/editsearch.c edit->search = mc_search_new (str, NULL); search 688 src/editor/editsearch.c if (edit->search == NULL) search 691 src/editor/editsearch.c edit->search->search_type = edit_search_options.type; search 693 src/editor/editsearch.c edit->search->is_all_charsets = edit_search_options.all_codepages; search 695 src/editor/editsearch.c edit->search->is_case_sensitive = edit_search_options.case_sens; search 696 src/editor/editsearch.c edit->search->whole_words = edit_search_options.whole_words; search 697 src/editor/editsearch.c edit->search->search_fn = edit_search_cmd_callback; search 698 src/editor/editsearch.c edit->search->update_fn = edit_search_update_callback; search 700 src/editor/editsearch.c edit->search_line_type = edit_get_search_line_type (edit->search); search 712 src/editor/editsearch.c mc_search_free (edit->search); search 873 src/editor/editsearch.c mc_search_free (edit->search); search 874 src/editor/editsearch.c edit->search = NULL; search 880 src/editor/editsearch.c if (edit->search == NULL && !edit_search_init (edit, input1)) search 907 src/editor/editsearch.c if (!(edit->search->error == MC_SEARCH_E_OK || search 908 src/editor/editsearch.c (once_found && edit->search->error == MC_SEARCH_E_NOTFOUND))) search 915 src/editor/editsearch.c edit->search_start = edit->search->normal_offset; search 970 src/editor/editsearch.c repl_str = mc_search_prepare_replace_str (edit->search, input2_str); search 972 src/editor/editsearch.c if (edit->search->error != MC_SEARCH_E_OK) search 90 src/editor/editwidget.h mc_search_t *search; search 763 src/filemanager/ext.c mc_search_t *search; search 765 src/filemanager/ext.c search = mc_search_new (ptr, DEFAULT_CHARSET); search 766 src/filemanager/ext.c if (search != NULL) search 768 src/filemanager/ext.c search->search_type = MC_SEARCH_T_REGEX; search 769 src/filemanager/ext.c search->is_case_sensitive = !case_insense; search 770 src/filemanager/ext.c found = mc_search_run (search, content_string + content_shift, 0, -1, NULL); search 771 src/filemanager/ext.c mc_search_free (search); search 997 src/filemanager/ext.c mc_search_t *search; search 1000 src/filemanager/ext.c search = mc_search_new (pattern, DEFAULT_CHARSET); search 1003 src/filemanager/ext.c if (search != NULL) search 1005 src/filemanager/ext.c search->search_type = MC_SEARCH_T_REGEX; search 1006 src/filemanager/ext.c search->is_case_sensitive = !ignore_case; search 1007 src/filemanager/ext.c found = mc_search_run (search, filename, 0, filename_len, NULL); search 1008 src/filemanager/ext.c mc_search_free (search); search 418 src/filemanager/find.c mc_search_t *search; search 421 src/filemanager/find.c search = mc_search_new (r, NULL); search 423 src/filemanager/find.c if (search != NULL) search 425 src/filemanager/find.c search->search_type = MC_SEARCH_T_REGEX; search 426 src/filemanager/find.c regexp_ok = mc_search_prepare (search); search 427 src/filemanager/find.c mc_search_free (search); search 2121 src/filemanager/panel.c mc_search_t *search; search 2138 src/filemanager/panel.c search = mc_search_new (reg_exp, NULL); search 2139 src/filemanager/panel.c search->search_type = MC_SEARCH_T_REGEX; search 2140 src/filemanager/panel.c search->is_case_sensitive = FALSE; search 2149 src/filemanager/panel.c if (!mc_search_run (search, fe->fname->str, 0, fe->fname->len, NULL)) search 2155 src/filemanager/panel.c mc_search_free (search); search 2664 src/filemanager/panel.c mc_search_t *search; search 2698 src/filemanager/panel.c search = mc_search_new (reg_exp, NULL); search 2699 src/filemanager/panel.c search->search_type = shell_patterns ? MC_SEARCH_T_GLOB : MC_SEARCH_T_REGEX; search 2700 src/filemanager/panel.c search->is_entire_line = TRUE; search 2701 src/filemanager/panel.c search->is_case_sensitive = case_sens; search 2708 src/filemanager/panel.c if (!mc_search_prepare (search)) search 2711 src/filemanager/panel.c mc_search_free (search); search 2724 src/filemanager/panel.c return search; search 2733 src/filemanager/panel.c mc_search_t *search; search 2737 src/filemanager/panel.c search = panel_select_unselect_files_dialog (&panels_options.select_flags, title, history_name, search 2739 src/filemanager/panel.c if (search == NULL || search == SELECT_RESET || search == SELECT_ERROR) search 2752 src/filemanager/panel.c (search, panel->dir.list[i].fname->str, 0, panel->dir.list[i].fname->len, NULL)) search 2756 src/filemanager/panel.c mc_search_free (search); search 2828 src/filemanager/panel.c mc_search_t *search; search 2869 src/filemanager/panel.c search = mc_search_new (esc_str, NULL); search 2870 src/filemanager/panel.c search->search_type = MC_SEARCH_T_GLOB; search 2871 src/filemanager/panel.c search->is_entire_line = TRUE; search 2876 src/filemanager/panel.c search->is_case_sensitive = TRUE; search 2879 src/filemanager/panel.c search->is_case_sensitive = FALSE; search 2882 src/filemanager/panel.c search->is_case_sensitive = panel->sort_info.case_sensitive; search 2898 src/filemanager/panel.c (search, panel->dir.list[i].fname->str, 0, panel->dir.list[i].fname->len, NULL)) search 2918 src/filemanager/panel.c mc_search_free (search); search 167 src/viewer/internal.h mc_search_t *search; search 245 src/viewer/lib.c view->search = NULL; search 160 src/viewer/search.c if (search_end > search_start + (off_t) view->search->original.str->len search 161 src/viewer/search.c && mc_search_is_fixed_search_str (view->search)) search 162 src/viewer/search.c search_end = search_start + view->search->original.str->len; search 164 src/viewer/search.c ok = mc_search_run (view->search, (void *) ssm, search_start, search_end, len); search 165 src/viewer/search.c if (ok && view->search->normal_offset == search_start) search 168 src/viewer/search.c view->search->normal_offset++; search 174 src/viewer/search.c if (!ok && view->search->error != MC_SEARCH_E_NOTFOUND) search 180 src/viewer/search.c mc_search_set_error (view->search, MC_SEARCH_E_NOTFOUND, "%s", _(STR_E_NOTFOUND)); search 186 src/viewer/search.c return mc_search_run (view->search, (void *) ssm, search_start, search_end, len); search 198 src/viewer/search.c ? mcview__get_nroff_real_len (view, view->search->start_buffer, search 199 src/viewer/search.c view->search->normal_offset - view->search->start_buffer) : 0; search 200 src/viewer/search.c view->search_start = view->search->normal_offset + nroff_len; search 221 src/viewer/search.c view->search = mc_search_new (view->last_search_string, cp_source); search 223 src/viewer/search.c view->search = mc_search_new (view->last_search_string, NULL); search 228 src/viewer/search.c if (view->search == NULL) search 231 src/viewer/search.c view->search->search_type = mcview_search_options.type; search 233 src/viewer/search.c view->search->is_all_charsets = mcview_search_options.all_codepages; search 235 src/viewer/search.c view->search->is_case_sensitive = mcview_search_options.case_sens; search 236 src/viewer/search.c view->search->whole_words = mcview_search_options.whole_words; search 237 src/viewer/search.c view->search->search_fn = mcview_search_cmd_callback; search 238 src/viewer/search.c view->search->update_fn = mcview_search_update_cmd_callback; search 248 src/viewer/search.c mc_search_free (view->search); search 414 src/viewer/search.c growbufsize = view->search->original.str->len; search 427 src/viewer/search.c if (view->search->error != MC_SEARCH_E_NOTFOUND) search 430 src/viewer/search.c search_start = growbufsize - view->search->original.str->len; search 435 src/viewer/search.c if (view->growbuf_in_use && !found && view->search->error == MC_SEARCH_E_NOTFOUND search 445 src/viewer/search.c if (orig_search_start != 0 && (!found && view->search->error == MC_SEARCH_E_NOTFOUND) search 483 src/viewer/search.c if (view->search->error == MC_SEARCH_E_NOTFOUND) search 485 src/viewer/search.c else if (view->search->error_str != NULL) search 486 src/viewer/search.c query_dialog (_("Search"), view->search->error_str, D_NORMAL, 1, _("&Dismiss"));