HomeSort by relevance Sort by last modified time
    Searched refs:file2 (Results 1 - 25 of 74) sorted by null

1 2 3

  /libcore/support/src/test/java/tests/support/
Support_DeleteOnExitTest.java 13 File file2 = new File(args[1]); local
16 file2.deleteOnExit();
  /packages/apps/Email/emailcommon/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());
  /sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/build/
DuplicateFileException.java 32 public DuplicateFileException(String archivePath, File file1, File file2) {
36 mFile2 = file2;
  /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/bluetooth/glib/gio/tests/
g-file.c 84 GFile *file2 = NULL; local
90 file2 = g_file_new_for_uri (path2);
95 file2 = g_file_new_for_path (path2);
99 g_assert (file2 != NULL);
101 equal = g_file_equal (file1, file2);
104 g_object_unref (file2);
174 GFile *file2 = NULL; local
184 file2 = g_file_dup (file1);
186 g_assert (file2 != NULL);
188 equal = g_file_equal (file1, file2);
222 GFile *file2 = NULL; local
354 GFile *file2 = NULL; local
    [all...]
  /external/valgrind/main/cachegrind/
cg_diff.in 46 usage: cg_diff [options] <cachegrind-out-file1> <cachegrind-out-file2>
69 my ($file1, $file2) = (undef, undef);
88 } elsif (not defined($file2)) {
89 $file2 = $arg;
97 if (not defined $file1 or not defined $file2) {
101 return ($file1, $file2);
265 my ($file1, $file2) = process_cmd_line();
267 ($cmd2, $events2, $CCs2, $summaryCC2) = read_input_file($file2);
297 print("desc: Files compared: $file1; $file2\n");
  /external/icu4c/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/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();
  /frameworks/base/core/tests/coretests/src/com/android/server/
MountServiceTests.java 264 final File file2 = getFilePath("test2.obb"); local
267 ObbObserver oo2 = mountObbWithoutWait(sm, R.raw.test1, file2);
272 waitForObbActionCompletion(sm, file2, oo2, OnObbStateChangeListener.MOUNTED, false);
278 final String mountPath2 = checkMountedPath(sm, file2);
283 unmountObb(sm, file2, OnObbStateChangeListener.UNMOUNTED);
  /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);
  /sdk/ide_common/src/com/android/ide/common/resources/
ResourceItem.java 40 public int compare(ResourceFile file1, ResourceFile file2) {
43 FolderConfiguration fc2 = file2.getFolder().getConfiguration();
  /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);

Completed in 596 milliseconds

1 2 3