/external/toybox/tests/ |
rm.test | 23 touch file1.txt file2.txt 26 "rm -r file1.txt file2.txt dir1 dir2 2>/dev/null && 27 [ ! -e file1.txt -a ! -e file2.txt -a ! -d dir1 -a ! -d dir2 ] && echo 'yes'" \ 31 touch file1.txt file2.txt 34 "rm -rf file1.txt file2.txt file3.txt dir1 dir2 dir3 2>/dev/null && 35 [ ! -e file1.txt -a ! -e file2.txt -a ! -d dir1 -a ! -d dir2 ] && echo 'yes'" \ 41 touch dir1/file1.txt dir1/dir2/file2.txt dir1/dir2/dir3/file3.txt
|
ln.test | 49 touch file1 file2 && mkdir dir 51 [ file1 -ef dir/file1 -a file2 -ef dir/file2 ] && echo 'yes'" "yes\n" "" "" 54 touch file1 file2 && mkdir dir 56 [ -L dir/file1 -a -L dir/file2 ] && readlink dir/file1 && 57 readlink dir/file2" "file1\nfile2\n" "" ""
|
/system/update_engine/scripts/ |
blockdiff.py | 19 def BlockDiff(block_size, file1, file2, name1, name2, max_length=-1): 25 file2: second file object 43 data2 = file2.read(read_length) 75 usage='Usage: %prog FILE1 FILE2', 76 description='Compare FILE1 and FILE2 by blocks.') 93 with open(name2) as file2: 94 diff_list = BlockDiff(opts.block_size, file1, file2, name1, name2,
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/mt/ |
relocs.exp | 33 proc regexp_test { file1 file2 test } { 34 if [regexp_diff $file1 $file2] then { fail $test } else { pass $test }
|
/external/libbrillo/policy/tests/ |
resilient_policy_util_unittest.cc | 36 base::FilePath file2(temp_dir.path().Append("policy.2")); 42 CreateFile(file2); 53 EXPECT_EQ(file2.value(), sorted_file_paths[2].value());
|
/external/mesa3d/src/compiler/glsl/tests/ |
compare_ir | 37 print 'Usage: compare_ir <file1> <file2>' 49 file2, path2 = tempfile.mkstemp(os.path.basename(sys.argv[2])) 53 os.write(file2, '{0}\n'.format(sexp_to_string(ir2))) 54 os.close(file2)
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue46/ |
FileTest.java | 46 File file2 = parsed.get("one"); local 47 assertTrue(file2.getAbsolutePath(), file2.getAbsolutePath().endsWith("list-bean-1.yaml"));
|
/build/kati/ |
pathutil_test.go | 418 fs.add(fs.file, "testdir/file2") 421 fs.add(fs.file, "testdir/dir1/file2") 423 fs.add(fs.file, "testdir/dir2/file2") 441 want: `testdir testdir/file1 testdir/file2 testdir/dir1 testdir/dir1/file1 testdir/dir1/file2 testdir/dir2 testdir/dir2/file1 testdir/dir2/file2 testdir/dir2/link1 testdir/dir2/link2 testdir/dir2/link3`, 449 want: `. ./Makefile ./testdir ./testdir/file1 ./testdir/file2 ./testdir/dir1 ./testdir/dir1/file1 ./testdir/dir1/file2 ./testdir/dir2 ./testdir/dir2/file1 ./testdir/dir2/file2 ./testdir/dir2/link1 ./testdir/dir2/link2 ./testdir/dir2/link3`, 457 want: `./ ./Makefile ./testdir ./testdir/file1 ./testdir/file2 ./testdir/dir1 ./testdir/dir1/file1 ./testdir/dir1/file2 ./testdir/dir2 ./testdir/dir2/file1 ./tes (…) [all...] |
/art/libartbase/base/unix_file/ |
fd_file_test.cc | 61 FdFile file2(good_path, O_RDONLY, true); 62 EXPECT_TRUE(file2.IsOpened()); 63 EXPECT_TRUE(file2.ReadOnlyMode()); 64 EXPECT_GE(file2.Fd(), 0); 66 ASSERT_EQ(file2.Close(), 0); 180 FdFile file2(std::move(file)); 182 EXPECT_TRUE(file2.IsOpened()); 183 EXPECT_EQ(old_fd, file2.Fd()); 185 ASSERT_EQ(file2.Flush(), 0); 186 ASSERT_EQ(file2.Close(), 0) [all...] |
/external/ltp/testcases/commands/ar/ |
ar01 | 33 ROD ar -ra file1.in lib.a $TST_DATAROOT/file2.in 50 ROD ar -cr lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file2.in \ 70 ROD ar -rb file3.in lib.a $TST_DATAROOT/file2.in 88 $TST_DATAROOT/file2.in 89 ROD ar -mb file3.in lib.a file2.in 134 ROD ar -cr lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file2.in \ 136 ROD ar -d lib.a file1.in file2.in 153 ROD ar -cr lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file2.in \ 173 ROD ar -ri file3.in lib.a $TST_DATAROOT/file2.in 191 $TST_DATAROOT/file2.i [all...] |
/external/valgrind/cachegrind/ |
cg_diff.in | 46 usage: cg_diff [options] <cachegrind-out-file1> <cachegrind-out-file2> 73 my ($file1, $file2) = (undef, undef); 95 } elsif (not defined($file2)) { 96 $file2 = $arg; 104 if (not defined $file1 or not defined $file2) { 108 return ($file1, $file2); 276 my ($file1, $file2) = process_cmd_line(); 278 ($cmd2, $events2, $CCs2, $summaryCC2) = read_input_file($file2); 308 print("desc: Files compared: $file1; $file2\n");
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
cpu_set_unittest.cc | 124 ScopedTestFile file2("16-24"); 125 ASSERT_TRUE(file2.IsOk()); 127 ASSERT_TRUE(set2.ParseSysFile(file2.GetFd())); 153 ScopedTestFile file2("20-39"); 154 ASSERT_TRUE(file2.IsOk()); 156 ASSERT_TRUE(set2.ParseSysFile(file2.GetFd()));
|
/external/icu/icu4c/source/tools/toolutil/ |
filetools.cpp | 38 static int32_t whichFileModTimeIsLater(const char *file1, const char *file2); 108 static int32_t whichFileModTimeIsLater(const char *file1, const char *file2) { 112 if (stat(file1, &stbuf1) == 0 && stat(file2, &stbuf2) == 0) { 127 fprintf(stderr, "Unable to get stats from file: %s or %s\n", file1, file2);
|
/external/sl4a/ScriptingLayer/src/com/googlecode/android_scripting/ |
ScriptStorageAdapter.java | 73 public int compare(File file1, File file2) { 74 if (file1.isDirectory() && !file2.isDirectory()) { 76 } else if (!file1.isDirectory() && file2.isDirectory()) { 79 return file1.compareTo(file2);
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/microblaze/ |
reloc_sym.exp | 31 proc regexp_test { file1 file2 test } { 32 if [regexp_diff $file1 $file2] then { fail $test } else { pass $test }
|
/external/libbrillo/brillo/http/ |
http_form_data_unittest.cc | 77 std::string file2{"\x01\x02\x03\x04\x05"}; 79 ASSERT_EQ(file2.size(), 81 base::WriteFile(filename2, file2.data(), file2.size()))); 90 EXPECT_TRUE(form_field.AddFileField("file2", 113 "Content-Disposition: form-data; name=\"file2\";" 152 std::string file2{"\x01\x02\x03\x04\x05"}; 154 ASSERT_EQ(file2.size(), 156 base::WriteFile(filename2, file2.data(), file2.size()))) [all...] |
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.create_directory_symlink/ |
create_directory_symlink.pass.cpp | 42 const path file2 = env.create_file("file2", 55); local 46 fs::create_directory_symlink(sym, file2, ec);
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.create_hard_link/ |
create_hard_link.pass.cpp | 41 const path file2 = env.create_file("file2", 55); local 45 fs::create_hard_link(sym, file2, ec);
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.create_symlink/ |
create_symlink.pass.cpp | 42 const path file2 = env.create_file("file2", 55); local 46 fs::create_symlink(sym, file2, ec);
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/comparator/ |
ExtensionFileComparator.java | 105 public int compare(File file1, File file2) { 107 String suffix2 = FilenameUtils.getExtension(file2.getName());
|
NameFileComparator.java | 101 public int compare(File file1, File file2) { 102 return caseSensitivity.checkCompareTo(file1.getName(), file2.getName());
|
PathFileComparator.java | 102 public int compare(File file1, File file2) { 103 return caseSensitivity.checkCompareTo(file1.getPath(), file2.getPath());
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/filesystem/fs.op.funcs/fs.op.create_directory_symlink/ |
create_directory_symlink.pass.cpp | 42 const path file2 = env.create_file("file2", 55); local 46 fs::create_directory_symlink(sym, file2, ec);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/filesystem/fs.op.funcs/fs.op.create_hard_link/ |
create_hard_link.pass.cpp | 41 const path file2 = env.create_file("file2", 55); local 45 fs::create_hard_link(sym, file2, ec);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/filesystem/fs.op.funcs/fs.op.create_symlink/ |
create_symlink.pass.cpp | 42 const path file2 = env.create_file("file2", 55); local 46 fs::create_symlink(sym, file2, ec);
|