Searched refs:pos (Results 1 – 8 of 8) sorted by relevance
/coreutils/src/ |
D | test.c | 72 static int pos; /* The offset of the current argument in ARGV. */ variable 106 ++pos; in advance() 108 if (f && pos >= argc) in advance() 116 ++pos; in unary_advance() 213 while (pos < argc && argv[pos][0] == '!' && argv[pos][1] == '\0') in term() 219 if (pos >= argc) in term() 223 if (argv[pos][0] == '(' && argv[pos][1] == '\0') in term() 230 pos + nargs < argc && ! STREQ (argv[pos + nargs], ")"); in term() 234 nargs = argc - pos; in term() 239 if (argv[pos] == 0) in term() [all …]
|
D | expr.c | 166 mbs_logical_substr (char const *s, size_t pos, size_t len) in mbs_logical_substr() argument 172 size_t vlen = MIN (len, pos <= llen ? llen - pos + 1 : 0); in mbs_logical_substr() 176 if (pos == 0 || len == SIZE_MAX) in mbs_logical_substr() 182 substart += pos - 1; in mbs_logical_substr() 191 if (pos <= idx) in mbs_logical_substr() 193 if (pos == idx) in mbs_logical_substr() 718 size_t pos; in eval6() local 724 pos = mbs_logical_cspn (l->u.s, r->u.s); in eval6() 725 v = int_value (pos); in eval6() 741 size_t pos = getsize (i1->u.i); in eval6() local [all …]
|
D | head.c | 654 off_t pos = size; in elide_tail_lines_seekable() local 658 bytes_read = (pos - start_pos) % BUFSIZ; in elide_tail_lines_seekable() 663 pos -= bytes_read; in elide_tail_lines_seekable() 664 if (elseek (fd, pos, SEEK_SET, pretty_filename) < 0) in elide_tail_lines_seekable() 702 if (start_pos < pos) in elide_tail_lines_seekable() 708 err = copy_fd (fd, pos - start_pos); in elide_tail_lines_seekable() 721 return 0 <= elseek (fd, pos + n + 1, SEEK_SET, pretty_filename); in elide_tail_lines_seekable() 726 if (pos == start_pos) in elide_tail_lines_seekable() 731 pos -= BUFSIZ; in elide_tail_lines_seekable() 732 if (elseek (fd, pos, SEEK_SET, pretty_filename) < 0) in elide_tail_lines_seekable()
|
D | ls.c | 1081 off_t *pos = obstack_finish (os); in dired_dump_obstack() local 1085 intmax_t p = pos[i]; in dired_dump_obstack() 5164 size_t pos = 0; in print_many_per_line() local 5172 print_file_name_and_frills (f, pos); in print_many_per_line() 5178 indent (pos + name_length, pos + max_name_length); in print_many_per_line() 5179 pos += max_name_length; in print_many_per_line() 5189 size_t pos = 0; in print_horizontal() local 5207 pos = 0; in print_horizontal() 5211 indent (pos + name_length, pos + max_name_length); in print_horizontal() 5212 pos += max_name_length; in print_horizontal() [all …]
|
D | tail.c | 523 off_t pos = end_pos; in file_lines() local 530 bytes_read = (pos - start_pos) % BUFSIZ; in file_lines() 535 pos -= bytes_read; in file_lines() 536 xlseek (fd, pos, SEEK_SET, pretty_filename); in file_lines() 543 *read_pos = pos + bytes_read; in file_lines() 567 end_pos - (pos + bytes_read)); in file_lines() 573 if (pos == start_pos) in file_lines() 582 pos -= BUFSIZ; in file_lines() 583 xlseek (fd, pos, SEEK_SET, pretty_filename); in file_lines() 592 *read_pos = pos + bytes_read; in file_lines()
|
/coreutils/scripts/build-older-versions/ |
D | coreutils-5.0-on-glibc-2.28.diff | 59 - value = -1 != eaccess (argv[pos - 1], R_OK); 60 + value = -1 != eaccess_FOO (argv[pos - 1], R_OK); 65 - value = -1 != eaccess (argv[pos - 1], W_OK); 66 + value = -1 != eaccess_FOO (argv[pos - 1], W_OK); 71 - value = -1 != eaccess (argv[pos - 1], X_OK); 72 + value = -1 != eaccess_FOO (argv[pos - 1], X_OK);
|
/coreutils/tests/ |
D | local.mk | 326 tests/head/head-pos.sh \
|
/coreutils/doc/ |
D | coreutils.texi | 4768 In its simplest form @var{pos} specifies a field number (starting with 1), 4775 each @var{pos} has the form @samp{@var{f}[.@var{c}][@var{opts}]},
|