length 63 lib/mcconfig.h const gchar * param, gsize * length); length 65 lib/mcconfig.h const gchar * param, gsize * length); length 67 lib/mcconfig.h gsize * length); length 85 lib/mcconfig.h const gchar * const value[], gsize length); length 87 lib/mcconfig.h gboolean value[], gsize length); length 89 lib/mcconfig.h int value[], gsize length); length 194 lib/mcconfig/get.c const gchar * param, gsize * length) length 199 lib/mcconfig/get.c return g_key_file_get_string_list (mc_config->handle, group, param, length, NULL); length 206 lib/mcconfig/get.c const gchar * param, gsize * length) length 211 lib/mcconfig/get.c return g_key_file_get_boolean_list (mc_config->handle, group, param, length, NULL); length 218 lib/mcconfig/get.c const gchar * param, gsize * length) length 223 lib/mcconfig/get.c return g_key_file_get_integer_list (mc_config->handle, group, param, length, NULL); length 131 lib/mcconfig/set.c const gchar * param, const gchar * const value[], gsize length) length 133 lib/mcconfig/set.c if (mc_config != NULL && group != NULL && param != NULL && value != NULL && length != 0) length 134 lib/mcconfig/set.c g_key_file_set_string_list (mc_config->handle, group, param, value, length); length 141 lib/mcconfig/set.c const gchar * param, gboolean value[], gsize length) length 143 lib/mcconfig/set.c if (mc_config != NULL && group != NULL && param != NULL && value != NULL && length != 0) length 144 lib/mcconfig/set.c g_key_file_set_boolean_list (mc_config->handle, group, param, value, length); length 151 lib/mcconfig/set.c const gchar * param, int value[], gsize length) length 153 lib/mcconfig/set.c if (mc_config != NULL && group != NULL && param != NULL && value != NULL && length != 0) length 154 lib/mcconfig/set.c g_key_file_set_integer_list (mc_config->handle, group, param, value, length); length 124 lib/strutil.h /*I*/ int (*length) (const char *); length 432 lib/strutil.h int str_term_width2 (const char *text, size_t length); length 443 lib/strutil.h int str_offset_to_pos (const char *text, size_t length); length 660 lib/strutil/strutil.c str_term_width2 (const char *text, size_t length) length 662 lib/strutil/strutil.c return used_class.term_width2 (text, length); length 676 lib/strutil/strutil.c str_offset_to_pos (const char *text, size_t length) length 678 lib/strutil/strutil.c return used_class.offset_to_pos (text, length); length 686 lib/strutil/strutil.c return used_class.length (text); length 293 lib/strutil/strutil8bit.c size_t length; length 298 lib/strutil/strutil8bit.c length = strlen (text); length 300 lib/strutil/strutil8bit.c for (; pos < length && remain > 1; pos++, actual++, remain--) length 316 lib/strutil/strutil8bit.c size_t length; length 319 lib/strutil/strutil8bit.c length = strlen (text); length 323 lib/strutil/strutil8bit.c if ((int) length <= width) length 329 lib/strutil/strutil8bit.c ident = (width - length) / 2; length 332 lib/strutil/strutil8bit.c ident = width - length; length 344 lib/strutil/strutil8bit.c for (; pos < length && remain > 1; pos++, actual++, remain--) length 347 lib/strutil/strutil8bit.c if (width - length - ident > 0) length 349 lib/strutil/strutil8bit.c if (remain <= width - length - ident) length 351 lib/strutil/strutil8bit.c memset (actual, ' ', width - length - ident); length 352 lib/strutil/strutil8bit.c actual += width - length - ident; length 366 lib/strutil/strutil8bit.c pos += length - width + 1; length 367 lib/strutil/strutil8bit.c for (; pos < length && remain > 1; pos++, actual++, remain--) length 375 lib/strutil/strutil8bit.c ident = (length - width) / 2; length 378 lib/strutil/strutil8bit.c ident = length - width; length 404 lib/strutil/strutil8bit.c size_t length; length 406 lib/strutil/strutil8bit.c length = strlen (text); length 414 lib/strutil/strutil8bit.c if (width >= (int) length) length 416 lib/strutil/strutil8bit.c for (pos = 0; pos < length && remain > 1; pos++, actual++, remain--) length 430 lib/strutil/strutil8bit.c for (pos = length - width + 3; pos < length && remain > 1; pos++, actual++, remain--) length 442 lib/strutil/strutil8bit.c str_8bit_term_width2 (const char *text, size_t length) length 444 lib/strutil/strutil8bit.c return (length != (size_t) (-1)) ? MIN (strlen (text), length) : strlen (text); length 472 lib/strutil/strutil8bit.c size_t length; length 476 lib/strutil/strutil8bit.c length = strlen (text); length 478 lib/strutil/strutil8bit.c if (start < (int) length) length 482 lib/strutil/strutil8bit.c for (pos = start; pos < length && width > 0 && remain > 1; length 503 lib/strutil/strutil8bit.c size_t length; length 507 lib/strutil/strutil8bit.c length = strlen (text); length 509 lib/strutil/strutil8bit.c if ((int) length > width) length 520 lib/strutil/strutil8bit.c pos += length - width + 1; length 521 lib/strutil/strutil8bit.c for (; pos < length && remain > 1; pos++, actual++, remain--) length 526 lib/strutil/strutil8bit.c for (; pos < length && remain > 1; pos++, actual++, remain--) length 538 lib/strutil/strutil8bit.c str_8bit_offset_to_pos (const char *text, size_t length) length 541 lib/strutil/strutil8bit.c return (int) length; length 828 lib/strutil/strutil8bit.c result.length = str_8bit_length; length 240 lib/strutil/strutilascii.c size_t length; length 245 lib/strutil/strutilascii.c length = strlen (text); length 248 lib/strutil/strutilascii.c for (; pos < length && remain > 1; pos++, actual++, remain--) length 267 lib/strutil/strutilascii.c size_t length; length 270 lib/strutil/strutilascii.c length = strlen (text); length 274 lib/strutil/strutilascii.c if ((int) length <= width) length 280 lib/strutil/strutilascii.c ident = (width - length) / 2; length 283 lib/strutil/strutilascii.c ident = width - length; length 297 lib/strutil/strutilascii.c for (; pos < (gsize) length && remain > 1; pos++, actual++, remain--) length 304 lib/strutil/strutilascii.c if (width - length - ident > 0) length 306 lib/strutil/strutilascii.c if (remain <= width - length - ident) length 308 lib/strutil/strutilascii.c memset (actual, ' ', width - length - ident); length 309 lib/strutil/strutilascii.c actual += width - length - ident; length 327 lib/strutil/strutilascii.c pos += length - width + 1; length 330 lib/strutil/strutilascii.c for (; pos < length && remain > 1; pos++, actual++, remain--) length 341 lib/strutil/strutilascii.c ident = (length - width) / 2; length 344 lib/strutil/strutilascii.c ident = length - width; length 376 lib/strutil/strutilascii.c size_t length; length 378 lib/strutil/strutilascii.c length = strlen (text); length 386 lib/strutil/strutilascii.c if (width >= (int) length) length 389 lib/strutil/strutilascii.c for (pos = 0; pos < length && remain > 1; pos++, actual++, remain--) length 407 lib/strutil/strutilascii.c for (pos = length - width + 3; pos < length && remain > 1; pos++, actual++, remain--) length 422 lib/strutil/strutilascii.c str_ascii_term_width2 (const char *text, size_t length) length 424 lib/strutil/strutilascii.c return (length != (size_t) (-1)) ? MIN (strlen (text), length) : strlen (text); length 452 lib/strutil/strutilascii.c size_t length; length 456 lib/strutil/strutilascii.c length = strlen (text); length 458 lib/strutil/strutilascii.c if (start < (int) length) length 463 lib/strutil/strutilascii.c for (pos = start; pos < length && width > 0 && remain > 1; length 488 lib/strutil/strutilascii.c size_t length; length 492 lib/strutil/strutilascii.c length = strlen (text); length 494 lib/strutil/strutilascii.c if ((int) length > width) length 509 lib/strutil/strutilascii.c pos += length - width + 1; length 512 lib/strutil/strutilascii.c for (; pos < length && remain > 1; pos++, actual++, remain--) length 521 lib/strutil/strutilascii.c for (; pos < length && remain > 1; pos++, actual++, remain--) length 536 lib/strutil/strutilascii.c str_ascii_offset_to_pos (const char *text, size_t length) length 539 lib/strutil/strutilascii.c return (int) length; length 751 lib/strutil/strutilascii.c result.length = str_ascii_length; length 440 lib/strutil/strutilutf8.c str_utf8_make_make_term_form (const char *text, size_t length) length 454 lib/strutil/strutilutf8.c if (length != 0 && text[0] != '\0') length 467 lib/strutil/strutilutf8.c while (length != 0 && text[0] != '\0') length 502 lib/strutil/strutilutf8.c if (length != (size_t) (-1)) length 503 lib/strutil/strutilutf8.c length--; length 798 lib/strutil/strutilutf8.c str_utf8_term_width2 (const char *text, size_t length) length 802 lib/strutil/strutilutf8.c result = str_utf8_make_make_term_form (text, length); length 894 lib/strutil/strutilutf8.c str_utf8_offset_to_pos (const char *text, size_t length) length 897 lib/strutil/strutilutf8.c return g_utf8_offset_to_pointer (text, length) - text; length 905 lib/strutil/strutilutf8.c result = g_utf8_offset_to_pointer (buffer->str, length) - buffer->str; length 1480 lib/strutil/strutilutf8.c result.length = str_utf8_length; length 77 lib/timefmt.c size_t length = 0; length 90 lib/timefmt.c length = str_term_width1 (_(INVALID_TIME_TEXT)); length 105 lib/timefmt.c length = MAX (tlen, length); length 108 lib/timefmt.c length = MAX (tlen, length); length 112 lib/timefmt.c length = MAX (tlen, length); length 116 lib/timefmt.c if (length > MAX_I18NTIMELENGTH || length < MIN_I18NTIMELENGTH) length 117 lib/timefmt.c length = STD_I18NTIMELENGTH; length 120 lib/timefmt.c i18n_timelength_cache = length; length 192 lib/util.c gsize length; length 195 lib/util.c if (!g_file_get_contents (from_file_name, &contents, &length, NULL)) length 205 lib/util.c if (fwrite ((const void *) contents, 1, length, backup_fd) != length) length 592 lib/util.c size_t * length) length 602 lib/util.c if (!g_file_get_contents (hintfile, &data, length, NULL)) length 609 lib/util.c if (!g_file_get_contents (hintfile, &data, length, NULL)) length 613 lib/util.c g_file_get_contents (hintfile_base, &data, length, NULL); length 196 lib/util.h size_t * length); length 1372 lib/vfs/path.c vfs_path_tokens_get (const vfs_path_t * vpath, ssize_t start_position, ssize_t length) length 1381 lib/vfs/path.c if (length == 0) length 1382 lib/vfs/path.c length = tokens_count; length 1384 lib/vfs/path.c if (length < 0) length 1385 lib/vfs/path.c length = tokens_count + length; length 1396 lib/vfs/path.c if (start_position + (ssize_t) length > (ssize_t) tokens_count) length 1397 lib/vfs/path.c length = tokens_count - start_position; length 1417 lib/vfs/path.c if (length == 0) length 1424 lib/vfs/path.c length--; length 1438 lib/vfs/path.c return g_string_free (ret_tokens, !(start_position == 0 && length == 0)); length 1454 lib/vfs/path.c vfs_path_vtokens_get (const vfs_path_t * vpath, ssize_t start_position, ssize_t length) length 1459 lib/vfs/path.c str_tokens = vfs_path_tokens_get (vpath, start_position, length); length 74 lib/vfs/path.h char *vfs_path_tokens_get (const vfs_path_t * vpath, ssize_t start_position, ssize_t length); length 75 lib/vfs/path.h vfs_path_t *vfs_path_vtokens_get (const vfs_path_t * vpath, ssize_t start_position, ssize_t length); length 95 lib/widget/listbox.c int length; length 104 lib/widget/listbox.c length = g_queue_get_length (l->list); length 108 lib/widget/listbox.c if (l->top + w->lines == length || w->lines >= length) length 115 lib/widget/listbox.c line = 1 + ((l->pos * (w->lines - 2)) / length); length 136 lib/widget/listbox.c int length = 0; length 150 lib/widget/listbox.c length = g_queue_get_length (l->list); length 172 lib/widget/listbox.c if (l->list != NULL && le != NULL && (i == 0 || pos < length)) length 186 lib/widget/listbox.c if (l->scrollbar && length > w->lines) length 303 lib/widget/listbox.c int length; length 305 lib/widget/listbox.c length = g_queue_get_length (l->list); length 307 lib/widget/listbox.c is_last = (l->pos + 1 >= length); length 308 lib/widget/listbox.c is_more = (l->top + w->lines >= length); length 638 lib/widget/listbox.c int length; length 640 lib/widget/listbox.c length = listbox_get_length (l); length 642 lib/widget/listbox.c l->pos = length > 0 ? length - 1 : 0; length 643 lib/widget/listbox.c l->top = length > lines ? length - lines : 0; length 746 lib/widget/listbox.c int length; length 752 lib/widget/listbox.c length = g_queue_get_length (l->list); length 754 lib/widget/listbox.c if (length == 0) length 756 lib/widget/listbox.c else if (l->pos >= length) length 757 lib/widget/listbox.c l->pos = length - 1; length 134 src/diffviewer/ydiff.c gsize length; length 138 src/diffviewer/ydiff.c if (!g_file_get_contents (from_file_name, &contents, &length, NULL)) length 148 src/diffviewer/ydiff.c length = fwrite ((const void *) contents, length, 1, backup_fd); length 615 src/diffviewer/ydiff.c dview_str_utf8_offset_to_pos (const char *text, size_t length) length 620 src/diffviewer/ydiff.c return length; length 623 src/diffviewer/ydiff.c result = g_utf8_offset_to_pointer (text, length) - text; length 641 src/diffviewer/ydiff.c result = g_utf8_offset_to_pointer (tmpbuf, length) - tmpbuf; length 644 src/diffviewer/ydiff.c return MAX (length, (size_t) result); length 795 src/filemanager/panel.c int length = 0; length 810 src/filemanager/panel.c for (format = home; format != NULL && length != width; format = g_slist_next (format)) length 825 src/filemanager/panel.c if (len + length > width) length 826 src/filemanager/panel.c len = width - length; length 877 src/filemanager/panel.c length += len; length 886 src/filemanager/panel.c length++; length 890 src/filemanager/panel.c if (length < width) length 895 src/filemanager/panel.c tty_draw_hline (y, x, ' ', width - length); length 337 src/vfs/sftpfs/connection.c if (strncmp (prompts[i].text, "Password: ", prompts[i].length) == 0) length 340 src/vfs/sftpfs/connection.c responses[i].length = len; length 240 src/vfs/sftpfs/internal.c sftpfs_fix_filename (const char *file_name, unsigned int *length) length 243 src/vfs/sftpfs/internal.c *length = sftpfs_filename_buffer->len; length 75 src/vfs/sftpfs/internal.h const char *sftpfs_fix_filename (const char *file_name, unsigned int *length); length 904 src/vfs/smbfs/helpers/lib/util_sock.c unsigned int length = sizeof (sa); length 922 src/vfs/smbfs/helpers/lib/util_sock.c if (getpeername (fd, &sa, &length) < 0) length 955 src/vfs/smbfs/helpers/lib/util_sock.c unsigned int length = sizeof (sa); length 972 src/vfs/smbfs/helpers/lib/util_sock.c if (getpeername (fd, &sa, &length) < 0) length 161 src/vfs/smbfs/helpers/libsmb/nmblib.c handle_name_ptrs (unsigned char *ubuf, int *offset, int length, BOOL * got_pointer, int *ret) length 171 src/vfs/smbfs/helpers/libsmb/nmblib.c if (loop_count++ == 10 || (*offset) < 0 || (*offset) > (length - 2)) length 184 src/vfs/smbfs/helpers/libsmb/nmblib.c parse_nmb_name (char *inbuf, int offset, int length, struct nmb_name *name) length 191 src/vfs/smbfs/helpers/libsmb/nmblib.c if (length - offset < 2) length 195 src/vfs/smbfs/helpers/libsmb/nmblib.c if (!handle_name_ptrs (ubuf, &offset, length, &got_pointer, &ret)) length 202 src/vfs/smbfs/helpers/libsmb/nmblib.c if ((m & 0xC0) || offset + m + 2 > length) length 241 src/vfs/smbfs/helpers/libsmb/nmblib.c if (!handle_name_ptrs (ubuf, &offset, length, &got_pointer, &ret)) length 249 src/vfs/smbfs/helpers/libsmb/nmblib.c if (m + 2 + offset > length || (size_t) n + m + 1 > sizeof (name->scope)) length 343 src/vfs/smbfs/helpers/libsmb/nmblib.c parse_alloc_res_rec (char *inbuf, int *offset, int length, struct res_rec **recs, int count) length 354 src/vfs/smbfs/helpers/libsmb/nmblib.c int l = parse_nmb_name (inbuf, *offset, length, &(*recs)[i].rr_name); length 356 src/vfs/smbfs/helpers/libsmb/nmblib.c if (!l || (*offset) + 10 > length) length 367 src/vfs/smbfs/helpers/libsmb/nmblib.c (*offset) + (*recs)[i].rdlength > length) length 433 src/vfs/smbfs/helpers/libsmb/nmblib.c parse_dgram (char *inbuf, int length, struct dgram_packet *dgram) length 440 src/vfs/smbfs/helpers/libsmb/nmblib.c if (length < 14) length 461 src/vfs/smbfs/helpers/libsmb/nmblib.c offset += parse_nmb_name (inbuf, offset, length, &dgram->source_name); length 462 src/vfs/smbfs/helpers/libsmb/nmblib.c offset += parse_nmb_name (inbuf, offset, length, &dgram->dest_name); length 465 src/vfs/smbfs/helpers/libsmb/nmblib.c if (offset >= length || ((size_t) length - offset > sizeof (dgram->data))) length 468 src/vfs/smbfs/helpers/libsmb/nmblib.c dgram->datasize = length - offset; length 480 src/vfs/smbfs/helpers/libsmb/nmblib.c parse_nmb (char *inbuf, int length, struct nmb_packet *nmb) length 486 src/vfs/smbfs/helpers/libsmb/nmblib.c if (length < 12) length 510 src/vfs/smbfs/helpers/libsmb/nmblib.c offset = parse_nmb_name (inbuf, 12, length, &nmb->question.question_name); length 514 src/vfs/smbfs/helpers/libsmb/nmblib.c if (length - (12 + offset) < 4) length 528 src/vfs/smbfs/helpers/libsmb/nmblib.c !parse_alloc_res_rec (inbuf, &offset, length, &nmb->answers, nmb->header.ancount)) length 532 src/vfs/smbfs/helpers/libsmb/nmblib.c !parse_alloc_res_rec (inbuf, &offset, length, &nmb->nsrecs, nmb->header.nscount)) length 536 src/vfs/smbfs/helpers/libsmb/nmblib.c !parse_alloc_res_rec (inbuf, &offset, length, &nmb->additional, nmb->header.arcount)) length 706 src/vfs/smbfs/helpers/libsmb/nmblib.c int length; length 709 src/vfs/smbfs/helpers/libsmb/nmblib.c length = read_udp_socket (fd, buf, sizeof (buf)); length 710 src/vfs/smbfs/helpers/libsmb/nmblib.c if (length < MIN_DGRAM_SIZE) length 728 src/vfs/smbfs/helpers/libsmb/nmblib.c ok = parse_nmb (buf, length, &packet->packet.nmb); length 732 src/vfs/smbfs/helpers/libsmb/nmblib.c ok = parse_dgram (buf, length, &packet->packet.dgram); length 746 src/vfs/smbfs/helpers/libsmb/nmblib.c length, inet_ntoa (packet->ip), packet->port)); length 94 src/viewer/nroff.c mcview__get_nroff_real_len (WView * view, off_t start, off_t length) length 106 src/viewer/nroff.c while (i < length)