/external/ltp/testcases/commands/ldd/datafiles/ |
lddfile2.c | 2 void file2(void) function
|
main.c | 4 void file2(void); 12 file2();
|
/external/toybox/tests/ |
cat.test | 8 echo "two" > file2 11 testing "file1 file2" "cat file1 file2" "one\ntwo\n" "" "" 15 testing "file1 notfound file2" \ 16 "cat file1 notfound file2 2>stderr && echo ok ; cat stderr; rm stderr" \ 32 rm file1 file2
|
rev.test | 8 echo -e "two" > file2 11 testing "file1 file2" "rev file1 file2" "eno\nowt\n" "" "" 16 testing "file1 notfound file2" \ 17 "rev file1 notfound file2 2>stderr && echo ok ; cat stderr; rm stderr" \ 25 rm file1 file2
|
tac.test | 9 echo -e "two-A\ntwo-B" > file2 12 testing "file1 file2" "tac file1 file2" "one-B\none-A\ntwo-B\ntwo-A\n" "" "" 16 testing "file1 notfound file2" \ 17 "tac file1 notfound file2 2>stderr && echo ok ; tac stderr; rm stderr" \ 29 rm file1 file2
|
sha1sum.test | 30 echo -n "def" > file2 46 testing "file1 file2" \ 47 "sha1sum file1 file2" \ 48 "a9993e364706816aba3e25717850c26c9cd0d89d file1\n589c22335a381f122d129225f5c0ba3056ed5811 file2\n" \ 51 testing "file1 file2 -" \ 52 "sha1sum file1 file2 -" \ 53 "a9993e364706816aba3e25717850c26c9cd0d89d file1\n589c22335a381f122d129225f5c0ba3056ed5811 file2\na9993e364706816aba3e25717850c26c9cd0d89d -\n" \ 56 rm -f file1 file2
|
xxd.test | 8 echo -n > file2 18 testing "file2" "xxd file2" "" "" "" 52 rm file1 file2
|
xzcat.test | 18 echo "hi" > file2 21 tar -cJf file2.xz file2 25 $xzcatExe file1.xz file2.xz file3.xz > xzcatOut 26 testing "- decompresses multiple files" "xzcat file1.xz file2.xz file3.xz > Tempfile && echo "yes" ; diff Tempfile xzcatOut && echo "yes"; rm -rf file* xzcatOut Tempfile " "yes\nyes\n" "" ""
|
mv.test | 35 touch file1 file2 dir1/file3 38 "mv file1 file2 link1 dir1 dir2 && 39 [ ! -e file1 -a ! -e file2 -a ! -e link1 -a ! -e dir1 ] && 40 [ -f dir2/file1 -a -f dir2/file2 -a -L dir2/link1 -a -d dir2/dir1 ] && 47 "mv file1 file2 && [ ! -e file1 -a -f file2 ] && stat -c %s file2" \ 70 "mv file1 file2 && [ ! -e file1 -a -f file2 ] && echo yes" \ 85 touch dir1/dir2/file1 dir1/dir2/file2 [all...] |
tar.test | 36 touch dir/dir1/file1 dir/dir1/file2 dir/dir1/file3 dir/dir1/file4 37 testing "-t option" "tar -czf dir.tar.gz dir/; rm -rf dir; tar -tf dir.tar.gz | sort; rm -rf dir.tar.gz" "dir/\ndir/dir1/\ndir/dir1/file1\ndir/dir1/file2\ndir/dir1/file3\ndir/dir1/file4\n" "" "" 43 echo "Exclude me" > dir/dir3/file2 ; echo "YO" > dir/dir4/file1 ; echo "Hello" >dir/dir4/file2; echo "Dont" > dir/dir2/file1 44 echo -ne "dir/dir4\ndir/dir3/file2\n" > exclude_file 51 echo "Dont exclude me" > dir/dir3/file1 ; echo "Exclude me" > dir/dir3/file2 ; echo "YO" > dir/dir4/file1 ; echo "Hello" >dir/dir4/file2; echo "Dont" > dir/dir2/file1 52 testing "with pattern --exclude" "tar --exclude=dir/dir3/* -czf dir.tgz dir/ ; rm -rf dir ; tar -tf dir.tgz | sort; rm -rf dir.tgz " "dir/\ndir/dir1/\ndir/dir1/file\ndir/dir2/\ndir/dir2/file1\ndir/dir3/\ndir/dir4/\ndir/dir4/file1\ndir/dir4/file2\n" "" "" 64 echo "dir3/file1" > dir/dir3/file1 ; echo "dir3/file2" > dir/dir3/file2 ; echo "YO" > dir/dir4/file1 ; echo "Hello" >dir/dir4/file2; echo "dir2/file1" > dir/dir2/file [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_DeleteOnExitTest.java | 13 File file2 = new File(args[1]); local 16 file2.deleteOnExit();
|
/external/ltp/testcases/kernel/syscalls/open/ |
open07.c | 162 char file1[100], file2[100]; local 165 sprintf(file2, "open03.2.%d", getpid()); 168 SAFE_SYMLINK(cleanup, file1, file2); 170 strcpy(TC[0].filename, file2); 175 char file1[100], file2[100]; local 178 sprintf(file2, "open03.4.%d", getpid()); 181 SAFE_SYMLINK(cleanup, file1, file2); 183 strcpy(TC[1].filename, file2); 188 char file1[100], file2[100], file3[100]; local 191 sprintf(file2, "open03.6.%d", getpid()) 204 char file1[100], file2[100], file3[100]; local 220 char file1[100], file2[100]; local [all...] |
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-sh/arch/ |
arch.exp | 73 proc test_arch { file1 file2 arch resultfile } { 79 set name2 [file tail $file2] 85 send_log "$LD $flags -r -o ${rootname1}_${rootname2}.o $file1 $file2\n" 86 catch "exec $LD $flags -r -o ${rootname1}_${rootname2}.o $file1 $file2" ld_output 93 puts $resultfile [format "%-20s %-20s %s" $file1 $file2 $result] 104 puts $resultfile [format "%-20s %-20s ERROR" $file1 $file2] 116 proc test_arch_error { file1 file2 resultfile} { 122 set name2 [file tail $file2] 126 send_log "$LD -r -o ${rootname1}_${rootname2}.o $file1 $file2\n" 127 catch "exec $LD -r -o ${rootname1}_${rootname2}.o $file1 $file2" ld_outpu [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
copytime.py | 13 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/ |
copytime.py | 13 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/cpython3/Tools/scripts/ |
copytime.py | 13 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')
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/comparator/ |
DefaultFileComparator.java | 61 * {@link File#compareTo(File)} with file2 as the parameter. 63 public int compare(File file1, File file2) { 64 return file1.compareTo(file2);
|
LastModifiedFileComparator.java | 67 public int compare(File file1, File file2) { 68 long result = file1.lastModified() - file2.lastModified();
|
SizeFileComparator.java | 108 public int compare(File file1, File file2) { 116 if (file2.isDirectory()) { 117 size2 = sumDirectoryContents && file2.exists() ? FileUtils.sizeOfDirectory(file2) : 0; 119 size2 = file2.length();
|
/external/chromium-trace/catapult/devil/devil/utils/ |
zip_utils_test.py | 18 file2 = os.path.join(working_dir, 'file2.txt') 22 with open(file2, 'w') as f2: 23 f2.write('file2') 27 (file2, 'bar/file2.txt'), 38 'bar/file2.txt',
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/faqwiz/ |
move-faqwiz.sh | 39 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/python/cpython2/Tools/faqwiz/ |
move-faqwiz.sh | 39 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
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/microblaze/ |
relax_size.exp | 12 proc regexp_test { file1 file2 test } { 13 if [regexp_diff $file1 $file2] then { fail $test } else { pass $test }
|
/external/libchrome/base/files/ |
file_util.cc | 58 std::ifstream file2(filename2.value().c_str(), 63 if (!file1.is_open() || !file2.is_open()) 70 file2.read(buffer2, BUFFER_SIZE); 72 if ((file1.eof() != file2.eof()) || 73 (file1.gcount() != file2.gcount()) || 76 file2.close(); 79 } while (!file1.eof() || !file2.eof()); 82 file2.close(); 88 std::ifstream file2(filename2.value().c_str(), std::ios::in); 92 if (!file1.is_open() || !file2.is_open() [all...] |
/external/ltp/testcases/kernel/syscalls/madvise/ |
madvise02.c | 61 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); 139 SAFE_MUNMAP(file2 + st.st_size - pagesize, pagesize); 179 SAFE_MUNMAP(file2, st.st_size - pagesize);
|