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

1 2 3 4

  /libcore/support/src/test/java/tests/support/
Support_DeleteOnExitTest.java 12 File file1 = new File(args[0]); local
15 file1.deleteOnExit();
  /packages/apps/Email/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();
SizeFileComparator.java 108 public int compare(File file1, File file2) {
110 if (file1.isDirectory()) {
111 size1 = sumDirectoryContents && file1.exists() ? FileUtils.sizeOfDirectory(file1) : 0;
113 size1 = file1.length();
ExtensionFileComparator.java 105 public int compare(File file1, File file2) {
106 String suffix1 = FilenameUtils.getExtension(file1.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/bluetooth/glib/gio/tests/
g-file.c 83 GFile *file1 = NULL; local
89 file1 = g_file_new_for_uri (path1);
94 file1 = g_file_new_for_path (path1);
98 g_assert (file1 != NULL);
101 equal = g_file_equal (file1, file2);
103 g_object_unref (file1);
173 GFile *file1 = NULL; local
178 file1 = g_file_new_for_uri (path);
180 file1 = g_file_new_for_path (path);
182 g_assert (file1 != NULL)
221 GFile *file1 = NULL; local
282 GFile *file1 = NULL; local
353 GFile *file1 = NULL; local
    [all...]
  /sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/build/
DuplicateFileException.java 32 public DuplicateFileException(String archivePath, File file1, File file2) {
35 mFile1 = file1;
  /external/webkit/Tools/Scripts/
compare-timing-files 40 my ($file1, $file2) = @ARGV;
41 die "$usage\n" unless ($file1 && $file2 && @ARGV == 2);
43 my ($oldAverage, $oldRange, $oldRangePercent) = parseResults($file1);
46 print "\n===== $file1 =====\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);
92 } elsif (not defined($file1)) {
93 $file1 = $arg;
104 if (not defined $file1 or not defined $file2) {
108 return ($file1, $file2);
276 my ($file1, $file2) = process_cmd_line();
277 ($cmd1, $events1, $CCs1, $summaryCC1) = read_input_file($file1);
308 print("desc: Files compared: $file1; $file2\n");
  /frameworks/base/core/tests/coretests/src/android/os/storage/
StorageManagerIntegrationTest.java 78 File file1 = null; local
82 file1 = createObbFile(OBB_FILE_1, R.raw.obb_file1);
83 String filePath1 = file1.getAbsolutePath();
101 if (file1 != null) {
102 file1.delete();
142 File file1 = null; local
149 file1 = createObbFile(OBB_FILE_1_ENCRYPTED, R.raw.obb_enc_file100_orig1);
150 String filePath1 = file1.getAbsolutePath();
160 if (file1 != null) {
161 file1.delete()
    [all...]
  /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/base/
file_util.cc 83 std::ifstream file1(filename1.value().c_str(),
90 if (!file1.is_open() || !file2.is_open())
96 file1.read(buffer1, BUFFER_SIZE);
99 if ((file1.eof() != file2.eof()) ||
100 (file1.gcount() != file2.gcount()) ||
101 (memcmp(buffer1, buffer2, file1.gcount()))) {
102 file1.close();
106 } while (!file1.eof() || !file2.eof());
108 file1.close();
114 std::ifstream file1(filename1.value().c_str(), std::ios::in)
    [all...]
  /external/chromium/chrome/browser/
browsing_data_indexed_db_helper_browsertest.cc 32 const FilePath::CharType file1[] = local
50 EXPECT_EQ(FilePath(file1).value(), result[0].file_path.BaseName().value());
  /external/sonivox/arm-fm-22k/host_src/
eas_hostmm.c 532 EAS_RESULT EAS_HWCloseFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file1)
539 if (file1->buffer == NULL)
543 if (file1->dup)
550 if ((file1 != file2) && (file2->buffer == file1->buffer))
556 file1->buffer = NULL;
575 file1->buffer = NULL;
580 EAS_HWFree(hwInstData, file1->buffer);
583 file1->buffer = NULL;
  /external/sonivox/arm-hybrid-22k/host_src/
eas_hostmm.c 532 EAS_RESULT EAS_HWCloseFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file1)
539 if (file1->buffer == NULL)
543 if (file1->dup)
550 if ((file1 != file2) && (file2->buffer == file1->buffer))
556 file1->buffer = NULL;
575 file1->buffer = NULL;
580 EAS_HWFree(hwInstData, file1->buffer);
583 file1->buffer = NULL;
  /external/sonivox/arm-wt-22k/host_src/
eas_hostmm.c 563 EAS_RESULT EAS_HWCloseFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file1)
570 if (file1->fd < 0)
574 if (file1->dup)
581 if ((file1 != file2) && (file2->fd == file1->fd))
587 file1->fd = -1;
606 file1->fd = -1;
611 close(file1->fd);
613 file1->fd = -1;
  /external/oprofile/libutil++/
file_manip.h 34 * @param file1 first filename
39 bool is_files_identical(std::string const & file1, std::string const & file2);
  /external/webkit/PerformanceTests/SunSpider/
sunspider-compare-results 145 my $file1;
149 $file1 = $ARGV[0];
152 $file1 = readFile("$resultDirectory/baseline-filename.txt");
156 my $output = "var output1 = " . readResultsFile($file1) . ";\n";
  /development/scripts/
divide_and_compress_test.py 50 file1 = BagOfParts()
51 file1.filename = 'file1.txt'
52 file1.contents = 'This is a test file'
58 self.files = {'file1': file1, 'file2': file2}
126 source_zip.infolist().AndReturn([self.files['file1'], self.files['file1']])
127 source_zip.infolist().AndReturn([self.files['file1'], self.files['file1']])
    [all...]
  /external/sonivox/arm-wt-22k/misc/
eas_host.c 661 EAS_RESULT EAS_HWCloseFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file1)
667 if (file1->pFile == NULL)
671 if (file1->dup)
678 if ((file1 != file2) && (file2->pFile == file1->pFile))
684 file1->pFile = NULL;
702 file1->pFile = NULL;
707 if (fclose(file1->pFile) != 0)
711 file1->pFile = NULL;
  /frameworks/base/core/tests/coretests/src/com/android/server/
MountServiceTests.java 263 final File file1 = getFilePath("test1.obb"); local
266 ObbObserver oo1 = mountObbWithoutWait(sm, R.raw.test1, file1);
270 waitForObbActionCompletion(sm, file1, oo1, OnObbStateChangeListener.MOUNTED, false);
274 final String mountPath1 = checkMountedPath(sm, file1);
282 unmountObb(sm, file1, OnObbStateChangeListener.UNMOUNTED);
  /external/webkit/Tools/DumpRenderTree/chromium/
ImageDiff.cpp 209 int compareImages(const char* file1, const char* file2)
214 if (!actualImage.createFromFilename(file1)) {
215 fprintf(stderr, "ImageDiff: Unable to open file \"%s\"\n", file1);
333 int diffImages(const char* file1, const char* file2, const char* outFile)
338 if (!actualImage.createFromFilename(file1)) {
339 fprintf(stderr, "ImageDiff: Unable to open file \"%s\"\n", file1);
  /libcore/luni/src/test/java/dalvik/system/
DexClassLoaderTest.java 105 File file1; 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;
116 String path = file1.getAbsolutePath();

Completed in 424 milliseconds

1 2 3 4