Home
last modified time | relevance | path

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

12345

/external/chromium_org/courgette/
Drun_stress_test72 local file1="${1}"
74 local patch="${patches_dir}/${file1}.patch"
76 local dis="${dis_dir}/${file1}.dis"
77 local asm="${dis_dir}/${file1}.asm"
80 courgette -supported "${file1}" >/dev/null
82 courgette -dis "${file1}" "${dis}"
84 cmp -s "${file1}" "${asm}"
86 echo "FAIL_DISASSEMBLE ${file1}"
93 ${time} -f "TIME_GEN %e ${file1}" courgette -gen "${file1}" "${file2}" \
96 ${time} -f "TIME_APPLY %e ${file1}" courgette -apply "${file1}" "${patch}" \
[all …]
Ddisassembler_win32_x86_unittest.cc18 std::string file1 = FileContents("setup1.exe"); in TestExe() local
21 new courgette::DisassemblerWin32X86(file1.c_str(), file1.length())); in TestExe()
27 EXPECT_EQ(file1.length(), disassembler->length()); in TestExe()
46 EXPECT_EQ(reinterpret_cast<const void*>(file1.c_str()), in TestExe()
52 EXPECT_EQ(reinterpret_cast<const void*>(file1.c_str()), in TestExe()
59 std::string file1 = FileContents("pe-64.exe"); in TestExe64() local
62 new courgette::DisassemblerWin32X86(file1.c_str(), file1.length())); in TestExe64()
68 EXPECT_EQ(file1.length(), disassembler->length()); in TestExe64()
77 std::string file1 = FileContents("en-US.dll"); in TestResourceDll() local
80 new courgette::DisassemblerWin32X86(file1.c_str(), file1.length())); in TestResourceDll()
[all …]
Ddisassembler_win32_x64_unittest.cc18 std::string file1 = FileContents("chrome64_1.exe"); in TestExe() local
21 new courgette::DisassemblerWin32X64(file1.c_str(), file1.length())); in TestExe()
27 EXPECT_EQ(file1.length(), disassembler->length()); in TestExe()
46 EXPECT_EQ(reinterpret_cast<const void*>(file1.c_str()), in TestExe()
52 EXPECT_EQ(reinterpret_cast<const void*>(file1.c_str()), in TestExe()
59 std::string file1 = FileContents("setup1.exe"); in TestExe32() local
62 new courgette::DisassemblerWin32X64(file1.c_str(), file1.length())); in TestExe32()
68 EXPECT_EQ(file1.length(), disassembler->length()); in TestExe32()
77 std::string file1 = FileContents("en-US-64.dll"); in TestResourceDll() local
80 new courgette::DisassemblerWin32X64(file1.c_str(), file1.length())); in TestResourceDll()
[all …]
Dbsdiff_memory_unittest.cc66 std::string file1 = in TEST_F() local
85 GenerateAndTestPatch(file1, file2); in TEST_F()
96 std::string file1 = GenerateSyntheticInput(critical_size, 0); in TEST_F() local
98 GenerateAndTestPatch(file1, file2); in TEST_F()
100 std::string file1a = file1.substr(0, critical_size - 1); in TEST_F()
103 std::string file1b = file1.substr(0, critical_size - 2); in TEST_F()
106 std::string file1c = file1 + file1.substr(0, 1); in TEST_F()
111 std::string file1 = FileContents("en-US.dll"); in TEST_F() local
112 GenerateAndTestPatch(file1, file1); in TEST_F()
116 std::string file1 = FileContents("setup1.exe"); in TEST_F() local
[all …]
Ddisassembler_elf_32_x86_unittest.cc20 std::string file1 = FileContents(file_name); in TestExe() local
23 new courgette::DisassemblerElf32X86(file1.c_str(), file1.length())); in TestExe()
31 EXPECT_EQ(file1.length(), disassembler->length()); in TestExe()
34 EXPECT_EQ(reinterpret_cast<const void*>(file1.c_str()), in TestExe()
/external/chromium_org/google_apis/drive/
Ddrive_api_parser_unittest.cc129 const FileResource& file1 = *filelist->items()[0]; in TEST() local
130 EXPECT_EQ("0B4v7G8yEYAWHUmRrU2lMS2hLABC", file1.file_id()); in TEST()
132 file1.etag()); in TEST()
133 EXPECT_EQ("My first file data", file1.title()); in TEST()
134 EXPECT_EQ("application/octet-stream", file1.mime_type()); in TEST()
136 EXPECT_FALSE(file1.labels().is_trashed()); in TEST()
137 EXPECT_FALSE(file1.shared()); in TEST()
139 EXPECT_EQ(640, file1.image_media_metadata().width()); in TEST()
140 EXPECT_EQ(480, file1.image_media_metadata().height()); in TEST()
141 EXPECT_EQ(90, file1.image_media_metadata().rotation()); in TEST()
[all …]
/external/chromium_org/base/files/
Dfile_util.cc60 std::ifstream file1(filename1.value().c_str(), in ContentsEqual() local
67 if (!file1.is_open() || !file2.is_open()) in ContentsEqual()
73 file1.read(buffer1, BUFFER_SIZE); in ContentsEqual()
76 if ((file1.eof() != file2.eof()) || in ContentsEqual()
77 (file1.gcount() != file2.gcount()) || in ContentsEqual()
78 (memcmp(buffer1, buffer2, file1.gcount()))) { in ContentsEqual()
79 file1.close(); in ContentsEqual()
83 } while (!file1.eof() || !file2.eof()); in ContentsEqual()
85 file1.close(); in ContentsEqual()
91 std::ifstream file1(filename1.value().c_str(), std::ios::in); in TextContentsEqual() local
[all …]
/external/chromium_org/native_client_sdk/src/tools/tests/
Doshelpers_test.py91 file1 = self.MakeFile('file1', 1024)
93 self.RunZip(self.zipname, file1, file2)
96 self.assertEqual(self.GetZipInfo(file1).file_size, 1024)
99 self.assertEqual(self.zipfile.namelist()[0], file1)
126 file1 = self.MakeFile('file1', 1223)
127 self.RunZip(self.zipname, file1)
129 self.assertEqual(self.GetZipInfo(file1).file_size, 1223)
131 file1 = self.MakeFile('file1', 2334)
132 self.RunZip(self.zipname, file1)
135 self.assertEqual(self.GetZipInfo(file1).file_size, 2334)
[all …]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
Doutputtee_unittest.py37 file1, file2 = StringIO.StringIO(), StringIO.StringIO()
38 tee = Tee(file1, file2)
42 self.assertEqual(file1.getvalue(), "foo bar\nbaz\n")
43 self.assertEqual(file2.getvalue(), file1.getvalue())
/external/valgrind/main/cachegrind/
Dcg_diff.in46 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");
/external/chromium_org/third_party/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/llvm/utils/
Dcodegen-diff59 my @file1 = parse_objdump_file ($objdump_file);
61 my $lastrecord = ($#file1 >= $#file2) ? ($#file1) : ($#file2);
63 my $d1 = $file1[$i];
/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-wt-22k/host_src/
Deas_hostmm.c562 EAS_RESULT EAS_HWCloseFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file1) in EAS_HWCloseFile() argument
569 if (file1->fd < 0) in EAS_HWCloseFile()
573 if (file1->dup) in EAS_HWCloseFile()
580 if ((file1 != file2) && (file2->fd == file1->fd)) in EAS_HWCloseFile()
586 file1->fd = -1; in EAS_HWCloseFile()
605 file1->fd = -1; in EAS_HWCloseFile()
610 close(file1->fd); in EAS_HWCloseFile()
612 file1->fd = -1; 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/chromium_org/third_party/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 …]
/external/fio/examples/
De4defrag.fio14 filename=file1
26 filename=file1
37 filename=file1
/external/chromium_org/tools/site_compare/operators/
Dequals_with_mask.py13 def Compare(file1, file2, **kwargs): argument
34 im1 = Image.open(file1)
44 maskfile = os.path.join(maskdir, os.path.basename(file1))
/external/icu/icu4c/source/tools/toolutil/
Dfiletools.cpp36 static int32_t whichFileModTimeIsLater(const char *file1, const char *file2);
102 static int32_t whichFileModTimeIsLater(const char *file1, const char *file2) { in whichFileModTimeIsLater() argument
106 if (stat(file1, &stbuf1) == 0 && stat(file2, &stbuf2) == 0) { in whichFileModTimeIsLater()
121 fprintf(stderr, "Unable to get stats from file: %s or %s\n", file1, file2); in whichFileModTimeIsLater()
/external/chromium_org/third_party/icu/source/tools/toolutil/
Dfiletools.cpp36 static int32_t whichFileModTimeIsLater(const char *file1, const char *file2);
102 static int32_t whichFileModTimeIsLater(const char *file1, const char *file2) { in whichFileModTimeIsLater() argument
106 if (stat(file1, &stbuf1) == 0 && stat(file2, &stbuf2) == 0) { in whichFileModTimeIsLater()
121 fprintf(stderr, "Unable to get stats from file: %s or %s\n", file1, file2); in whichFileModTimeIsLater()
/external/mesa3d/src/glsl/tests/
Dcompare_ir48 file1, path1 = tempfile.mkstemp(os.path.basename(sys.argv[1])) variable
51 os.write(file1, '{0}\n'.format(sexp_to_string(ir1)))
52 os.close(file1)
/external/chromium_org/third_party/mesa/src/src/glsl/tests/
Dcompare_ir48 file1, path1 = tempfile.mkstemp(os.path.basename(sys.argv[1])) variable
51 os.write(file1, '{0}\n'.format(sexp_to_string(ir1)))
52 os.close(file1)
/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()

12345