/external/guava/guava/src/com/google/common/io/ |
Files.java | 380 public static boolean equal(File file1, File file2) throws IOException { 381 if (file1 == file2 || file1.equals(file2)) { 390 long len1 = file1.length(); 395 return ByteStreams.equal(newInputStreamSupplier(file1),
|
/external/protobuf/src/google/protobuf/ |
descriptor_database_unittest.cc | 485 FileDescriptorProto file1, file2a, file2b; local 486 file1.set_name("foo.proto"); 487 file1.set_package("foo"); 488 file1.add_message_type()->set_name("Foo"); 494 string data1 = file1.SerializeAsString();
|
/external/chromium/chrome/browser/download/ |
download_browsertest.cc | [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
AppCacheTest.java | 243 File file1 = new File(fileArr[i], "testFile"+j+".txt"); local 246 fos = new FileOutputStream(file1); 250 Log.i(TAG, "wrote 10K bytes to "+file1); 366 File file1 = new File(cacheDir, testFilePrefix+i+".txt"); local 369 fos = new FileOutputStream(file1); 393 File file1 = new File(cacheDir, testFilePrefix+i+".txt"); local 394 if(file1.exists()) { 395 files.add(file1.getName()); 416 File file1 = new File(fileArr[i], testFilePrefix+j+".txt"); local 419 fos = new FileOutputStream(file1); [all...] |
/development/scripts/app_engine_server/ |
memcache_zipserve.py | 612 def CompareFilenames(self, file1, file2): 613 """Determines whether file1 is lexigraphically 'before' file2. 618 We say that file1 is lexigraphically before file2 if the last non-matching 619 path segment of file1 is alphabetically before file2. 622 file1: the first file path 626 A positive number if file1 is before file2 627 A negative number if file2 is before file1 630 f1_segments = file1.split('/')
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
file_system_unittest.cc | 208 // drive/root/Dir1/SubDir2 and files drive/root/File1, drive/root/Dir1/File2, 241 // drive/root/File1 242 ResourceEntry file1; 243 file1.set_title("File1"); 244 file1.set_resource_id("resource_id:File1"); 245 file1.set_parent_resource_id(root_resource_id); 246 file1.mutable_file_specific_info()->set_md5("md5"); 247 file1.mutable_file_info()->set_is_directory(false) [all...] |
/external/llvm/utils/ |
codegen-diff | 59 my @file1 = parse_objdump_file ($objdump_file); 61 my $lastrecord = ($#file1 >= $#file2) ? ($#file1) : ($#file2); 63 my $d1 = $file1[$i];
|
/frameworks/base/packages/Keyguard/scripts/ |
new_merge.py | 150 def diff(file1, file2): 151 call([DIFF_TOOL, file1, file2])
|
/prebuilts/devtools/adt/lib/ |
sdktestutils.jar | |
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
pkg_gencmn.c | 104 compareFiles(const void *file1, const void *file2); 531 compareFiles(const void *file1, const void *file2) { 533 return uprv_strcmp(((File *)file1)->basename, ((File *)file2)->basename);
|
/external/icu4c/tools/toolutil/ |
pkg_gencmn.c | 105 compareFiles(const void *file1, const void *file2); 550 compareFiles(const void *file1, const void *file2) { 552 return uprv_strcmp(((File *)file1)->basename, ((File *)file2)->basename);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
RefactoringTestBase.java | 213 IFile file1 = getFile(change1); 215 if (file1 != null && file2 != null) { 219 file1.getFullPath().toOSString());
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaScannerTest.java | 236 String file1 = dir1 + "/test.mp3"; local 240 writeFile(R.raw.testmp3, file1); 241 mMediaScannerConnection.scanFile(file1, MEDIA_TYPE); 289 new File(file1).delete();
|
/external/chromium/base/files/ |
file_path_watcher_browsertest.cc | 396 FilePath file1(dir.AppendASCII("file1")); 405 ASSERT_TRUE(WriteFile(file1, "content")); 406 VLOG(1) << "Waiting for file1 creation"; 411 ASSERT_TRUE(WriteFile(file1, "content v2")); 412 VLOG(1) << "Waiting for file1 modification"; 416 ASSERT_TRUE(file_util::Delete(file1, false)); 417 VLOG(1) << "Waiting for file1 deletion";
|
/external/chromium_org/sandbox/win/src/ |
file_policy_test.cc | 39 base::win::ScopedHandle file1(CreateFile( 44 if (file1.Get() && file2.Get()) 48 base::win::ScopedHandle file1(CreateFile( 54 if (file1.Get() && file2.Get()) 422 // Add rules to make file1->file2 succeed.
|
/external/chromium_org/tools/heapcheck/ |
chrome_tests.py | 41 def File2IsNewer(file1, file2): 44 if file1 is None or not os.path.isfile(file1): 46 return os.stat(file2)[stat.ST_MTIME] > os.stat(file1)[stat.ST_MTIME]
|
/system/core/logcat/ |
logcat.cpp | 119 char *file0, *file1; local 121 asprintf(&file1, "%s.%d", g_outputFileName, i); 129 err = rename (file0, file1); 135 free(file1);
|
/external/chromium_org/base/files/ |
file_path_watcher_browsertest.cc | 443 FilePath file1(dir.AppendASCII("file1")); 452 ASSERT_TRUE(WriteFile(file1, "content")); 453 VLOG(1) << "Waiting for file1 creation"; 458 ASSERT_TRUE(WriteFile(file1, "content v2")); 459 VLOG(1) << "Waiting for file1 modification"; 463 ASSERT_TRUE(base::DeleteFile(file1, false)); 464 VLOG(1) << "Waiting for file1 deletion"; 511 // Create "$dir/file1". 512 FilePath file1(dir.AppendASCII("file1")) [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
FileUtils.java | 412 * @param file1 the first file
418 public static boolean contentEquals(File file1, File file2) throws IOException {
419 boolean file1Exists = file1.exists();
429 if (file1.isDirectory() || file2.isDirectory()) {
434 if (file1.length() != file2.length()) {
439 if (file1.getCanonicalFile().equals(file2.getCanonicalFile())) {
447 input1 = new FileInputStream(file1);
[all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_cfgparser.py | 296 file1 = test_support.findfile("cfgparser.1") 299 parsed_files = cf.read([file1, "nonexistent-file"]) 300 self.assertEqual(parsed_files, [file1]) 304 parsed_files = cf.read(file1) 305 self.assertEqual(parsed_files, [file1])
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_cfgparser.py | 296 file1 = test_support.findfile("cfgparser.1") 299 parsed_files = cf.read([file1, "nonexistent-file"]) 300 self.assertEqual(parsed_files, [file1]) 304 parsed_files = cf.read(file1) 305 self.assertEqual(parsed_files, [file1])
|
/cts/hostsidetests/aadb/src/com/android/cts/aadb/ |
TestDeviceFuncTest.java | 203 private boolean compareFiles(File file1, File file2) throws IOException { 208 stream1 = new BufferedInputStream(new FileInputStream(file1));
|
/external/bison/darwin-lib/ |
stdio.h | [all...] |
/external/bison/linux-lib/ |
stdio.h | [all...] |
/external/libvpx/libvpx/build/make/ |
gen_msvs_sln.sh | 20 Usage: ${self_basename} [options] file1 [file2 ...]
|