Home
last modified time | relevance | path

Searched refs:file1 (Results 1 – 25 of 54) sorted by relevance

123

/external/bluetooth/glib/gio/tests/
Dg-file.c83 GFile *file1 = NULL; in compare_two_files() local
89 file1 = g_file_new_for_uri (path1); in compare_two_files()
94 file1 = g_file_new_for_path (path1); in compare_two_files()
98 g_assert (file1 != NULL); in compare_two_files()
101 equal = g_file_equal (file1, file2); in compare_two_files()
103 g_object_unref (file1); in compare_two_files()
173 GFile *file1 = NULL; in dup_equals() local
178 file1 = g_file_new_for_uri (path); in dup_equals()
180 file1 = g_file_new_for_path (path); in dup_equals()
182 g_assert (file1 != NULL); in dup_equals()
[all …]
/external/chromium/base/
Dfile_util.cc83 std::ifstream file1(filename1.value().c_str(), in ContentsEqual() local
90 if (!file1.is_open() || !file2.is_open()) in ContentsEqual()
96 file1.read(buffer1, BUFFER_SIZE); in ContentsEqual()
99 if ((file1.eof() != file2.eof()) || in ContentsEqual()
100 (file1.gcount() != file2.gcount()) || in ContentsEqual()
101 (memcmp(buffer1, buffer2, file1.gcount()))) { in ContentsEqual()
102 file1.close(); in ContentsEqual()
106 } while (!file1.eof() || !file2.eof()); in ContentsEqual()
108 file1.close(); in ContentsEqual()
114 std::ifstream file1(filename1.value().c_str(), std::ios::in); in TextContentsEqual() local
[all …]
/external/valgrind/main/cachegrind/
Dcg_diff.in46 usage: cg_diff [options] <cachegrind-out-file1> <cachegrind-out-file2>
69 my ($file1, $file2) = (undef, undef);
85 } elsif (not defined($file1)) {
86 $file1 = $arg;
97 if (not defined $file1 or not defined $file2) {
101 return ($file1, $file2);
265 my ($file1, $file2) = process_cmd_line();
266 ($cmd1, $events1, $CCs1, $summaryCC1) = read_input_file($file1);
297 print("desc: Files compared: $file1; $file2\n");
/external/webkit/Tools/Scripts/
Dcompare-timing-files40 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/sonivox/arm-fm-22k/host_src/
Deas_hostmm.c532 EAS_RESULT EAS_HWCloseFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file1) in EAS_HWCloseFile() argument
539 if (file1->buffer == NULL) in EAS_HWCloseFile()
543 if (file1->dup) in EAS_HWCloseFile()
550 if ((file1 != file2) && (file2->buffer == file1->buffer)) in EAS_HWCloseFile()
556 file1->buffer = NULL; in EAS_HWCloseFile()
575 file1->buffer = NULL; in EAS_HWCloseFile()
580 EAS_HWFree(hwInstData, file1->buffer); in EAS_HWCloseFile()
583 file1->buffer = NULL; in EAS_HWCloseFile()
/external/sonivox/arm-hybrid-22k/host_src/
Deas_hostmm.c532 EAS_RESULT EAS_HWCloseFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file1) in EAS_HWCloseFile() argument
539 if (file1->buffer == NULL) in EAS_HWCloseFile()
543 if (file1->dup) in EAS_HWCloseFile()
550 if ((file1 != file2) && (file2->buffer == file1->buffer)) in EAS_HWCloseFile()
556 file1->buffer = NULL; in EAS_HWCloseFile()
575 file1->buffer = NULL; in EAS_HWCloseFile()
580 EAS_HWFree(hwInstData, file1->buffer); in EAS_HWCloseFile()
583 file1->buffer = NULL; in EAS_HWCloseFile()
/external/sonivox/arm-wt-22k/host_src/
Deas_hostmm.c563 EAS_RESULT EAS_HWCloseFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file1) in EAS_HWCloseFile() argument
570 if (file1->fd < 0) in EAS_HWCloseFile()
574 if (file1->dup) in EAS_HWCloseFile()
581 if ((file1 != file2) && (file2->fd == file1->fd)) in EAS_HWCloseFile()
587 file1->fd = -1; in EAS_HWCloseFile()
606 file1->fd = -1; in EAS_HWCloseFile()
611 close(file1->fd); in EAS_HWCloseFile()
613 file1->fd = -1; in EAS_HWCloseFile()
/external/llvm/utils/
Dcodegen-diff59 my @file1 = parse_objdump_file ($objdump_file);
61 my $lastrecord = ($#file1 >= $#file2) ? ($#file1) : ($#file2);
63 my $d1 = $file1[$i];
/external/webkit/PerformanceTests/SunSpider/
Dsunspider-compare-results145 my $file1;
149 $file1 = $ARGV[0];
152 $file1 = readFile("$resultDirectory/baseline-filename.txt");
156 my $output = "var output1 = " . readResultsFile($file1) . ";\n";
/external/bzip2/
Dbzdiff.18 [ cmp_options ] file1
12 [ diff_options ] file1
28 .I file1
30 .IR file1 ".bz2."
/external/sonivox/arm-wt-22k/jetcreator_lib_src/darwin-x86/
DEASLibVst.c944 EAS_RESULT EAS_HWCloseFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file1) in EAS_HWCloseFile() argument
950 if (file1->pFile == NULL) in EAS_HWCloseFile()
954 if (file1->dup) in EAS_HWCloseFile()
961 if ((file1 != file2) && (file2->pFile == file1->pFile)) in EAS_HWCloseFile()
967 file1->pFile = NULL; in EAS_HWCloseFile()
985 file1->pFile = NULL; in EAS_HWCloseFile()
990 if (fclose(file1->pFile) != 0) in EAS_HWCloseFile()
994 file1->pFile = NULL; in EAS_HWCloseFile()
1368 EAS_RESULT EAS_HWCloseFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file1) in EAS_HWCloseFile() argument
1378 if (file1->buffer == NULL) in EAS_HWCloseFile()
[all …]
DEASLib.c1249 EAS_RESULT EAS_HWCloseFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file1) in EAS_HWCloseFile() argument
1255 if (file1->pFile == NULL) in EAS_HWCloseFile()
1259 if (file1->dup) in EAS_HWCloseFile()
1266 if ((file1 != file2) && (file2->pFile == file1->pFile)) in EAS_HWCloseFile()
1272 file1->pFile = NULL; in EAS_HWCloseFile()
1290 file1->pFile = NULL; in EAS_HWCloseFile()
1295 if (fclose(file1->pFile) != 0) in EAS_HWCloseFile()
1299 file1->pFile = NULL; in EAS_HWCloseFile()
1673 EAS_RESULT EAS_HWCloseFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file1) in EAS_HWCloseFile() argument
1683 if (file1->buffer == NULL) in EAS_HWCloseFile()
[all …]
/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()
/external/sonivox/arm-wt-22k/misc/
Deas_host.c661 EAS_RESULT EAS_HWCloseFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file1) in EAS_HWCloseFile() argument
667 if (file1->pFile == NULL) in EAS_HWCloseFile()
671 if (file1->dup) in EAS_HWCloseFile()
678 if ((file1 != file2) && (file2->pFile == file1->pFile)) in EAS_HWCloseFile()
684 file1->pFile = NULL; in EAS_HWCloseFile()
702 file1->pFile = NULL; in EAS_HWCloseFile()
707 if (fclose(file1->pFile) != 0) in EAS_HWCloseFile()
711 file1->pFile = NULL; in EAS_HWCloseFile()
/external/webkit/Tools/DumpRenderTree/chromium/
DImageDiff.cpp209 int compareImages(const char* file1, const char* file2) in compareImages() argument
214 if (!actualImage.createFromFilename(file1)) { in compareImages()
215 fprintf(stderr, "ImageDiff: Unable to open file \"%s\"\n", file1); in compareImages()
333 int diffImages(const char* file1, const char* file2, const char* outFile) in diffImages() argument
338 if (!actualImage.createFromFilename(file1)) { in diffImages()
339 fprintf(stderr, "ImageDiff: Unable to open file \"%s\"\n", file1); in diffImages()
/external/chromium/chrome/browser/
Dbrowsing_data_indexed_db_helper_browsertest.cc32 const FilePath::CharType file1[] = in IN_PROC_BROWSER_TEST_F() local
50 EXPECT_EQ(FilePath(file1).value(), result[0].file_path.BaseName().value()); in IN_PROC_BROWSER_TEST_F()
Dbrowsing_data_local_storage_helper_browsertest.cc141 const FilePath::CharType file1[] = in IN_PROC_BROWSER_TEST_F() local
159 EXPECT_EQ(FilePath(file1).value(), result[0].file_path.BaseName().value()); in IN_PROC_BROWSER_TEST_F()
/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)) {
378 long len1 = file1.length();
383 return ByteStreams.equal(newInputStreamSupplier(file1),
/external/chromium/chrome/browser/download/
Ddownload_browsertest.cc958 FilePath file1(FILE_PATH_LITERAL("download-test2.html")); in IN_PROC_BROWSER_TEST_F() local
959 GURL url(URLRequestMockHTTPJob::GetMockUrl(file1)); in IN_PROC_BROWSER_TEST_F()
1007 FilePath file1(FILE_PATH_LITERAL("download_page1.html")); in IN_PROC_BROWSER_TEST_F() local
1008 GURL url(URLRequestMockHTTPJob::GetMockUrl(file1)); in IN_PROC_BROWSER_TEST_F()
1039 FilePath file1(FILE_PATH_LITERAL("download_page2.html")); in IN_PROC_BROWSER_TEST_F() local
1040 GURL url1(URLRequestMockHTTPJob::GetMockUrl(file1)); in IN_PROC_BROWSER_TEST_F()
1081 FilePath file1(FILE_PATH_LITERAL("download_page3.html")); in IN_PROC_BROWSER_TEST_F() local
1082 GURL url(URLRequestMockHTTPJob::GetMockUrl(file1)); in IN_PROC_BROWSER_TEST_F()
1114 FilePath file1(FILE_PATH_LITERAL("download_page4.html")); in IN_PROC_BROWSER_TEST_F() local
1115 GURL url(URLRequestMockHTTPJob::GetMockUrl(file1)); in IN_PROC_BROWSER_TEST_F()
/external/protobuf/src/google/protobuf/
Ddescriptor_database_unittest.cc485 FileDescriptorProto file1, file2a, file2b; in TEST() local
486 file1.set_name("foo.proto"); in TEST()
487 file1.set_package("foo"); in TEST()
488 file1.add_message_type()->set_name("Foo"); in TEST()
494 string data1 = file1.SerializeAsString(); in TEST()
/external/oprofile/libutil++/
Dfile_manip.cpp86 bool is_files_identical(string const & file1, string const & file2) in is_files_identical() argument
91 if (stat(file1.c_str(), &st1) == 0 && stat(file2.c_str(), &st2) == 0) { in is_files_identical()
Dfile_manip.h39 bool is_files_identical(std::string const & file1, std::string const & file2);
/external/clang/tools/arcmt-test/
Darcmt-test.cpp205 OwningPtr<MemoryBuffer> file1; in filesCompareEqual() local
206 MemoryBuffer::getFile(fname1, file1); in filesCompareEqual()
207 if (!file1) in filesCompareEqual()
215 return file1->getBuffer() == file2->getBuffer(); in filesCompareEqual()
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
Dport_testcase.py103 file1 = port._filesystem.join(dir, 'fast', 'css', 'button_center.png')
104 contents1 = port._filesystem.read_binary_file(file1)
/external/bluetooth/glib/gio/
Dgfileicon.c200 GFileIcon *file1 = G_FILE_ICON (icon1); in g_file_icon_equal() local
203 return g_file_equal (file1->file, file2->file); in g_file_icon_equal()

123