Home
last modified time | relevance | path

Searched refs:uintmax_t (Results 1 – 25 of 56) sorted by relevance

123

/coreutils/src/
Dfactor.c151 # define UWtype uintmax_t
204 # define W_TYPE_SIZE (8 * sizeof (uintmax_t))
205 # define __ll_B ((uintmax_t) 1 << (W_TYPE_SIZE / 2))
206 # define __ll_lowpart(t) ((uintmax_t) (t) & (__ll_B - 1))
207 # define __ll_highpart(t) ((uintmax_t) (t) >> (W_TYPE_SIZE / 2))
239 uintmax_t plarge[2]; /* Can have a single large factor */
240 uintmax_t p[MAX_NFACTS];
253 static void factor (uintmax_t, uintmax_t, struct factors *);
258 uintmax_t __x0, __x1, __x2, __x3; \
260 uintmax_t __u = (u), __v = (v); \
[all …]
Dexpand-common.c32 static uintmax_t tab_size = 0;
35 static uintmax_t extend_size = 0;
38 static uintmax_t increment_size = 0;
46 static uintmax_t *tab_list = nullptr;
74 add_tab_stop (uintmax_t tabval) in add_tab_stop()
76 uintmax_t prev_column = first_free_tab ? tab_list[first_free_tab - 1] : 0; in add_tab_stop()
77 uintmax_t column_width = prev_column <= tabval ? tabval - prev_column : 0; in add_tab_stop()
92 set_extend_size (uintmax_t tabval) in set_extend_size()
109 set_increment_size (uintmax_t tabval) in set_increment_size()
131 uintmax_t tabval = 0; in parse_tab_stops()
[all …]
Dsum.h2 bsd_sum_stream (FILE *stream, void *resstream, uintmax_t *length);
5 sysv_sum_stream (FILE *stream, void *resstream, uintmax_t *length);
7 typedef int (*sumfn)(FILE *, void *, uintmax_t *);
13 uintmax_t length);
18 uintmax_t length);
Dexpand-common.h30 add_tab_stop (uintmax_t tabval);
38 extern uintmax_t
39 get_next_tab_column (const uintmax_t column, size_t *tab_index,
Dcksum.h7 crc_sum_stream (FILE *stream, void *resstream, uintmax_t *length);
11 bool tagged, unsigned char delim, bool args, uintmax_t length)
15 cksum_pclmul (FILE *fp, uint_fast32_t *crc_out, uintmax_t *length_out);
Dcksum.c163 cksum_slice8 (FILE *fp, uint_fast32_t *crc_out, uintmax_t *length_out) in cksum_slice8()
167 uintmax_t length = 0; in cksum_slice8()
220 crc_sum_stream (FILE *stream, void *resstream, uintmax_t *length) in crc_sum_stream()
222 uintmax_t total_bytes = 0; in crc_sum_stream()
226 static bool (*cksum_fp) (FILE *, uint_fast32_t *, uintmax_t *); in crc_sum_stream()
230 bool (*cksum_fp) (FILE *, uint_fast32_t *, uintmax_t *) = cksum_slice8; in crc_sum_stream()
253 bool tagged, unsigned char delim, bool args, uintmax_t length) in output_crc()
263 char length_buf[INT_BUFSIZE_BOUND (uintmax_t)]; in output_crc()
Dsum.c40 bsd_sum_stream (FILE *stream, void *resstream, uintmax_t *length) in bsd_sum_stream()
45 uintmax_t total_bytes = 0; /* The number of bytes. */ in bsd_sum_stream()
118 sysv_sum_stream (FILE *stream, void *resstream, uintmax_t *length) in sysv_sum_stream()
122 uintmax_t total_bytes = 0; in sysv_sum_stream()
195 uintmax_t length) in output_bsd()
220 uintmax_t length) in output_sysv()
Dset-fields.h22 uintmax_t lo;
23 uintmax_t hi;
Dset-fields.c46 add_range_pair (uintmax_t lo, uintmax_t hi) in add_range_pair()
137 uintmax_t initial = 1; /* Value of first number in a range. */ in set_fields()
138 uintmax_t value = 0; /* If nonzero, a number being accumulated. */ in set_fields()
247 if (!DECIMAL_DIGIT_ACCUMULATE (value, *fieldstr - '0', uintmax_t) in set_fields()
Dod.c184 ((sizeof (uintmax_t) * CHAR_BIT + CHAR_BIT - 1) / 3)
205 static uintmax_t pseudo_offset;
209 static void (*format_address) (uintmax_t, char);
212 static uintmax_t n_bytes_to_skip = 0;
219 static uintmax_t max_bytes_to_format;
222 static uintmax_t end_offset;
436 uintmax_t i; \
506 uintmax_t i; in print_named_ascii()
537 uintmax_t i; in print_ascii()
1001 skip (uintmax_t n_skip) in skip()
[all …]
Dunexpand.c134 uintmax_t column = 0; in unexpand()
137 uintmax_t next_tab_column = 0; in unexpand()
257 uintmax_t tabval IF_LINT ( = 0); in main()
302 if (!DECIMAL_DIGIT_ACCUMULATE (tabval, c - '0', uintmax_t)) in main()
Ddigest.c170 uintmax_t length);
216 static uintmax_t digest_length;
220 bool, unsigned char, bool, uintmax_t);
243 md5_sum_stream (FILE *stream, void *resstream, uintmax_t *length) in md5_sum_stream()
248 sha1_sum_stream (FILE *stream, void *resstream, uintmax_t *length) in sha1_sum_stream()
253 sha224_sum_stream (FILE *stream, void *resstream, uintmax_t *length) in sha224_sum_stream()
258 sha256_sum_stream (FILE *stream, void *resstream, uintmax_t *length) in sha256_sum_stream()
263 sha384_sum_stream (FILE *stream, void *resstream, uintmax_t *length) in sha384_sum_stream()
268 sha512_sum_stream (FILE *stream, void *resstream, uintmax_t *length) in sha512_sum_stream()
273 blake2b_sum_stream (FILE *stream, void *resstream, uintmax_t *length) in blake2b_sum_stream()
[all …]
Dhead.c194 copy_fd (int src_fd, uintmax_t n_bytes) in copy_fd()
248 elide_tail_bytes_pipe (char const *filename, int fd, uintmax_t n_elide_0, in elide_tail_bytes_pipe()
252 uintmax_t desired_pos = current_pos; in elide_tail_bytes_pipe()
465 elide_tail_bytes_file (char const *filename, int fd, uintmax_t n_elide, in elide_tail_bytes_file()
498 elide_tail_lines_pipe (char const *filename, int fd, uintmax_t n_elide, in elide_tail_lines_pipe()
508 uintmax_t desired_pos = current_pos; in elide_tail_lines_pipe()
649 uintmax_t n_lines, in elide_tail_lines_seekable()
755 elide_tail_lines_file (char const *filename, int fd, uintmax_t n_elide, in elide_tail_lines_file()
775 head_bytes (char const *filename, int fd, uintmax_t bytes_to_write) in head_bytes()
800 head_lines (char const *filename, int fd, uintmax_t lines_to_write) in head_lines()
[all …]
Dtail.c160 uintmax_t n_unchanged_stats;
202 static uintmax_t max_n_unchanged_stats_between_opens =
432 static uintmax_t
434 uintmax_t n_bytes) in dump_remainder()
436 uintmax_t n_written; in dump_remainder()
437 uintmax_t n_remaining = n_bytes; in dump_remainder()
518 file_lines (char const *pretty_filename, int fd, uintmax_t n_lines, in file_lines()
519 off_t start_pos, off_t end_pos, uintmax_t *read_pos) in file_lines()
605 pipe_lines (char const *pretty_filename, int fd, uintmax_t n_lines, in pipe_lines()
606 uintmax_t *read_pos) in pipe_lines()
[all …]
Ddf.c75 static uintmax_t output_block_size;
227 uintmax_t input_units;
228 uintmax_t output_units;
229 uintmax_t total;
230 uintmax_t available;
232 uintmax_t available_to_root;
233 uintmax_t used;
594 uintmax_t q1000 = output_block_size; in get_header()
595 uintmax_t q1024 = output_block_size; in get_header()
624 char buf[INT_BUFSIZE_BOUND (uintmax_t)]; in get_header()
[all …]
Dgroup-list.c95 static char buf[INT_BUFSIZE_BOUND (uintmax_t)]; in gidtostr_ptr()
119 uintmax_t g = gid; in print_group()
Dwc.c56 static uintmax_t total_lines;
57 static uintmax_t total_words;
58 static uintmax_t total_chars;
59 static uintmax_t total_bytes;
209 write_counts (uintmax_t lines, in write_counts()
210 uintmax_t words, in write_counts()
211 uintmax_t chars, in write_counts()
212 uintmax_t bytes, in write_counts()
219 INT_BUFSIZE_BOUND (uintmax_t))]; in write_counts()
697 uintmax_t regular_total = 0; in compute_number_width()
Dcut.c191 next_item (uintmax_t *item_idx) in next_item()
201 print_kth (uintmax_t k) in print_kth()
209 is_range_start_index (uintmax_t k) in is_range_start_index()
219 uintmax_t byte_idx; /* Number of bytes in the line so far. */ in cut_bytes()
280 uintmax_t field_idx = 1; in cut_fields()
Dcksum_pclmul.c31 cksum_pclmul (FILE *fp, uint_fast32_t *crc_out, uintmax_t *length_out);
36 cksum_pclmul (FILE *fp, uint_fast32_t *crc_out, uintmax_t *length_out) in cksum_pclmul()
40 uintmax_t length = 0; in cksum_pclmul()
Dexpand.c115 uintmax_t column = 0; in expand()
133 uintmax_t next_tab_column; in expand()
Ddu.c78 uintmax_t size;
81 uintmax_t inodes;
100 duinfo_set (struct duinfo *a, uintmax_t size, struct timespec tmax) in duinfo_set()
111 uintmax_t sum = a->size + b->size; in duinfo_add()
189 static uintmax_t output_block_size;
395 print_only_size (uintmax_t n_bytes) in print_only_size()
590 : (uintmax_t) STP_NBLOCKS (sb) * ST_NBLOCKSIZE), in process_file()
661 uintmax_t v = opt_inodes ? dui_to_print.inodes : dui_to_print.size; in process_file()
Dcomm.c277 uintmax_t total[] = {0, 0, 0}; in compare_files()
396 char buf1[INT_BUFSIZE_BOUND (uintmax_t)]; in compare_files()
397 char buf2[INT_BUFSIZE_BOUND (uintmax_t)]; in compare_files()
398 char buf3[INT_BUFSIZE_BOUND (uintmax_t)]; in compare_files()
/coreutils/gl/lib/
Dxdectoint.h33 _DECLARE_XDECTOINT (xdectoumax, uintmax_t)
36 _DECLARE_XNUMTOINT (xnumtoumax, uintmax_t)
Dxdectoumax.c3 #define __xdectoint_t uintmax_t
Drandint.h30 typedef uintmax_t randint;

123