/external/ltp/testcases/commands/ldd/datafiles/ |
lddfile1.c | 2 void file1(void) function
|
main.c | 3 void file1(void); 11 file1();
|
/external/toybox/tests/ |
more.test | 7 cat >file1 <<EOF 12 testing "non-tty" "more file1 | cat -" "line1\nline2\n" "" "" 14 rm file1
|
wc.test | 7 cat >file1 <<EOF 17 testing "-c" "wc -c file1" "26 file1\n" "" "" 18 testing "-l" "wc -l file1" "4 file1\n" "" "" 19 testing "-w" "wc -w file1" "5 file1\n" "" "" 20 NOSPACE=1 testing "format" "wc file1" " 4 5 26 file1\n" "" "" 21 testing "multiple files" "wc input - file1" \ [all...] |
mv.test | 17 "mv file file1 && [ ! -e file -a -f file1 ] && echo yes" \ 35 touch file1 file2 dir1/file3 36 ln -s file1 link1 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 ] && 42 "file1\n" "" "" 45 dd if=/dev/zero of=file1 seek=10k count=1 >/dev/null 2>&1 47 "mv file1 file2 && [ ! -e file1 -a -f file2 ] && stat -c %s file2" [all...] |
cat.test | 7 echo "one" > file1 11 testing "file1 file2" "cat file1 file2" "one\ntwo\n" "" "" 12 testing "- file" "cat - file1" "zero\none\n" "" "zero\n" 13 testing "file -" "cat file1 -" "one\nzero\n" "" "zero\n" 15 testing "file1 notfound file2" \ 16 "cat file1 notfound file2 2>stderr && echo ok ; cat stderr; rm stderr" \ 20 testing "file1" \ 21 'cat "$FILE" > file1 && cmp "$FILE" file1 && echo yes' [all...] |
rev.test | 7 echo -e "one" > file1 11 testing "file1 file2" "rev file1 file2" "eno\nowt\n" "" "" 12 testing "- file" "rev - file1" "orez\neno\n" "" "zero\n" 13 testing "file -" "rev file1 -" "eno\norez\n" "" "zero\n" 16 testing "file1 notfound file2" \ 17 "rev file1 notfound file2 2>stderr && echo ok ; cat stderr; rm stderr" \ 25 rm file1 file
|
tac.test | 8 echo -e "one-A\none-B" > file1 12 testing "file1 file2" "tac file1 file2" "one-B\none-A\ntwo-B\ntwo-A\n" "" "" 13 testing "- file" "tac - file1" "zero-B\nzero-A\none-B\none-A\n" "" "zero-A\nzero-B\n" 14 testing "file -" "tac file1 -" "one-B\none-A\nzero-B\nzero-A\n" "" "zero-A\nzero-B\n" 16 testing "file1 notfound file2" \ 17 "tac file1 notfound file2 2>stderr && echo ok ; tac stderr; rm stderr" \ 29 rm file1 file
|
head.test | 24 baz" > file1 25 testing "head, multiple files" "head -n 2 input file1" "==> input <==\none\ntwo\n\n==> file1 <==\nfoo\nbar\n" "one\ntwo\nthree\n" "" 26 testing "-q, multiple files" "head -q -n 2 input file1" "one\ntwo\nfoo\nbar\n" \ 28 rm file1
|
link.test | 14 echo file1 > file 23 echo file1 > file
|
sha1sum.test | 29 echo -n "abc" > file1 42 "sha1sum file1" \ 43 "a9993e364706816aba3e25717850c26c9cd0d89d file1\n" \ 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 file [all...] |
xxd.test | 7 echo "this is some text" > file1 12 testing "file1" "xxd file1" \ 15 testing "file1 -l" "xxd -l 2 file1" \ 23 testing "-c 8 -g 4 file1" "xxd -c 8 -g 4 file1" \ 25 testing "-c 8 -g 3 file1" "xxd -c 8 -g 3 file1" \ 28 testing "-i" "cat file1 | xxd -i -" " 0x74, 0x68, 0x69, 0x73, 0x20, 0x69, 0x73, 0x20, 0x73, 0x6f, 0x6d, 0x65,\n 0x20, 0x (…) [all...] |
xzcat.test | 17 echo "hello" > file1 20 tar -cJf file1.xz file1 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" "" ""
|
ln.test | 11 echo file1 > file 20 [ file -ef hlink ] && cat hlink 2>/dev/null" "file1\n" "" "" 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" "" "" 60 echo file1 > fil [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_DeleteOnExitTest.java | 12 File file1 = new File(args[0]); local 15 file1.deleteOnExit();
|
/external/ltp/testcases/kernel/syscalls/open/ |
open07.c | 162 char file1[100], file2[100]; local 164 sprintf(file1, "open03.1.%d", getpid()); 166 fd1 = SAFE_CREAT(cleanup, file1, 00700); 168 SAFE_SYMLINK(cleanup, file1, file2); 175 char file1[100], file2[100]; local 177 sprintf(file1, "open03.3.%d", getpid()); 179 SAFE_MKDIR(cleanup, file1, 00700); 181 SAFE_SYMLINK(cleanup, file1, file2); 188 char file1[100], file2[100], file3[100]; local 190 sprintf(file1, "open03.5.%d", getpid()) 204 char file1[100], file2[100], file3[100]; local 220 char file1[100], file2[100]; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/faqwiz/ |
move-faqwiz.sh | 38 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/python/cpython2/Tools/faqwiz/ |
move-faqwiz.sh | 38 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
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
copytime.py | 13 file1, file2 = sys.argv[1], sys.argv[2]
15 stat1 = os.stat(file1)
17 sys.stderr.write(file1 + ': cannot stat\n')
|
/external/python/cpython2/Tools/scripts/ |
copytime.py | 13 file1, file2 = sys.argv[1], sys.argv[2] 15 stat1 = os.stat(file1) 17 sys.stderr.write(file1 + ': cannot stat\n')
|
/external/python/cpython3/Tools/scripts/ |
copytime.py | 13 file1, file2 = sys.argv[1], sys.argv[2] 15 stat1 = os.stat(file1) 17 sys.stderr.write(file1 + ': cannot stat\n')
|
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-sh/arch/ |
arch.exp | 73 proc test_arch { file1 file2 arch resultfile } { 76 set name1 [file tail $file1] 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} { 119 set name1 [file tail $file1] 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...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/comparator/ |
DefaultFileComparator.java | 60 * @return the result of calling file1's 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();
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.resize_file/ |
resize_file.pass.cpp | 77 const path file1 = env.create_file("file1", 42); local 82 resize_file(file1, new_s, ec); 84 TEST_CHECK(file_size(file1) == new_s); 89 resize_file(file1, new_s, ec); 91 TEST_CHECK(file_size(file1) == new_s); 96 resize_file(file1, new_s, ec); 98 TEST_CHECK(file_size(file1) == new_s); 100 const path sym = env.create_symlink(file1, "sym"); 106 TEST_CHECK(file_size(file1) == new_s) [all...] |