Home
last modified time | relevance | path

Searched refs:flags (Results 1 – 19 of 19) sorted by relevance

/coreutils/tests/test/
Dtest.pl46 my $flags = join ' ', @args;
48 return ($flags, $ret, \@list_of_hashref);
68 my ($flags, $ret, $LoH) = digest_test $t;
74 if ($test_name =~ /$op-/ && $flags =~ / -$op /)
78 $flags =~ s/-$op/-$inv/;
80 push (@new, [$test_name, $flags, {EXIT=>$ret}, @$LoH]);
103 my ($flags, $ret, $LoH) = digest_test $t;
106 push (@new, ["N-$test_name", "! $flags", {EXIT=>1-$ret}, @$LoH])
108 push (@new, ["P-$test_name", "'(' $flags ')'", {EXIT=>$ret}, @$LoH])
110 push (@new, ["NP-$test_name", "! '(' $flags ')'", {EXIT=>1-$ret}, @$LoH])
[all …]
/coreutils/src/
Dshred.c815 struct Options const *flags) in do_wipefd() argument
827 if (flags->verbose) in do_wipefd()
828 n = flags->n_iterations + flags->zero_fill; in do_wipefd()
853 passarray = xnmalloc (flags->n_iterations, sizeof *passarray); in do_wipefd()
855 size = flags->size; in do_wipefd()
862 if (! flags->exact) in do_wipefd()
894 genpattern (passarray, flags->n_iterations, s); in do_wipefd()
920 for (i = 0; i < flags->n_iterations + flags->zero_fill; i++) in do_wipefd()
923 int type = i < flags->n_iterations ? passarray[i] : 0; in do_wipefd()
941 if (flags->remove_file && ftruncate (fd, 0) != 0 in do_wipefd()
[all …]
Dforce-link.c76 int flags; member
83 return linkat (a->srcdir, a->srcname, a->dstdir, dest, a->flags); in try_link()
96 int dstdir, char const *dstname, int flags, bool force, in force_linkat() argument
100 linkat_errno = (linkat (srcdir, srcname, dstdir, dstname, flags) == 0 in force_linkat()
109 struct link_arg arg = { srcdir, srcname, dstdir, flags }; in force_linkat()
Dnohup.c141 int flags = O_CREAT | O_WRONLY | O_APPEND; in main() local
145 ? fd_reopen (STDOUT_FILENO, file, flags, mode) in main()
146 : open (file, flags, mode)); in main()
156 ? fd_reopen (STDOUT_FILENO, in_home, flags, mode) in main()
157 : open (in_home, flags, mode)); in main()
Dcsplit.c1192 int flags = 0; in get_format_flags() local
1203 flags |= FLAG_THOUSANDS; in get_format_flags()
1207 flags |= FLAG_ALTERNATIVE; in get_format_flags()
1211 *flags_ptr = flags; in get_format_flags()
1221 check_format_conv_type (char *format, int flags) in check_format_conv_type() argument
1254 if (flags & ~ compatible_flags) in check_format_conv_type()
1257 (flags & ~ compatible_flags & FLAG_ALTERNATIVE ? '#' : '\''), ch); in check_format_conv_type()
1275 int flags; in max_out() local
1276 f += get_format_flags (f, &flags); in max_out()
1282 check_format_conv_type (f, flags); in max_out()
Dstty.c200 char flags; /* Setting and display options. */ member
1139 if ((mode_info[i].flags & NO_SETATTR) == 0) in apply_settings()
1492 if (reversed && (info->flags & REV) == 0) in set_mode()
1967 if (mode_info[i].flags & OMIT) in display_changed()
1984 if (mode_info[i].flags & SANE_UNSET) in display_changed()
1990 else if ((mode_info[i].flags & (SANE_SET | REV)) == (SANE_SET | REV)) in display_changed()
2053 if (mode_info[i].flags & OMIT) in display_all()
2066 else if (mode_info[i].flags & REV) in display_all()
2289 if (mode_info[i].flags & NO_SETATTR) in sane_mode()
2292 if (mode_info[i].flags & SANE_SET) in sane_mode()
[all …]
Dstat.c1371 int flags = 0; in do_stat() local
1382 flags = AT_EMPTY_PATH; in do_stat()
1386 flags = AT_SYMLINK_NOFOLLOW; in do_stat()
1390 flags |= AT_STATX_DONT_SYNC; in do_stat()
1392 flags |= AT_STATX_FORCE_SYNC; in do_stat()
1395 flags |= AT_NO_AUTOMOUNT; in do_stat()
1397 fd = statx (fd, pathname, flags, format_to_mask (format), &stx); in do_stat()
1400 if (flags & AT_EMPTY_PATH) in do_stat()
Dln.c611 int flags = (O_PATHSEARCH | O_DIRECTORY in main() local
613 destdir_fd = openat_safer (AT_FDCWD, d, flags); in main()
Ddd.c341 static struct symbol_value const flags[] = variable
1510 input_flags |= parse_symbols (val, flags, false, in scanargs()
1513 output_flags |= parse_symbols (val, flags, false, in scanargs()
Dcopy.c201 follow_fstatat (int dirfd, char const *filename, struct stat *st, int flags) in follow_fstatat() argument
203 int result = fstatat (dirfd, filename, st, flags); in follow_fstatat()
205 if (DEV_FD_MIGHT_BE_CHR && result == 0 && !(flags & AT_SYMLINK_NOFOLLOW) in follow_fstatat()
Dls.c1173 do_statx (int fd, char const *name, struct stat *st, int flags, in do_statx() argument
1178 int ret = statx (fd, name, flags | AT_NO_AUTOMOUNT, mask, &stx); in do_statx()
/coreutils/gl/lib/
Dfd-reopen.c32 fd_reopen (int desired_fd, char const *file, int flags, mode_t mode) in fd_reopen() argument
34 int fd = open (file, flags, mode); in fd_reopen()
/coreutils/tests/misc/
Djoin.pl313 my ($test_name, $flags, $in, $exp, $ret, $err_msg) = @$t;
314 my $new_ent = [$test_name, $flags];
/coreutils/tests/tail/
Dtail.pl114 my ($test_name, $flags, $in, $exp, $ret, $err_msg, $err_sub) = @$t;
115 my $e = [$test_name, $flags, {IN=>$in}, {OUT=>$exp}];
/coreutils/tests/pr/
Dpr-tests.pl434 my ($test_name, $flags, $in, $exp, $ret, $err_msg, $err_sub) = @$t;
435 my $new_ent = [$test_name, $common_option_prefix, $flags];
/coreutils/tests/rm/
Dr-root.sh69 int unlinkat (int dirfd, const char *pathname, int flags)
/coreutils/doc/
Dperm.texi117 On FreeBSD the file flags specific to the FFS
126 the file-system-specific attributes or flags do not permit it; or
Dcoreutils.texi440 * Padding and other flags:: Pad with zeros, spaces, etc.
3641 format specification flags, a field width, a precision specification,
4172 and text files, this option merely flags each input mode as binary:
9650 The following ``conversions'' are really file flags
9707 Access the input file using the flags specified by the @var{flag}
9712 Access the output file using the flags specified by the @var{flag}
9715 Here are the flags.
9858 These flags are all GNU extensions to POSIX.
9862 @samp{noctty} flags should not be specified, and the other flags
12940 @item %a -- Permission bits in octal (note @samp{#} and @samp{0} printf flags)
[all …]
/coreutils/
DNEWS452 102,400 blocks of data. The flags count_bytes, skip_bytes and
617 ls --classify now supports the "always", "auto", or "never" flags,
959 and "direct" flags. Previously some pages in the page cache were not
2735 stat gained support for several printf-style flags, such as %'s for
4388 New dd iflag= and oflag= flags:
4744 dd has new iflag= and oflag= flags "binary" and "text", which have an
4875 specs, the "'" and "0" flags, and the ll, j, t, and z length modifiers
4980 dd has new iflag= and oflag= options with the following flags:
5445 * printf accepts multiple flags in a single conversion specifier