/external/toybox/tests/ |
D | mv.test | 35 touch file1 file2 dir1/file3 36 ln -s file1 link1 45 dd if=/dev/zero of=file1 seek=10k count=1 >/dev/null 2>&1 51 touch file1 52 ln -s file1 link1 59 touch file1 60 ln file1 link1 67 touch file1 68 chmod a-r file1 74 touch file1 [all …]
|
D | tar.test | 36 touch dir/dir1/file1 dir/dir1/file2 dir/dir1/file3 dir/dir1/file4 42 echo "This is testdata" > dir/dir1/file; echo "Dont exclude me" > dir/dir3/file1 ; 43 …" > dir/dir3/file2 ; echo "YO" > dir/dir4/file1 ; echo "Hello" >dir/dir4/file2; echo "Dont" > dir… 51 … dir/dir3/file1 ; echo "Exclude me" > dir/dir3/file2 ; echo "YO" > dir/dir4/file1 ; echo "Hello" … 64 …r/dir3/file1 ; echo "dir3/file2" > dir/dir3/file2 ; echo "YO" > dir/dir4/file1 ; echo "Hello" >di…
|
D | wc.test | 7 cat >file1 <<EOF 28 printf " " > file1 31 printf "ü" >> file1 35 printf " " > file1 38 printf "ü" >> file1 47 rm file1
|
D | ln.test | 11 echo file1 > file 49 touch file1 file2 && mkdir dir 54 touch file1 file2 && mkdir dir 60 echo file1 > file 66 echo file1 > file
|
D | ls.test | 13 echo "test file1" > lstest/file1.txt 35 ln -s file1.txt lstest/slink 45 rm -rf lstest/* && mkdir -p lstest/dir1 && touch lstest/file1.txt 49 rm -rf lstest/* && touch lstest/file1.txt && INODE=`stat -c %i lstest/file1.txt`
|
D | xzcat.test | 17 echo "hello" > file1 20 tar -cJf file1.xz file1 25 $xzcatExe file1.xz file2.xz file3.xz > xzcatOut
|
D | zcat.test | 17 echo "hello" > file1 20 tar -czf file1.gz file1 25 $zcatExe file1.gz file2.gz file3.gz > zcatOut
|
/external/ltp/testcases/kernel/syscalls/open/ |
D | open07.c | 161 char file1[100], file2[100]; in setupfunc_test1() local 163 sprintf(file1, "open03.1.%d", getpid()); in setupfunc_test1() 165 fd1 = creat(file1, 00700); in setupfunc_test1() 169 if (symlink(file1, file2) < 0) in setupfunc_test1() 177 char file1[100], file2[100]; in setupfunc_test2() local 179 sprintf(file1, "open03.3.%d", getpid()); in setupfunc_test2() 181 if (mkdir(file1, 00700) < 0) in setupfunc_test2() 184 if (symlink(file1, file2) < 0) in setupfunc_test2() 192 char file1[100], file2[100], file3[100]; in setupfunc_test3() local 194 sprintf(file1, "open03.5.%d", getpid()); in setupfunc_test3() [all …]
|
/external/ltp/testcases/commands/ar/ |
D | ar01 | 33 ROD ar -cr lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file3.in 34 ROD ar -ra file1.in lib.a $TST_DATAROOT/file2.in 51 ROD ar -cr lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file2.in \ 53 ROD ar -ma file1.in lib.a file4.in 70 ROD ar -cr lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file3.in 88 ROD ar -cr lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file3.in \ 107 ROD ar -cr lib.a $TST_DATAROOT/file1.in \> ar.out 121 ROD ar -qc lib.a $TST_DATAROOT/file1.in \> ar.out 135 ROD ar -cr lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file2.in \ 137 ROD ar -d lib.a file1.in file2.in [all …]
|
/external/libchrome/base/files/ |
D | file_util.cc | 56 std::ifstream file1(filename1.value().c_str(), in ContentsEqual() local 63 if (!file1.is_open() || !file2.is_open()) in ContentsEqual() 69 file1.read(buffer1, BUFFER_SIZE); in ContentsEqual() 72 if ((file1.eof() != file2.eof()) || in ContentsEqual() 73 (file1.gcount() != file2.gcount()) || in ContentsEqual() 74 (memcmp(buffer1, buffer2, static_cast<size_t>(file1.gcount())))) { in ContentsEqual() 75 file1.close(); in ContentsEqual() 79 } while (!file1.eof() || !file2.eof()); in ContentsEqual() 81 file1.close(); in ContentsEqual() 87 std::ifstream file1(filename1.value().c_str(), std::ios::in); in TextContentsEqual() local [all …]
|
/external/python/cpython2/Tools/faqwiz/ |
D | move-faqwiz.sh | 38 file1=faq$prefix1.$suffix1.htp 43 sed -e "s/$1\./$2\./g" data/$file1 > ${tmpfile}1 44 sed -e "s/$1\./$2\./g" data/RCS/$file1,v > ${tmpfile}2 53 mv data/$file1 data/$file1.orig 54 mv data/RCS/$file1,v data/RCS/$file1,v.orig
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.resize_file/ |
D | resize_file.pass.cpp | 77 const path file1 = env.create_file("file1", 42); in TEST_CASE() local 82 resize_file(file1, new_s, ec); in TEST_CASE() 84 TEST_CHECK(file_size(file1) == new_s); in TEST_CASE() 89 resize_file(file1, new_s, ec); in TEST_CASE() 91 TEST_CHECK(file_size(file1) == new_s); in TEST_CASE() 96 resize_file(file1, new_s, ec); in TEST_CASE() 98 TEST_CHECK(file_size(file1) == new_s); in TEST_CASE() 100 const path sym = env.create_symlink(file1, "sym"); in TEST_CASE() 106 TEST_CHECK(file_size(file1) == new_s); in TEST_CASE()
|
/external/ltp/testcases/kernel/syscalls/madvise/ |
D | madvise02.c | 60 static char *file1; variable 74 {1212, "MADV_NORMAL", &file1, EINVAL, 0}, 75 {MADV_DONTNEED, "MADV_DONTNEED", &file1, EINVAL, 1}, 76 {MADV_MERGEABLE, "MADV_MERGEABLE", &file1, EINVAL, 0}, 77 {MADV_UNMERGEABLE, "MADV_UNMERGEABLE", &file1, EINVAL, 0}, 93 if (mlock(file1, st.st_size) < 0) in tcases_filter() 137 file1 = SAFE_MMAP(0, st.st_size, PROT_READ, MAP_SHARED, fd, 0); in setup() 141 nonalign = file1 + 100; in setup() 178 SAFE_MUNMAP(file1, st.st_size); in cleanup()
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | cpu_set_unittest.cc | 118 ScopedTestFile file1("9-19"); in TEST() local 119 ASSERT_TRUE(file1.IsOk()); in TEST() 121 ASSERT_TRUE(set1.ParseSysFile(file1.GetFd())); in TEST() 136 ScopedTestFile file1("9-19"); in TEST() local 137 ASSERT_TRUE(file1.IsOk()); in TEST() 139 ASSERT_TRUE(set1.ParseSysFile(file1.GetFd())); in TEST() 147 ScopedTestFile file1("0-19"); in TEST() local 148 ASSERT_TRUE(file1.IsOk()); in TEST() 150 ASSERT_TRUE(set1.ParseSysFile(file1.GetFd())); in TEST()
|
/external/ltp/testscripts/ |
D | ltp-aiodio.sh | 34 file1=$file1 65 f) file1=$OPTARG;; 79 if [ ! -n "$file1" ]; then 227 dd if=$file1 of=$TMP/aiodio/junkfile bs=8192 conv=block,sync 252 dd if=$file1 of=$TMP/aiodio/junkfile bs=8192 conv=block,sync 253 dd if=$file1 of=$TMP/aiodio/fff bs=4096 conv=block,sync 254 dd if=$file1 of=$TMP/aiodio/ff1 bs=2048 conv=block,sync 255 dd if=$file1 of=$TMP/aiodio/ff2 bs=1024 conv=block,sync 256 dd if=$file1 of=$TMP/aiodio/ff3 bs=512 conv=block,sync 291 dd if=$file1 of=$TMP/aiodio/file2 bs=2048 conv=block,sync [all …]
|
/external/valgrind/cachegrind/ |
D | cg_diff.in | 46 usage: cg_diff [options] <cachegrind-out-file1> <cachegrind-out-file2> 73 my ($file1, $file2) = (undef, undef); 92 } elsif (not defined($file1)) { 93 $file1 = $arg; 104 if (not defined $file1 or not defined $file2) { 108 return ($file1, $file2); 276 my ($file1, $file2) = process_cmd_line(); 277 ($cmd1, $events1, $CCs1, $summaryCC1) = read_input_file($file1); 308 print("desc: Files compared: $file1; $file2\n");
|
/external/libbrillo/brillo/http/ |
D | http_form_data_unittest.cc | 72 std::string file1{"text line1\ntext line2\n"}; in TEST() local 74 ASSERT_EQ(file1.size(), in TEST() 76 base::WriteFile(filename1, file1.data(), file1.size()))); in TEST() 147 std::string file1{"text line1\ntext line2\n"}; in TEST() local 149 ASSERT_EQ(file1.size(), in TEST() 151 base::WriteFile(filename1, file1.data(), file1.size()))); in TEST()
|
/external/swiftshader/third_party/LLVM/utils/ |
D | codegen-diff | 59 my @file1 = parse_objdump_file ($objdump_file); 61 my $lastrecord = ($#file1 >= $#file2) ? ($#file1) : ($#file2); 63 my $d1 = $file1[$i];
|
/external/llvm/utils/ |
D | codegen-diff | 59 my @file1 = parse_objdump_file ($objdump_file); 61 my $lastrecord = ($#file1 >= $#file2) ? ($#file1) : ($#file2); 63 my $d1 = $file1[$i];
|
/external/ltp/testcases/kernel/syscalls/mprotect/ |
D | mprotect03.c | 62 char file1[BUFSIZ]; variable 79 if ((fd = open(file1, O_RDWR | O_CREAT, 0777)) < 0) in main() 129 if (unlink(file1) == -1) { in main() 155 sprintf(file1, "mprotect03.tmp.%d", getpid()); in setup()
|
/external/sonivox/arm-wt-22k/jetcreator_lib_src/darwin-x86/ |
D | EASLibVst.c | 944 EAS_RESULT EAS_HWCloseFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file1) in EAS_HWCloseFile() argument 950 if (file1->pFile == NULL) in EAS_HWCloseFile() 954 if (file1->dup) in EAS_HWCloseFile() 961 if ((file1 != file2) && (file2->pFile == file1->pFile)) in EAS_HWCloseFile() 967 file1->pFile = NULL; in EAS_HWCloseFile() 985 file1->pFile = NULL; in EAS_HWCloseFile() 990 if (fclose(file1->pFile) != 0) in EAS_HWCloseFile() 994 file1->pFile = NULL; in EAS_HWCloseFile() 1368 EAS_RESULT EAS_HWCloseFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file1) in EAS_HWCloseFile() argument 1378 if (file1->buffer == NULL) in EAS_HWCloseFile() [all …]
|
/external/python/cpython2/Tools/scripts/ |
D | copytime.py | 13 file1, file2 = sys.argv[1], sys.argv[2] 15 stat1 = os.stat(file1) 17 sys.stderr.write(file1 + ': cannot stat\n')
|
/external/bzip2/ |
D | bzdiff.1 | 8 [ cmp_options ] file1 12 [ diff_options ] file1 28 .I file1 30 .IR file1 ".bz2."
|
/external/autotest/client/bin/result_tools/ |
D | utils_unittest.py | 170 file1 = os.path.join(self.test_dir, 'file1') 171 unittest_lib.create_file(file1) 204 file1 = os.path.join(self.test_dir, 'file1') 205 unittest_lib.create_file(file1) 221 file1 = os.path.join(folder_not_overwritten, 'file1') 222 unittest_lib.create_file(file1) 226 file1 = os.path.join(file_to_be_overwritten, 'file1') 227 unittest_lib.create_file(file1)
|
/external/sonivox/arm-wt-22k/misc/ |
D | eas_host.c | 661 EAS_RESULT EAS_HWCloseFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file1) in EAS_HWCloseFile() argument 667 if (file1->pFile == NULL) in EAS_HWCloseFile() 671 if (file1->dup) in EAS_HWCloseFile() 678 if ((file1 != file2) && (file2->pFile == file1->pFile)) in EAS_HWCloseFile() 684 file1->pFile = NULL; in EAS_HWCloseFile() 702 file1->pFile = NULL; in EAS_HWCloseFile() 707 if (fclose(file1->pFile) != 0) in EAS_HWCloseFile() 711 file1->pFile = NULL; in EAS_HWCloseFile()
|