/libcore/support/src/test/java/tests/support/ |
Support_DeleteOnExitTest.java | 13 File file2 = new File(args[1]); local 16 file2.deleteOnExit();
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
outputtee_unittest.py | 37 file1, file2 = StringIO.StringIO(), StringIO.StringIO() 38 tee = Tee(file1, file2) 43 self.assertEqual(file2.getvalue(), file1.getvalue())
|
/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();
|
ExtensionFileComparator.java | 105 public int compare(File file1, File file2) {
107 String suffix2 = FilenameUtils.getExtension(file2.getName());
|
NameFileComparator.java | 101 public int compare(File file1, File file2) {
102 return caseSensitivity.checkCompareTo(file1.getName(), file2.getName());
|
PathFileComparator.java | 102 public int compare(File file1, File file2) {
103 return caseSensitivity.checkCompareTo(file1.getPath(), file2.getPath());
|
/external/chromium_org/tools/site_compare/operators/ |
equals.py | 11 def Compare(file1, file2, **kwargs): 16 file2: path to second image to compare 26 im2 = Image.open(file2)
|
equals_with_mask.py | 13 def Compare(file1, file2, **kwargs): 22 file2: path to second image to compare 35 im2 = Image.open(file2)
|
/external/chromium_org/courgette/ |
bsdiff_memory_unittest.cc | 75 std::string file2 = local 85 GenerateAndTestPatch(file1, file2); 97 std::string file2 = GenerateSyntheticInput(critical_size, 1); local 98 GenerateAndTestPatch(file1, file2); 101 GenerateAndTestPatch(file1a, file2); 104 GenerateAndTestPatch(file1b, file2); 107 GenerateAndTestPatch(file1c, file2); 117 std::string file2 = FileContents("setup2.exe"); local 118 GenerateAndTestPatch(file1, file2); 123 std::string file2 = FileContents("elf-32-2") local [all...] |
run_stress_test | 74 local file2="${2}" 76 local apply="${applied_dir}/${file2}.applied" 93 courgette -gen "${file1}" "${file2}" "${patch}" 95 cmp -s "${file2}" "${apply}" 101 local bsdiff_apply="${applied_dir}/${file2}.bsdiff_applied" 102 bsdiff "${file1}" "${file2}" "${bsdiff_patch}" 104 cmp -s "${file2}" "${bsdiff_apply}" 133 file2="$(echo "${file}" | awk '{print $2}')" 140 run_test "${file1}" "${file2}"
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
compare-timing-files | 40 my ($file1, $file2) = @ARGV; 41 die "$usage\n" unless ($file1 && $file2 && @ARGV == 2); 44 my ($newAverage, $newRange, $newRangePercent) = parseResults($file2); 54 print "\n===== $file2 =====\n";
|
/external/chromium_org/base/ |
file_util.cc | 65 std::ifstream file2(filename2.value().c_str(), 70 if (!file1.is_open() || !file2.is_open()) 77 file2.read(buffer2, BUFFER_SIZE); 79 if ((file1.eof() != file2.eof()) || 80 (file1.gcount() != file2.gcount()) || 83 file2.close(); 86 } while (!file1.eof() || !file2.eof()); 89 file2.close(); 95 std::ifstream file2(filename2.value().c_str(), std::ios::in); 99 if (!file1.is_open() || !file2.is_open() [all...] |
/external/chromium_org/third_party/mesa/src/src/glsl/tests/ |
compare_ir | 37 print 'Usage: compare_ir <file1> <file2>' 49 file2, path2 = tempfile.mkstemp(os.path.basename(sys.argv[2])) 53 os.write(file2, '{0}\n'.format(sexp_to_string(ir2))) 54 os.close(file2)
|
/external/mesa3d/src/glsl/tests/ |
compare_ir | 37 print 'Usage: compare_ir <file1> <file2>' 49 file2, path2 = tempfile.mkstemp(os.path.basename(sys.argv[2])) 53 os.write(file2, '{0}\n'.format(sexp_to_string(ir2))) 54 os.close(file2)
|
/external/valgrind/main/cachegrind/ |
cg_diff.in | 46 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/chromium_org/third_party/icu/source/tools/toolutil/ |
filetools.cpp | 28 static int32_t whichFileModTimeIsLater(const char *file1, const char *file2); 94 static int32_t whichFileModTimeIsLater(const char *file1, const char *file2) { 98 if (stat(file1, &stbuf1) == 0 && stat(file2, &stbuf2) == 0) { 113 fprintf(stderr, "Unable to get stats from file: %s or %s\n", file1, file2);
|
/external/icu4c/tools/toolutil/ |
filetools.cpp | 29 static int32_t whichFileModTimeIsLater(const char *file1, const char *file2); 95 static int32_t whichFileModTimeIsLater(const char *file1, const char *file2) { 99 if (stat(file1, &stbuf1) == 0 && stat(file2, &stbuf2) == 0) { 114 fprintf(stderr, "Unable to get stats from file: %s or %s\n", file1, file2);
|
/external/chromium/chrome/browser/ |
browsing_data_indexed_db_helper_browsertest.cc | 34 const FilePath::CharType file2[] = local 51 EXPECT_EQ(FilePath(file2).value(), result[1].file_path.BaseName().value());
|
/external/chromium/base/ |
file_util.cc | 85 std::ifstream file2(filename2.value().c_str(), 90 if (!file1.is_open() || !file2.is_open()) 97 file2.read(buffer2, BUFFER_SIZE); 99 if ((file1.eof() != file2.eof()) || 100 (file1.gcount() != file2.gcount()) || 103 file2.close(); 106 } while (!file1.eof() || !file2.eof()); 109 file2.close(); 115 std::ifstream file2(filename2.value().c_str(), std::ios::in); 119 if (!file1.is_open() || !file2.is_open() [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/ |
sunspider-compare-results | 146 my $file2; 150 $file2 = $ARGV[1]; 153 $file2 = newestFile("$resultDirectory", qr/sunspider-results-.+\.js$/); 157 $output .= "var output2 = " . readResultsFile($file2) . ";\n";
|
/external/oprofile/libutil++/ |
file_manip.h | 35 * @param file2 second filename 39 bool is_files_identical(std::string const & file1, std::string const & file2);
|
/external/chromium_org/tools/imagediff/ |
image_diff.cc | 195 int CompareImages(const base::FilePath& file1, const base::FilePath& file2) { 204 if (!baseline_image.CreateFromFilename(file2)) { 206 file2.value().c_str()); 296 int DiffImages(const base::FilePath& file1, const base::FilePath& file2, 306 if (!baseline_image.CreateFromFilename(file2)) { 308 file2.value().c_str());
|
/external/lzma/CPP/7zip/Archive/7z/ |
7zUpdate.cpp | 428 CFileItem &file, CFileItem2 &file2)
434 file2.CTime = ui.CTime; file2.CTimeDefined = ui.CTimeDefined;
435 file2.ATime = ui.ATime; file2.ATimeDefined = ui.ATimeDefined;
436 file2.MTime = ui.MTime; file2.MTimeDefined = ui.MTimeDefined;
437 file2.IsAnti = ui.IsAnti;
438 file2.StartPosDefined = false;
985 CFileItem2 file2;
local 1094 CFileItem2 file2; local 1164 CFileItem2 file2; local [all...] |