buffer 93 lib/mcconfig/get.c GString *buffer; buffer 106 lib/mcconfig/get.c buffer = g_string_new (""); buffer 107 lib/mcconfig/get.c conv_res = str_convert (conv, ret, buffer); buffer 112 lib/mcconfig/get.c g_string_free (buffer, TRUE); buffer 118 lib/mcconfig/get.c return g_string_free (buffer, FALSE); buffer 135 lib/mcconfig/history.c GString *buffer; buffer 149 lib/mcconfig/history.c buffer = g_string_sized_new (64); buffer 166 lib/mcconfig/history.c g_string_set_size (buffer, 0); buffer 167 lib/mcconfig/history.c if (str_convert (conv, this_entry, buffer) == ESTR_FAILURE) buffer 171 lib/mcconfig/history.c hist = list_append_unique (hist, g_strndup (buffer->str, buffer->len)); buffer 177 lib/mcconfig/history.c g_string_free (buffer, TRUE); buffer 194 lib/mcconfig/history.c GString *buffer; buffer 214 lib/mcconfig/history.c buffer = g_string_sized_new (64); buffer 232 lib/mcconfig/history.c g_string_set_size (buffer, 0); buffer 233 lib/mcconfig/history.c if (str_convert (conv, text, buffer) == ESTR_FAILURE) buffer 236 lib/mcconfig/history.c mc_config_set_string_raw (cfg, name, key, buffer->str); buffer 240 lib/mcconfig/history.c g_string_free (buffer, TRUE); buffer 48 lib/mcconfig/set.c GString *buffer; buffer 58 lib/mcconfig/set.c buffer = g_string_new (""); buffer 60 lib/mcconfig/set.c ok = (str_convert (conv, value, buffer) != ESTR_FAILURE); buffer 65 lib/mcconfig/set.c g_string_free (buffer, TRUE); buffer 69 lib/mcconfig/set.c return g_string_free (buffer, FALSE); buffer 102 lib/mcconfig/set.c gchar *buffer; buffer 104 lib/mcconfig/set.c buffer = mc_config_normalize_before_save (value); buffer 105 lib/mcconfig/set.c g_key_file_set_string (mc_config->handle, group, param, buffer); buffer 106 lib/mcconfig/set.c g_free (buffer); buffer 237 lib/search/search.c GString *buffer; buffer 239 lib/search/search.c buffer = buffer 243 lib/search/search.c g_ptr_array_add (ret, mc_search__cond_struct_new (lc_mc_search, buffer, id)); buffer 244 lib/search/search.c g_string_free (buffer, TRUE); buffer 152 lib/serialize.c char buffer[BUF_TINY]; buffer 169 lib/serialize.c strncpy (buffer, data + 1, semi_offset); buffer 170 lib/serialize.c buffer[semi_offset] = '\0'; buffer 171 lib/serialize.c data_len = atol (buffer); buffer 202 lib/serialize.c GString *buffer; buffer 204 lib/serialize.c buffer = g_string_new (""); buffer 215 lib/serialize.c g_string_free (buffer, TRUE); buffer 219 lib/serialize.c g_string_append (buffer, serialized_str); buffer 231 lib/serialize.c g_string_free (buffer, TRUE); buffer 236 lib/serialize.c g_string_append (buffer, serialized_str); buffer 245 lib/serialize.c g_string_free (buffer, TRUE); buffer 251 lib/serialize.c g_string_append (buffer, serialized_str); buffer 260 lib/serialize.c return g_string_free (buffer, FALSE); buffer 108 lib/strutil.h /*I*/ estr_t (*vfs_convert_to) (GIConv coder, const char *string, int size, GString * buffer); buffer 109 lib/strutil.h /*I*/ void (*insert_replace_char) (GString * buffer); buffer 194 lib/strutil.h estr_t str_convert (GIConv coder, const char *string, GString * buffer); buffer 195 lib/strutil.h estr_t str_nconvert (GIConv coder, const char *string, int size, GString * buffer); buffer 209 lib/strutil.h estr_t str_vfs_convert_from (GIConv coder, const char *string, GString * buffer); buffer 215 lib/strutil.h estr_t str_vfs_convert_to (GIConv coder, const char *string, int size, GString * buffer); buffer 220 lib/strutil.h void str_printf (GString * buffer, const char *format, ...) G_GNUC_PRINTF (2, 3); buffer 225 lib/strutil.h void str_insert_replace_char (GString * buffer); buffer 102 lib/strutil/strutil.c _str_convert (GIConv coder, const char *string, int size, GString *buffer) buffer 114 lib/strutil/strutil.c if (string == NULL || buffer == NULL) buffer 154 lib/strutil/strutil.c mc_g_string_append_c_len (buffer, '?', strlen (string)); buffer 166 lib/strutil/strutil.c g_string_append (buffer, tmp_buff); buffer 176 lib/strutil/strutil.c g_string_append_c (buffer, *(string - 1)); buffer 182 lib/strutil/strutil.c g_string_append (buffer, tmp_buff); buffer 185 lib/strutil/strutil.c mc_g_string_append_c_len (buffer, '?', left - bytes_read); buffer 198 lib/strutil/strutil.c g_string_append (buffer, string); buffer 204 lib/strutil/strutil.c g_string_append (buffer, string); buffer 209 lib/strutil/strutil.c g_string_append (buffer, tmp_buff); buffer 282 lib/strutil/strutil.c str_convert (GIConv coder, const char *string, GString *buffer) buffer 284 lib/strutil/strutil.c return _str_convert (coder, string, -1, buffer); buffer 290 lib/strutil/strutil.c str_nconvert (GIConv coder, const char *string, int size, GString *buffer) buffer 292 lib/strutil/strutil.c return _str_convert (coder, string, size, buffer); buffer 306 lib/strutil/strutil.c str_vfs_convert_from (GIConv coder, const char *string, GString *buffer) buffer 311 lib/strutil/strutil.c g_string_append (buffer, string != NULL ? string : ""); buffer 313 lib/strutil/strutil.c result = _str_convert (coder, string, -1, buffer); buffer 321 lib/strutil/strutil.c str_vfs_convert_to (GIConv coder, const char *string, int size, GString *buffer) buffer 323 lib/strutil/strutil.c return used_class.vfs_convert_to (coder, string, size, buffer); buffer 329 lib/strutil/strutil.c str_printf (GString *buffer, const char *format, ...) buffer 334 lib/strutil/strutil.c g_string_append_vprintf (buffer, format, ap); buffer 341 lib/strutil/strutil.c str_insert_replace_char (GString *buffer) buffer 343 lib/strutil/strutil.c used_class.insert_replace_char (buffer); buffer 82 lib/strutil/strutil8bit.c str_8bit_insert_replace_char (GString *buffer) buffer 84 lib/strutil/strutil8bit.c g_string_append_c (buffer, replch); buffer 279 lib/strutil/strutil8bit.c str_8bit_vfs_convert_to (GIConv coder, const char *string, int size, GString *buffer) buffer 284 lib/strutil/strutil8bit.c g_string_append_len (buffer, string, size); buffer 286 lib/strutil/strutil8bit.c result = str_nconvert (coder, string, size, buffer); buffer 55 lib/strutil/strutilascii.c str_ascii_insert_replace_char (GString *buffer) buffer 57 lib/strutil/strutilascii.c g_string_append_c (buffer, replch); buffer 231 lib/strutil/strutilascii.c str_ascii_vfs_convert_to (GIConv coder, const char *string, int size, GString *buffer) buffer 234 lib/strutil/strutilascii.c g_string_append_len (buffer, string, size); buffer 83 lib/strutil/strutilutf8.c str_utf8_insert_replace_char (GString *buffer) buffer 85 lib/strutil/strutilutf8.c g_string_append (buffer, replch); buffer 401 lib/strutil/strutilutf8.c str_utf8_questmark_sustb (char **string, size_t *left, GString *buffer) buffer 408 lib/strutil/strutilutf8.c g_string_append_c (buffer, '?'); buffer 426 lib/strutil/strutilutf8.c str_utf8_vfs_convert_to (GIConv coder, const char *string, int size, GString *buffer) buffer 431 lib/strutil/strutilutf8.c g_string_append_len (buffer, string, size); buffer 433 lib/strutil/strutilutf8.c result = str_nconvert (coder, string, size, buffer); buffer 672 lib/strutil/strutilutf8.c utf8_tool_compose (char *buffer, size_t size) buffer 676 lib/strutil/strutilutf8.c composed = g_utf8_normalize (buffer, -1, G_NORMALIZE_DEFAULT_COMPOSE); buffer 677 lib/strutil/strutilutf8.c g_strlcpy (buffer, composed, size); buffer 907 lib/strutil/strutilutf8.c char *buffer; buffer 909 lib/strutil/strutilutf8.c buffer = g_strdup (text); buffer 910 lib/strutil/strutilutf8.c str_utf8_fix_string (buffer); buffer 911 lib/strutil/strutilutf8.c result = g_utf8_offset_to_pointer (buffer, length) - buffer; buffer 912 lib/strutil/strutilutf8.c g_free (buffer); buffer 21 lib/timefmt.h #define FMT_LOCALTIME(buffer, bufsize, fmt, when) \ buffer 27 lib/timefmt.h strncpy(buffer, INVALID_TIME_TEXT, bufsize); \ buffer 28 lib/timefmt.h buffer[bufsize-1] = 0; \ buffer 32 lib/timefmt.h strftime(buffer, bufsize, fmt, whentm); \ buffer 36 lib/timefmt.h #define FMT_LOCALTIME_CURRENT(buffer, bufsize, fmt) \ buffer 40 lib/timefmt.h FMT_LOCALTIME(buffer,bufsize,fmt,__current_time); \ buffer 1176 lib/tty/key.c learn_store_key (GString *buffer, int c) buffer 1179 lib/tty/key.c g_string_append (buffer, "\\e"); buffer 1182 lib/tty/key.c g_string_append_c (buffer, '^'); buffer 1183 lib/tty/key.c g_string_append_c (buffer, c + 'a' - 1); buffer 1186 lib/tty/key.c g_string_append (buffer, "^^"); buffer 1188 lib/tty/key.c g_string_append_c (buffer, (char) c); buffer 2157 lib/tty/key.c GString *buffer; buffer 2159 lib/tty/key.c buffer = g_string_sized_new (16); buffer 2165 lib/tty/key.c learn_store_key (buffer, c); buffer 2189 lib/tty/key.c learn_store_key (buffer, c); buffer 2194 lib/tty/key.c return g_string_free (buffer, buffer->len == 0); buffer 298 lib/tty/tty.c GString *buffer; buffer 308 lib/tty/tty.c buffer = g_string_new (""); buffer 310 lib/tty/tty.c if (str_convert (conv, str, buffer) == ESTR_FAILURE) buffer 312 lib/tty/tty.c g_string_free (buffer, TRUE); buffer 318 lib/tty/tty.c return g_string_free (buffer, FALSE); buffer 419 lib/util.c size_trunc_len (char *buffer, unsigned int len, uintmax_t size, int units, gboolean use_si) buffer 500 lib/util.c g_snprintf (buffer, len + 1, "%s", "0"); buffer 505 lib/util.c g_snprintf (buffer, len + 1, (len > 1) ? "~%s" : "%s", (j > 1) ? sfx[j - 1] : "B"); buffer 512 lib/util.c g_snprintf (buffer, len + 1, "%" PRIuMAX "%s", size, sfx[j]); buffer 695 lib/util.c static char buffer[BUF_LARGE]; buffer 699 lib/util.c g_snprintf (buffer, sizeof (buffer), "%s (%d)", strerror_currentlocale, error_num); buffer 702 lib/util.c return buffer; buffer 171 lib/util.h void size_trunc_len (char *buffer, unsigned int len, uintmax_t size, int units, gboolean use_si); buffer 559 lib/vfs/direntry.c vfs_s_read (void *fh, char *buffer, size_t count) buffer 572 lib/vfs/direntry.c return VFS_SUBCLASS (me)->linear_read (me, file, buffer, count); buffer 578 lib/vfs/direntry.c n = read (file->handle, buffer, count); buffer 590 lib/vfs/direntry.c vfs_s_write (void *fh, const char *buffer, size_t count) buffer 603 lib/vfs/direntry.c n = write (file->handle, buffer, count); buffer 1428 lib/vfs/direntry.c char buffer[BUF_8K]; buffer 1456 lib/vfs/direntry.c while ((n = s->linear_read (me, fh, buffer, sizeof (buffer))) != 0) buffer 1469 lib/vfs/direntry.c t = write (handle, buffer, n); buffer 1663 lib/vfs/direntry.c vfs_s_get_line_interruptible (struct vfs_class *me, char *buffer, int size, int fd) buffer 1676 lib/vfs/direntry.c n = read (fd, &buffer[i], 1); buffer 1679 lib/vfs/direntry.c buffer[i] = '\0'; buffer 1685 lib/vfs/direntry.c buffer[i] = '\0'; buffer 1688 lib/vfs/direntry.c if (buffer[i] == '\n') buffer 1690 lib/vfs/direntry.c buffer[i] = '\0'; buffer 1696 lib/vfs/direntry.c buffer[size - 1] = '\0'; buffer 88 lib/vfs/interface.c char buffer[BUF_1K * 8]; buffer 99 lib/vfs/interface.c while ((i = mc_read (fdin, buffer, sizeof (buffer))) > 0) buffer 101 lib/vfs/interface.c if (write (fdout, buffer, i) != i) buffer 143 lib/vfs/interface.c char buffer[BUF_1K * 8]; buffer 155 lib/vfs/interface.c while ((i = read (fdin, buffer, sizeof (buffer))) > 0) buffer 156 lib/vfs/interface.c if (mc_write (fdout, buffer, (size_t) i) != i) buffer 776 lib/vfs/interface.c static char buffer[PATH_MAX]; buffer 800 lib/vfs/interface.c g_strlcpy (buffer, template, sizeof (buffer)); buffer 803 lib/vfs/interface.c tmpdir = g_mkdtemp (buffer); buffer 809 lib/vfs/interface.c "Temporary files will not be created\n"), buffer, buffer 811 lib/vfs/interface.c g_snprintf (buffer, sizeof (buffer), "%s", "/dev/null/"); buffer 579 lib/vfs/path.c g_string_append (buffer, stripped_home_str); \ buffer 585 lib/vfs/path.c && (buffer->len == 0 || !IS_PATH_SEP (buffer->str[buffer->len - 1]))) \ buffer 586 lib/vfs/path.c g_string_append_c (buffer, PATH_SEP); \ buffer 587 lib/vfs/path.c g_string_append (buffer, appendfrom); \ buffer 605 lib/vfs/path.c GString *buffer; buffer 619 lib/vfs/path.c buffer = g_string_new (""); buffer 631 lib/vfs/path.c if (!is_relative && (buffer->len == 0 || !IS_PATH_SEP (buffer->str[buffer->len - 1]))) buffer 632 lib/vfs/path.c g_string_append_c (buffer, PATH_SEP); buffer 634 lib/vfs/path.c g_string_append (buffer, element->vfs_prefix); buffer 635 lib/vfs/path.c g_string_append (buffer, VFS_PATH_URL_DELIMITER); buffer 640 lib/vfs/path.c g_string_append_len (buffer, url_str->str, url_str->len); buffer 641 lib/vfs/path.c g_string_append_c (buffer, PATH_SEP); buffer 652 lib/vfs/path.c && (buffer->len == 0 || !IS_PATH_SEP (buffer->str[buffer->len - 1]))) buffer 653 lib/vfs/path.c g_string_append (buffer, PATH_SEP_STR); buffer 654 lib/vfs/path.c g_string_append (buffer, VFS_ENCODING_PREFIX); buffer 655 lib/vfs/path.c g_string_append (buffer, element->encoding); buffer 678 lib/vfs/path.c return g_string_free (buffer, FALSE); buffer 1527 lib/vfs/path.c GString *buffer; buffer 1532 lib/vfs/path.c buffer = g_string_sized_new (64); buffer 1535 lib/vfs/path.c g_string_append (buffer, element->user); buffer 1539 lib/vfs/path.c g_string_append_c (buffer, ':'); buffer 1540 lib/vfs/path.c g_string_append (buffer, element->password); buffer 1546 lib/vfs/path.c g_string_append_c (buffer, '@'); buffer 1548 lib/vfs/path.c g_string_append_c (buffer, '['); buffer 1549 lib/vfs/path.c g_string_append (buffer, element->host); buffer 1551 lib/vfs/path.c g_string_append_c (buffer, ']'); buffer 1554 lib/vfs/path.c g_string_append_printf (buffer, ":%d", element->port); buffer 1557 lib/vfs/path.c if (buffer->len != 0) buffer 1558 lib/vfs/path.c return buffer; buffer 1560 lib/vfs/path.c g_string_free (buffer, TRUE); buffer 121 lib/vfs/vfs.c _vfs_translate_path (const char *path, int size, GIConv defcnv, GString *buffer) buffer 144 lib/vfs/vfs.c state = _vfs_translate_path (path, ms, defcnv, buffer); buffer 170 lib/vfs/vfs.c state = str_vfs_convert_to (coder, slash + 1, path + size - slash - 1, buffer); buffer 181 lib/vfs/vfs.c state = str_vfs_convert_to (defcnv, path, size, buffer); buffer 187 lib/vfs/vfs.c g_string_assign (buffer, path); buffer 165 lib/vfs/vfs.h ssize_t (*read) (void *vfs_info, char *buffer, size_t count); buffer 312 lib/vfs/vfs.h ssize_t mc_read (int handle, void *buffer, size_t count); buffer 313 lib/vfs/vfs.h ssize_t mc_write (int handle, const void *buffer, size_t count); buffer 191 lib/vfs/xdirentry.h int vfs_s_get_line_interruptible (struct vfs_class *me, char *buffer, int size, int fd); buffer 268 lib/widget/input.c str_len = str_length (in->buffer->str); buffer 272 lib/widget/input.c start = str_offset_to_pos (in->buffer->str, start); buffer 273 lib/widget/input.c end = str_offset_to_pos (in->buffer->str, end); buffer 274 lib/widget/input.c g_string_erase (in->buffer, start, end - start); buffer 291 lib/widget/input.c in->point = str_length (in->buffer->str); buffer 304 lib/widget/input.c act = in->buffer->str + str_offset_to_pos (in->buffer->str, in->point); buffer 305 lib/widget/input.c in->point -= str_cprev_noncomb_char (&act, in->buffer->str); buffer 318 lib/widget/input.c act = in->buffer->str + str_offset_to_pos (in->buffer->str, in->point); buffer 331 lib/widget/input.c p = in->buffer->str + str_offset_to_pos (in->buffer->str, in->point); buffer 347 lib/widget/input.c p = in->buffer->str + str_offset_to_pos (in->buffer->str, in->point); buffer 349 lib/widget/input.c for (; p != in->buffer->str; in->point--) buffer 362 lib/widget/input.c for (; p != in->buffer->str; in->point--) buffer 381 lib/widget/input.c act = in->buffer->str + str_offset_to_pos (in->buffer->str, in->point); buffer 382 lib/widget/input.c start = in->point - str_cprev_noncomb_char (&act, in->buffer->str); buffer 408 lib/widget/input.c first = str_offset_to_pos (in->buffer->str, first); buffer 409 lib/widget/input.c last = str_offset_to_pos (in->buffer->str, last); buffer 411 lib/widget/input.c kill_buffer = g_strndup (in->buffer->str + first, last - first); buffer 463 lib/widget/input.c ins_point = str_offset_to_pos (in->buffer->str, in->point); buffer 464 lib/widget/input.c g_string_insert_len (in->buffer, ins_point, in->charbuf, in->charpoint); buffer 479 lib/widget/input.c act = in->buffer->str + str_offset_to_pos (in->buffer->str, in->point); buffer 542 lib/widget/input.c chp = str_offset_to_pos (in->buffer->str, in->point); buffer 544 lib/widget/input.c kill_buffer = g_strndup (in->buffer->str + chp, in->buffer->len - chp); buffer 545 lib/widget/input.c g_string_set_size (in->buffer, chp); buffer 555 lib/widget/input.c g_string_set_size (in->buffer, 0); buffer 645 lib/widget/input.c g_string_set_size (in->buffer, 0); buffer 872 lib/widget/input.c g_string_free (in->buffer, TRUE); buffer 889 lib/widget/input.c if (x < str_term_width1 (in->buffer->str)) buffer 890 lib/widget/input.c return str_column_to_pos (in->buffer->str, x); buffer 892 lib/widget/input.c return str_length (in->buffer->str); buffer 974 lib/widget/input.c in->buffer = g_string_sized_new (width); buffer 1060 lib/widget/input.c widget_gotoyx (in, 0, str_term_width2 (in->buffer->str, in->point) - in->term_first_shown); buffer 1144 lib/widget/input.c g_string_assign (in->buffer, text); buffer 1145 lib/widget/input.c in->point = str_length (in->buffer->str); buffer 1171 lib/widget/input.c max_pos = str_length (in->buffer->str); buffer 1205 lib/widget/input.c buf_len = str_length (in->buffer->str); buffer 1210 lib/widget/input.c pw = str_term_width2 (in->buffer->str, in->point); buffer 1235 lib/widget/input.c tty_print_string (str_term_substring (in->buffer->str, in->term_first_shown, buffer 1244 lib/widget/input.c cp = str_term_substring (in->buffer->str, in->term_first_shown, buffer 1259 lib/widget/input.c buf_width = str_term_width2 (in->buffer->str, m1); buffer 1264 lib/widget/input.c tty_print_string (str_term_substring (in->buffer->str, m1, m2)); buffer 1272 lib/widget/input.c cp = str_term_substring (in->buffer->str, in->term_first_shown, w->cols - has_history); buffer 1315 lib/widget/input.c g_string_set_size (in->buffer, 0); buffer 50 lib/widget/input.h GString *buffer; buffer 119 lib/widget/input.h return g_strndup (in->buffer->str, in->buffer->len); buffer 134 lib/widget/input.h return in->buffer->str; buffer 149 lib/widget/input.h return (in->buffer->len == 0); buffer 404 lib/widget/input_complete.c char buffer[BUF_MEDIUM]; buffer 411 lib/widget/input_complete.c while (fgets (buffer, sizeof (buffer) - 1, file) != NULL) buffer 414 lib/widget/input_complete.c for (bi = buffer; bi[0] != '\0' && str_isspace (bi); str_next_char (&bi)) buffer 946 lib/widget/input_complete.c buff_len = str_length (in->buffer->str); buffer 959 lib/widget/input_complete.c tail_len = in->buffer->len - end; buffer 965 lib/widget/input_complete.c tail = g_strndup (in->buffer->str + end, tail_len); buffer 968 lib/widget/input_complete.c if (in->buffer->len < hole_end) buffer 969 lib/widget/input_complete.c g_string_set_size (in->buffer, hole_end + tail_len); buffer 971 lib/widget/input_complete.c g_string_overwrite_len (in->buffer, hole_end, tail, tail_len); buffer 977 lib/widget/input_complete.c g_string_overwrite_len (in->buffer, start, text, size); buffer 979 lib/widget/input_complete.c in->point += str_length (in->buffer->str) - buff_len; buffer 1019 lib/widget/input_complete.c end = str_get_prev_char (input->buffer->str + end) - input->buffer->str; buffer 1030 lib/widget/input_complete.c new_end = str_get_prev_char (input->buffer->str + end) - input->buffer->str; buffer 1037 lib/widget/input_complete.c if (strncmp (input->buffer->str + start, le->text, new_end - start) == 0) buffer 1091 lib/widget/input_complete.c if (strncmp (input->buffer->str + start, le->text, end - start) == 0 buffer 1171 lib/widget/input_complete.c if (in->completions != NULL && str_offset_to_pos (in->buffer->str, in->point) != end) buffer 1387 lib/widget/input_complete.c end = str_offset_to_pos (in->buffer->str, in->point); buffer 1389 lib/widget/input_complete.c s = in->buffer->str; buffer 1399 lib/widget/input_complete.c for (; s >= in->buffer->str; str_prev_char (&s)) buffer 1401 lib/widget/input_complete.c start = s - in->buffer->str; buffer 1402 lib/widget/input_complete.c if (strchr (word_separators, *s) != NULL && !str_is_char_escaped (in->buffer->str, s)) buffer 1409 lib/widget/input_complete.c start = s - in->buffer->str; buffer 1412 lib/widget/input_complete.c in->completions = try_complete (in->buffer->str, &start, &end, in->completion_flags); buffer 1423 lib/widget/input_complete.c if (!str_is_valid_string (in->buffer->str)) buffer 429 src/args.c GString *buffer; buffer 433 src/args.c buffer = g_string_new (""); buffer 437 src/args.c str_convert (conv, full_help_str, buffer); buffer 442 src/args.c return buffer; buffer 92 src/consaver/cons.saver.c send_contents (char *buffer, unsigned int columns, unsigned int rows) buffer 104 src/consaver/cons.saver.c if (buffer[lc_index] != ' ') buffer 132 src/consaver/cons.saver.c *p++ = buffer[lc_index]; buffer 168 src/consaver/cons.saver.c char *buffer, *tty_name, console_name[16], vcsa_name[16]; buffer 243 src/consaver/cons.saver.c buffer = calloc (buffer_size, 1); buffer 244 src/consaver/cons.saver.c if (buffer == NULL) buffer 261 src/consaver/cons.saver.c || read (vcsa_fd, buffer, buffer_size) != buffer_size buffer 263 src/consaver/cons.saver.c memset (buffer, 0, buffer_size); buffer 270 src/consaver/cons.saver.c if (write (vcsa_fd, buffer, buffer_size) != buffer_size) buffer 276 src/consaver/cons.saver.c send_contents (buffer + 4, winsz.ws_col, winsz.ws_row); buffer 635 src/diffviewer/ydiff.c char *tmpbuf, *buffer; buffer 637 src/diffviewer/ydiff.c buffer = tmpbuf = g_strdup (text); buffer 650 src/diffviewer/ydiff.c g_free (buffer); buffer 445 src/editor/edit.c edit_buffer_init (&edit->buffer, edit->stat1.st_size); buffer 447 src/editor/edit.c if (!edit_load_file_fast (&edit->buffer, edit->filename_vpath)) buffer 455 src/editor/edit.c edit_buffer_init (&edit->buffer, 0); buffer 508 src/editor/edit.c line = edit->buffer.curs_line; buffer 509 src/editor/edit.c edit->search_start = edit->buffer.curs1; buffer 512 src/editor/edit.c b = edit_buffer_get_current_bol (&edit->buffer); buffer 528 src/editor/edit.c save_file_position (edit->filename_vpath, edit->buffer.curs_line + 1, edit->curs_col, buffer 529 src/editor/edit.c edit->buffer.curs1, edit->serialized_bookmarks); buffer 716 src/editor/edit.c edit->line_numbers[1] = edit->buffer.curs_line; buffer 717 src/editor/edit.c edit->line_offsets[1] = edit_buffer_get_current_bol (&edit->buffer); buffer 718 src/editor/edit.c edit->line_numbers[2] = edit->buffer.lines; buffer 719 src/editor/edit.c edit->line_offsets[2] = edit_buffer_get_bol (&edit->buffer, edit->buffer.size); buffer 722 src/editor/edit.c if (line >= edit->buffer.lines) buffer 746 src/editor/edit.c edit_buffer_get_forward_offset (&edit->buffer, edit->line_offsets[j], buffer 750 src/editor/edit.c edit_buffer_get_backward_offset (&edit->buffer, edit->line_offsets[j], buffer 765 src/editor/edit.c if (edit->buffer.curs_line > 1) buffer 767 src/editor/edit.c if (!edit_line_is_blank (edit, edit->buffer.curs_line)) buffer 769 src/editor/edit.c for (i = edit->buffer.curs_line - 1; i != 0; i--) buffer 773 src/editor/edit.c else if (edit_line_is_blank (edit, edit->buffer.curs_line - 1)) buffer 775 src/editor/edit.c for (i = edit->buffer.curs_line - 1; i != 0; i--) buffer 784 src/editor/edit.c for (i = edit->buffer.curs_line - 1; i != 0; i--) buffer 790 src/editor/edit.c edit_move_up (edit, edit->buffer.curs_line - i, do_scroll); buffer 802 src/editor/edit.c if (edit->buffer.curs_line >= edit->buffer.lines - 1) buffer 803 src/editor/edit.c i = edit->buffer.lines; buffer 804 src/editor/edit.c else if (!edit_line_is_blank (edit, edit->buffer.curs_line)) buffer 806 src/editor/edit.c for (i = edit->buffer.curs_line + 1; i != 0; i++) buffer 807 src/editor/edit.c if (edit_line_is_blank (edit, i) || i >= edit->buffer.lines) buffer 810 src/editor/edit.c else if (edit_line_is_blank (edit, edit->buffer.curs_line + 1)) buffer 812 src/editor/edit.c for (i = edit->buffer.curs_line + 1; i != 0; i++) buffer 813 src/editor/edit.c if (!edit_line_is_blank (edit, i) || i > edit->buffer.lines) buffer 821 src/editor/edit.c for (i = edit->buffer.curs_line + 1; i != 0; i++) buffer 822 src/editor/edit.c if (edit_line_is_blank (edit, i) || i >= edit->buffer.lines) buffer 825 src/editor/edit.c edit_move_down (edit, i - edit->buffer.curs_line, do_scroll); buffer 853 src/editor/edit.c if (edit->buffer.curs_line != 0) buffer 855 src/editor/edit.c edit_cursor_move (edit, -edit->buffer.curs1); buffer 869 src/editor/edit.c if (edit->buffer.curs_line < edit->buffer.lines) buffer 871 src/editor/edit.c edit_move_down (edit, edit->buffer.lines - edit->curs_row, FALSE); buffer 872 src/editor/edit.c edit->start_display = edit->buffer.size; buffer 873 src/editor/edit.c edit->start_line = edit->buffer.lines; buffer 887 src/editor/edit.c b = edit_buffer_get_current_bol (&edit->buffer); buffer 888 src/editor/edit.c edit_cursor_move (edit, b - edit->buffer.curs1); buffer 889 src/editor/edit.c edit->search_start = edit->buffer.curs1; buffer 902 src/editor/edit.c b = edit_buffer_get_current_eol (&edit->buffer); buffer 903 src/editor/edit.c edit_cursor_move (edit, b - edit->buffer.curs1); buffer 904 src/editor/edit.c edit->search_start = edit->buffer.curs1; buffer 965 src/editor/edit.c && edit->buffer.curs1 == edit_buffer_get_current_bol (&edit->buffer)) buffer 968 src/editor/edit.c if (edit->buffer.curs1 == 0) buffer 970 src/editor/edit.c c1 = edit_buffer_get_previous_byte (&edit->buffer); buffer 973 src/editor/edit.c c2 = edit_buffer_get_current_byte (&edit->buffer); buffer 1006 src/editor/edit.c && edit->buffer.curs1 == edit_buffer_get_current_eol (&edit->buffer)) buffer 1009 src/editor/edit.c if (edit->buffer.curs1 >= edit->buffer.size) buffer 1011 src/editor/edit.c c1 = edit_buffer_get_previous_byte (&edit->buffer); buffer 1014 src/editor/edit.c c2 = edit_buffer_get_current_byte (&edit->buffer); buffer 1046 src/editor/edit.c c = edit_buffer_get_utf (&edit->buffer, edit->buffer.curs1, &char_length); buffer 1052 src/editor/edit.c c = edit_buffer_get_current_byte (&edit->buffer); buffer 1070 src/editor/edit.c && edit->over_col == 0 && edit->buffer.curs1 == edit_buffer_get_current_bol (&edit->buffer)) buffer 1075 src/editor/edit.c edit_buffer_get_prev_utf (&edit->buffer, edit->buffer.curs1, &char_length); buffer 1097 src/editor/edit.c long l = direction ? edit->buffer.curs_line : edit->buffer.lines - edit->buffer.curs_line; buffer 1114 src/editor/edit.c p = edit_buffer_get_current_bol (&edit->buffer); buffer 1115 src/editor/edit.c p = direction ? edit_buffer_get_backward_offset (&edit->buffer, p, lines) : buffer 1116 src/editor/edit.c edit_buffer_get_forward_offset (&edit->buffer, p, lines, 0); buffer 1117 src/editor/edit.c edit_cursor_move (edit, p - edit->buffer.curs1); buffer 1122 src/editor/edit.c if (edit->buffer.curs1 > 0 && edit->buffer.curs1 + 1 < edit->buffer.size buffer 1123 src/editor/edit.c && edit_buffer_get_current_byte (&edit->buffer) >= 256) buffer 1130 src/editor/edit.c edit->search_start = edit->buffer.curs1; buffer 1139 src/editor/edit.c while (edit->buffer.curs1 < edit->buffer.size) buffer 1146 src/editor/edit.c c2 = edit_buffer_get_current_byte (&edit->buffer); buffer 1161 src/editor/edit.c while (edit->buffer.curs1 > 0) buffer 1168 src/editor/edit.c c2 = edit_buffer_get_previous_byte (&edit->buffer); buffer 1232 src/editor/edit.c b = edit_buffer_get_bol (&edit->buffer, edit->mark1); buffer 1238 src/editor/edit.c b = edit_buffer_get_bol (&edit->buffer, edit->mark2); buffer 1252 src/editor/edit.c edit_buffer_count_lines (&edit->buffer, ac - KEY_PRESS, edit->start_display); buffer 1258 src/editor/edit.c edit_buffer_count_lines (&edit->buffer, edit->start_display, ac - KEY_PRESS); buffer 1318 src/editor/edit.c b = edit_buffer_get_bol (&edit->buffer, edit->mark1); buffer 1324 src/editor/edit.c b = edit_buffer_get_bol (&edit->buffer, edit->mark2); buffer 1335 src/editor/edit.c edit_buffer_count_lines (&edit->buffer, ac - KEY_PRESS, edit->start_display); buffer 1341 src/editor/edit.c edit_buffer_count_lines (&edit->buffer, edit->start_display, ac - KEY_PRESS); buffer 1377 src/editor/edit.c while (edit_buffer_get_current_byte (&edit->buffer) != '\n' && edit->buffer.curs2 != 0) buffer 1386 src/editor/edit.c while (edit_buffer_get_previous_byte (&edit->buffer) != '\n' && edit->buffer.curs1 != 0) buffer 1411 src/editor/edit.c ch |= edit_buffer_get_byte (&edit->buffer, edit->buffer.curs1 - i); buffer 1424 src/editor/edit.c ch |= edit_buffer_get_byte (&edit->buffer, edit->buffer.curs1 + i); buffer 1436 src/editor/edit.c p = edit->buffer.curs1; buffer 1438 src/editor/edit.c p = edit_buffer_get_backward_offset (&edit->buffer, p, 1); buffer 1444 src/editor/edit.c c = edit_buffer_get_byte (&edit->buffer, p++); buffer 1457 src/editor/edit.c if (edit_buffer_get_current_byte (&edit->buffer) == '\n' buffer 1458 src/editor/edit.c || edit_buffer_get_byte (&edit->buffer, edit->buffer.curs1 - 2) == '\n') buffer 1485 src/editor/edit.c if (edit_options.fake_half_tabs && is_in_indent (&edit->buffer)) buffer 1519 src/editor/edit.c curs = edit->buffer.curs1; buffer 1525 src/editor/edit.c c = edit_buffer_get_byte (&edit->buffer, curs); buffer 1533 src/editor/edit.c off_t current = edit->buffer.curs1; buffer 1534 src/editor/edit.c edit_cursor_move (edit, curs - edit->buffer.curs1 + 1); buffer 1536 src/editor/edit.c edit_cursor_move (edit, current - edit->buffer.curs1 + 1); buffer 1561 src/editor/edit.c c = edit_buffer_get_current_byte (&edit->buffer); buffer 1574 src/editor/edit.c for (q = edit->buffer.curs1 + inc;; q += inc) buffer 1579 src/editor/edit.c if (q >= edit->buffer.size || q < 0) buffer 1581 src/editor/edit.c a = edit_buffer_get_byte (&edit->buffer, q); buffer 1615 src/editor/edit.c edit->bracket = edit->buffer.curs1; buffer 1617 src/editor/edit.c edit_cursor_move (edit, q - edit->buffer.curs1); buffer 1632 src/editor/edit.c start_bol = edit_buffer_get_bol (&edit->buffer, start_mark); buffer 1633 src/editor/edit.c cur_bol = edit_buffer_get_bol (&edit->buffer, end_mark - 1); buffer 1639 src/editor/edit.c edit_cursor_move (edit, cur_bol - edit->buffer.curs1); buffer 1640 src/editor/edit.c if (!edit_line_is_blank (edit, edit->buffer.curs_line)) buffer 1647 src/editor/edit.c b = edit_buffer_get_bol (&edit->buffer, cur_bol); buffer 1648 src/editor/edit.c edit_cursor_move (edit, b - edit->buffer.curs1); buffer 1654 src/editor/edit.c cur_bol = edit_buffer_get_bol (&edit->buffer, cur_bol - 1); buffer 1672 src/editor/edit.c start_bol = edit_buffer_get_bol (&edit->buffer, start_mark); buffer 1673 src/editor/edit.c cur_bol = edit_buffer_get_bol (&edit->buffer, end_mark - 1); buffer 1680 src/editor/edit.c edit_cursor_move (edit, cur_bol - edit->buffer.curs1); buffer 1684 src/editor/edit.c next_char = edit_buffer_get_current_byte (&edit->buffer); buffer 1695 src/editor/edit.c next_char = edit_buffer_get_current_byte (&edit->buffer); buffer 1702 src/editor/edit.c cur_bol = edit_buffer_get_bol (&edit->buffer, cur_bol - 1); buffer 1738 src/editor/edit.c cursor = edit->buffer.curs1; buffer 1759 src/editor/edit.c if (edit_buffer_get_current_byte (&edit->buffer) != '\n') buffer 1763 src/editor/edit.c for (p = edit->buffer.curs1;; p++) buffer 1765 src/editor/edit.c if (p == edit->buffer.size) buffer 1767 src/editor/edit.c edit_cursor_move (edit, edit->buffer.size - edit->buffer.curs1); buffer 1772 src/editor/edit.c if (edit_buffer_get_byte (&edit->buffer, p) == '\n') buffer 1779 src/editor/edit.c edit_cursor_move (edit, edit_move_forward3 (edit, p, col, 0) - edit->buffer.curs1); buffer 1789 src/editor/edit.c *end_pos = edit->buffer.curs1; buffer 1790 src/editor/edit.c edit_cursor_move (edit, cursor - edit->buffer.curs1); buffer 1814 src/editor/edit.c curs = edit->buffer.curs1; buffer 1846 src/editor/edit.c edit_cursor_move (edit, curs - edit->buffer.curs1); buffer 1889 src/editor/edit.c for (i = 0; i < edit->buffer.size; i++) buffer 1890 src/editor/edit.c if (fputc (edit_buffer_get_byte (&edit->buffer, i), f) < 0) buffer 1896 src/editor/edit.c for (i = 0; i < edit->buffer.size; i++) buffer 1900 src/editor/edit.c c = edit_buffer_get_byte (&edit->buffer, i); buffer 1911 src/editor/edit.c c1 = edit_buffer_get_byte (&edit->buffer, i + 1); /* next char */ buffer 1977 src/editor/edit.c return edit->buffer.size; buffer 1999 src/editor/edit.c current = edit->buffer.curs1; buffer 2013 src/editor/edit.c ins_len = edit->buffer.curs1 - current; buffer 2065 src/editor/edit.c edit_set_markers (edit, edit->buffer.curs1, mark2, c1, c2); buffer 2087 src/editor/edit.c edit_set_markers (edit, edit->buffer.curs1, current, 0, 0); buffer 2096 src/editor/edit.c ins_len = edit->buffer.curs1 - current; buffer 2260 src/editor/edit.c edit_buffer_clean (&edit->buffer); buffer 2569 src/editor/edit.c if (edit->buffer.curs1 < edit->start_display) buffer 2583 src/editor/edit.c book_mark_inc (edit, edit->buffer.curs_line); buffer 2584 src/editor/edit.c edit->buffer.curs_line++; buffer 2585 src/editor/edit.c edit->buffer.lines++; buffer 2596 src/editor/edit.c edit->mark1 += (edit->mark1 > edit->buffer.curs1) ? 1 : 0; buffer 2597 src/editor/edit.c edit->mark2 += (edit->mark2 > edit->buffer.curs1) ? 1 : 0; buffer 2598 src/editor/edit.c edit->last_get_rule += (edit->last_get_rule > edit->buffer.curs1) ? 1 : 0; buffer 2600 src/editor/edit.c edit_buffer_insert (&edit->buffer, c); buffer 2609 src/editor/edit.c if (edit->buffer.curs1 < edit->start_display) buffer 2618 src/editor/edit.c book_mark_inc (edit, edit->buffer.curs_line); buffer 2619 src/editor/edit.c edit->buffer.lines++; buffer 2628 src/editor/edit.c edit->mark1 += (edit->mark1 >= edit->buffer.curs1) ? 1 : 0; buffer 2629 src/editor/edit.c edit->mark2 += (edit->mark2 >= edit->buffer.curs1) ? 1 : 0; buffer 2630 src/editor/edit.c edit->last_get_rule += (edit->last_get_rule >= edit->buffer.curs1) ? 1 : 0; buffer 2632 src/editor/edit.c edit_buffer_insert_ahead (&edit->buffer, c); buffer 2657 src/editor/edit.c if (edit->buffer.curs2 == 0) buffer 2664 src/editor/edit.c edit_buffer_get_utf (&edit->buffer, edit->buffer.curs1, &char_length); buffer 2677 src/editor/edit.c if (edit->mark1 > edit->buffer.curs1) buffer 2682 src/editor/edit.c if (edit->mark2 > edit->buffer.curs1) buffer 2684 src/editor/edit.c if (edit->last_get_rule > edit->buffer.curs1) buffer 2687 src/editor/edit.c p = edit_buffer_delete (&edit->buffer); buffer 2695 src/editor/edit.c book_mark_dec (edit, edit->buffer.curs_line); buffer 2696 src/editor/edit.c edit->buffer.lines--; buffer 2699 src/editor/edit.c if (edit->buffer.curs1 < edit->start_display) buffer 2718 src/editor/edit.c if (edit->buffer.curs1 == 0) buffer 2727 src/editor/edit.c edit_buffer_get_prev_utf (&edit->buffer, edit->buffer.curs1, &char_length); buffer 2737 src/editor/edit.c if (edit->mark1 >= edit->buffer.curs1) buffer 2742 src/editor/edit.c if (edit->mark2 >= edit->buffer.curs1) buffer 2744 src/editor/edit.c if (edit->last_get_rule >= edit->buffer.curs1) buffer 2747 src/editor/edit.c p = edit_buffer_backspace (&edit->buffer); buffer 2754 src/editor/edit.c book_mark_dec (edit, edit->buffer.curs_line); buffer 2755 src/editor/edit.c edit->buffer.curs_line--; buffer 2756 src/editor/edit.c edit->buffer.lines--; buffer 2760 src/editor/edit.c if (edit->buffer.curs1 < edit->start_display) buffer 2778 src/editor/edit.c for (; increment < 0 && edit->buffer.curs1 != 0; increment++) buffer 2784 src/editor/edit.c c = edit_buffer_get_previous_byte (&edit->buffer); buffer 2785 src/editor/edit.c edit_buffer_insert_ahead (&edit->buffer, c); buffer 2786 src/editor/edit.c c = edit_buffer_backspace (&edit->buffer); buffer 2789 src/editor/edit.c edit->buffer.curs_line--; buffer 2796 src/editor/edit.c for (; increment > 0 && edit->buffer.curs2 != 0; increment--) buffer 2802 src/editor/edit.c c = edit_buffer_get_current_byte (&edit->buffer); buffer 2803 src/editor/edit.c edit_buffer_insert (&edit->buffer, c); buffer 2804 src/editor/edit.c c = edit_buffer_delete (&edit->buffer); buffer 2807 src/editor/edit.c edit->buffer.curs_line++; buffer 2830 src/editor/edit.c q = edit->buffer.size + 2; buffer 2844 src/editor/edit.c orig_c = c = edit_buffer_get_byte (&edit->buffer, p); buffer 2852 src/editor/edit.c utf_ch = edit_buffer_get_utf (&edit->buffer, p, &char_length); buffer 2891 src/editor/edit.c return edit->buffer.curs1; buffer 2902 src/editor/edit.c b = edit_buffer_get_current_bol (&edit->buffer); buffer 2903 src/editor/edit.c return (long) edit_move_forward3 (edit, b, 0, edit->buffer.curs1); buffer 2913 src/editor/edit.c edit->curs_row = edit->buffer.curs_line - edit->start_line; buffer 2923 src/editor/edit.c b = edit_buffer_get_current_bol (&edit->buffer); buffer 2924 src/editor/edit.c edit->curs_col = (long) edit_move_forward3 (edit, b, 0, edit->buffer.curs1); buffer 2949 src/editor/edit.c edit_buffer_get_backward_offset (&edit->buffer, edit->start_display, i); buffer 2963 src/editor/edit.c lines_below = edit->buffer.lines - edit->start_line - (WIDGET (edit)->rect.lines - 1); buffer 2970 src/editor/edit.c edit_buffer_get_forward_offset (&edit->buffer, edit->start_display, i, 0); buffer 3014 src/editor/edit.c edit_move_forward3 (edit, p, prev + edit->over_col, 0) - edit->buffer.curs1); buffer 3021 src/editor/edit.c b = edit_buffer_get_current_bol (&edit->buffer); buffer 3022 src/editor/edit.c e = edit_buffer_get_current_eol (&edit->buffer); buffer 3040 src/editor/edit.c if (edit_options.fake_half_tabs && is_in_indent (&edit->buffer)) buffer 3053 src/editor/edit.c p = edit_buffer_get_current_bol (&edit->buffer); buffer 3055 src/editor/edit.c edit_cursor_move (edit, b - edit->buffer.curs1); buffer 3059 src/editor/edit.c edit_cursor_move (edit, b - edit->buffer.curs1); buffer 3078 src/editor/edit.c return is_blank (&edit->buffer, edit_find_line (edit, line)); buffer 3087 src/editor/edit.c if (line < e->buffer.curs_line) buffer 3088 src/editor/edit.c edit_move_up (e, e->buffer.curs_line - line, FALSE); buffer 3090 src/editor/edit.c edit_move_down (e, line - e->buffer.curs_line, FALSE); buffer 3148 src/editor/edit.c end_mark_curs = edit->buffer.curs1; buffer 3173 src/editor/edit.c start_bol = edit_buffer_get_bol (&edit->buffer, *start_mark); buffer 3174 src/editor/edit.c start_eol = edit_buffer_get_eol (&edit->buffer, start_bol - 1) + 1; buffer 3175 src/editor/edit.c end_bol = edit_buffer_get_bol (&edit->buffer, *end_mark); buffer 3176 src/editor/edit.c end_eol = edit_buffer_get_eol (&edit->buffer, *end_mark); buffer 3209 src/editor/edit.c edit_set_markers (edit, edit->buffer.curs1, -1, edit->curs_col + edit->over_col, buffer 3215 src/editor/edit.c edit->end_mark_curs = edit->buffer.curs1; buffer 3216 src/editor/edit.c edit_set_markers (edit, edit->mark1, edit->buffer.curs1, edit->column1, buffer 3229 src/editor/edit.c for (pos = edit->buffer.curs1; pos != 0; pos--) buffer 3233 src/editor/edit.c c1 = edit_buffer_get_byte (&edit->buffer, pos); buffer 3234 src/editor/edit.c c2 = edit_buffer_get_byte (&edit->buffer, pos - 1); buffer 3242 src/editor/edit.c for (; pos < edit->buffer.size; pos++) buffer 3246 src/editor/edit.c c1 = edit_buffer_get_byte (&edit->buffer, pos); buffer 3247 src/editor/edit.c c2 = edit_buffer_get_byte (&edit->buffer, pos + 1); buffer 3253 src/editor/edit.c edit->mark2 = MIN (pos + 1, edit->buffer.size); buffer 3263 src/editor/edit.c edit->mark1 = edit_buffer_get_current_bol (&edit->buffer); buffer 3264 src/editor/edit.c edit->mark2 = edit_buffer_get_current_eol (&edit->buffer); buffer 3279 src/editor/edit.c while (edit_buffer_get_current_byte (&edit->buffer) != '\n') buffer 3293 src/editor/edit.c while (edit_buffer_get_previous_byte (&edit->buffer) != '\n') buffer 3458 src/editor/edit.c edit->search_start = edit->buffer.curs1; buffer 3468 src/editor/edit.c edit->search_start = edit->buffer.curs1; buffer 3487 src/editor/edit.c if (edit_buffer_get_current_byte (&edit->buffer) != '\n') buffer 3532 src/editor/edit.c edit->search_start = edit->buffer.curs1; buffer 3603 src/editor/edit.c else if (edit_options.backspace_through_tabs && is_in_indent (&edit->buffer)) buffer 3605 src/editor/edit.c while (edit_buffer_get_previous_byte (&edit->buffer) != '\n' && edit->buffer.curs1 > 0) buffer 3608 src/editor/edit.c else if (edit_options.fake_half_tabs && is_in_indent (&edit->buffer) buffer 3628 src/editor/edit.c if (edit_options.fake_half_tabs && is_in_indent (&edit->buffer) buffer 3698 src/editor/edit.c if (edit_options.fake_half_tabs && is_in_indent (&edit->buffer) buffer 3715 src/editor/edit.c if (edit_options.fake_half_tabs && is_in_indent (&edit->buffer) buffer 3835 src/editor/edit.c edit_set_markers (edit, 0, edit->buffer.size, 0, 0); buffer 3858 src/editor/edit.c book_mark_clear (edit, edit->buffer.curs_line, BOOK_MARK_FOUND_COLOR); buffer 3859 src/editor/edit.c if (book_mark_query_color (edit, edit->buffer.curs_line, BOOK_MARK_COLOR)) buffer 3860 src/editor/edit.c book_mark_clear (edit, edit->buffer.curs_line, BOOK_MARK_COLOR); buffer 3862 src/editor/edit.c book_mark_insert (edit, edit->buffer.curs_line, BOOK_MARK_COLOR); buffer 3874 src/editor/edit.c p = book_mark_find (edit, edit->buffer.curs_line); buffer 3889 src/editor/edit.c p = book_mark_find (edit, edit->buffer.curs_line); buffer 3890 src/editor/edit.c while (p->line == edit->buffer.curs_line) buffer 4115 src/editor/edit.c edit->search_start = edit->buffer.curs1; buffer 4121 src/editor/edit.c edit->search_start = edit->buffer.curs1; buffer 286 src/editor/editcmd.c filelen = edit_buffer_write_file (&edit->buffer, fd); buffer 288 src/editor/editcmd.c if (filelen != edit->buffer.size) buffer 326 src/editor/editcmd.c if (filelen != edit->buffer.size) buffer 471 src/editor/editcmd.c n = edit_buffer_get_forward_offset (&edit->buffer, m1, 0, m2) + 1; buffer 472 src/editor/editcmd.c r = edit_buffer_get_bol (&edit->buffer, m1); buffer 474 src/editor/editcmd.c r = edit_buffer_get_bol (&edit->buffer, m2); buffer 483 src/editor/editcmd.c r = edit_buffer_get_current_bol (&edit->buffer); buffer 488 src/editor/editcmd.c edit_cursor_move (edit, p - edit->buffer.curs1); buffer 491 src/editor/editcmd.c if (edit_buffer_get_current_byte (&edit->buffer) != '\n') buffer 497 src/editor/editcmd.c r = edit_buffer_get_forward_offset (&edit->buffer, edit->buffer.curs1, 1, 0); buffer 498 src/editor/editcmd.c edit_cursor_move (edit, r - edit->buffer.curs1); buffer 529 src/editor/editcmd.c curs_line = edit->buffer.curs_line; buffer 534 src/editor/editcmd.c edit_cursor_move (edit, start_mark - edit->buffer.curs1); buffer 550 src/editor/editcmd.c b = edit_buffer_get_current_bol (&edit->buffer); buffer 551 src/editor/editcmd.c e = edit_buffer_get_current_eol (&edit->buffer); buffer 591 src/editor/editcmd.c x = edit_buffer_get_bol (&edit->buffer, start); buffer 593 src/editor/editcmd.c c = edit_buffer_get_byte (&edit->buffer, start); buffer 607 src/editor/editcmd.c *s++ = edit_buffer_get_byte (&edit->buffer, start); buffer 686 src/editor/editcmd.c cursor = edit->buffer.curs1; buffer 698 src/editor/editcmd.c if (edit_buffer_get_current_byte (&edit->buffer) != '\n') buffer 703 src/editor/editcmd.c for (p = edit->buffer.curs1;; p++) buffer 705 src/editor/editcmd.c if (p == edit->buffer.size) buffer 707 src/editor/editcmd.c edit_cursor_move (edit, edit->buffer.size - edit->buffer.curs1); buffer 712 src/editor/editcmd.c if (edit_buffer_get_byte (&edit->buffer, p) == '\n') buffer 718 src/editor/editcmd.c edit_cursor_move (edit, edit_move_forward3 (edit, p, col, 0) - edit->buffer.curs1); buffer 728 src/editor/editcmd.c *end_pos = edit->buffer.curs1; buffer 729 src/editor/editcmd.c edit_cursor_move (edit, cursor - edit->buffer.curs1); buffer 919 src/editor/editcmd.c if (!edit_check_newline (&edit->buffer)) buffer 1021 src/editor/editcmd.c if (!edit_check_newline (&edit->buffer)) buffer 1289 src/editor/editcmd.c off_t start_mark, end_mark, current = edit->buffer.curs1; buffer 1328 src/editor/editcmd.c edit_set_markers (edit, edit->buffer.curs1, mark2, c1, c2); buffer 1348 src/editor/editcmd.c if (!edit->column_highlight && edit->buffer.curs1 > start_mark && edit->buffer.curs1 < end_mark) buffer 1373 src/editor/editcmd.c b1 = edit_buffer_get_eol (&edit->buffer, edit->buffer.curs1); buffer 1374 src/editor/editcmd.c b2 = edit_buffer_get_eol (&edit->buffer, start_mark); buffer 1378 src/editor/editcmd.c if (edit->buffer.curs1 > start_mark buffer 1379 src/editor/editcmd.c && edit->buffer.curs1 < edit_buffer_get_eol (&edit->buffer, end_mark)) buffer 1394 src/editor/editcmd.c b1 = edit_buffer_get_current_bol (&edit->buffer); buffer 1396 src/editor/editcmd.c edit_cursor_move (edit, current - edit->buffer.curs1); buffer 1411 src/editor/editcmd.c current = edit->buffer.curs1; buffer 1413 src/editor/editcmd.c edit_cursor_move (edit, start_mark - edit->buffer.curs1); buffer 1420 src/editor/editcmd.c x = current > edit->buffer.curs1 ? end_mark - start_mark : 0; buffer 1421 src/editor/editcmd.c edit_cursor_move (edit, current - edit->buffer.curs1 - x); buffer 1427 src/editor/editcmd.c edit_set_markers (edit, edit->buffer.curs1, edit->buffer.curs1 + end_mark - start_mark, 0, buffer 1503 src/editor/editcmd.c if (!mc_global.midnight_shutdown && !edit_check_newline (&edit->buffer)) buffer 1572 src/editor/editcmd.c buf[i - start] = edit_buffer_get_byte (&edit->buffer, i); buffer 1688 src/editor/editcmd.c l = edit->buffer.lines + l + 2; buffer 1939 src/editor/editcmd.c pipe_mail (&edit->buffer, mail_to, mail_subject, mail_cc); buffer 80 src/editor/editcomplete.c if (mc_search_run (srch, (void *) esm, word_start, edit->buffer.size, &len)) buffer 88 src/editor/editcomplete.c chr = edit_buffer_get_byte (&edit->buffer, word_start + i); buffer 134 src/editor/editcomplete.c ch = edit_buffer_get_byte (&esm->edit->buffer, start + i); buffer 243 src/editor/editcomplete.c last_byte = entire_file ? edit->buffer.size : word_start; buffer 294 src/editor/editcomplete.c last_byte = e->buffer.size; buffer 437 src/editor/editcomplete.c if (!edit_buffer_find_word_start (&edit->buffer, &word_start, &word_len)) buffer 444 src/editor/editcomplete.c g_string_append_c (match_expr, edit_buffer_get_byte (&edit->buffer, word_start + i)); buffer 110 src/editor/editdraw.c if (edit->buffer.curs1 >= edit->buffer.size) buffer 118 src/editor/editdraw.c cur_utf = edit_buffer_get_utf (&edit->buffer, edit->buffer.curs1, &char_length); buffer 124 src/editor/editdraw.c cur_utf = edit_buffer_get_current_byte (&edit->buffer); buffer 134 src/editor/editdraw.c cur_byte = edit_buffer_get_current_byte (&edit->buffer); buffer 147 src/editor/editdraw.c edit->buffer.curs_line + 1, buffer 148 src/editor/editdraw.c edit->buffer.lines + 1, (long) edit->buffer.curs1, (long) edit->buffer.size, buffer 164 src/editor/editdraw.c edit->buffer.curs_line + 1, buffer 165 src/editor/editdraw.c edit->buffer.lines + 1, (long) edit->buffer.curs1, (long) edit->buffer.size, buffer 230 src/editor/editdraw.c percent = edit_buffer_calc_percent (&edit->buffer, edit->buffer.curs1); buffer 291 src/editor/editdraw.c edit->buffer.curs_line + 1, edit->buffer.lines + 1, (long) edit->buffer.curs1, buffer 292 src/editor/editdraw.c (long) edit->buffer.size); buffer 303 src/editor/editdraw.c if (edit->buffer.curs1 >= edit->buffer.size) buffer 311 src/editor/editdraw.c cur_utf = edit_buffer_get_utf (&edit->buffer, edit->buffer.curs1, &char_length); buffer 313 src/editor/editdraw.c cur_utf = edit_buffer_get_current_byte (&edit->buffer); buffer 321 src/editor/editdraw.c cur_byte = edit_buffer_get_current_byte (&edit->buffer); buffer 536 src/editor/editdraw.c if (cur_line <= edit->buffer.lines) buffer 556 src/editor/editdraw.c if (row <= edit->buffer.lines - edit->start_line) buffer 561 src/editor/editdraw.c for (tws = edit_buffer_get_eol (&edit->buffer, b); tws > b; tws--) buffer 565 src/editor/editdraw.c c = edit_buffer_get_byte (&edit->buffer, tws - 1); buffer 579 src/editor/editdraw.c p->style = q == edit->buffer.curs1 ? MOD_CURSOR : 0; buffer 607 src/editor/editdraw.c c = edit_buffer_get_utf (&edit->buffer, q, &char_length); buffer 610 src/editor/editdraw.c c = edit_buffer_get_byte (&edit->buffer, q); buffer 824 src/editor/editdraw.c b = edit_buffer_get_bol (&edit->buffer, curs); buffer 898 src/editor/editdraw.c b = edit_buffer_get_forward_offset (&edit->buffer, edit->start_display, start_row, 0); buffer 904 src/editor/editdraw.c b = edit_buffer_get_forward_offset (&edit->buffer, b, 1, 0); buffer 922 src/editor/editdraw.c b = edit_buffer_get_forward_offset (&edit->buffer, b, 1, 0); buffer 927 src/editor/editdraw.c b = edit_buffer_get_current_bol (&edit->buffer); buffer 937 src/editor/editdraw.c b = edit_buffer_get_forward_offset (&edit->buffer, b, 1, 0); buffer 943 src/editor/editdraw.c b = edit_buffer_get_forward_offset (&edit->buffer, b, 1, 0); buffer 950 src/editor/editdraw.c b = edit_buffer_get_current_bol (&edit->buffer); buffer 951 src/editor/editdraw.c b = edit_buffer_get_backward_offset (&edit->buffer, b, 1); buffer 963 src/editor/editdraw.c b = edit_buffer_get_current_bol (&edit->buffer); buffer 964 src/editor/editdraw.c b = edit_buffer_get_forward_offset (&edit->buffer, b, 1, 0); buffer 978 src/editor/editdraw.c edit_draw_this_char (edit, edit->buffer.curs1, edit->curs_row, start_column, end_column); buffer 982 src/editor/editdraw.c edit_draw_this_char (edit, edit->buffer.curs1, edit->curs_row, start_column, end_column); buffer 989 src/editor/editdraw.c prev_curs = edit->buffer.curs1; buffer 423 src/editor/editsearch.c off_t end_mark = edit->buffer.size; buffer 440 src/editor/editsearch.c || edit_buffer_get_byte (&edit->buffer, start_mark - 1) != end_string_symbol)) buffer 442 src/editor/editsearch.c edit_calculate_start_of_next_line (&edit->buffer, start_mark, edit->buffer.size, buffer 446 src/editor/editsearch.c && (end_mark - 1 != edit->buffer.size buffer 447 src/editor/editsearch.c || edit_buffer_get_byte (&edit->buffer, end_mark) != end_string_symbol)) buffer 449 src/editor/editsearch.c edit_calculate_end_of_previous_line (&edit->buffer, end_mark, end_string_symbol); buffer 458 src/editor/editsearch.c end_mark = MAX (1, edit->buffer.curs1) - 1; buffer 468 src/editor/editsearch.c edit_calculate_start_of_current_line (&edit->buffer, search_start, buffer 491 src/editor/editsearch.c edit_calculate_start_of_previous_line (&edit->buffer, search_start, buffer 504 src/editor/editsearch.c edit_calculate_start_of_next_line (&edit->buffer, search_start, end_mark, buffer 588 src/editor/editsearch.c while (mc_search_run (edit->search, (void *) &esm, q, edit->buffer.size, &len)) buffer 594 src/editor/editsearch.c l += edit_buffer_count_lines (&edit->buffer, q, edit->search->normal_offset); buffer 604 src/editor/editsearch.c edit_cursor_move (edit, edit->search_start - edit->buffer.curs1); buffer 621 src/editor/editsearch.c edit_cursor_move (edit, edit->search_start - edit->buffer.curs1); buffer 630 src/editor/editsearch.c edit->search_start = edit->buffer.curs1; buffer 698 src/editor/editsearch.c *current_char = edit_buffer_get_byte (&edit->buffer, (off_t) char_offset); buffer 726 src/editor/editsearch.c edit_buffer_calc_percent (&esm->edit->buffer, esm->offset)); buffer 857 src/editor/editsearch.c edit->search_start = edit->buffer.curs1; buffer 893 src/editor/editsearch.c if (edit->search_start >= 0 && edit->search_start < edit->buffer.size) buffer 901 src/editor/editsearch.c edit_cursor_move (edit, edit->search_start - edit->buffer.curs1); buffer 973 src/editor/editsearch.c if (edit->search_start >= edit->buffer.size) buffer 982 src/editor/editsearch.c edit->search_start = edit->buffer.curs1; buffer 723 src/editor/editwidget.c edit_move_forward3 (edit, edit_buffer_get_current_bol (&edit->buffer), 0, buffer 724 src/editor/editwidget.c edit_buffer_get_current_eol (&edit->buffer)); buffer 743 src/editor/editwidget.c edit_move_to_prev_col (edit, edit_buffer_get_current_bol (&edit->buffer)); buffer 69 src/editor/editwidget.h edit_buffer_t buffer; buffer 421 src/editor/etags.c if (!edit_buffer_find_word_start (&edit->buffer, &word_start, &word_len)) buffer 427 src/editor/etags.c g_string_append_c (match_expr, edit_buffer_get_byte (&edit->buffer, word_start + i)); buffer 127 src/editor/format.c for (i = edit->buffer.curs_line - 1; i >= 0; i--) buffer 129 src/editor/format.c (force && bad_line_start (&edit->buffer, line_start (&edit->buffer, i)))) buffer 135 src/editor/format.c *lines = edit->buffer.curs_line - i; buffer 137 src/editor/format.c return edit_buffer_get_backward_offset (&edit->buffer, buffer 138 src/editor/format.c edit_buffer_get_current_bol (&edit->buffer), *lines); buffer 152 src/editor/format.c for (i = edit->buffer.curs_line + 1; i <= edit->buffer.lines; i++) buffer 154 src/editor/format.c (force && bad_line_start (&edit->buffer, line_start (&edit->buffer, i)))) buffer 160 src/editor/format.c return edit_buffer_get_eol (&edit->buffer, buffer 161 src/editor/format.c edit_buffer_get_forward_offset (&edit->buffer, buffer 163 src/editor/format.c (&edit->buffer), buffer 164 src/editor/format.c i - edit->buffer.curs_line, 0)); buffer 363 src/editor/format.c edit_cursor_move (edit, q - edit->buffer.curs1); buffer 376 src/editor/format.c while (strchr ("\t ", edit_buffer_get_byte (&edit->buffer, q)) != NULL buffer 377 src/editor/format.c && q < edit->buffer.size - 1) buffer 409 src/editor/format.c cursor = edit->buffer.curs1; buffer 411 src/editor/format.c while (strchr ("\t ", edit_buffer_get_byte (&edit->buffer, p)) != NULL) buffer 419 src/editor/format.c while (strchr ("\t ", edit_buffer_get_byte (&edit->buffer, p)) != NULL) buffer 426 src/editor/format.c edit_cursor_move (edit, p - edit->buffer.curs1); buffer 427 src/editor/format.c curs = edit->buffer.curs1; buffer 430 src/editor/format.c cursor += edit->buffer.curs1 - p; buffer 431 src/editor/format.c p = edit->buffer.curs1; buffer 435 src/editor/format.c edit_cursor_move (edit, p - edit->buffer.curs1); buffer 436 src/editor/format.c while (strchr ("\t ", edit_buffer_get_byte (&edit->buffer, p)) != NULL) buffer 439 src/editor/format.c if (cursor > edit->buffer.curs1) buffer 442 src/editor/format.c p = edit->buffer.curs1; buffer 446 src/editor/format.c c = edit_buffer_get_byte (&edit->buffer, p); buffer 450 src/editor/format.c edit_cursor_move (edit, cursor - edit->buffer.curs1); /* restore cursor position */ buffer 465 src/editor/format.c if (edit_buffer_get_byte (&edit->buffer, p - 1) == '\n' buffer 488 src/editor/format.c if (edit_line_is_blank (edit, edit->buffer.curs_line)) buffer 495 src/editor/format.c t = get_paragraph (&edit->buffer, p, q, indent != 0); buffer 597 src/editor/spell.c match_word = edit_buffer_get_word_from_pos (&edit->buffer, edit->buffer.curs1, &word_start, buffer 679 src/editor/spell.c if (edit->buffer.curs_line > 0) buffer 681 src/editor/spell.c edit_cursor_move (edit, -edit->buffer.curs1); buffer 690 src/editor/spell.c c2 = edit_buffer_get_current_byte (&edit->buffer); buffer 694 src/editor/spell.c if (edit->buffer.curs1 >= edit->buffer.size) buffer 699 src/editor/spell.c c2 = edit_buffer_get_current_byte (&edit->buffer); buffer 251 src/editor/syntax.c c = edit_buffer_get_byte (&edit->buffer, i - 1); buffer 265 src/editor/syntax.c c = edit_buffer_get_byte (&edit->buffer, i); buffer 282 src/editor/syntax.c c = edit_buffer_get_byte (&edit->buffer, i); buffer 314 src/editor/syntax.c c = edit_buffer_get_byte (&edit->buffer, i); buffer 334 src/editor/syntax.c c = edit_buffer_get_byte (&edit->buffer, i); buffer 345 src/editor/syntax.c c = edit_buffer_get_byte (&edit->buffer, i); buffer 354 src/editor/syntax.c c = edit_buffer_get_byte (&edit->buffer, i); buffer 384 src/editor/syntax.c c = edit_buffer_get_byte (&edit->buffer, i); buffer 394 src/editor/syntax.c if (edit_buffer_get_byte (&edit->buffer, i - 1) == '\n') buffer 1409 src/editor/syntax.c s[i] = edit_buffer_get_byte (&edit->buffer, i); buffer 1467 src/editor/syntax.c if (edit_options.syntax_highlighting && edit->rules != NULL && byte_index < edit->buffer.size) buffer 313 src/filemanager/chmod.c char buffer[BUF_TINY]; buffer 358 src/filemanager/chmod.c g_snprintf (buffer, sizeof (buffer), "%o", (unsigned int) ch_mode); buffer 359 src/filemanager/chmod.c statl = label_new (y + 2, cols, buffer); buffer 401 src/filemanager/chown.c char buffer[BUF_TINY]; buffer 431 src/filemanager/chown.c size_trunc_len (buffer, GW - 4, sf_stat.st_size, 0, panels_options.kilobyte_si); buffer 432 src/filemanager/chown.c chown_label (3, buffer); buffer 1109 src/filemanager/cmd.c char buffer[MC_MAXPATHLEN]; buffer 1112 src/filemanager/cmd.c i = readlink (p, buffer, sizeof (buffer) - 1); buffer 1117 src/filemanager/cmd.c buffer[i] = '\0'; buffer 1121 src/filemanager/cmd.c input_expand_dialog (_("Edit symlink"), q, MC_HISTORY_FM_EDIT_LINK, buffer, buffer 1125 src/filemanager/cmd.c if (dest != NULL && *dest != '\0' && strcmp (buffer, dest) != 0) buffer 99 src/filemanager/ext.c static char buffer[BUF_1K]; buffer 304 src/filemanager/ext.c pbuffer = buffer; buffer 415 src/filemanager/ext.c pbuffer = buffer; buffer 334 src/filemanager/filegui.c file_frmt_time (char *buffer, double eta_secs) buffer 341 src/filemanager/filegui.c g_snprintf (buffer, BUF_TINY, _("%d:%02d:%02d"), eta_hours, eta_mins, eta_s); buffer 347 src/filemanager/filegui.c file_eta_prepare_for_show (char *buffer, double eta_secs, gboolean always_show) buffer 362 src/filemanager/filegui.c *buffer = '\0'; buffer 372 src/filemanager/filegui.c g_snprintf (buffer, BUF_TINY, _("ETA %s"), _fmt_buff); buffer 378 src/filemanager/filegui.c file_bps_prepare_for_show (char *buffer, long bps) buffer 381 src/filemanager/filegui.c g_snprintf (buffer, BUF_TINY, _("%.2f MB/s"), bps / (1024 * 1024.0)); buffer 383 src/filemanager/filegui.c g_snprintf (buffer, BUF_TINY, _("%.2f KB/s"), bps / 1024.0); buffer 385 src/filemanager/filegui.c g_snprintf (buffer, BUF_TINY, _("%ld B/s"), bps); buffer 387 src/filemanager/filegui.c *buffer = '\0'; buffer 728 src/filemanager/filemanager.c char buffer[MC_MAXPATHLEN]; buffer 733 src/filemanager/filemanager.c i = mc_readlink (vpath, buffer, sizeof (buffer) - 1); buffer 738 src/filemanager/filemanager.c buffer[i] = '\0'; buffer 739 src/filemanager/filemanager.c command_insert (cmdline, buffer, TRUE); buffer 1705 src/filemanager/filemanager.c GString *buffer; buffer 1708 src/filemanager/filemanager.c buffer = g_string_sized_new (len - start); buffer 1709 src/filemanager/filemanager.c nok = (str_convert (conv, data + start, buffer) == ESTR_FAILURE); buffer 1710 src/filemanager/filemanager.c result = g_string_free (buffer, nok); buffer 1019 src/filemanager/find.c char buffer[BUF_4K] = ""; /* raw input buffer */ buffer 1041 src/filemanager/find.c g_snprintf (buffer, sizeof (buffer), _("Grepping in %s"), filename); buffer 1042 src/filemanager/find.c status_update (str_trunc (buffer, WIDGET (h)->rect.cols - 8)); buffer 1085 src/filemanager/find.c n_read = mc_read (file_fd, buffer, sizeof (buffer)); buffer 1090 src/filemanager/find.c ch = buffer[pos++]; buffer 1359 src/filemanager/find.c char buffer[BUF_MEDIUM]; buffer 1362 src/filemanager/find.c g_snprintf (buffer, sizeof (buffer), _("Searching %s"), directory); buffer 247 src/filemanager/info.c char buffer[10]; buffer 248 src/filemanager/info.c size_trunc_len (buffer, 9, st.st_size, 0, panels_options.kilobyte_si); buffer 249 src/filemanager/info.c tty_printf (_("Size: %s"), buffer); buffer 1099 src/filemanager/layout.c static char buffer[BUF_SMALL]; buffer 1101 src/filemanager/layout.c g_snprintf (buffer, sizeof (buffer), "%ith Panel", num); buffer 1102 src/filemanager/layout.c return buffer; buffer 547 src/filemanager/panel.c static char buffer[BUF_TINY]; buffer 555 src/filemanager/panel.c format_device_number (buffer, len + 1, fe->st.st_rdev); buffer 558 src/filemanager/panel.c size_trunc_len (buffer, (unsigned int) len, fe->st.st_size, 0, panels_options.kilobyte_si); buffer 560 src/filemanager/panel.c return buffer; buffer 584 src/filemanager/panel.c static char buffer[2]; buffer 589 src/filemanager/panel.c buffer[0] = PATH_SEP; buffer 593 src/filemanager/panel.c buffer[0] = '~'; buffer 595 src/filemanager/panel.c buffer[0] = '!'; buffer 597 src/filemanager/panel.c buffer[0] = '@'; buffer 600 src/filemanager/panel.c buffer[0] = '-'; buffer 602 src/filemanager/panel.c buffer[0] = '='; buffer 604 src/filemanager/panel.c buffer[0] = '>'; buffer 606 src/filemanager/panel.c buffer[0] = '+'; buffer 608 src/filemanager/panel.c buffer[0] = '|'; buffer 610 src/filemanager/panel.c buffer[0] = '#'; buffer 612 src/filemanager/panel.c buffer[0] = '?'; /* non-regular of unknown kind */ buffer 614 src/filemanager/panel.c buffer[0] = '*'; buffer 616 src/filemanager/panel.c buffer[0] = ' '; buffer 617 src/filemanager/panel.c buffer[1] = '\0'; buffer 618 src/filemanager/panel.c return buffer; buffer 671 src/filemanager/panel.c static char buffer[10]; buffer 675 src/filemanager/panel.c g_snprintf (buffer, sizeof (buffer), "0%06lo", (unsigned long) fe->st.st_mode); buffer 676 src/filemanager/panel.c return buffer; buffer 685 src/filemanager/panel.c static char buffer[BUF_TINY]; buffer 689 src/filemanager/panel.c g_snprintf (buffer, sizeof (buffer), "%16d", (int) fe->st.st_nlink); buffer 690 src/filemanager/panel.c return buffer; buffer 699 src/filemanager/panel.c static char buffer[10]; buffer 703 src/filemanager/panel.c g_snprintf (buffer, sizeof (buffer), "%lu", (unsigned long) fe->st.st_ino); buffer 704 src/filemanager/panel.c return buffer; buffer 713 src/filemanager/panel.c static char buffer[10]; buffer 717 src/filemanager/panel.c g_snprintf (buffer, sizeof (buffer), "%lu", (unsigned long) fe->st.st_uid); buffer 718 src/filemanager/panel.c return buffer; buffer 727 src/filemanager/panel.c static char buffer[10]; buffer 731 src/filemanager/panel.c g_snprintf (buffer, sizeof (buffer), "%lu", (unsigned long) fe->st.st_gid); buffer 732 src/filemanager/panel.c return buffer; buffer 1052 src/filemanager/panel.c (panel->quick_search.buffer->str, w->rect.cols - 3, J_LEFT)); buffer 1137 src/filemanager/panel.c char buffer[BUF_SMALL], b_bytes[BUF_SMALL]; buffer 1144 src/filemanager/panel.c buf = size_only ? b_bytes : buffer; buffer 1151 src/filemanager/panel.c g_snprintf (buffer, sizeof (buffer), buffer 1384 src/filemanager/panel.c char buffer[BUF_SMALL]; buffer 1386 src/filemanager/panel.c g_snprintf (buffer, sizeof (buffer), " %s ", buffer 1390 src/filemanager/panel.c tty_print_string (buffer); buffer 1568 src/filemanager/panel.c g_string_free (p->quick_search.buffer, TRUE); buffer 2834 src/filemanager/panel.c if (panel->quick_search.buffer->len != 0) buffer 2836 src/filemanager/panel.c act = panel->quick_search.buffer->str + panel->quick_search.buffer->len; buffer 2837 src/filemanager/panel.c str_prev_noncomb_char (&act, panel->quick_search.buffer->str); buffer 2838 src/filemanager/panel.c g_string_set_size (panel->quick_search.buffer, act - panel->quick_search.buffer->str); buffer 2860 src/filemanager/panel.c g_string_append_len (panel->quick_search.buffer, panel->quick_search.ch, buffer 2867 src/filemanager/panel.c reg_exp = g_strdup_printf ("%s*", panel->quick_search.buffer->str); buffer 2914 src/filemanager/panel.c act = panel->quick_search.buffer->str + panel->quick_search.buffer->len; buffer 2915 src/filemanager/panel.c str_prev_noncomb_char (&act, panel->quick_search.buffer->str); buffer 2916 src/filemanager/panel.c g_string_set_size (panel->quick_search.buffer, act - panel->quick_search.buffer->str); buffer 2940 src/filemanager/panel.c if (panel->quick_search.buffer->len == 0) buffer 2941 src/filemanager/panel.c mc_g_string_copy (panel->quick_search.buffer, panel->quick_search.prev_buffer); buffer 2948 src/filemanager/panel.c g_string_set_size (panel->quick_search.buffer, 0); buffer 2967 src/filemanager/panel.c if (panel->quick_search.buffer->len != 0) buffer 2968 src/filemanager/panel.c mc_g_string_copy (panel->quick_search.prev_buffer, panel->quick_search.buffer); buffer 3143 src/filemanager/panel.c char buffer[MC_MAXPATHLEN]; buffer 3158 src/filemanager/panel.c i = readlink (fe->fname->str, buffer, MC_MAXPATHLEN - 1); buffer 3168 src/filemanager/panel.c buffer[i] = '\0'; buffer 3173 src/filemanager/panel.c p = strrchr (buffer, PATH_SEP); buffer 3177 src/filemanager/panel.c p = strrchr (buffer, PATH_SEP); buffer 3184 src/filemanager/panel.c if (IS_PATH_SEP (*buffer)) buffer 3185 src/filemanager/panel.c new_dir_vpath = vfs_path_from_str (buffer); buffer 3187 src/filemanager/panel.c new_dir_vpath = vfs_path_append_new (panel->cwd_vpath, buffer, (char *) NULL); buffer 4603 src/filemanager/panel.c panel->quick_search.buffer = g_string_sized_new (MC_MAXFILENAMELEN); buffer 136 src/filemanager/panel.h GString *buffer; buffer 522 src/filemanager/panelize.c GString *buffer; buffer 525 src/filemanager/panelize.c buffer = g_string_new (*profile_keys); buffer 528 src/filemanager/panelize.c buffer = g_string_new (""); buffer 529 src/filemanager/panelize.c if (str_convert (conv, *profile_keys, buffer) == ESTR_FAILURE) buffer 530 src/filemanager/panelize.c g_string_assign (buffer, *profile_keys); buffer 533 src/filemanager/panelize.c add2panelize (g_string_free (buffer, FALSE), buffer 167 src/filemanager/treestore.c decode (char *buffer) buffer 171 src/filemanager/treestore.c res = g_strdup (buffer); buffer 214 src/filemanager/treestore.c char buffer[MC_MAXPATHLEN + 20]; buffer 224 src/filemanager/treestore.c && (fgets (buffer, sizeof (buffer), file) == NULL buffer 225 src/filemanager/treestore.c || strncmp (buffer, TREE_SIGNATURE, strlen (TREE_SIGNATURE)) != 0)) buffer 238 src/filemanager/treestore.c while (fgets (buffer, MC_MAXPATHLEN, file)) buffer 245 src/filemanager/treestore.c if (buffer[0] != '0' && buffer[0] != '1') buffer 248 src/filemanager/treestore.c if (buffer[1] != ':') buffer 251 src/filemanager/treestore.c scanned = buffer[0] == '1'; buffer 253 src/filemanager/treestore.c lc_name = decode (buffer + 2); buffer 301 src/learn.c char buffer[BUF_TINY]; buffer 311 src/learn.c g_snprintf (buffer, sizeof (buffer), "%s%*s", label, padding, ""); buffer 314 src/learn.c WIDGET (button_new (y, x, B_USER + i, NARROW_BUTTON, buffer, learn_button)); buffer 355 src/main.c char *buffer; buffer 358 src/main.c buffer = mc_config_get_string (mc_global.panels_config, "Dirs", "other_dir", "."); buffer 359 src/main.c vpath = vfs_path_from_str (buffer); buffer 361 src/main.c saved_other_dir = buffer; buffer 363 src/main.c g_free (buffer); buffer 83 src/selcodepage.c char buffer[255]; buffer 99 src/selcodepage.c g_snprintf (buffer, sizeof (buffer), "%c %s", get_hotkey (i), name); buffer 100 src/selcodepage.c LISTBOX_APPEND_TEXT (listbox, get_hotkey (i), buffer, NULL, FALSE); buffer 108 src/selcodepage.c g_snprintf (buffer, sizeof (buffer), "%c %s", hotkey, _("Other 8 bit")); buffer 109 src/selcodepage.c LISTBOX_APPEND_TEXT (listbox, hotkey, buffer, NULL, FALSE); buffer 556 src/setup.c char *buffer; buffer 561 src/setup.c buffer = mc_config_get_string (mc_global.panels_config, section, "display", "listing"); buffer 564 src/setup.c if (g_ascii_strcasecmp (panel_types[i].opt_name, buffer) == 0) buffer 570 src/setup.c g_free (buffer); buffer 927 src/setup.c char *buffer; buffer 929 src/setup.c buffer = buffer 932 src/setup.c if (buffer[0] != '\0') buffer 934 src/setup.c mc_global.display_codepage = get_codepage_index (buffer); buffer 937 src/setup.c g_free (buffer); buffer 938 src/setup.c buffer = buffer 941 src/setup.c if (buffer[0] != '\0') buffer 943 src/setup.c default_source_codepage = get_codepage_index (buffer); buffer 947 src/setup.c g_free (buffer); buffer 1114 src/setup.c char *buffer; buffer 1116 src/setup.c buffer = buffer 1119 src/setup.c if ((buffer != NULL) && (buffer[0] != '\0')) buffer 1120 src/setup.c return buffer; buffer 1122 src/setup.c g_free (buffer); buffer 1133 src/setup.c char *buffer; buffer 1144 src/setup.c buffer = mc_config_get_string (mc_global.panels_config, section, "sort_order", "name"); buffer 1145 src/setup.c panel->sort_field = panel_get_field_by_id (buffer); buffer 1149 src/setup.c g_free (buffer); buffer 1152 src/setup.c buffer = mc_config_get_string (mc_global.panels_config, section, "list_format", NULL); buffer 1153 src/setup.c if (buffer == NULL) buffer 1156 src/setup.c buffer = mc_config_get_string (mc_global.panels_config, section, "list_mode", "full"); buffer 1160 src/setup.c if (g_ascii_strcasecmp (list_formats[i].key, buffer) == 0) buffer 1165 src/setup.c g_free (buffer); buffer 1199 src/setup.c char buffer[BUF_TINY]; buffer 1224 src/setup.c g_snprintf (buffer, sizeof (buffer), "user_status%lld", (long long) i); buffer 1225 src/setup.c mc_config_set_string (mc_global.panels_config, section, buffer, buffer 710 src/subshell/common.c parse_subshell_prompt_string (const char *buffer, int bytes) buffer 725 src/subshell/common.c if (buffer[i] == '\n' || buffer[i] == '\r') buffer 727 src/subshell/common.c else if (buffer[i] != '\0') buffer 728 src/subshell/common.c g_string_append_c (subshell_prompt_temp_buffer, buffer[i]); buffer 1490 src/subshell/common.c for (i = 0; i < cmdline->buffer->len; i++) buffer 1492 src/subshell/common.c g_string_overwrite_len (cmdline->buffer, i, " ", 1); buffer 1495 src/subshell/common.c write_all (mc_global.tty.subshell_pty, s, cmdline->buffer->len); buffer 844 src/vfs/cpio/cpio.c cpio_read (void *fh, char *buffer, size_t count) buffer 857 src/vfs/cpio/cpio.c res = mc_read (fd, buffer, count); buffer 606 src/vfs/extfs/extfs.c GString *buffer; buffer 643 src/vfs/extfs/extfs.c while (ret != -1 && (buffer = mc_pstream_get_string (&pip->out)) != NULL) buffer 647 src/vfs/extfs/extfs.c if (buffer->str[buffer->len - 1] == '\n') buffer 651 src/vfs/extfs/extfs.c g_string_truncate (buffer, buffer->len - 1); buffer 656 src/vfs/extfs/extfs.c g_string_append_len (remain_file_name, buffer->str, buffer->len); buffer 657 src/vfs/extfs/extfs.c g_string_free (buffer, TRUE); buffer 658 src/vfs/extfs/extfs.c buffer = remain_file_name; buffer 667 src/vfs/extfs/extfs.c remain_file_name = buffer; buffer 670 src/vfs/extfs/extfs.c g_string_append_len (remain_file_name, buffer->str, buffer->len); buffer 671 src/vfs/extfs/extfs.c g_string_free (buffer, TRUE); buffer 677 src/vfs/extfs/extfs.c ret = extfs_add_file (archive, buffer->str); buffer 679 src/vfs/extfs/extfs.c g_string_free (buffer, TRUE); buffer 1118 src/vfs/extfs/extfs.c extfs_read (void *fh, char *buffer, size_t count) buffer 1122 src/vfs/extfs/extfs.c return read (file->handle, buffer, count); buffer 256 src/vfs/ftpfs/ftpfs.c static char buffer[BUF_MEDIUM]; buffer 1669 src/vfs/ftpfs/ftpfs.c char buffer[2048] = "", *filename; buffer 1721 src/vfs/ftpfs/ftpfs.c if (fgets (buffer, sizeof (buffer), fp) == NULL) buffer 1726 src/vfs/ftpfs/ftpfs.c fputs (buffer, me->logfile); buffer 1732 src/vfs/ftpfs/ftpfs.c if (vfs_parse_ls_lga (buffer, &s, &filename, NULL)) buffer 1763 src/vfs/ftpfs/ftpfs.c while (fgets (buffer, sizeof (buffer), fp) != NULL) buffer 2460 src/vfs/ftpfs/ftpfs.c p = buffer; buffer 2481 src/vfs/ftpfs/ftpfs.c if (*buffer == '\0') buffer 2485 src/vfs/ftpfs/ftpfs.c if (strcmp (keywords[i - 1], buffer) == 0) buffer 2558 src/vfs/ftpfs/ftpfs.c if (g_ascii_strcasecmp (host, buffer) != 0) buffer 2572 src/vfs/ftpfs/ftpfs.c if (g_ascii_strncasecmp (host, buffer, host_domain - host) != 0) buffer 2662 src/vfs/ftpfs/ftpfs.c *login = g_strdup (buffer); buffer 2684 src/vfs/ftpfs/ftpfs.c tmp_pass = g_strdup (buffer); buffer 391 src/vfs/local/local.c local_read (void *data, char *buffer, size_t count) buffer 401 src/vfs/local/local.c while ((n = read (fd, buffer, count)) == -1) buffer 26 src/vfs/local/local.h extern ssize_t local_read (void *data, char *buffer, size_t count); buffer 164 src/vfs/sftpfs/config_parser.c sftpfs_fill_config_entity_from_string (sftpfs_ssh_config_entity_t *config_entity, char *buffer) buffer 170 src/vfs/sftpfs/config_parser.c if (mc_search_run (config_variables[i].pattern_regexp, buffer, 0, strlen (buffer), NULL)) buffer 181 src/vfs/sftpfs/config_parser.c value = &buffer[value_offset]; buffer 227 src/vfs/sftpfs/config_parser.c char buffer[BUF_MEDIUM]; buffer 243 src/vfs/sftpfs/config_parser.c if (fgets (buffer, sizeof (buffer), ssh_config_handler) == NULL) buffer 261 src/vfs/sftpfs/config_parser.c cr = strrchr (buffer, '\n'); buffer 265 src/vfs/sftpfs/config_parser.c if (mc_search_run (host_regexp, buffer, 0, strlen (buffer), NULL)) buffer 275 src/vfs/sftpfs/config_parser.c host_pattern = &buffer[host_pattern_offset]; buffer 297 src/vfs/sftpfs/config_parser.c sftpfs_fill_config_entity_from_string (config_entity, buffer); buffer 269 src/vfs/sftpfs/file.c sftpfs_read_file (vfs_file_handler_t *fh, char *buffer, size_t count, GError **mcerror) buffer 290 src/vfs/sftpfs/file.c rc = libssh2_sftp_read (file->handle, buffer, count); buffer 319 src/vfs/sftpfs/file.c sftpfs_write_file (vfs_file_handler_t *fh, const char *buffer, size_t count, GError **mcerror) buffer 333 src/vfs/sftpfs/file.c rc = libssh2_sftp_write (file->handle, buffer, count); buffer 105 src/vfs/sftpfs/internal.h ssize_t sftpfs_read_file (vfs_file_handler_t * fh, char *buffer, size_t count, GError ** mcerror); buffer 106 src/vfs/sftpfs/internal.h ssize_t sftpfs_write_file (vfs_file_handler_t * fh, const char *buffer, size_t count, buffer 437 src/vfs/sftpfs/sftpfs.c sftpfs_cb_read (void *data, char *buffer, size_t count) buffer 449 src/vfs/sftpfs/sftpfs.c rc = sftpfs_read_file (fh, buffer, count, &mcerror); buffer 502 src/vfs/shell/shell.c char buffer[BUF_8K] = ""; buffer 504 src/vfs/shell/shell.c res = vfs_s_get_line_interruptible (me, buffer, sizeof (buffer), shell_super->sockr); buffer 507 src/vfs/shell/shell.c if (strncmp (buffer, "### ", 4) == 0) buffer 509 src/vfs/shell/shell.c shell_super->host_flags = atol (buffer); buffer 753 src/vfs/shell/shell.c shell_parse_ls (char *buffer, struct vfs_s_entry *ent) buffer 757 src/vfs/shell/shell.c buffer++; buffer 759 src/vfs/shell/shell.c switch (buffer[-1]) buffer 767 src/vfs/shell/shell.c filename = buffer; buffer 838 src/vfs/shell/shell.c ST.st_size = (off_t) g_ascii_strtoll (buffer, NULL, 10); buffer 845 src/vfs/shell/shell.c vfs_parse_filemode (buffer, &skipped, &ST.st_mode); buffer 857 src/vfs/shell/shell.c vfs_parse_raw_filemode (buffer, &skipped, &ST.st_mode); buffer 862 src/vfs/shell/shell.c vfs_split_text (buffer); buffer 875 src/vfs/shell/shell.c if (sscanf (buffer, "%d %d %d %d %d %d", &tim.tm_year, &tim.tm_mon, buffer 888 src/vfs/shell/shell.c if (sscanf (buffer, "%d,%d", &maj, &min) != 2) buffer 909 src/vfs/shell/shell.c char buffer[BUF_8K] = "\0"; buffer 938 src/vfs/shell/shell.c vfs_s_get_line_interruptible (me, buffer, sizeof (buffer), SHELL_SUPER (super)->sockr); buffer 948 src/vfs/shell/shell.c fputs (buffer, me->logfile); buffer 952 src/vfs/shell/shell.c if (strncmp (buffer, "### ", 4) == 0) buffer 955 src/vfs/shell/shell.c if (buffer[0] != '\0') buffer 956 src/vfs/shell/shell.c shell_parse_ls (buffer, ent); buffer 965 src/vfs/shell/shell.c reply_code = shell_decode_reply (buffer + 4, 0); buffer 989 src/vfs/shell/shell.c char buffer[BUF_8K]; buffer 1053 src/vfs/shell/shell.c while ((n = read (h, buffer, sizeof (buffer))) < 0) buffer 1065 src/vfs/shell/shell.c t = write (shell_super->sockw, buffer, n); buffer 1143 src/vfs/shell/shell.c char buffer[BUF_8K]; buffer 1150 src/vfs/shell/shell.c n = MIN ((off_t) sizeof (buffer), (shell->total - shell->got)); buffer 1153 src/vfs/shell/shell.c n = read (SHELL_SUPER (super)->sockr, buffer, n); buffer 99 src/vfs/tar/tar-internal.c more = archive->record_start->buffer + status; buffer 134 src/vfs/tar/tar-internal.c status = mc_read (archive->fd, archive->record_start->buffer, record_size); buffer 192 src/vfs/tar/tar-internal.h char buffer[BLOCKSIZE]; buffer 241 src/vfs/tar/tar-internal.h char *buffer; buffer 86 src/vfs/tar/tar-sparse.c char *endp = b->buffer + BLOCKSIZE; \ buffer 100 src/vfs/tar/tar-sparse.c src = b->buffer; \ buffer 101 src/vfs/tar/tar-sparse.c endp = b->buffer + BLOCKSIZE; \ buffer 557 src/vfs/tar/tar-sparse.c p = blk->buffer; buffer 592 src/vfs/tar/tar-xheader.c len_max = xhdr->buffer + xhdr->size - start; buffer 878 src/vfs/tar/tar-xheader.c p = st->xhdr.buffer + BLOCKSIZE; buffer 912 src/vfs/tar/tar-xheader.c xhdr->buffer = g_malloc (size_plus_1); buffer 913 src/vfs/tar/tar-xheader.c xhdr->buffer[size] = '\0'; buffer 924 src/vfs/tar/tar-xheader.c memcpy (xhdr->buffer + j, p->buffer, len); buffer 944 src/vfs/tar/tar-xheader.c p = xhdr->buffer + BLOCKSIZE; buffer 959 src/vfs/tar/tar-xheader.c MC_PTR_FREE (xhdr->buffer); buffer 320 src/vfs/tar/tar.c return record_end->buffer - pointer->buffer; buffer 337 src/vfs/tar/tar.c unsigned char uc = header->buffer[i]; buffer 338 src/vfs/tar/tar.c signed char sc = header->buffer[i]; buffer 395 src/vfs/tar/tar.c else if (current_stat_info.xhdr.buffer != NULL) buffer 400 src/vfs/tar/tar.c else if (strcmp (header->buffer + offsetof (struct posix_header, magic), OLDGNU_MAGIC) == 0) buffer 674 src/vfs/tar/tar.c bp = header_copy->buffer + BLOCKSIZE; buffer 693 src/vfs/tar/tar.c memcpy (bp, data_block->buffer, written); buffer 695 src/vfs/tar/tar.c tar_set_next_block_after ((union block *) (data_block->buffer + written - 1)); buffer 747 src/vfs/tar/tar.c file_name = g_strdup (next_long_name->buffer + BLOCKSIZE); buffer 781 src/vfs/tar/tar.c link_name = g_strdup (next_long_link->buffer + BLOCKSIZE); buffer 792 src/vfs/tar/tar.c if (current_stat_info.xhdr.buffer != NULL && !tar_xheader_decode (¤t_stat_info)) buffer 1130 src/vfs/tar/tar.c tar_read_sparse (vfs_file_handler_t *fh, char *buffer, size_t count) buffer 1145 src/vfs/tar/tar.c res = mc_read (fd, buffer, (size_t) remain); buffer 1163 src/vfs/tar/tar.c memset (buffer, 0, (size_t) remain); buffer 1228 src/vfs/tar/tar.c tar_read (void *fh, char *buffer, size_t count) buffer 1241 src/vfs/tar/tar.c res = tar_read_sparse (file, buffer, count); buffer 1251 src/vfs/tar/tar.c res = mc_read (fd, buffer, count); buffer 580 src/vfs/undelfs/undelfs.c undelfs_read (void *vfs_info, char *buffer, size_t count) buffer 585 src/vfs/undelfs/undelfs.c p->dest_buffer = buffer; buffer 602 src/vfs/undelfs/undelfs.c p->pos = p->pos + (p->dest_buffer - buffer); buffer 603 src/vfs/undelfs/undelfs.c return p->dest_buffer - buffer; buffer 175 src/viewer/display.c char buffer[BUF_TRUNC_LEN + 1]; buffer 177 src/viewer/display.c size_trunc_len (buffer, BUF_TRUNC_LEN, mcview_get_filesize (view), 0, buffer 180 src/viewer/display.c buffer, mcview_may_still_grow (view) ? "+" : " ", buffer 67 tests/lib/strutil/filevercmp.c char buffer[BUF_1K]; buffer 77 tests/lib/strutil/filevercmp.c ck_assert_int_le (alen + blen, sizeof (buffer)); buffer 78 tests/lib/strutil/filevercmp.c memcpy (buffer, a, alen); buffer 79 tests/lib/strutil/filevercmp.c memcpy (buffer + alen, b, blen); buffer 82 tests/lib/strutil/filevercmp.c if (buffer[i] == '\1') buffer 83 tests/lib/strutil/filevercmp.c buffer[i] = '\0'; buffer 85 tests/lib/strutil/filevercmp.c nresult = filenvercmp (buffer, alen, buffer + alen, blen); buffer 292 tests/src/editor/edit_complete_word_cmd.c edit_buffer_get_byte (&test_edit->buffer, buffer 366 tests/src/editor/edit_complete_word_cmd.c edit_buffer_get_byte (&test_edit->buffer,