Lines Matching refs:size_t
233 size_t width;
244 size_t len; /* Number of bytes */
252 static size_t quote_name (char const *name,
258 static size_t quote_name_buf (char **inbuf, size_t bufsize, char *name,
260 int needs_general_quoting, size_t *width,
278 static void indent (size_t from, size_t to);
279 static size_t calculate_columns (bool by_columns);
283 static size_t print_file_name_and_frills (const struct fileinfo *f,
284 size_t start_col);
290 static size_t print_name_with_quoting (const struct fileinfo *f,
293 size_t start_col);
305 static size_t quote_name_width (char const *name,
334 static size_t cwd_n_alloc;
337 static size_t cwd_n_used;
349 static size_t sorted_file_alloc;
727 static size_t tabsize;
736 static size_t line_length;
956 size_t line_len;
957 size_t *col_arr;
964 static size_t max_idx;
986 dired_outbuf (char const *s, size_t s_len) in dired_outbuf()
1076 size_t n_pos; in dired_dump_obstack()
1083 for (size_t i = 0; i < n_pos; i++) in dired_dump_obstack()
1394 static size_t
1395 dev_ino_hash (void const *x, size_t table_size) in dev_ino_hash()
1461 size_t len = color_indicator[type].len; in is_colored()
2507 size_t *output_count) in get_funky_string()
2510 size_t count; /* Something to count with */ in get_funky_string()
3261 for (size_t i = 0; i < cwd_n_used; i++) in clear_files()
3371 size_t len = quotearg_buffer (test, sizeof test , name, -1, in needs_quoting()
3753 size_t i; in extract_dirs_from_files()
3754 size_t j; in extract_dirs_from_files()
3938 static size_t
4071 for (size_t i = 0; i < cwd_n_used; i++) in initialize_ordering_vector()
4084 size_t i; in update_current_files_info()
4140 size_t i; in print_current_files()
4185 static size_t
4186 align_nstrftime (char *buf, size_t size, bool recent, struct tm const *tm, in align_nstrftime()
4218 size_t len = align_nstrftime (buf, sizeof buf, false, in long_time_expected_width()
4325 size_t s; in print_long_format()
4503 size_t w = print_name_with_quoting (f, false, &dired_obstack, p - buf); in print_long_format()
4528 static size_t
4529 quote_name_buf (char **inbuf, size_t bufsize, char *name, in quote_name_buf()
4531 int needs_general_quoting, size_t *width, bool *pad) in quote_name_buf()
4534 size_t displayed_width IF_LINT ( = 0); in quote_name_buf()
4535 size_t len = 0; in quote_name_buf()
4616 size_t bytes; in quote_name_buf()
4621 if (bytes == (size_t) -1) in quote_name_buf()
4632 if (bytes == (size_t) -2) in quote_name_buf()
4723 static size_t
4729 size_t width; in quote_name_width()
4766 static size_t
4773 size_t len; in quote_name()
4831 static size_t
4835 size_t start_col) in print_name_with_quoting()
4845 size_t len = quote_name (name, filename_quoting_options, f->quoted, in print_name_with_quoting()
4884 static size_t
4885 print_file_name_and_frills (const struct fileinfo *f, size_t start_col) in print_file_name_and_frills()
4904 size_t width = print_name_with_quoting (f, false, nullptr, start_col); in print_file_name_and_frills()
4979 size_t len; /* Length of name */ in get_color_indicator()
5116 static size_t
5119 size_t len = 0; in length_of_file_name_and_frills()
5152 size_t row; /* Current row. */ in print_many_per_line()
5153 size_t cols = calculate_columns (true); in print_many_per_line()
5158 size_t rows = cwd_n_used / cols + (cwd_n_used % cols != 0); in print_many_per_line()
5162 size_t col = 0; in print_many_per_line()
5163 size_t filesno = row; in print_many_per_line()
5164 size_t pos = 0; in print_many_per_line()
5170 size_t name_length = length_of_file_name_and_frills (f); in print_many_per_line()
5171 size_t max_name_length = line_fmt->col_arr[col++]; in print_many_per_line()
5188 size_t filesno; in print_horizontal()
5189 size_t pos = 0; in print_horizontal()
5190 size_t cols = calculate_columns (false); in print_horizontal()
5193 size_t name_length = length_of_file_name_and_frills (f); in print_horizontal()
5194 size_t max_name_length = line_fmt->col_arr[0]; in print_horizontal()
5202 size_t col = filesno % cols; in print_horizontal()
5229 size_t filesno; in print_with_separator()
5230 size_t pos = 0; in print_with_separator()
5235 size_t len = line_length ? length_of_file_name_and_frills (f) : 0; in print_with_separator()
5268 indent (size_t from, size_t to) in indent()
5313 init_column_info (size_t max_cols) in init_column_info()
5315 size_t i; in init_column_info()
5318 static size_t column_info_alloc; in init_column_info()
5322 size_t new_column_info_alloc; in init_column_info()
5323 size_t *p; in init_column_info()
5347 size_t column_info_growth = new_column_info_alloc - column_info_alloc; in init_column_info()
5348 size_t s = column_info_alloc + 1 + new_column_info_alloc; in init_column_info()
5349 size_t t = s * column_info_growth; in init_column_info()
5367 size_t j; in init_column_info()
5379 static size_t
5382 size_t filesno; /* Index into cwd_file. */ in calculate_columns()
5383 size_t cols; /* Number of files across. */ in calculate_columns()
5388 size_t max_cols = 0 < max_idx && max_idx < cwd_n_used ? max_idx : cwd_n_used; in calculate_columns()
5396 size_t name_length = length_of_file_name_and_frills (f); in calculate_columns()
5398 for (size_t i = 0; i < max_cols; ++i) in calculate_columns()
5402 size_t idx = (by_columns in calculate_columns()
5405 size_t real_length = name_length + (idx == i ? 0 : 2); in calculate_columns()