Home
last modified time | relevance | path

Searched refs:file2 (Results 1 – 25 of 244) sorted by relevance

12345678910

/external/ltp/testcases/kernel/syscalls/open/
Dopen07.c162 char file1[100], file2[100]; in setupfunc_test1() local
165 sprintf(file2, "open03.2.%d", getpid()); in setupfunc_test1()
168 SAFE_SYMLINK(cleanup, file1, file2); in setupfunc_test1()
170 strcpy(TC[0].filename, file2); in setupfunc_test1()
175 char file1[100], file2[100]; in setupfunc_test2() local
178 sprintf(file2, "open03.4.%d", getpid()); in setupfunc_test2()
181 SAFE_SYMLINK(cleanup, file1, file2); in setupfunc_test2()
183 strcpy(TC[1].filename, file2); in setupfunc_test2()
188 char file1[100], file2[100], file3[100]; in setupfunc_test3() local
191 sprintf(file2, "open03.6.%d", getpid()); in setupfunc_test3()
[all …]
/external/ltp/runtest/
Dltp-aio-stress.part15 # file1 [file2 ...]
32 ADS1003 aio-stress -I500 -o2 -S -r32 -t2 $TMPDIR/junkfile $TMPDIR/file2
33 ADS1004 aio-stress -I500 -o2 -S -r64 $TMPDIR/junkfile $TMPDIR/file2
34 ADS1005 aio-stress -I500 -o3 -S -r4 $TMPDIR/junkfile $TMPDIR/file2
35 ADS1006 aio-stress -I500 -o3 -S -r8 -t2 $TMPDIR/junkfile $TMPDIR/file2
36 ADS1007 aio-stress -I500 -o3 -S -r16 -t2 $TMPDIR/junkfile $TMPDIR/file2
37 ADS1008 aio-stress -I500 -o3 -S -r32 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/…
38 ADS1009 aio-stress -I500 -o3 -S -r64 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/…
39 ADS1010 aio-stress -I500 -o3 -S -r128 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/…
40 ADS1011 aio-stress -I500 -o3 -S -r256 -t8 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/…
[all …]
Dltp-aiodio.part437 AD000 aiodio_append $TMPDIR/aiodio.$$/file2
38 AD001 aiodio_append $TMPDIR/aiodio.$$/file2
39 AD002 aiodio_append $TMPDIR/aiodio.$$/file2
40 AD003 aiodio_append $TMPDIR/aiodio.$$/file2
41 AD004 aiodio_append $TMPDIR/aiodio.$$/file2
42 AD005 aiodio_append $TMPDIR/aiodio.$$/file2
43 AD006 aiodio_append $TMPDIR/aiodio.$$/file2
44 AD007 aiodio_append $TMPDIR/aiodio.$$/file2
45 AD008 aiodio_append $TMPDIR/aiodio.$$/file2
46 AD009 aiodio_append $TMPDIR/aiodio.$$/file2
[all …]
Dltp-aio-stress.part25 # file1 [file2 ...]
29 ADS2001 aio-stress -I500 -o2 -S -r32 -t2 $TMPDIR/junkfile $TMPDIR/file2
30 ADS2002 aio-stress -I500 -o3 -S -r8 -t2 $TMPDIR/junkfile $TMPDIR/file2
31 ADS2003 aio-stress -I500 -o3 -S -r16 -t2 $TMPDIR/junkfile $TMPDIR/file2
32 ADS2004 aio-stress -I500 -o3 -S -r32 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/fi…
33 ADS2005 aio-stress -I500 -o3 -S -r64 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/fi…
34 ADS2006 aio-stress -I500 -o2 -O -r32 -t2 $TMPDIR/junkfile $TMPDIR/file2
35 ADS2007 aio-stress -I500 -o3 -O -r8 -t2 $TMPDIR/junkfile $TMPDIR/file2
36 ADS2008 aio-stress -I500 -o3 -O -r16 -t2 $TMPDIR/junkfile $TMPDIR/file2
37 ADS2009 aio-stress -I500 -o3 -O -r32 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/fi…
[all …]
/external/toybox/tests/
Dmv.test35 touch file1 file2 dir1/file3
85 touch dir1/dir2/file1 dir1/dir2/file2
99 touch file1 file2
100 chmod 400 file1 file2
106 touch file1 file2
120 touch file1 file2
121 chmod 400 file1 file2
127 touch file1 file2
128 chmod 400 file1 file2
134 touch file1 file2
[all …]
Dtar.test36 touch dir/dir1/file1 dir/dir1/file2 dir/dir1/file3 dir/dir1/file4
43 echo "Exclude me" > dir/dir3/file2 ; echo "YO" > dir/dir4/file1 ; echo "Hello" >dir/dir4/file2; ec…
51 …/dir3/file1 ; echo "Exclude me" > dir/dir3/file2 ; echo "YO" > dir/dir4/file1 ; echo "Hello" >dir…
64 …/dir3/file1 ; echo "dir3/file2" > dir/dir3/file2 ; echo "YO" > dir/dir4/file1 ; echo "Hello" >dir…
Dxzcat.test18 echo "hi" > file2
21 tar -cJf file2.xz file2
25 $xzcatExe file1.xz file2.xz file3.xz > xzcatOut
/external/libchrome/base/files/
Dfile_util.cc58 std::ifstream file2(filename2.value().c_str(), in ContentsEqual() local
63 if (!file1.is_open() || !file2.is_open()) in ContentsEqual()
70 file2.read(buffer2, BUFFER_SIZE); in ContentsEqual()
72 if ((file1.eof() != file2.eof()) || in ContentsEqual()
73 (file1.gcount() != file2.gcount()) || in ContentsEqual()
76 file2.close(); in ContentsEqual()
79 } while (!file1.eof() || !file2.eof()); in ContentsEqual()
82 file2.close(); in ContentsEqual()
88 std::ifstream file2(filename2.value().c_str(), std::ios::in); in TextContentsEqual() local
92 if (!file1.is_open() || !file2.is_open()) in TextContentsEqual()
[all …]
Dfile_unittest.cc32 File file2(base::File::FILE_ERROR_TOO_MANY_OPENED); in TEST() local
33 EXPECT_FALSE(file2.IsValid()); in TEST()
34 EXPECT_EQ(base::File::FILE_ERROR_TOO_MANY_OPENED, file2.error_details()); in TEST()
244 File file2(file_path, in TEST() local
247 ASSERT_TRUE(file2.IsValid()); in TEST()
250 file = std::move(file2); in TEST()
251 EXPECT_FALSE(file2.IsValid()); in TEST()
463 File file2(file.Duplicate()); local
464 ASSERT_TRUE(file2.IsValid());
471 ASSERT_EQ(0, file2.Seek(base::File::FROM_CURRENT, 0));
[all …]
/external/ltp/testcases/commands/ar/
Dar0133 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.in
[all …]
/external/valgrind/cachegrind/
Dcg_diff.in46 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/ltp/testcases/kernel/syscalls/madvise/
Dmadvise02.c61 static char *file2; variable
78 {MADV_NORMAL, "MADV_NORMAL", &file2, ENOMEM, 0},
79 {MADV_WILLNEED, "MADV_WILLNEED", &file2, ENOMEM, 0},
138 file2 = SAFE_MMAP(0, st.st_size, PROT_READ, MAP_SHARED, fd, 0); in setup()
139 SAFE_MUNMAP(file2 + st.st_size - pagesize, pagesize); in setup()
179 SAFE_MUNMAP(file2, st.st_size - pagesize); in cleanup()
/external/libbrillo/brillo/http/
Dhttp_form_data_unittest.cc77 std::string file2{"\x01\x02\x03\x04\x05"}; in TEST() local
79 ASSERT_EQ(file2.size(), in TEST()
81 base::WriteFile(filename2, file2.data(), file2.size()))); in TEST()
152 std::string file2{"\x01\x02\x03\x04\x05"}; in TEST() local
154 ASSERT_EQ(file2.size(), in TEST()
156 base::WriteFile(filename2, file2.data(), file2.size()))); in TEST()
/external/google-breakpad/src/client/linux/minidump_writer/
Dcpu_set_unittest.cc124 ScopedTestFile file2("16-24"); in TEST() local
125 ASSERT_TRUE(file2.IsOk()); in TEST()
127 ASSERT_TRUE(set2.ParseSysFile(file2.GetFd())); in TEST()
153 ScopedTestFile file2("20-39"); in TEST() local
154 ASSERT_TRUE(file2.IsOk()); in TEST()
156 ASSERT_TRUE(set2.ParseSysFile(file2.GetFd())); in TEST()
/external/python/cpython2/Tools/faqwiz/
Dmove-faqwiz.sh39 file2=faq$prefix2.$suffix2.htp
46 if [ -f data/$file2 ]; then
51 mv ${tmpfile}1 data/$file2
52 mv ${tmpfile}2 data/RCS/$file2,v
/external/llvm/utils/
Dcodegen-diff60 my @file2 = parse_gdb_file ($gdb_file);
61 my $lastrecord = ($#file1 >= $#file2) ? ($#file1) : ($#file2);
64 my $d2 = $file2[$i];
/external/swiftshader/third_party/LLVM/utils/
Dcodegen-diff60 my @file2 = parse_gdb_file ($gdb_file);
61 my $lastrecord = ($#file1 >= $#file2) ? ($#file1) : ($#file2);
64 my $d2 = $file2[$i];
/external/lzma/CPP/7zip/Archive/7z/
D7zUpdate.cpp1092 CFileItem &file, CFileItem2 &file2) in FromUpdateItemToFileItem() argument
1097 file2.CTime = ui.CTime; file2.CTimeDefined = ui.CTimeDefined; in FromUpdateItemToFileItem()
1098 file2.ATime = ui.ATime; file2.ATimeDefined = ui.ATimeDefined; in FromUpdateItemToFileItem()
1099 file2.MTime = ui.MTime; file2.MTimeDefined = ui.MTimeDefined; in FromUpdateItemToFileItem()
1100 file2.IsAnti = ui.IsAnti; in FromUpdateItemToFileItem()
1102 file2.StartPosDefined = false; in FromUpdateItemToFileItem()
1537 static void GetFile(const CDatabase &inDb, unsigned index, CFileItem &file, CFileItem2 &file2) in GetFile() argument
1540 file2.CTimeDefined = inDb.CTime.GetItem(index, file2.CTime); in GetFile()
1541 file2.ATimeDefined = inDb.ATime.GetItem(index, file2.ATime); in GetFile()
1542 file2.MTimeDefined = inDb.MTime.GetItem(index, file2.MTime); in GetFile()
[all …]
/external/python/cpython3/Tools/scripts/
Dcopytime.py13 file1, file2 = sys.argv[1], sys.argv[2]
20 os.utime(file2, (stat1[ST_ATIME], stat1[ST_MTIME]))
22 sys.stderr.write(file2 + ': cannot change time\n')
/external/python/cpython2/Tools/scripts/
Dcopytime.py13 file1, file2 = sys.argv[1], sys.argv[2]
20 os.utime(file2, (stat1[ST_ATIME], stat1[ST_MTIME]))
22 sys.stderr.write(file2 + ': cannot change time\n')
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.copy_file/
Dcopy_file.pass.cpp72 const path file2 = env.create_file("file2", 55); in TEST_CASE() local
85 TEST_CHECK(fs::copy_file(file, file2, ec) == false); in TEST_CASE()
88 TEST_CHECK(checkThrow(file, file2, ec)); in TEST_CASE()
132 const path file2 = env.create_file("file2", 55); in TEST_CASE() local
134 TEST_REQUIRE(fs::copy_file(file, file2, copy_options::skip_existing, ec) == false); in TEST_CASE()
136 TEST_CHECK(file_size(file2) == 55); in TEST_CASE()
/external/chromium-trace/catapult/devil/devil/utils/
Dzip_utils_test.py18 file2 = os.path.join(working_dir, 'file2.txt')
22 with open(file2, 'w') as f2:
27 (file2, 'bar/file2.txt'),
/external/icu/icu4c/source/tools/toolutil/
Dfiletools.cpp38 static int32_t whichFileModTimeIsLater(const char *file1, const char *file2);
108 static int32_t whichFileModTimeIsLater(const char *file1, const char *file2) { in whichFileModTimeIsLater() argument
112 if (stat(file1, &stbuf1) == 0 && stat(file2, &stbuf2) == 0) { in whichFileModTimeIsLater()
127 fprintf(stderr, "Unable to get stats from file: %s or %s\n", file1, file2); in whichFileModTimeIsLater()
/external/autotest/client/bin/result_tools/
Dresult_info_unittest.py120 file2 = summary.get_file('folder1').get_file('file2')
121 file2.trimmed_size = 2 * _SIZE
124 self.assertEqual(file2.trimmed_size, 2 * _SIZE)
128 file2.original_size = 11 * _SIZE
132 file2.collected_size = 20 * _SIZE
/external/mesa3d/src/compiler/glsl/tests/
Dcompare_ir49 file2, path2 = tempfile.mkstemp(os.path.basename(sys.argv[2])) variable
53 os.write(file2, '{0}\n'.format(sexp_to_string(ir2)))
54 os.close(file2)

12345678910