start 31 lib/strescape.h gboolean strutils_is_char_escaped (const char *start, const char *current); start 133 lib/strutil.h /*I*/ const char *(*term_substring) (const char *text, int start, int width); start 421 lib/strutil.h const char *str_term_substring (const char *text, int start, int width); start 243 lib/strutil/strescape.c strutils_is_char_escaped (const char *start, const char *current) start 247 lib/strutil/strescape.c if (start == NULL || current == NULL || current <= start) start 251 lib/strutil/strescape.c while (current >= start && *current == '\\') start 468 lib/strutil/strutil.c str_term_substring (const char *text, int start, int width) start 470 lib/strutil/strutil.c return used_class.term_substring (text, start, width); start 467 lib/strutil/strutil8bit.c str_8bit_term_substring (const char *text, int start, int width) start 478 lib/strutil/strutil8bit.c if (start < (int) length) start 482 lib/strutil/strutil8bit.c for (pos = start; pos < length && width > 0 && remain > 1; start 447 lib/strutil/strutilascii.c str_ascii_term_substring (const char *text, int start, int width) start 458 lib/strutil/strutilascii.c if (start < (int) length) start 463 lib/strutil/strutilascii.c for (pos = start; pos < length && width > 0 && remain > 1; start 327 lib/strutil/strutilutf8.c const char *start; start 330 lib/strutil/strutilutf8.c start = text; start 331 lib/strutil/strutilutf8.c while (!g_utf8_validate (start, -1, &end) && start[0] != '\0') start 333 lib/strutil/strutilutf8.c if (start != end) start 334 lib/strutil/strutilutf8.c result += g_utf8_strlen (start, end - start); start 337 lib/strutil/strutilutf8.c start = end + 1; start 340 lib/strutil/strutilutf8.c if (start == text) start 342 lib/strutil/strutilutf8.c else if (start[0] != '\0' && start != end) start 343 lib/strutil/strutilutf8.c result += g_utf8_strlen (start, end - start); start 354 lib/strutil/strutilutf8.c const char *start; start 357 lib/strutil/strutilutf8.c start = text; start 358 lib/strutil/strutilutf8.c while (!g_utf8_validate (start, -1, &end) && start[0] != '\0' && size > 0) start 360 lib/strutil/strutilutf8.c if (start != end) start 362 lib/strutil/strutilutf8.c result += g_utf8_strlen (start, MIN (end - start, size)); start 363 lib/strutil/strutilutf8.c size -= end - start; start 367 lib/strutil/strutilutf8.c start = end + 1; start 370 lib/strutil/strutilutf8.c if (start == text) start 372 lib/strutil/strutilutf8.c else if (start[0] != '\0' && start != end && size > 0) start 373 lib/strutil/strutilutf8.c result += g_utf8_strlen (start, MIN (end - start, size)); start 829 lib/strutil/strutilutf8.c str_utf8_term_substring (const char *text, int start, int width) start 842 lib/strutil/strutilutf8.c tool.ident = -start; start 1080 lib/strutil/strutilutf8.c const char *start; start 1104 lib/strutil/strutilutf8.c start = text; start 1105 lib/strutil/strutilutf8.c while (!g_utf8_validate (start, -1, &end) && start[0] != '\0') start 1107 lib/strutil/strutilutf8.c if (start != end) start 1109 lib/strutil/strutilutf8.c tmp = g_utf8_normalize (start, end - start, G_NORMALIZE_ALL); start 1114 lib/strutil/strutilutf8.c start = end + 1; start 1117 lib/strutil/strutilutf8.c if (start == text) start 1124 lib/strutil/strutilutf8.c if (start[0] != '\0' && start != end) start 1126 lib/strutil/strutilutf8.c tmp = g_utf8_normalize (start, end - start, G_NORMALIZE_ALL); start 1144 lib/strutil/strutilutf8.c const char *start; start 1149 lib/strutil/strutilutf8.c start = text; start 1150 lib/strutil/strutilutf8.c while (!g_utf8_validate (start, -1, &end) && start[0] != '\0') start 1152 lib/strutil/strutilutf8.c if (start != end) start 1154 lib/strutil/strutilutf8.c fold = g_utf8_casefold (start, end - start); start 1161 lib/strutil/strutilutf8.c start = end + 1; start 1164 lib/strutil/strutilutf8.c if (start == text) start 1173 lib/strutil/strutilutf8.c if (start[0] != '\0' && start != end) start 1175 lib/strutil/strutilutf8.c fold = g_utf8_casefold (start, end - start); start 1357 lib/strutil/strutilutf8.c const char *start, *end; start 1364 lib/strutil/strutilutf8.c start = text; start 1367 lib/strutil/strutilutf8.c start = text + 1; start 1371 lib/strutil/strutilutf8.c while (!g_utf8_validate (start, -1, &end) && start[0] != '\0') start 1373 lib/strutil/strutilutf8.c if (start != end) start 1375 lib/strutil/strutilutf8.c fold = g_utf8_casefold (start, end - start); start 1382 lib/strutil/strutilutf8.c start = end + 1; start 1385 lib/strutil/strutilutf8.c if (start == text) start 1387 lib/strutil/strutilutf8.c fold = g_utf8_casefold (start, -1); start 1392 lib/strutil/strutilutf8.c else if (dot && (start == text + 1)) start 1394 lib/strutil/strutilutf8.c fold = g_utf8_casefold (start, -1); start 1403 lib/strutil/strutilutf8.c if (start[0] != '\0' && start != end) start 1405 lib/strutil/strutilutf8.c fold = g_utf8_casefold (start, end - start); start 703 lib/tty/tty-ncurses.c int start = 0; start 718 lib/tty/tty-ncurses.c start = -mc_curs_col; start 727 lib/tty/tty-ncurses.c addstr (str_term_substring (s, start, len)); start 1256 lib/utilunix.c const char *start; start 1264 lib/utilunix.c start = IS_PATH_SEP (tmp_element[0]) ? tmp_element + 1 : tmp_element; start 1266 lib/utilunix.c g_string_append (path, start); start 1555 lib/vfs/direntry.c char *start; start 1560 lib/vfs/direntry.c start = (char *) sub + sizeof (struct vfs_class); start 1561 lib/vfs/direntry.c memset (start, 0, len); start 223 lib/widget/button.c b->hotpos = (b->text.hotkey != NULL) ? str_term_width1 (b->text.start) : -1; start 253 lib/widget/button.c b->hotpos = (b->text.hotkey != NULL) ? str_term_width1 (b->text.start) : -1; start 170 lib/widget/check.c if (check->text.start[0] == '\0' && check->text.hotkey == NULL && check->text.end == NULL) start 263 lib/widget/input.c move_buffer_backward (WInput * in, int start, int end) start 268 lib/widget/input.c if (start >= str_len || end > str_len + 1) start 271 lib/widget/input.c start = str_offset_to_pos (in->buffer->str, start); start 273 lib/widget/input.c g_string_erase (in->buffer, start, end - start); start 375 lib/widget/input.c int start; start 381 lib/widget/input.c start = in->point - str_cprev_noncomb_char (&act, in->buffer->str); start 382 lib/widget/input.c move_buffer_backward (in, start, in->point); start 385 lib/widget/input.c in->point = start; start 391 lib/widget/input.c copy_region (WInput * in, int start, int end) start 393 lib/widget/input.c int first = MIN (start, end); start 394 lib/widget/input.c int last = MAX (start, end); start 420 lib/widget/input.c delete_region (WInput * in, int start, int end) start 422 lib/widget/input.c int first = MIN (start, end); start 423 lib/widget/input.c int last = MAX (start, end); start 99 lib/widget/input_complete.c static int start = 0; start 992 lib/widget/input_complete.c new_size = size + start - end; start 1017 lib/widget/input_complete.c g_string_overwrite_len (in->buffer, start, text, size); start 1077 lib/widget/input_complete.c if (strncmp (input->buffer->str + start, le->text, new_end - start) == 0) start 1131 lib/widget/input_complete.c if (strncmp (input->buffer->str + start, le->text, end - start) == 0 start 1132 lib/widget/input_complete.c && strncmp (le->text + end - start, buff, bl) == 0) start 1147 lib/widget/input_complete.c for (si = le->text + start; si < le->text + end; start 1150 lib/widget/input_complete.c for (sl = last_text + start; sl < last_text + end; start 1265 lib/widget/input_complete.c x = start - in->term_first_shown - 2 + start_x; start 1434 lib/widget/input_complete.c start = s - in->buffer->str; start 1439 lib/widget/input_complete.c if (start < end) start 1442 lib/widget/input_complete.c start = s - in->buffer->str; start 1445 lib/widget/input_complete.c in->completions = try_complete (in->buffer->str, &start, &end, in->completion_flags); start 153 lib/widget/menu.c tty_print_string (entry->text.start); start 238 lib/widget/menu.c tty_print_string (menu->text.start); start 205 lib/widget/widget-common.c result.start = g_strndup (text, cp - text); start 217 lib/widget/widget-common.c result.start = g_strdup (text); start 230 lib/widget/widget-common.c g_free (hotkey.start); start 242 lib/widget/widget-common.c result = str_term_width1 (hotkey.start); start 254 lib/widget/widget-common.c return (strcmp (hotkey1.start, hotkey2.start) == 0) && start 265 lib/widget/widget-common.c if (hotkey.start[0] != '\0') start 268 lib/widget/widget-common.c tty_print_string (hotkey.start); start 291 lib/widget/widget-common.c text = g_string_new (hotkey.start); start 183 lib/widget/widget-common.h char *start; /* never NULL */ start 591 lib/widget/wtools.c gint64 start; start 596 lib/widget/wtools.c start = g_get_monotonic_time (); start 600 lib/widget/wtools.c sm->start = start; start 611 lib/widget/wtools.c if (mc_time_elapsed (&start, sm->delay)) start 666 lib/widget/wtools.c gint64 start = sm->start; start 668 lib/widget/wtools.c if (mc_time_elapsed (&start, sm->delay)) start 43 lib/widget/wtools.h gint64 start; /* start time in microseconds */ start 1255 src/diffviewer/ydiff.c int start, end; start 1258 src/diffviewer/ydiff.c start = (*b)[ord].off; start 1259 src/diffviewer/ydiff.c end = start + (*b)[ord].len; start 1260 src/diffviewer/ydiff.c if (k >= start && k < end) start 198 src/editor/edit-impl.h gboolean edit_save_block (WEdit * edit, const char *filename, off_t start, off_t finish); start 529 src/editor/edit.c char *start = (char *) edit + sizeof (Widget); start 530 src/editor/edit.c memset (start, 0, len); start 401 src/editor/editbuffer.c edit_buffer_get_word_from_pos (const edit_buffer_t * buf, off_t start_pos, off_t * start, start 428 src/editor/editbuffer.c *start = word_start; start 49 src/editor/editbuffer.h GString *edit_buffer_get_word_from_pos (const edit_buffer_t * buf, off_t start_pos, off_t * start, start 578 src/editor/editcmd.c edit_get_block (WEdit * edit, off_t start, off_t finish, off_t * l) start 582 src/editor/editcmd.c r = s = g_malloc0 (finish - start + 1); start 589 src/editor/editcmd.c for (; start < finish; start++) start 594 src/editor/editcmd.c x = edit_move_forward3 (edit, edit_buffer_get_bol (&edit->buffer, start), 0, start); start 595 src/editor/editcmd.c c = edit_buffer_get_byte (&edit->buffer, start); start 606 src/editor/editcmd.c *l = finish - start; start 608 src/editor/editcmd.c for (; start < finish; start++) start 609 src/editor/editcmd.c *s++ = edit_buffer_get_byte (&edit->buffer, start); start 621 src/editor/editcmd.c edit_save_block_to_clip_file (WEdit * edit, off_t start, off_t finish) start 627 src/editor/editcmd.c ret = edit_save_block (edit, tmp, start, finish); start 1567 src/editor/editcmd.c edit_save_block (WEdit * edit, const char *filename, off_t start, off_t finish) start 1589 src/editor/editcmd.c p = block = edit_get_block (edit, start, finish, &len); start 1604 src/editor/editcmd.c off_t i = start; start 1606 src/editor/editcmd.c len = finish - start; start 1608 src/editor/editcmd.c while (start != finish) start 1612 src/editor/editcmd.c end = MIN (finish, start + TEMP_BUF_LEN); start 1614 src/editor/editcmd.c buf[i - start] = edit_buffer_get_byte (&edit->buffer, i); start 1615 src/editor/editcmd.c len -= mc_write (file, (char *) buf, end - start); start 1616 src/editor/editcmd.c start = end; start 113 src/editor/editcomplete.c off_t start = -1; start 115 src/editor/editcomplete.c while (mc_search_run (srch, (void *) esm, start + 1, last_byte, &len)) start 125 src/editor/editcomplete.c start = srch->normal_offset; start 132 src/editor/editcomplete.c ch = edit_buffer_get_byte (&esm->edit->buffer, start + i); start 137 src/editor/editcomplete.c if (start + (off_t) i == word_start) start 196 src/editor/editcomplete.c start += len; start 203 src/editor/etags.c } state = start; start 222 src/editor/etags.c case start: start 222 src/filemanager/achown.c set_perm_by_flags (b_att[0]->text.start, 0); start 223 src/filemanager/achown.c set_perm_by_flags (b_att[1]->text.start, 3); start 224 src/filemanager/achown.c set_perm_by_flags (b_att[2]->text.start, 6); start 404 src/filemanager/achown.c if (b->text.start[flag_pos % 3] == '-') start 139 src/filemanager/dir.c clean_sort_keys (dir_list * list, int start, int count) start 147 src/filemanager/dir.c fentry = &list->list[i + start]; start 1664 src/filemanager/filemanager.c size_t len, start; start 1677 src/filemanager/filemanager.c start = ((size_t) rand ()) % (len - 1); start 1680 src/filemanager/filemanager.c for (; start != 0; start--) start 1681 src/filemanager/filemanager.c if (data[start] == '\n' && data[start + 1] == '\n') start 1683 src/filemanager/filemanager.c start += 2; start 1688 src/filemanager/filemanager.c for (eop = data + start; *eop != '\0'; eop++) start 1703 src/filemanager/filemanager.c result = g_strndup (data + start, len - start); start 1709 src/filemanager/filemanager.c buffer = g_string_sized_new (len - start); start 1710 src/filemanager/filemanager.c nok = (str_convert (conv, data + start, buffer) == ESTR_FAILURE); start 113 src/filemanager/find.c gsize start; start 381 src/filemanager/find.c get_list_info (char **file, char **dir, gsize * start, gsize * end) start 390 src/filemanager/find.c if (start != NULL) start 391 src/filemanager/find.c *start = location->start; start 913 src/filemanager/find.c insert_file (const char *dir, const char *file, gsize start, gsize end) start 940 src/filemanager/find.c location->start = start; start 949 src/filemanager/find.c find_add_match (const char *dir, const char *file, gsize start, gsize end) start 951 src/filemanager/find.c insert_file (dir, file, start, end); start 1477 src/filemanager/find.c find_do_view_edit (unparsed_view, edit, location->dir, text, location->start, location->end); start 125 src/help.c search_string (const char *start, const char *text) start 130 src/help.c const char *e = start; start 166 src/help.c search_string_node (const char *start, const char *text) start 169 src/help.c const char *e = start; start 171 src/help.c if (start != NULL) start 191 src/help.c search_char_node (const char *start, char the_char, int direction) start 195 src/help.c for (e = start; (*e != '\0') && (*e != CHAR_NODE_END); e += direction) start 296 src/help.c help_follow_link (const char *start, const char *lc_selected_item) start 301 src/help.c return start; start 307 src/usermenu.c debug_out (char *start, char *end, gboolean condition) start 311 src/usermenu.c if (start == NULL && end == NULL) start 347 src/usermenu.c p = g_strdup_printf ("%s %s %c \n", msg ? msg : "", type, *start); start 349 src/usermenu.c p = g_strdup_printf ("%s %s %.*s \n", msg ? msg : "", type, (int) (end - start), start); start 316 src/viewer/internal.h int mcview__get_nroff_real_len (WView * view, off_t start, off_t length); start 94 src/viewer/nroff.c mcview__get_nroff_real_len (WView * view, off_t start, off_t length) start 103 src/viewer/nroff.c nroff = mcview_nroff_seq_new_num (view, start); start 63 tests/lib/widget/hotkey_equal.c { .start = C ("abc"), .hotkey = NULL, .end = NULL }, start 64 tests/lib/widget/hotkey_equal.c { .start = C ("abc"), .hotkey = NULL, .end = NULL }, start 69 tests/lib/widget/hotkey_equal.c { .start = C (""), .hotkey = C (""), .end = C ("") }, start 70 tests/lib/widget/hotkey_equal.c { .start = C (""), .hotkey = C (""), .end = C ("") }, start 75 tests/lib/widget/hotkey_equal.c { .start = C ("abc"), .hotkey = C ("d"), .end = C ("efg") }, start 76 tests/lib/widget/hotkey_equal.c { .start = C ("abc"), .hotkey = C ("d"), .end = C ("efg") }, start 81 tests/lib/widget/hotkey_equal.c { .start = C ("abc"), .hotkey = NULL, .end = C ("efg") }, start 82 tests/lib/widget/hotkey_equal.c { .start = C ("abc"), .hotkey = NULL, .end = C ("efg") }, start 87 tests/lib/widget/hotkey_equal.c { .start = C ("abc"), .hotkey = C ("d"), .end = NULL }, start 88 tests/lib/widget/hotkey_equal.c { .start = C ("abc"), .hotkey = C ("d"), .end = NULL }, start 93 tests/lib/widget/hotkey_equal.c { .start = C ("abc"), .hotkey = C ("d"), .end = C ("efg") }, start 94 tests/lib/widget/hotkey_equal.c { .start = C ("_bc"), .hotkey = C ("d"), .end = C ("efg") }, start 99 tests/lib/widget/hotkey_equal.c { .start = C ("abc"), .hotkey = C ("d"), .end = C ("efg") }, start 100 tests/lib/widget/hotkey_equal.c { .start = C ("abc"), .hotkey = C ("_"), .end = C ("efg") }, start 105 tests/lib/widget/hotkey_equal.c { .start = C ("abc"), .hotkey = C ("d"), .end = C ("efg") }, start 106 tests/lib/widget/hotkey_equal.c { .start = C ("abc"), .hotkey = C ("d"), .end = C ("_fg") }, start 111 tests/lib/widget/hotkey_equal.c { .start = C ("abc"), .hotkey = C ("d"), .end = C ("efg") }, start 112 tests/lib/widget/hotkey_equal.c { .start = C ("adc"), .hotkey = NULL, .end = C ("efg") }, start 117 tests/lib/widget/hotkey_equal.c { .start = C ("abc"), .hotkey = C ("d"), .end = C ("efg") }, start 118 tests/lib/widget/hotkey_equal.c { .start = C ("abc"), .hotkey = C ("d"), .end = NULL }, start 123 tests/lib/widget/hotkey_equal.c { .start = C ("abc"), .hotkey = C ("d"), .end = C ("efg") }, start 124 tests/lib/widget/hotkey_equal.c { .start = C ("abc"), .hotkey = NULL, .end = NULL },