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 585 lib/strutil.h gboolean str_is_char_escaped (const char *start, const char *current); start 250 lib/strutil/strescape.c str_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 461 lib/strutil/strutil.c str_term_substring (const char *text, int start, int width) start 463 lib/strutil/strutil.c return used_class.term_substring (text, start, width); start 477 lib/strutil/strutil8bit.c str_8bit_term_substring (const char *text, int start, int width) start 488 lib/strutil/strutil8bit.c if (start < (int) length) start 492 lib/strutil/strutil8bit.c for (pos = start; pos < length && width > 0 && remain > 1; start 457 lib/strutil/strutilascii.c str_ascii_term_substring (const char *text, int start, int width) start 468 lib/strutil/strutilascii.c if (start < (int) length) start 473 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 834 lib/strutil/strutilutf8.c str_utf8_term_substring (const char *text, int start, int width) start 847 lib/strutil/strutilutf8.c tool.ident = -start; start 1101 lib/strutil/strutilutf8.c const char *start; start 1125 lib/strutil/strutilutf8.c start = text; start 1126 lib/strutil/strutilutf8.c while (!g_utf8_validate (start, -1, &end) && start[0] != '\0') start 1128 lib/strutil/strutilutf8.c if (start != end) start 1130 lib/strutil/strutilutf8.c tmp = g_utf8_normalize (start, end - start, G_NORMALIZE_ALL); start 1135 lib/strutil/strutilutf8.c start = end + 1; start 1138 lib/strutil/strutilutf8.c if (start == text) start 1145 lib/strutil/strutilutf8.c if (start[0] != '\0' && start != end) start 1147 lib/strutil/strutilutf8.c tmp = g_utf8_normalize (start, end - start, G_NORMALIZE_ALL); start 1165 lib/strutil/strutilutf8.c const char *start; start 1170 lib/strutil/strutilutf8.c start = text; start 1171 lib/strutil/strutilutf8.c while (!g_utf8_validate (start, -1, &end) && start[0] != '\0') start 1173 lib/strutil/strutilutf8.c if (start != end) start 1175 lib/strutil/strutilutf8.c fold = g_utf8_casefold (start, end - start); start 1182 lib/strutil/strutilutf8.c start = end + 1; start 1185 lib/strutil/strutilutf8.c if (start == text) start 1194 lib/strutil/strutilutf8.c if (start[0] != '\0' && start != end) start 1196 lib/strutil/strutilutf8.c fold = g_utf8_casefold (start, end - start); start 1378 lib/strutil/strutilutf8.c const char *start, *end; start 1385 lib/strutil/strutilutf8.c start = text; start 1388 lib/strutil/strutilutf8.c start = text + 1; start 1392 lib/strutil/strutilutf8.c while (!g_utf8_validate (start, -1, &end) && start[0] != '\0') start 1394 lib/strutil/strutilutf8.c if (start != end) start 1396 lib/strutil/strutilutf8.c fold = g_utf8_casefold (start, end - start); start 1403 lib/strutil/strutilutf8.c start = end + 1; start 1406 lib/strutil/strutilutf8.c if (start == text) start 1408 lib/strutil/strutilutf8.c fold = g_utf8_casefold (start, -1); start 1413 lib/strutil/strutilutf8.c else if (dot && (start == text + 1)) start 1415 lib/strutil/strutilutf8.c fold = g_utf8_casefold (start, -1); start 1424 lib/strutil/strutilutf8.c if (start[0] != '\0' && start != end) start 1426 lib/strutil/strutilutf8.c fold = g_utf8_casefold (start, end - start); start 68 lib/strutil/tokenize.c str_tokenize_word (const char *string, int start) start 70 lib/strutil/tokenize.c int i = start; start 222 lib/strutil/tokenize.c int start; start 231 lib/strutil/tokenize.c start = i; start 232 lib/strutil/tokenize.c i = str_tokenize_word (string, start); start 238 lib/strutil/tokenize.c if (i == start) start 245 lib/strutil/tokenize.c g_ptr_array_add (result, g_strndup (string + start, i - start)); start 705 lib/tty/tty-ncurses.c int start = 0; start 720 lib/tty/tty-ncurses.c start = -mc_curs_col; start 729 lib/tty/tty-ncurses.c addstr (str_term_substring (s, start, len)); start 1313 lib/utilunix.c const char *start; start 1320 lib/utilunix.c start = IS_PATH_SEP (tmp_element[0]) ? tmp_element + 1 : tmp_element; start 1322 lib/utilunix.c g_string_append (path, start); start 1545 lib/vfs/direntry.c char *start; start 1550 lib/vfs/direntry.c start = (char *) sub + sizeof (struct vfs_class); start 1551 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 98 lib/widget/input_complete.c static int start = 0; start 952 lib/widget/input_complete.c new_size = size + start - end; start 977 lib/widget/input_complete.c g_string_overwrite_len (in->buffer, start, text, size); start 1037 lib/widget/input_complete.c if (strncmp (input->buffer->str + start, le->text, new_end - start) == 0) start 1091 lib/widget/input_complete.c if (strncmp (input->buffer->str + start, le->text, end - start) == 0 start 1092 lib/widget/input_complete.c && strncmp (le->text + end - start, buff, bl) == 0) start 1107 lib/widget/input_complete.c for (si = le->text + start; si < le->text + end; start 1110 lib/widget/input_complete.c for (sl = last_text + start; sl < last_text + end; start 1230 lib/widget/input_complete.c x = start - in->term_first_shown - 2 + start_x; start 1401 lib/widget/input_complete.c start = s - in->buffer->str; start 1406 lib/widget/input_complete.c if (start < end) start 1409 lib/widget/input_complete.c start = s - in->buffer->str; start 1412 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 1219 src/diffviewer/ydiff.c int start, end; start 1222 src/diffviewer/ydiff.c start = (*b)[ord].off; start 1223 src/diffviewer/ydiff.c end = start + (*b)[ord].len; start 1224 src/diffviewer/ydiff.c if (k >= start && k < end) start 192 src/editor/edit-impl.h gboolean edit_save_block (WEdit * edit, const char *filename, off_t start, off_t finish); start 540 src/editor/edit.c char *start = (char *) edit + sizeof (Widget); start 541 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, gsize *cut) start 423 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 575 src/editor/editcmd.c edit_get_block (WEdit *edit, off_t start, off_t finish, off_t *l) start 579 src/editor/editcmd.c r = s = g_malloc0 (finish - start + 1); start 586 src/editor/editcmd.c for (; start < finish; start++) start 591 src/editor/editcmd.c x = edit_buffer_get_bol (&edit->buffer, start); start 592 src/editor/editcmd.c x = edit_move_forward3 (edit, x, 0, start); start 593 src/editor/editcmd.c c = edit_buffer_get_byte (&edit->buffer, start); start 604 src/editor/editcmd.c *l = finish - start; start 606 src/editor/editcmd.c for (; start < finish; start++) start 607 src/editor/editcmd.c *s++ = edit_buffer_get_byte (&edit->buffer, start); start 619 src/editor/editcmd.c edit_save_block_to_clip_file (WEdit *edit, off_t start, off_t finish) start 625 src/editor/editcmd.c ret = edit_save_block (edit, tmp, start, finish); start 1525 src/editor/editcmd.c edit_save_block (WEdit *edit, const char *filename, off_t start, off_t finish) start 1547 src/editor/editcmd.c p = block = edit_get_block (edit, start, finish, &len); start 1562 src/editor/editcmd.c off_t i = start; start 1564 src/editor/editcmd.c len = finish - start; start 1566 src/editor/editcmd.c while (start != finish) start 1570 src/editor/editcmd.c end = MIN (finish, start + TEMP_BUF_LEN); start 1572 src/editor/editcmd.c buf[i - start] = edit_buffer_get_byte (&edit->buffer, i); start 1573 src/editor/editcmd.c len -= mc_write (file, (char *) buf, end - start); start 1574 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 223 src/filemanager/achown.c set_perm_by_flags (b_att[0]->text.start, 0); start 224 src/filemanager/achown.c set_perm_by_flags (b_att[1]->text.start, 3); start 225 src/filemanager/achown.c set_perm_by_flags (b_att[2]->text.start, 6); start 405 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 1663 src/filemanager/filemanager.c size_t len, start; start 1676 src/filemanager/filemanager.c start = ((size_t) rand ()) % (len - 1); start 1679 src/filemanager/filemanager.c for (; start != 0; start--) start 1680 src/filemanager/filemanager.c if (data[start] == '\n' && data[start + 1] == '\n') start 1682 src/filemanager/filemanager.c start += 2; start 1687 src/filemanager/filemanager.c for (eop = data + start; *eop != '\0'; eop++) start 1702 src/filemanager/filemanager.c result = g_strndup (data + start, len - start); start 1708 src/filemanager/filemanager.c buffer = g_string_sized_new (len - start); start 1709 src/filemanager/filemanager.c nok = (str_convert (conv, data + start, buffer) == ESTR_FAILURE); start 113 src/filemanager/find.c gsize start; start 391 src/filemanager/find.c get_list_info (char **file, char **dir, gsize *start, gsize *end) start 400 src/filemanager/find.c if (start != NULL) start 401 src/filemanager/find.c *start = location->start; start 927 src/filemanager/find.c insert_file (const char *dir, const char *file, gsize start, gsize end) start 954 src/filemanager/find.c location->start = start; start 962 src/filemanager/find.c find_add_match (const char *dir, const char *file, gsize start, gsize end) start 964 src/filemanager/find.c insert_file (dir, file, start, end); start 1493 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 334 src/usermenu.c debug_out (char *start, char *end, gboolean condition) start 338 src/usermenu.c if (start == NULL && end == NULL) start 374 src/usermenu.c p = g_strdup_printf ("%s %s %c \n", msg ? msg : "", type, *start); start 376 src/usermenu.c p = g_strdup_printf ("%s %s %.*s \n", msg ? msg : "", type, (int) (end - start), start); start 160 src/vfs/tar/tar-internal.c off_t start, offset; start 177 src/vfs/tar/tar-internal.c start = tar_current_block_ordinal (archive); start 194 src/vfs/tar/tar-internal.c nblk = offset - start; start 549 src/vfs/tar/tar-sparse.c off_t start; start 551 src/vfs/tar/tar-sparse.c start = tar_current_block_ordinal (archive); start 599 src/vfs/tar/tar-sparse.c file->dumped_size += BLOCKSIZE * (tar_current_block_ordinal (archive) - start); start 583 src/vfs/tar/tar-xheader.c char *start = *ptr; start 584 src/vfs/tar/tar-xheader.c char *p = start; start 592 src/vfs/tar/tar-xheader.c len_max = xhdr->buffer + xhdr->size - start; start 606 src/vfs/tar/tar-xheader.c nextp = start + len; start 319 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 },