/coreutils/tests/cp/ |
D | abuse.sh | 31 for i in dangling-dest existing-dest; do 32 test $i = existing-dest && echo i > t 33 test $i = dangling-dest && rm -f t 41 test $i = dangling-dest \ 46 test $i = existing-dest \
|
D | cp-HL.sh | 22 mkdir src-dir dest-dir || framework_failure_ 28 cp -H -R slink src-dir dest-dir || fail=1 30 test -d dest-dir/src-dir || fail=1 33 cat dest-dir/slink > /dev/null 2>&1 || fail=1 36 returns_ 1 cat dest-dir/src-dir/slink >/dev/null 2>&1 || fail=1
|
D | perm.sh | 40 rm -f dest 42 touch dest || exit 1 43 chmod u=rw,g=$g_perm,o=$o_perm dest || exit 1 45 $cmd $force src dest || exit 1 48 actual_perms=$(stat --format=%A dest)
|
D | link.sh | 24 touch dest || framework_failure_ 28 cp -f --link src dest || fail=1
|
D | cp-parents.sh | 70 mkdir dest || framework_failure_ 72 cp -t dest --parents -p /bin/ls || fail=1
|
/coreutils/tests/chmod/ |
D | equals.sh | 32 for dest in u g o; do 33 test $dest = $src && continue 34 chmod a=,$src=rwx,$dest=$src,$src= f || fail=1 36 expected_perms=$(eval 'echo $expected_'$dest)
|
/coreutils/src/ |
D | ln.c | 179 char const *dest, int link_errno) in do_link() 211 source = rel_source = convert_abs_rel (source, dest); in do_link() 223 error (0, errno, _("failed to access %s"), quoteaf (dest)); in do_link() 230 error (0, 0, _("%s: cannot overwrite directory"), quotef (dest)); in do_link() 233 else if (seen_file (dest_set, dest, &dest_stats)) in do_link() 239 quoteaf_n (0, dest), quoteaf_n (1, source)); in do_link() 268 quoteaf_n (0, source), quoteaf_n (1, dest)); in do_link() 278 program_name, quoteaf (dest)); in do_link() 301 quoteaf (dest)); in do_link() 344 record_file (dest_set, dest, &source_stats); in do_link() [all …]
|
D | force-link.c | 80 try_link (char *dest, void *arg) in try_link() argument 83 return linkat (a->srcdir, a->srcname, a->dstdir, dest, a->flags); in try_link() 138 try_symlink (char *dest, void *arg) in try_symlink() argument 141 return symlinkat (a->srcname, a->dstdir, dest); in try_symlink()
|
D | mv.c | 167 do_move (char const *source, char const *dest, in do_move() argument 172 bool ok = copy (source, dest, dest_dirfd, dest_relname, 0, x, in do_move() 542 char *dest = file_name_concat (target_directory, source_basename, in main() local 545 ok &= do_move (source, dest, target_dirfd, dest_relname, &x); in main() 546 free (dest); in main()
|
D | shred.c | 700 genpattern (int *dest, size_t num, struct randint_source *s) in genpattern() argument 715 d = dest; /* Destination for generated pass list */ in genpattern() 794 dest[top++] = dest[n]; in genpattern() 795 dest[n] = -1; in genpattern() 800 k = dest[n]; in genpattern() 801 dest[n] = dest[swap]; in genpattern() 802 dest[swap] = k; in genpattern()
|
D | system.h | 783 stzncpy (char *restrict dest, char const *restrict src, size_t len) in stzncpy() argument 787 *dest++ = *src++; in stzncpy() 788 *dest = 0; in stzncpy() 789 return dest; in stzncpy()
|
D | cp.c | 781 char const *dest = file[1]; in do_copy() local 799 && STREQ (source, dest) in do_copy() 801 && (sb.st_mode != 0 || stat (dest, &sb) == 0) && S_ISREG (sb.st_mode)) in do_copy() 805 dest = find_backup_file_name (AT_FDCWD, dest, x->backup_type); in do_copy() 816 ok = copy (source, dest, AT_FDCWD, dest, -new_dst, x, &unused, nullptr); in do_copy()
|
D | df.c | 899 add_uint_with_neg_flag (uintmax_t *dest, bool *dest_neg, in add_uint_with_neg_flag() argument 904 *dest += src; in add_uint_with_neg_flag() 909 *dest = -*dest; in add_uint_with_neg_flag() 914 if (src < *dest) in add_uint_with_neg_flag() 915 *dest -= src; in add_uint_with_neg_flag() 918 *dest = src - *dest; in add_uint_with_neg_flag() 923 *dest = -*dest; in add_uint_with_neg_flag()
|
D | sort.c | 238 struct line **dest; /* Pointer to destination of merge. */ member 2109 xstrxfrm (char *restrict dest, char const *restrict src, size_t destsize) in xstrxfrm() argument 2112 size_t translated_size = strxfrm (dest, src, destsize); in xstrxfrm() 3312 struct line *dest; in sequential_sort() local 3316 dest = temp; in sequential_sort() 3321 dest = lines; in sequential_sort() 3324 mergelines (dest, nlines, sorted_lo); in sequential_sort() 3336 merge_tree_init (size_t nthreads, size_t nlines, struct line *dest) in merge_tree_init() argument 3342 root->dest = nullptr; in merge_tree_init() 3349 init_node (root, root + 1, dest, nthreads, nlines, false); in merge_tree_init() [all …]
|
D | stat.c | 1147 char *dest = xmalloc (n_alloc); in print_it() local 1158 memcpy (dest, b, len); in print_it() 1169 dest[len] = fmt_char; in print_it() 1170 dest[len + 1] = '\0'; in print_it() 1172 quote (dest)); in print_it() 1192 fail |= print_func (dest, len, mod_char, fmt_char, in print_it() 1249 free (dest); in print_it()
|
D | ls.c | 272 static void attach (char *dest, char const *dirname, char const *name); 2506 get_funky_string (char **dest, char const **src, bool equals_end, in get_funky_string() argument 2518 q = *dest; /* the whole darn time. */ in get_funky_string() 2693 *dest = q; in get_funky_string() 5290 attach (char *dest, char const *dirname, char const *name) in attach() argument 5298 *dest++ = *dirnamep++; in attach() 5301 *dest++ = '/'; in attach() 5304 *dest++ = *name++; in attach() 5305 *dest = 0; in attach()
|
D | install.c | 469 change_timestamps (struct stat const *src_sb, char const *dest, in change_timestamps() argument 478 error (0, errno, _("cannot set timestamps for %s"), quoteaf (dest)); in change_timestamps()
|
D | csplit.c | 256 read_input (char *dest, idx_t max_n_bytes) in read_input() argument 263 bytes_read = safe_read (STDIN_FILENO, dest, max_n_bytes); in read_input()
|
/coreutils/tests/mv/ |
D | force.sh | 33 for dest in $ff $ff2; do 35 mv $ff $dest > out 2>&1 && fail=1 37 printf "mv: '$ff' and '$dest' are the same file\n" > exp
|
/coreutils/tests/install/ |
D | strip-program.sh | 32 ginstall src dest -s --strip-program=./b || fail=1 33 compare exp dest || fail=1 46 ginstall -s --strip-program=./no-hyphen -- src -dest || fail=1
|
D | create-leading.sh | 31 ginstall -D $file no-dir1/no-dir2/dest || fail=1 33 test -r no-dir1/no-dir2/dest || fail=1
|
/coreutils/tests/du/ |
D | move-dir-while-traversing.sh | 42 dest = os.path.join(dest_parent, os.path.basename(dir)) 47 os.rename(dir, dest)
|
/coreutils/tests/misc/ |
D | xattr.sh | 25 touch src dest || framework_failure_ 26 cp --preserve=xattr -n src dest \
|
/coreutils/ |
D | TODO | 48 no longer incurs the overhead of saving src. dev/ino and dest. filename
|
/coreutils/tests/ |
D | local.mk | 492 tests/cp/dir-rm-dest.sh \ 572 tests/du/inacc-dest.sh \ 608 tests/ln/slash-decorated-nonexistent-dest.sh \
|