/libcore/support/src/test/java/tests/support/ |
Support_DeleteOnExitTest.java | 13 File file2 = new File(args[1]); local 16 file2.deleteOnExit();
|
/packages/apps/Email/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/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/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/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/oprofile/libutil++/ |
file_manip.h | 35 * @param file2 second filename 39 bool is_files_identical(std::string const & file1, std::string const & file2);
|
/external/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";
|
/libcore/luni/src/test/java/dalvik/system/ |
DexClassLoaderTest.java | 106 File file2; local 109 case ONE_DEX: file1 = DEX_FILE; file2 = null; break; 110 case ONE_JAR: file1 = JAR_FILE; file2 = null; break; 111 case TWO_DEX: file1 = DEX_FILE; file2 = DEX2_FILE; break; 112 case TWO_JAR: file1 = JAR_FILE; file2 = JAR2_FILE; break; 117 if (file2 != null) { 118 path += File.pathSeparator + file2.getAbsolutePath();
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
StorageManagerIntegrationTest.java | 79 File file2 = null; local 87 file2 = createObbFile(OBB_FILE_2, R.raw.obb_file2); 88 String filePath2 = file2.getAbsolutePath(); 104 if (file2 != null) { 105 file2.delete();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
TemplateManager.java | 191 public int compare(File file1, File file2) { 192 return file1.getName().compareTo(file2.getName()); 204 private int compareTemplates(File file1, File file2) { 206 TemplateMetadata template2 = getTemplate(file2); 215 delta = (int) (file2.lastModified() - file1.lastModified());
|
/external/sonivox/arm-fm-22k/host_src/ |
eas_hostmm.c | 534 EAS_HW_FILE *file2,*dupFile; local 546 file2 = hwInstData->files; 550 if ((file1 != file2) && (file2->buffer == file1->buffer)) 562 dupFile = file2; 564 file2++;
|
/external/sonivox/arm-hybrid-22k/host_src/ |
eas_hostmm.c | 534 EAS_HW_FILE *file2,*dupFile; local 546 file2 = hwInstData->files; 550 if ((file1 != file2) && (file2->buffer == file1->buffer)) 562 dupFile = file2; 564 file2++;
|
/external/sonivox/arm-wt-22k/host_src/ |
eas_hostmm.c | 565 EAS_HW_FILE *file2,*dupFile; local 577 file2 = hwInstData->files; 581 if ((file1 != file2) && (file2->fd == file1->fd)) 593 dupFile = file2; 595 file2++;
|
/external/webkit/Tools/DumpRenderTree/chromium/ |
ImageDiff.cpp | 209 int compareImages(const char* file1, const char* file2) 218 if (!baselineImage.createFromFilename(file2)) { 219 fprintf(stderr, "ImageDiff: Unable to open file \"%s\"\n", file2); 333 int diffImages(const char* file1, const char* file2, const char* outFile) 342 if (!baselineImage.createFromFilename(file2)) { 343 fprintf(stderr, "ImageDiff: Unable to open file \"%s\"\n", file2);
|
/cts/tests/tests/os/src/android/os/storage/cts/ |
StorageManagerTest.java | 93 final File file2 = getFilePath("test2.obb"); local 96 ObbObserver oo2 = mountObbWithoutWait(R.raw.test1, file2); 101 waitForObbActionCompletion(file2, oo2, OnObbStateChangeListener.MOUNTED); 112 unmountObb(file2, OnObbStateChangeListener.UNMOUNTED);
|
/external/libvpx/libvpx/build/make/ |
gen_msvs_def.sh | 19 Usage: ${self_basename} [options] file1 [file2 ...]
|
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/libexec/gcc/arm-eabi/4.6.x-google/install-tools/ |
fixinc.sh | 338 for file2 in $all_dirs; do 339 case $file2 in 341 dupdir=${LIB}/root${full_dest_dir}/`echo $file2 | 360 file2=`cd ${LIB}; cd $parent; ${PWDCMD} | sed -e "s@^${libabs}@@"` 364 dots=`echo "$file2" | sed -e 's@/[^/]*@../@g'`
|
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/libexec/gcc/arm-linux-androideabi/4.6.x-google/install-tools/ |
fixinc.sh | 338 for file2 in $all_dirs; do 339 case $file2 in 341 dupdir=${LIB}/root${full_dest_dir}/`echo $file2 | 360 file2=`cd ${LIB}; cd $parent; ${PWDCMD} | sed -e "s@^${libabs}@@"` 364 dots=`echo "$file2" | sed -e 's@/[^/]*@../@g'`
|