/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/io/ |
D | UnixFileTest.java | 35 private File testFile; field in UnixFileTest 129 assertFalse(testFile.canExecute()); in test_canExecute() 130 assertTrue(testFile.setExecutable(true, false)); in test_canExecute() 131 assertTrue(testFile.canExecute()); in test_canExecute() 132 assertTrue(testFile.setExecutable(true, true)); in test_canExecute() 133 assertTrue(testFile.canExecute()); in test_canExecute() 135 assertTrue(testFile.setExecutable(false, false)); in test_canExecute() 136 assertFalse(testFile.canExecute()); in test_canExecute() 137 assertTrue(testFile.setExecutable(false, true)); in test_canExecute() 138 assertFalse(testFile.canExecute()); in test_canExecute() [all …]
|
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
D | ImportantFileWriterAndroidTest.java | 45 private void checkFile(File testFile, byte[] data) { in checkFile() argument 46 assertTrue(testFile.exists()); in checkFile() 48 byte[] fileData = new byte[(int) testFile.length()]; in checkFile() 50 new DataInputStream(new FileInputStream(testFile)); in checkFile() 72 File testFile = new File(dir, "ImportantFileTest"); in testAtomicWrite() local 75 if (testFile.exists()) { in testAtomicWrite() 76 assertTrue(testFile.delete()); in testAtomicWrite() 82 testFile.getAbsolutePath(), data1)); in testAtomicWrite() 83 checkFile(testFile, data1); in testAtomicWrite() 89 testFile.getAbsolutePath(), data2)); in testAtomicWrite() [all …]
|
/external/clang/utils/analyzer/ |
D | update_plist_test.pl | 7 my $testFile = shift @ARGV; 8 die "error: cannot read file $testFile\n" if (! -r $testFile); 18 open (IN, $testFile) or die "cannot open $testFile\n"; 50 `cp $filename $testFile`; 51 print "updated $testFile\n";
|
/external/icu/icu4c/source/test/intltest/ |
D | ucaconf.cpp | 27 testFile(NULL), in UCAConformanceTest() 53 if (testFile) { in ~UCAConformanceTest() 54 fclose(testFile); in ~UCAConformanceTest() 110 if(testFile) { in openTestFile() 111 fclose(testFile); in openTestFile() 126 testFile = fopen(buffer, "rb"); in openTestFile() 128 if(testFile == 0) { in openTestFile() 131 testFile = fopen(buffer, "rb"); in openTestFile() 133 if(testFile == 0) { in openTestFile() 136 testFile = fopen(buffer, "rb"); in openTestFile() [all …]
|
D | tsmthred.cpp | 1215 FILE *testFile = NULL; in TestCollators() local 1227 if(testFile) { in TestCollators() 1228 fclose(testFile); in TestCollators() 1243 testFile = fopen(buffer, "rb"); in TestCollators() 1245 if(testFile == 0) { in TestCollators() 1248 testFile = fopen(buffer, "rb"); in TestCollators() 1250 if(testFile == 0) { in TestCollators() 1253 testFile = fopen(buffer, "rb"); in TestCollators() 1255 if (testFile == 0) { in TestCollators() 1276 while (fgets(buffer, 1024, testFile) != NULL) { in TestCollators() [all …]
|
D | ucaconf.h | 45 FILE *testFile; variable
|
D | rbbitst.cpp | 1039 UChar *testFile = ReadAndConvertFile(testFileName, len, "UTF-8", status); in TestExtended() local 1050 UnicodeString testString(FALSE, testFile, len); in TestExtended() 1363 delete [] testFile; in TestExtended() 1592 UChar *testFile = ReadAndConvertFile(testFileName, len, "UTF-8", status); in runUnicodeTestData() local 1595 TEST_ASSERT(testFile != NULL); in runUnicodeTestData() 1597 if (U_FAILURE(status) || testFile == NULL) { in runUnicodeTestData() 1600 UnicodeString testFileAsString(TRUE, testFile, len); in runUnicodeTestData() 1707 delete [] testFile; in runUnicodeTestData()
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
D | ucaconf.cpp | 25 testFile(NULL), in UCAConformanceTest() 51 if (testFile) { in ~UCAConformanceTest() 52 fclose(testFile); in ~UCAConformanceTest() 108 if(testFile) { in openTestFile() 109 fclose(testFile); in openTestFile() 124 testFile = fopen(buffer, "rb"); in openTestFile() 126 if(testFile == 0) { in openTestFile() 129 testFile = fopen(buffer, "rb"); in openTestFile() 131 if(testFile == 0) { in openTestFile() 134 testFile = fopen(buffer, "rb"); in openTestFile() [all …]
|
D | tsmthred.cpp | 1210 FILE *testFile = NULL; in TestCollators() local 1222 if(testFile) { in TestCollators() 1223 fclose(testFile); in TestCollators() 1238 testFile = fopen(buffer, "rb"); in TestCollators() 1240 if(testFile == 0) { in TestCollators() 1243 testFile = fopen(buffer, "rb"); in TestCollators() 1245 if(testFile == 0) { in TestCollators() 1248 testFile = fopen(buffer, "rb"); in TestCollators() 1250 if (testFile == 0) { in TestCollators() 1271 while (fgets(buffer, 1024, testFile) != NULL) { in TestCollators() [all …]
|
D | ucaconf.h | 45 FILE *testFile; variable
|
D | rbbitst.cpp | 1039 UChar *testFile = ReadAndConvertFile(testFileName, len, "UTF-8", status); in TestExtended() local 1050 UnicodeString testString(FALSE, testFile, len); in TestExtended() 1363 delete [] testFile; in TestExtended() 1592 UChar *testFile = ReadAndConvertFile(testFileName, len, "UTF-8", status); in runUnicodeTestData() local 1595 TEST_ASSERT(testFile != NULL); in runUnicodeTestData() 1597 if (U_FAILURE(status) || testFile == NULL) { in runUnicodeTestData() 1600 UnicodeString testFileAsString(TRUE, testFile, len); in runUnicodeTestData() 1707 delete [] testFile; in runUnicodeTestData()
|
/external/icu/icu4c/source/test/iotest/ |
D | iotest.cpp | 220 LocalUFILEPointer testFile; in DataDrivenPrintf() local 234 testFile.adoptInstead(u_fopen(STANDARD_TEST_FILE, "w", fileLocale, "UTF-8")); in DataDrivenPrintf() 235 if (testFile.isNull()) { in DataDrivenPrintf() 260 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, dbl); in DataDrivenPrintf() 265 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i8); in DataDrivenPrintf() 270 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i16); in DataDrivenPrintf() 275 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i32); in DataDrivenPrintf() 280 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i64); in DataDrivenPrintf() 285 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, cBuffer); in DataDrivenPrintf() 289 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, argument); in DataDrivenPrintf() [all …]
|
/external/chromium_org/third_party/icu/source/test/iotest/ |
D | iotest.cpp | 220 LocalUFILEPointer testFile; in DataDrivenPrintf() local 234 testFile.adoptInstead(u_fopen(STANDARD_TEST_FILE, "w", fileLocale, "UTF-8")); in DataDrivenPrintf() 235 if (testFile.isNull()) { in DataDrivenPrintf() 260 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, dbl); in DataDrivenPrintf() 265 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i8); in DataDrivenPrintf() 270 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i16); in DataDrivenPrintf() 275 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i32); in DataDrivenPrintf() 280 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i64); in DataDrivenPrintf() 285 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, cBuffer); in DataDrivenPrintf() 289 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, argument); in DataDrivenPrintf() [all …]
|
/external/qemu/android/avd/ |
D | util_unittest.cpp | 35 const char* testFile = in TEST() local 44 EXPECT_EQ(0,fileData_initFromMemory(&fd, testFile, strlen(testFile))); in TEST()
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/ |
D | TestSuite.java | 41 protected TestSuite(String gname, File testFile) { in TestSuite() argument 43 testSuiteFile = testFile; in TestSuite()
|
D | TestSuiteFactory.java | 73 … final File testFile = new File(grammarDir + File.separator + grammarName + TEST_SUITE_EXT); in createTestSuite() local 75 final TestSuite result = new TestSuite(grammarName, testFile); in createTestSuite()
|
/external/skia/tools/skpdiff/ |
D | SkDiffContext.cpp | 174 SkString testFile = SkOSPath::SkPathJoin(testPath, baseFilename); in diffDirectories() local 177 if (sk_exists(testFile.c_str()) && !sk_isdir(testFile.c_str())) { in diffDirectories() 179 runnableDiffs[x].setup(this, baselineFile, testFile); in diffDirectories()
|
/external/chromium_org/chrome/browser/ui/cocoa/download/ |
D | download_util_mac_unittest.mm | 40 base::FilePath testFile(FILE_PATH_LITERAL("download-test1.lib")); 41 testPath = testPath.Append(testFile);
|
/external/chromium_org/mojo/public/js/bindings/ |
D | validation_unittests.js | 215 function checkValidationResult(testFile, err) { argument 217 var expectedResult = readTestExpected(testFile); 219 console.log("[Test message validation failed: " + testFile + " ]");
|
/external/chromium_org/third_party/skia/tools/skpdiff/ |
D | SkDiffContext.cpp | 249 SkString testFile = SkOSPath::Join(testPath, baseFilename); in diffDirectories() local 252 if (sk_exists(testFile.c_str()) && !sk_isdir(testFile.c_str())) { in diffDirectories() 254 runnableDiffs[x].setup(this, baselineFile, testFile); in diffDirectories()
|
/external/chromium_org/components/cronet/android/test/src/org/chromium/cronet_test_apk/ |
D | CronetTestActivity.java | 139 String testFile, in copyTestFile() argument 142 InputStream in = assetManager.open(testFile); in copyTestFile()
|
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
D | AwSettingsTest.java | 1818 final String testFile = "webview/image_access.html"; in testFileAccessFromFilesImage() local 1819 assertFileIsReadable(UrlUtils.getTestFilePath(testFile)); in testFileAccessFromFilesImage() 1820 final String imageContainerUrl = UrlUtils.getTestFileUrl(testFile); in testFileAccessFromFilesImage()
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
D | WebFrameTest.cpp | 3932 void runTest(const char* testFile) in runTest() argument 3934 registerMockedHttpURLLoad(testFile); in runTest() 3935 FrameTestHelpers::loadFrame(m_webViewHelper.webView()->mainFrame(), m_baseURL + testFile); in runTest() 3973 void runTestWithMultipleFiles(const char* testFile, ...) in runTestWithMultipleFiles() argument 3976 va_start(auxFiles, testFile); in runTestWithMultipleFiles() 3981 runTest(testFile); in runTestWithMultipleFiles()
|