Home
last modified time | relevance | path

Searched refs:file2 (Results 1 – 25 of 43) sorted by relevance

12

/external/bluetooth/glib/gio/tests/
Dg-file.c84 GFile *file2 = NULL; in compare_two_files() local
90 file2 = g_file_new_for_uri (path2); in compare_two_files()
95 file2 = g_file_new_for_path (path2); in compare_two_files()
99 g_assert (file2 != NULL); in compare_two_files()
101 equal = g_file_equal (file1, file2); in compare_two_files()
104 g_object_unref (file2); in compare_two_files()
174 GFile *file2 = NULL; in dup_equals() local
184 file2 = g_file_dup (file1); in dup_equals()
186 g_assert (file2 != NULL); in dup_equals()
188 equal = g_file_equal (file1, file2); in dup_equals()
[all …]
/external/chromium/base/
Dfile_util.cc112 std::ifstream file2(filename2.value().c_str(), in ContentsEqual() local
117 if (!file1.is_open() || !file2.is_open()) in ContentsEqual()
124 file2.read(buffer2, BUFFER_SIZE); in ContentsEqual()
126 if ((file1.eof() != file2.eof()) || in ContentsEqual()
127 (file1.gcount() != file2.gcount()) || in ContentsEqual()
130 file2.close(); in ContentsEqual()
133 } while (!file1.eof() || !file2.eof()); in ContentsEqual()
136 file2.close(); in ContentsEqual()
142 std::ifstream file2(filename2.value().c_str(), std::ios::in); in TextContentsEqual() local
146 if (!file1.is_open() || !file2.is_open()) in TextContentsEqual()
[all …]
/external/webkit/WebKitTools/Scripts/
Dcompare-timing-files40 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/webkit/SunSpider/
Dsunspider-compare-results146 my $file2;
150 $file2 = $ARGV[1];
153 $file2 = newestFile("$resultDirectory", qr/sunspider-results-.+\.js$/);
157 $output .= "var output2 = " . readResultsFile($file2) . ";\n";
/external/icu4c/tools/toolutil/
Dfiletools.cpp28 static int32_t whichFileModTimeIsLater(const char *file1, const char *file2);
94 static int32_t whichFileModTimeIsLater(const char *file1, const char *file2) { in whichFileModTimeIsLater() argument
98 if (stat(file1, &stbuf1) == 0 && stat(file2, &stbuf2) == 0) { in whichFileModTimeIsLater()
113 fprintf(stderr, "Unable to get stats from file: %s or %s\n", file1, file2); in whichFileModTimeIsLater()
Dpkg_gencmn.c102 compareFiles(const void *file1, const void *file2);
525 compareFiles(const void *file1, const void *file2) { in compareFiles() argument
527 return uprv_strcmp(((File *)file1)->basename, ((File *)file2)->basename); in compareFiles()
/external/chromium/third_party/icu/source/tools/toolutil/
Dfiletools.cpp28 static int32_t whichFileModTimeIsLater(const char *file1, const char *file2);
94 static int32_t whichFileModTimeIsLater(const char *file1, const char *file2) { in whichFileModTimeIsLater() argument
98 if (stat(file1, &stbuf1) == 0 && stat(file2, &stbuf2) == 0) { in whichFileModTimeIsLater()
113 fprintf(stderr, "Unable to get stats from file: %s or %s\n", file1, file2); in whichFileModTimeIsLater()
Dpkg_gencmn.c102 compareFiles(const void *file1, const void *file2);
525 compareFiles(const void *file1, const void *file2) { in compareFiles() argument
527 return uprv_strcmp(((File *)file1)->basename, ((File *)file2)->basename); in compareFiles()
/external/sonivox/arm-wt-22k/host_src/
Deas_hostmm.c565 EAS_HW_FILE *file2,*dupFile; in EAS_HWCloseFile() local
577 file2 = hwInstData->files; in EAS_HWCloseFile()
581 if ((file1 != file2) && (file2->fd == file1->fd)) in EAS_HWCloseFile()
593 dupFile = file2; in EAS_HWCloseFile()
595 file2++; in EAS_HWCloseFile()
/external/sonivox/arm-hybrid-22k/host_src/
Deas_hostmm.c534 EAS_HW_FILE *file2,*dupFile; in EAS_HWCloseFile() local
546 file2 = hwInstData->files; in EAS_HWCloseFile()
550 if ((file1 != file2) && (file2->buffer == file1->buffer)) in EAS_HWCloseFile()
562 dupFile = file2; in EAS_HWCloseFile()
564 file2++; in EAS_HWCloseFile()
/external/sonivox/arm-fm-22k/host_src/
Deas_hostmm.c534 EAS_HW_FILE *file2,*dupFile; in EAS_HWCloseFile() local
546 file2 = hwInstData->files; in EAS_HWCloseFile()
550 if ((file1 != file2) && (file2->buffer == file1->buffer)) in EAS_HWCloseFile()
562 dupFile = file2; in EAS_HWCloseFile()
564 file2++; in EAS_HWCloseFile()
/external/sonivox/arm-wt-22k/jetcreator_lib_src/darwin-x86/
DEASLibVst.c946 EAS_HW_FILE *file2,*dupFile; in EAS_HWCloseFile() local
957 file2 = hwInstData->files; in EAS_HWCloseFile()
961 if ((file1 != file2) && (file2->pFile == file1->pFile)) in EAS_HWCloseFile()
972 dupFile = file2; in EAS_HWCloseFile()
974 file2++; in EAS_HWCloseFile()
1370 EAS_HW_FILE *file2,*dupFile; in EAS_HWCloseFile() local
1385 file2 = hwInstData->files; in EAS_HWCloseFile()
1389 if ((file1 != file2) && (file2->buffer == file1->buffer)) in EAS_HWCloseFile()
1401 dupFile = file2; in EAS_HWCloseFile()
1403 file2++; in EAS_HWCloseFile()
DEASLib.c1251 EAS_HW_FILE *file2,*dupFile; in EAS_HWCloseFile() local
1262 file2 = hwInstData->files; in EAS_HWCloseFile()
1266 if ((file1 != file2) && (file2->pFile == file1->pFile)) in EAS_HWCloseFile()
1277 dupFile = file2; in EAS_HWCloseFile()
1279 file2++; in EAS_HWCloseFile()
1675 EAS_HW_FILE *file2,*dupFile; in EAS_HWCloseFile() local
1690 file2 = hwInstData->files; in EAS_HWCloseFile()
1694 if ((file1 != file2) && (file2->buffer == file1->buffer)) in EAS_HWCloseFile()
1706 dupFile = file2; in EAS_HWCloseFile()
1708 file2++; in EAS_HWCloseFile()
/external/sonivox/arm-wt-22k/misc/
Deas_host.c663 EAS_HW_FILE *file2,*dupFile; in EAS_HWCloseFile() local
674 file2 = hwInstData->files; in EAS_HWCloseFile()
678 if ((file1 != file2) && (file2->pFile == file1->pFile)) in EAS_HWCloseFile()
689 dupFile = file2; in EAS_HWCloseFile()
691 file2++; in EAS_HWCloseFile()
/external/guava/src/com/google/common/io/
DFiles.java368 public static boolean equal(File file1, File file2) throws IOException {
369 if (file1 == file2 || file1.equals(file2)) {
379 long len2 = file2.length();
384 newInputStreamSupplier(file2));
/external/webkit/WebKitTools/Scripts/webkitpy/layout_tests/test_types/
Dtext_diff.py109 def diff_files(self, port, file1, file2): argument
121 self.get_normalized_text(file2))
Dimage_diff.py181 def diff_files(self, port, file1, file2): argument
193 result = port.diff_image(file1, file2)
/external/bzip2/
Dbzdiff.19 [ file2 ]
13 [ file2 ]
/external/webkit/WebKitTools/Scripts/webkitpy/layout_tests/
Drebaseline_chromium_webkit_tests.py518 def _diff_baselines(self, file1, file2): argument
530 ext2 = os.path.splitext(file2)[1].upper()
533 'File1: %s; File2: %s', file1, file2)
538 file2)
541 file2)
/external/bluetooth/glib/tests/collate/
Dcollate-2.unicode10 file2.bla
Dcollate-2.file12 file2.bla
Dcollate-2.in2 file2.bla
/external/bluetooth/glib/gio/
Dgfileicon.c201 GFileIcon *file2 = G_FILE_ICON (icon2); in g_file_icon_equal() local
203 return g_file_equal (file1->file, file2->file); in g_file_icon_equal()
/external/libvpx/build/make/
Dgen_msvs_def.sh19 Usage: ${self_basename} [options] file1 [file2 ...]
/external/webkit/WebKitTools/android/webkitmerge/
Dwebkitmerge.cpp463 const char* base2, const char* dir2, const char* file2, bool* ex1, bool* ex2) in CheckForExec() argument
466 size_t file2Len = strlen(file2); in CheckForExec()
468 bool file2Ex = file2[file2Len - 1] == '*'; in CheckForExec()
473 base2, dir2, file2, file2Ex ? "" : "no "); in CheckForExec()
480 const char* base2, const char* dir2, const char* file2) in CompareFiles() argument
485 CheckForExec(base1, dir1, file1, base2, dir2, file2, &file1Ex, &file2Ex); in CompareFiles()
488 base2, dir2, (int) strlen(file2) - (int) file2Ex, file2, in CompareFiles()

12