Home
last modified time | relevance | path

Searched refs:file1 (Results 1 – 25 of 289) sorted by relevance

12345678910>>...12

/external/toybox/tests/
Dmv.test35 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 …]
Dwc.test7 cat >file1 <<EOF
27 echo -n " " > file1
28 for i in $(seq 1 512); do echo -n "üüüüüüüüüüüüüüüü" >> file1; done
31 echo -n " " > file1
33 rm file1
Dln.test11 echo file1 > file
49 touch file1 file2 && mkdir dir
54 touch file1 file2 && mkdir dir
60 echo file1 > file
66 echo file1 > file
Dls.test13 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`
Dxzcat.test17 echo "hello" > file1
20 tar -cJf file1.xz file1
25 $xzcatExe file1.xz file2.xz file3.xz > xzcatOut
/external/ltp/testcases/kernel/syscalls/open/
Dopen07.c162 char file1[100], file2[100]; in setupfunc_test1() local
164 sprintf(file1, "open03.1.%d", getpid()); in setupfunc_test1()
166 fd1 = SAFE_CREAT(cleanup, file1, 00700); in setupfunc_test1()
168 SAFE_SYMLINK(cleanup, file1, file2); in setupfunc_test1()
175 char file1[100], file2[100]; in setupfunc_test2() local
177 sprintf(file1, "open03.3.%d", getpid()); in setupfunc_test2()
179 SAFE_MKDIR(cleanup, file1, 00700); in setupfunc_test2()
181 SAFE_SYMLINK(cleanup, file1, file2); in setupfunc_test2()
188 char file1[100], file2[100], file3[100]; in setupfunc_test3() local
190 sprintf(file1, "open03.5.%d", getpid()); in setupfunc_test3()
[all …]
/external/ltp/testcases/commands/ar/
Dar0135 ROD ar -cr lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file3.in
36 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 \
55 ROD ar -ma file1.in lib.a file4.in
72 ROD ar -cr lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file3.in
90 ROD ar -cr lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file3.in \
109 ROD ar -cr lib.a $TST_DATAROOT/file1.in \> ar.out
123 ROD ar -qc lib.a $TST_DATAROOT/file1.in \> ar.out
137 ROD ar -cr lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file2.in \
139 ROD ar -d lib.a file1.in file2.in
[all …]
/external/ltp/testcases/kernel/syscalls/madvise/
Dmadvise02.c63 static char *file1; variable
79 {1212, "MADV_NORMAL", &file1, EINVAL, 0},
80 {MADV_REMOVE, "MADV_REMOVE", &file1, EINVAL, 0},
81 {MADV_DONTNEED, "MADV_DONTNEED", &file1, EINVAL, 1},
82 {MADV_MERGEABLE, "MADV_MERGEABLE", &file1, EINVAL, 0},
83 {MADV_UNMERGEABLE, "MADV_UNMERGEABLE", &file1, EINVAL, 0},
87 {MADV_FREE, "MADV_FREE", &file1, EINVAL, 0},
88 {MADV_WIPEONFORK, "MADV_WIPEONFORK", &file1, EINVAL, 0},
103 if (mlock(file1, st.st_size) < 0) in tcases_filter()
158 file1 = SAFE_MMAP(0, st.st_size, PROT_READ, MAP_SHARED, fd, 0); in setup()
[all …]
/external/yapf/yapftests/
Dfile_resources_test.py89 file1 = os.path.join(tdir1, 'testfile1.py')
91 _touch_files([file1, file2])
95 [file1, file2], recursive=False, exclude=None), [file1, file2])
98 [file1, file2], recursive=True, exclude=None), [file1, file2])
103 file1 = os.path.join(tdir1, 'testfile1.py')
105 _touch_files([file1, file2])
261 file1 = os.path.join(self.test_tmpdir, 'testfile1.py')
262 self.assertTrue(file_resources.IsPythonFile(file1))
265 file1 = os.path.join(self.test_tmpdir, 'testfile1')
266 self.assertFalse(file_resources.IsPythonFile(file1))
[all …]
/external/libchrome/base/files/
Dfile_util.cc56 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/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.resize_file/
Dresize_file.pass.cpp76 const path file1 = env.create_file("file1", 42); in TEST_CASE() local
81 resize_file(file1, new_s, ec); in TEST_CASE()
83 TEST_CHECK(file_size(file1) == new_s); in TEST_CASE()
88 resize_file(file1, new_s, ec); in TEST_CASE()
90 TEST_CHECK(file_size(file1) == new_s); in TEST_CASE()
95 resize_file(file1, new_s, ec); in TEST_CASE()
97 TEST_CHECK(file_size(file1) == new_s); in TEST_CASE()
99 const path sym = env.create_symlink(file1, "sym"); in TEST_CASE()
105 TEST_CHECK(file_size(file1) == new_s); in TEST_CASE()
/external/python/cpython2/Tools/faqwiz/
Dmove-faqwiz.sh38 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/syzkaller/sys/linux/test/
Dbinfmt4 execveat(0xffffffffffffff9c, &(0x7f0000000000)='./file1\x00', &(0x7f0000000100)=[0x0], &(0x7f000000…
5 r0 = openat(0xffffffffffffff9c, &(0x7f0000000000)='./file1\x00', 0x42, 0x1ff)
7 execveat(0xffffffffffffff9c, &(0x7f0000000000)='./file1\x00', &(0x7f0000000100)=[0x0], &(0x7f000000…
8 r1 = openat(0xffffffffffffff9c, &(0x7f0000000000)='./file1\x00', 0x2, 0x0)
11 execveat(0xffffffffffffff9c, &(0x7f0000000000)='./file1\x00', &(0x7f0000000100)=[0x0], &(0x7f000000…
14 execveat(0xffffffffffffff9c, &(0x7f0000000000)='./file1\x00', &(0x7f0000000100)=[0x0], &(0x7f000000…
16 execveat(0xffffffffffffff9c, &(0x7f0000000000)='./file1\x00', &(0x7f0000000100)=[0x0], &(0x7f000000…
/external/google-breakpad/src/client/linux/minidump_writer/
Dcpu_set_unittest.cc118 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/
Dltp-aiodio.sh34 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/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/
DArTestCase.java45 final File file1 = getFile("test1.xml"); in testArArchiveCreation() local
50 os.putArchiveEntry(new ArArchiveEntry("test1.xml", file1.length())); in testArArchiveCreation()
51 IOUtils.copy(new FileInputStream(file1), os); in testArArchiveCreation()
65 final File file1 = getFile("test1.xml"); in testArUnarchive() local
70 os.putArchiveEntry(new ArArchiveEntry("test1.xml", file1.length())); in testArUnarchive()
71 IOUtils.copy(new FileInputStream(file1), os); in testArUnarchive()
99 final File file1 = getFile("test1.xml"); in testArDelete() local
106 os.putArchiveEntry(new ArArchiveEntry("test1.xml", file1.length())); in testArDelete()
107 IOUtils.copy(new FileInputStream(file1), os); in testArDelete()
118 + 60 + file1.length() + (file1.length() % 2) in testArDelete()
[all …]
/external/libbrillo/brillo/http/
Dhttp_form_data_unittest.cc72 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/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'…
8 env.Object('file1.pb.c')
/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'…
8 env.Object('file1.pb.c')
/external/autotest/client/bin/result_tools/
Dutils_unittest.py199 file1 = os.path.join(self.test_dir, 'file1')
200 unittest_lib.create_file(file1)
232 file1 = os.path.join(self.test_dir, 'file1')
233 unittest_lib.create_file(file1)
260 file1 = os.path.join(folder_not_overwritten, 'file1')
261 unittest_lib.create_file(file1)
265 file1 = os.path.join(file_to_be_overwritten, 'file1')
266 unittest_lib.create_file(file1)
446 file1 = os.path.join(folder, 'file.txt')
447 unittest_lib.create_file(file1, LARGE_SIZE)
[all …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/changes/
DChangeSetTestCase.java457 final File file1 = getFile("test.txt"); in testChangeSetResults() local
458 final ArchiveEntry entry = out.createArchiveEntry(file1, "bla/test.txt"); in testChangeSetResults()
459 changes.add(entry, new FileInputStream(file1)); in testChangeSetResults()
521 final File file1 = getFile("test.txt"); in testDeletePlusAdd() local
522 final ArchiveEntry entry = out.createArchiveEntry(file1, "bla/test.txt"); in testDeletePlusAdd()
523 changes.add(entry, new FileInputStream(file1)); in testDeletePlusAdd()
565 final File file1 = getFile("test.txt"); in testDeleteFromAndAddToZip() local
567 changes.add(entry, new FileInputStream(file1)); in testDeleteFromAndAddToZip()
611 final File file1 = getFile("test.txt"); in testDeleteFromAndAddToZipUsingZipFilePerform() local
613 changes.add(entry, new FileInputStream(file1)); in testDeleteFromAndAddToZipUsingZipFilePerform()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowStorageManagerTest.java40 File file1 = new File("/storage/sdcard"); in getStorageVolumes() local
41 shadowOf(storageManager).addStorageVolume(buildAndGetStorageVolume(file1, "sd card")); in getStorageVolumes()
48 File file1 = new File("/storage/internal"); in getStorageVolume() local
50 shadowOf(storageManager).addStorageVolume(buildAndGetStorageVolume(file1, "internal")); in getStorageVolume()
51 assertThat(shadowOf(storageManager).getStorageVolume(file1)).isNotNull(); in getStorageVolume()
/external/sonivox/arm-wt-22k/jetcreator_lib_src/darwin-x86/
DEASLibVst.c944 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/ltp/testcases/kernel/syscalls/mprotect/
Dmprotect03.c62 char file1[BUFSIZ]; variable
79 if ((fd = open(file1, O_RDWR | O_CREAT, 0777)) < 0) in main()
125 SAFE_UNLINK(cleanup, file1); in main()
149 sprintf(file1, "mprotect03.tmp.%d", getpid()); in setup()
/external/llvm/utils/
Dcodegen-diff59 my @file1 = parse_objdump_file ($objdump_file);
61 my $lastrecord = ($#file1 >= $#file2) ? ($#file1) : ($#file2);
63 my $d1 = $file1[$i];

12345678910>>...12