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 250 lib/strutil/strescape.c strutils_is_char_escaped (const char *start, const char *current) start 254 lib/strutil/strescape.c if (start == NULL || current == NULL || current <= start) start 258 lib/strutil/strescape.c while (current >= start && *current == '\\') start 470 lib/strutil/strutil.c str_term_substring (const char *text, int start, int width) start 472 lib/strutil/strutil.c return used_class.term_substring (text, start, width); start 469 lib/strutil/strutil8bit.c str_8bit_term_substring (const char *text, int start, int width) start 480 lib/strutil/strutil8bit.c if (start < (int) length) start 484 lib/strutil/strutil8bit.c for (pos = start; pos < length && width > 0 && remain > 1; start 449 lib/strutil/strutilascii.c str_ascii_term_substring (const char *text, int start, int width) start 460 lib/strutil/strutilascii.c if (start < (int) length) start 465 lib/strutil/strutilascii.c for (pos = start; pos < length && width > 0 && remain > 1; start 329 lib/strutil/strutilutf8.c const char *start; start 332 lib/strutil/strutilutf8.c start = text; start 333 lib/strutil/strutilutf8.c while (!g_utf8_validate (start, -1, &end) && start[0] != '\0') start 335 lib/strutil/strutilutf8.c if (start != end) start 336 lib/strutil/strutilutf8.c result += g_utf8_strlen (start, end - start); start 339 lib/strutil/strutilutf8.c start = end + 1; start 342 lib/strutil/strutilutf8.c if (start == text) start 344 lib/strutil/strutilutf8.c else if (start[0] != '\0' && start != end) start 345 lib/strutil/strutilutf8.c result += g_utf8_strlen (start, end - start); start 356 lib/strutil/strutilutf8.c const char *start; start 359 lib/strutil/strutilutf8.c start = text; start 360 lib/strutil/strutilutf8.c while (!g_utf8_validate (start, -1, &end) && start[0] != '\0' && size > 0) start 362 lib/strutil/strutilutf8.c if (start != end) start 364 lib/strutil/strutilutf8.c result += g_utf8_strlen (start, MIN (end - start, size)); start 365 lib/strutil/strutilutf8.c size -= end - start; start 369 lib/strutil/strutilutf8.c start = end + 1; start 372 lib/strutil/strutilutf8.c if (start == text) start 374 lib/strutil/strutilutf8.c else if (start[0] != '\0' && start != end && size > 0) start 375 lib/strutil/strutilutf8.c result += g_utf8_strlen (start, MIN (end - start, size)); start 831 lib/strutil/strutilutf8.c str_utf8_term_substring (const char *text, int start, int width) start 844 lib/strutil/strutilutf8.c tool.ident = -start; start 1082 lib/strutil/strutilutf8.c const char *start; start 1106 lib/strutil/strutilutf8.c start = text; start 1107 lib/strutil/strutilutf8.c while (!g_utf8_validate (start, -1, &end) && start[0] != '\0') start 1109 lib/strutil/strutilutf8.c if (start != end) start 1111 lib/strutil/strutilutf8.c tmp = g_utf8_normalize (start, end - start, G_NORMALIZE_ALL); start 1116 lib/strutil/strutilutf8.c start = end + 1; start 1119 lib/strutil/strutilutf8.c if (start == text) start 1126 lib/strutil/strutilutf8.c if (start[0] != '\0' && start != end) start 1128 lib/strutil/strutilutf8.c tmp = g_utf8_normalize (start, end - start, G_NORMALIZE_ALL); start 1146 lib/strutil/strutilutf8.c const char *start; start 1151 lib/strutil/strutilutf8.c start = text; start 1152 lib/strutil/strutilutf8.c while (!g_utf8_validate (start, -1, &end) && start[0] != '\0') start 1154 lib/strutil/strutilutf8.c if (start != end) start 1156 lib/strutil/strutilutf8.c fold = g_utf8_casefold (start, end - start); start 1163 lib/strutil/strutilutf8.c start = end + 1; start 1166 lib/strutil/strutilutf8.c if (start == text) start 1175 lib/strutil/strutilutf8.c if (start[0] != '\0' && start != end) start 1177 lib/strutil/strutilutf8.c fold = g_utf8_casefold (start, end - start); start 1359 lib/strutil/strutilutf8.c const char *start, *end; start 1366 lib/strutil/strutilutf8.c start = text; start 1369 lib/strutil/strutilutf8.c start = text + 1; start 1373 lib/strutil/strutilutf8.c while (!g_utf8_validate (start, -1, &end) && start[0] != '\0') start 1375 lib/strutil/strutilutf8.c if (start != end) start 1377 lib/strutil/strutilutf8.c fold = g_utf8_casefold (start, end - start); start 1384 lib/strutil/strutilutf8.c start = end + 1; start 1387 lib/strutil/strutilutf8.c if (start == text) start 1389 lib/strutil/strutilutf8.c fold = g_utf8_casefold (start, -1); start 1394 lib/strutil/strutilutf8.c else if (dot && (start == text + 1)) start 1396 lib/strutil/strutilutf8.c fold = g_utf8_casefold (start, -1); start 1405 lib/strutil/strutilutf8.c if (start[0] != '\0' && start != end) start 1407 lib/strutil/strutilutf8.c fold = g_utf8_casefold (start, end - start); start 704 lib/tty/tty-ncurses.c int start = 0; start 719 lib/tty/tty-ncurses.c start = -mc_curs_col; start 728 lib/tty/tty-ncurses.c addstr (str_term_substring (s, start, len)); start 1244 lib/utilunix.c const char *start; start 1252 lib/utilunix.c start = IS_PATH_SEP (tmp_element[0]) ? tmp_element + 1 : tmp_element; start 1254 lib/utilunix.c g_string_append (path, start); start 1553 lib/vfs/direntry.c char *start; start 1558 lib/vfs/direntry.c start = (char *) sub + sizeof (struct vfs_class); start 1559 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 174 lib/widget/check.c if (check->text.start[0] == '\0' && check->text.hotkey == NULL && check->text.end == NULL) start 264 lib/widget/input.c move_buffer_backward (WInput * in, int start, int end) start 269 lib/widget/input.c if (start >= str_len || end > str_len + 1) start 272 lib/widget/input.c start = str_offset_to_pos (in->buffer->str, start); start 274 lib/widget/input.c g_string_erase (in->buffer, start, end - start); start 376 lib/widget/input.c int start; start 382 lib/widget/input.c start = in->point - str_cprev_noncomb_char (&act, in->buffer->str); start 383 lib/widget/input.c move_buffer_backward (in, start, in->point); start 386 lib/widget/input.c in->point = start; start 392 lib/widget/input.c copy_region (WInput * in, int start, int end) start 394 lib/widget/input.c int first = MIN (start, end); start 395 lib/widget/input.c int last = MAX (start, end); start 421 lib/widget/input.c delete_region (WInput * in, int start, int end) start 423 lib/widget/input.c int first = MIN (start, end); start 424 lib/widget/input.c int last = MAX (start, end); start 103 lib/widget/input_complete.c static int start = 0; start 993 lib/widget/input_complete.c new_size = size + start - end; start 1018 lib/widget/input_complete.c g_string_overwrite_len (in->buffer, start, text, size); start 1078 lib/widget/input_complete.c if (strncmp (input->buffer->str + start, le->text, new_end - start) == 0) start 1132 lib/widget/input_complete.c if (strncmp (input->buffer->str + start, le->text, end - start) == 0 start 1133 lib/widget/input_complete.c && strncmp (le->text + end - start, buff, bl) == 0) start 1148 lib/widget/input_complete.c for (si = le->text + start; si < le->text + end; start 1151 lib/widget/input_complete.c for (sl = last_text + start; sl < last_text + end; start 1266 lib/widget/input_complete.c x = start - in->term_first_shown - 2 + start_x; start 1433 lib/widget/input_complete.c start = s - in->buffer->str; start 1438 lib/widget/input_complete.c if (start < end) start 1441 lib/widget/input_complete.c start = s - in->buffer->str; start 1444 lib/widget/input_complete.c in->completions = try_complete (in->buffer->str, &start, &end, in->completion_flags); start 156 lib/widget/menu.c tty_print_string (entry->text.start); start 240 lib/widget/menu.c tty_print_string (menu->text.start); start 207 lib/widget/widget-common.c result.start = g_strndup (text, cp - text); start 219 lib/widget/widget-common.c result.start = g_strdup (text); start 232 lib/widget/widget-common.c g_free (hotkey.start); start 244 lib/widget/widget-common.c result = str_term_width1 (hotkey.start); start 256 lib/widget/widget-common.c return (strcmp (hotkey1.start, hotkey2.start) == 0) && start 267 lib/widget/widget-common.c if (hotkey.start[0] != '\0') start 270 lib/widget/widget-common.c tty_print_string (hotkey.start); start 293 lib/widget/widget-common.c text = g_string_new (hotkey.start); start 183 lib/widget/widget-common.h char *start; /* never NULL */ start 593 lib/widget/wtools.c gint64 start; start 598 lib/widget/wtools.c start = g_get_monotonic_time (); start 602 lib/widget/wtools.c sm->start = start; start 613 lib/widget/wtools.c if (mc_time_elapsed (&start, sm->delay)) start 668 lib/widget/wtools.c gint64 start = sm->start; start 670 lib/widget/wtools.c if (mc_time_elapsed (&start, sm->delay)) start 43 lib/widget/wtools.h gint64 start; /* start time in microseconds */ start 1221 src/diffviewer/ydiff.c int start, end; start 1224 src/diffviewer/ydiff.c start = (*b)[ord].off; start 1225 src/diffviewer/ydiff.c end = start + (*b)[ord].len; start 1226 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 541 src/editor/edit.c char *start = (char *) edit + sizeof (Widget); start 542 src/editor/edit.c memset (start, 0, len); start 397 src/editor/editbuffer.c edit_buffer_get_word_from_pos (const edit_buffer_t * buf, off_t start_pos, off_t * start, start 424 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 573 src/editor/editcmd.c edit_get_block (WEdit * edit, off_t start, off_t finish, off_t * l) start 577 src/editor/editcmd.c r = s = g_malloc0 (finish - start + 1); start 584 src/editor/editcmd.c for (; start < finish; start++) start 589 src/editor/editcmd.c x = edit_buffer_get_bol (&edit->buffer, start); start 590 src/editor/editcmd.c x = edit_move_forward3 (edit, x, 0, start); start 591 src/editor/editcmd.c c = edit_buffer_get_byte (&edit->buffer, start); start 602 src/editor/editcmd.c *l = finish - start; start 604 src/editor/editcmd.c for (; start < finish; start++) start 605 src/editor/editcmd.c *s++ = edit_buffer_get_byte (&edit->buffer, start); start 617 src/editor/editcmd.c edit_save_block_to_clip_file (WEdit * edit, off_t start, off_t finish) start 623 src/editor/editcmd.c ret = edit_save_block (edit, tmp, start, finish); start 1513 src/editor/editcmd.c edit_save_block (WEdit * edit, const char *filename, off_t start, off_t finish) start 1535 src/editor/editcmd.c p = block = edit_get_block (edit, start, finish, &len); start 1550 src/editor/editcmd.c off_t i = start; start 1552 src/editor/editcmd.c len = finish - start; start 1554 src/editor/editcmd.c while (start != finish) start 1558 src/editor/editcmd.c end = MIN (finish, start + TEMP_BUF_LEN); start 1560 src/editor/editcmd.c buf[i - start] = edit_buffer_get_byte (&edit->buffer, i); start 1561 src/editor/editcmd.c len -= mc_write (file, (char *) buf, end - start); start 1562 src/editor/editcmd.c start = end; start 115 src/editor/editcomplete.c off_t start = -1; start 117 src/editor/editcomplete.c while (mc_search_run (srch, (void *) esm, start + 1, last_byte, &len)) start 127 src/editor/editcomplete.c start = srch->normal_offset; start 134 src/editor/editcomplete.c ch = edit_buffer_get_byte (&esm->edit->buffer, start + i); start 139 src/editor/editcomplete.c if (start + (off_t) i == word_start) start 202 src/editor/editcomplete.c start += len; start 205 src/editor/etags.c } state = start; start 224 src/editor/etags.c case start: start 224 src/filemanager/achown.c set_perm_by_flags (b_att[0]->text.start, 0); start 225 src/filemanager/achown.c set_perm_by_flags (b_att[1]->text.start, 3); start 226 src/filemanager/achown.c set_perm_by_flags (b_att[2]->text.start, 6); start 406 src/filemanager/achown.c if (b->text.start[flag_pos % 3] == '-') start 129 src/filemanager/dir.c clean_sort_keys (dir_list * list, int start, int count) start 137 src/filemanager/dir.c fentry = &list->list[i + start]; start 1658 src/filemanager/filemanager.c size_t len, start; start 1671 src/filemanager/filemanager.c start = ((size_t) rand ()) % (len - 1); start 1674 src/filemanager/filemanager.c for (; start != 0; start--) start 1675 src/filemanager/filemanager.c if (data[start] == '\n' && data[start + 1] == '\n') start 1677 src/filemanager/filemanager.c start += 2; start 1682 src/filemanager/filemanager.c for (eop = data + start; *eop != '\0'; eop++) start 1697 src/filemanager/filemanager.c result = g_strndup (data + start, len - start); start 1703 src/filemanager/filemanager.c buffer = g_string_sized_new (len - start); start 1704 src/filemanager/filemanager.c nok = (str_convert (conv, data + start, buffer) == ESTR_FAILURE); start 113 src/filemanager/find.c gsize start; start 383 src/filemanager/find.c get_list_info (char **file, char **dir, gsize * start, gsize * end) start 392 src/filemanager/find.c if (start != NULL) start 393 src/filemanager/find.c *start = location->start; start 919 src/filemanager/find.c insert_file (const char *dir, const char *file, gsize start, gsize end) start 946 src/filemanager/find.c location->start = start; start 955 src/filemanager/find.c find_add_match (const char *dir, const char *file, gsize start, gsize end) start 957 src/filemanager/find.c insert_file (dir, file, start, end); start 1490 src/filemanager/find.c find_do_view_edit (unparsed_view, edit, location->dir, text, location->start, location->end); start 126 src/help.c search_string (const char *start, const char *text) start 131 src/help.c const char *e = start; start 166 src/help.c search_string_node (const char *start, const char *text) start 168 src/help.c if (start != NULL) start 173 src/help.c for (e = start; *e != '\0' && *e != CHAR_NODE_END; e++) start 193 src/help.c search_char_node (const char *start, char the_char, int direction) start 197 src/help.c for (e = start; (*e != '\0') && (*e != CHAR_NODE_END); e += direction) start 298 src/help.c help_follow_link (const char *start, const char *lc_selected_item) start 303 src/help.c return start; start 320 src/usermenu.c debug_out (char *start, char *end, gboolean condition) start 324 src/usermenu.c if (start == NULL && end == NULL) start 360 src/usermenu.c p = g_strdup_printf ("%s %s %c \n", msg ? msg : "", type, *start); start 362 src/usermenu.c p = g_strdup_printf ("%s %s %.*s \n", msg ? msg : "", type, (int) (end - start), start); start 143 src/vfs/tar/tar-internal.c off_t start, offset; start 156 src/vfs/tar/tar-internal.c start = tar_current_block_ordinal (archive); start 173 src/vfs/tar/tar-internal.c nblk = offset - start; start 673 src/vfs/tar/tar-sparse.c off_t start; start 675 src/vfs/tar/tar-sparse.c start = tar_current_block_ordinal (archive); start 722 src/vfs/tar/tar-sparse.c file->dumped_size += BLOCKSIZE * (tar_current_block_ordinal (archive) - start); start 671 src/vfs/tar/tar-xheader.c char *start = *ptr; start 672 src/vfs/tar/tar-xheader.c char *p = start; start 680 src/vfs/tar/tar-xheader.c len_max = xhdr->buffer + xhdr->size - start; start 692 src/vfs/tar/tar-xheader.c nextp = start + len; start 317 src/viewer/internal.h int mcview__get_nroff_real_len (WView * view, off_t start, off_t length); start 95 src/viewer/nroff.c mcview__get_nroff_real_len (WView * view, off_t start, off_t length) start 104 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 },