Home
last modified time | relevance | path

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

12345678910>>...12

/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 …]
Dxzcat.test18 echo "hi" > file2
21 tar -cJf file2.xz file2
25 $xzcatExe file1.xz file2.xz file3.xz > xzcatOut
/external/ltp/testcases/commands/ar/
Dar0136 ROD ar -ra file1.in lib.a $TST_DATAROOT/file2.in
53 ROD ar -cr lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file2.in \
73 ROD ar -rb file3.in lib.a $TST_DATAROOT/file2.in
91 $TST_DATAROOT/file2.in
92 ROD ar -mb file3.in lib.a file2.in
137 ROD ar -cr lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file2.in \
139 ROD ar -d lib.a file1.in file2.in
156 ROD ar -cr lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file2.in \
176 ROD ar -ri file3.in lib.a $TST_DATAROOT/file2.in
194 $TST_DATAROOT/file2.in
[all …]
/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()
283 File file2(file_path, in TEST() local
286 ASSERT_TRUE(file2.IsValid()); in TEST()
289 file = std::move(file2); in TEST()
290 EXPECT_FALSE(file2.IsValid()); in TEST()
509 File file2(file.Duplicate()); local
510 ASSERT_TRUE(file2.IsValid());
517 ASSERT_EQ(0, file2.Seek(base::File::FROM_CURRENT, 0));
[all …]
/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/nanopb-c/tests/regression/issue_203/
DSConscript5 env.Command(['file1.pb.c', 'file1.pb.h', 'file2.pb.c', 'file2.pb.h'], ['file1.proto', 'file2.proto'…
9 env.Object('file2.pb.c')
/external/grpc-grpc/third_party/nanopb/tests/regression/issue_203/
DSConscript5 env.Command(['file1.pb.c', 'file1.pb.h', 'file2.pb.c', 'file2.pb.h'], ['file1.proto', 'file2.proto'…
9 env.Object('file2.pb.c')
/external/yapf/yapftests/
Dfile_resources_test.py90 file2 = os.path.join(tdir2, 'testfile2.py')
91 _touch_files([file1, file2])
95 [file1, file2], recursive=False, exclude=None), [file1, file2])
98 [file1, file2], recursive=True, exclude=None), [file1, file2])
104 file2 = os.path.join(tdir2, 'testfile2.py')
105 _touch_files([file1, file2])
267 file2 = os.path.join(self.test_tmpdir, 'testfile1.rb')
268 self.assertFalse(file_resources.IsPythonFile(file2))
276 file2 = os.path.join(self.test_tmpdir, 'testfile2.run')
277 with open(file2, 'w') as f:
/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/ltp/testcases/kernel/syscalls/madvise/
Dmadvise02.c64 static char *file2; variable
84 {MADV_NORMAL, "MADV_NORMAL", &file2, ENOMEM, 0},
85 {MADV_WILLNEED, "MADV_WILLNEED", &file2, ENOMEM, 0},
159 file2 = SAFE_MMAP(0, st.st_size, PROT_READ, MAP_SHARED, fd, 0); in setup()
170 SAFE_MUNMAP(file2 + st.st_size - pagesize, pagesize); in setup()
205 SAFE_MUNMAP(file2, st.st_size - pagesize); in cleanup()
/external/lzma/CPP/7zip/Archive/7z/
D7zUpdate.cpp1091 static void UpdateItem_To_FileItem2(const CUpdateItem &ui, CFileItem2 &file2) in UpdateItem_To_FileItem2() argument
1093 file2.Attrib = ui.Attrib; file2.AttribDefined = ui.AttribDefined; in UpdateItem_To_FileItem2()
1094 file2.CTime = ui.CTime; file2.CTimeDefined = ui.CTimeDefined; in UpdateItem_To_FileItem2()
1095 file2.ATime = ui.ATime; file2.ATimeDefined = ui.ATimeDefined; in UpdateItem_To_FileItem2()
1096 file2.MTime = ui.MTime; file2.MTimeDefined = ui.MTimeDefined; in UpdateItem_To_FileItem2()
1097 file2.IsAnti = ui.IsAnti; in UpdateItem_To_FileItem2()
1099 file2.StartPosDefined = false; in UpdateItem_To_FileItem2()
1105 CFileItem &file, CFileItem2 &file2) in UpdateItem_To_FileItem() argument
1107 UpdateItem_To_FileItem2(ui, file2); in UpdateItem_To_FileItem()
1551 static void GetFile(const CDatabase &inDb, unsigned index, CFileItem &file, CFileItem2 &file2) in GetFile() argument
[all …]
/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/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/
DArTestCase.java46 final File file2 = getFile("test2.xml"); in testArArchiveCreation() local
54 os.putArchiveEntry(new ArArchiveEntry("test2.xml", file2.length())); in testArArchiveCreation()
55 IOUtils.copy(new FileInputStream(file2), os); in testArArchiveCreation()
66 final File file2 = getFile("test2.xml"); in testArUnarchive() local
74 os.putArchiveEntry(new ArArchiveEntry("test2.xml", file2.length())); in testArUnarchive()
75 IOUtils.copy(new FileInputStream(file2), os); in testArUnarchive()
100 final File file2 = getFile("test2.xml"); in testArDelete() local
110 os.putArchiveEntry(new ArArchiveEntry("test2.xml", file2.length())); in testArDelete()
111 IOUtils.copy(new FileInputStream(file2), os); in testArDelete()
119 + 60 + file2.length() + (file2.length() % 2), in testArDelete()
DSevenZTestCase.java40 private final File file1, file2; field in SevenZTestCase
44 file2 = getFile("test2.xml"); in SevenZTestCase()
89 assertEquals(entry.getName(), file2.getName()); in testSevenZArchiveCreation()
106 entry = outArchive.createArchiveEntry(file2, file2.getName()); in createArchive()
108 copy(file2, outArchive); in createArchive()
/external/tensorflow/tensorflow/python/lib/io/
Dfile_io_test.py498 file2 = os.path.join(self._base_dir, "file2")
499 file_io.write_string_to_file(file2, "This is another sentence\n" * 100)
504 self.assertFalse(file_io.filecmp(file1, file2))
505 self.assertTrue(file_io.filecmp(file2, file3))
511 file2 = os.path.join(self._base_dir, "file2")
512 file_io.write_string_to_file(file2, "This is b sentence\n" * 100)
517 self.assertFalse(file_io.filecmp(file1, file2))
518 self.assertTrue(file_io.filecmp(file2, file3))
524 file2 = os.path.join(self._base_dir, "file2")
525 file_io.FileIO(file2, "wb").write("testing\n\nb")
[all …]
/external/swiftshader/third_party/llvm-7.0/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/llvm/utils/
Dcodegen-diff60 my @file2 = parse_gdb_file ($gdb_file);
61 my $lastrecord = ($#file1 >= $#file2) ? ($#file1) : ($#file2);
64 my $d2 = $file2[$i];
/external/ltp/testcases/kernel/syscalls/link/
Dlink04.c59 char *file2; member
109 fname2 = test_cases[i].file2; in main()
162 if (!test_cases[n].file2) in setup()
163 test_cases[n].file2 = bad_addr; in setup()
/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')

12345678910>>...12