/external/chromium_org/courgette/ |
run_stress_test | 73 local file1="${1}" 75 local patch="${patches_dir}/${file1}.patch" 77 local dis="${dis_dir}/${file1}.dis" 78 local asm="${dis_dir}/${file1}.asm" 81 courgette -supported "${file1}" >/dev/null 83 courgette -dis "${file1}" "${dis}" 85 cmp -s "${file1}" "${asm}" 87 echo "FAIL_DISASSEMBLE ${file1}" 93 courgette -gen "${file1}" "${file2}" "${patch}" 94 courgette -apply "${file1}" "${patch}" "${apply} [all...] |
disassembler_win32_x86_unittest.cc | 18 std::string file1 = FileContents("setup1.exe"); local 21 new courgette::DisassemblerWin32X86(file1.c_str(), file1.length())); 27 EXPECT_EQ(file1.length(), disassembler->length()); 46 EXPECT_EQ(reinterpret_cast<const void*>(file1.c_str()), 52 EXPECT_EQ(reinterpret_cast<const void*>(file1.c_str()), 59 std::string file1 = FileContents("pe-64.exe"); local 62 new courgette::DisassemblerWin32X86(file1.c_str(), file1.length())); 68 EXPECT_EQ(file1.length(), disassembler->length()) 77 std::string file1 = FileContents("en-US.dll"); local [all...] |
bsdiff_memory_unittest.cc | 66 std::string file1 = local 85 GenerateAndTestPatch(file1, file2); 96 std::string file1 = GenerateSyntheticInput(critical_size, 0); local 98 GenerateAndTestPatch(file1, file2); 100 std::string file1a = file1.substr(0, critical_size - 1); 103 std::string file1b = file1.substr(0, critical_size - 2); 106 std::string file1c = file1 + file1.substr(0, 1); 111 std::string file1 = FileContents("en-US.dll"); local 112 GenerateAndTestPatch(file1, file1) 116 std::string file1 = FileContents("setup1.exe"); local 122 std::string file1 = FileContents("elf-32-1"); local [all...] |
disassembler_elf_32_x86_unittest.cc | 20 std::string file1 = FileContents(file_name); local 23 new courgette::DisassemblerElf32X86(file1.c_str(), file1.length())); 31 EXPECT_EQ(file1.length(), disassembler->length()); 34 EXPECT_EQ(reinterpret_cast<const void*>(file1.c_str()),
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
outputtee_unittest.py | 37 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())
|
/libcore/support/src/test/java/tests/support/ |
Support_DeleteOnExitTest.java | 12 File file1 = new File(args[0]); local 15 file1.deleteOnExit();
|
/packages/apps/UnifiedEmail/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());
|
/external/chromium_org/tools/site_compare/operators/ |
equals.py | 11 def Compare(file1, file2, **kwargs): 15 file1: path to first image to compare 25 im1 = Image.open(file1)
|
equals_with_mask.py | 13 def Compare(file1, file2, **kwargs): 17 which matches file1's name, areas under the mask where it's black 21 file1: path to first image to compare 34 im1 = Image.open(file1) 44 maskfile = os.path.join(maskdir, os.path.basename(file1))
|
/external/chromium_org/third_party/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/chromium_org/base/ |
file_util.cc | 63 std::ifstream file1(filename1.value().c_str(), 70 if (!file1.is_open() || !file2.is_open()) 76 file1.read(buffer1, BUFFER_SIZE); 79 if ((file1.eof() != file2.eof()) || 80 (file1.gcount() != file2.gcount()) || 81 (memcmp(buffer1, buffer2, file1.gcount()))) { 82 file1.close(); 86 } while (!file1.eof() || !file2.eof()); 88 file1.close(); 94 std::ifstream file1(filename1.value().c_str(), std::ios::in) [all...] |
/external/chromium_org/third_party/mesa/src/src/glsl/tests/ |
compare_ir | 37 print 'Usage: compare_ir <file1> <file2>' 48 file1, path1 = tempfile.mkstemp(os.path.basename(sys.argv[1])) 51 os.write(file1, '{0}\n'.format(sexp_to_string(ir1))) 52 os.close(file1)
|
/external/mesa3d/src/glsl/tests/ |
compare_ir | 37 print 'Usage: compare_ir <file1> <file2>' 48 file1, path1 = tempfile.mkstemp(os.path.basename(sys.argv[1])) 51 os.write(file1, '{0}\n'.format(sexp_to_string(ir1))) 52 os.close(file1)
|
/external/chromium_org/native_client_sdk/src/tools/tests/ |
oshelpers_test.py | 91 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) 102 self.MakeFile('file1', 1024) 118 self.MakeFile(os.path.join('dir1', 'file1'), 256) 126 file1 = self.MakeFile('file1', 1223) 127 self.RunZip(self.zipname, file1) [all...] |
/external/chromium_org/chrome/browser/google_apis/ |
drive_api_parser_unittest.cc | 255 const FileResource& file1 = *filelist->items()[0]; local 256 EXPECT_EQ("0B4v7G8yEYAWHUmRrU2lMS2hLABC", file1.file_id()); 258 file1.etag()); 259 EXPECT_EQ("My first file data", file1.title()); 260 EXPECT_EQ("application/octet-stream", file1.mime_type()); 262 EXPECT_FALSE(file1.labels().is_starred()); 263 EXPECT_FALSE(file1.labels().is_hidden()); 264 EXPECT_FALSE(file1.labels().is_trashed()); 265 EXPECT_FALSE(file1.labels().is_restricted()); 266 EXPECT_TRUE(file1.labels().is_viewed()) [all...] |
/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/chromium_org/third_party/icu/source/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/icu4c/tools/toolutil/ |
filetools.cpp | 29 static int32_t whichFileModTimeIsLater(const char *file1, const char *file2); 95 static int32_t whichFileModTimeIsLater(const char *file1, const char *file2) { 99 if (stat(file1, &stbuf1) == 0 && stat(file2, &stbuf2) == 0) { 114 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());
|