/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/io/ |
D | UnixFileTest.java | 42 private File testFile; field in UnixFileTest 108 assertFalse(testFile.canExecute()); in test_canExecute() 109 assertTrue(testFile.setExecutable(true, false)); in test_canExecute() 110 assertTrue(testFile.canExecute()); in test_canExecute() 111 assertTrue(testFile.setExecutable(true, true)); in test_canExecute() 112 assertTrue(testFile.canExecute()); in test_canExecute() 114 assertTrue(testFile.setExecutable(false, false)); in test_canExecute() 115 assertFalse(testFile.canExecute()); in test_canExecute() 116 assertTrue(testFile.setExecutable(false, true)); in test_canExecute() 117 assertFalse(testFile.canExecute()); in test_canExecute() [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 | 29 testFile(NULL), in UCAConformanceTest() 55 if (testFile) { in ~UCAConformanceTest() 56 fclose(testFile); in ~UCAConformanceTest() 112 if(testFile) { in openTestFile() 113 fclose(testFile); in openTestFile() 128 testFile = fopen(buffer, "rb"); in openTestFile() 130 if(testFile == 0) { in openTestFile() 133 testFile = fopen(buffer, "rb"); in openTestFile() 135 if(testFile == 0) { in openTestFile() 138 testFile = fopen(buffer, "rb"); in openTestFile() [all …]
|
D | tsmthred.cpp | 973 FILE *testFile = NULL; in TestCollators() local 985 if(testFile) { in TestCollators() 986 fclose(testFile); in TestCollators() 1001 testFile = fopen(buffer, "rb"); in TestCollators() 1003 if(testFile == 0) { in TestCollators() 1006 testFile = fopen(buffer, "rb"); in TestCollators() 1008 if(testFile == 0) { in TestCollators() 1011 testFile = fopen(buffer, "rb"); in TestCollators() 1013 if (testFile == 0) { in TestCollators() 1034 while (fgets(buffer, 1024, testFile) != NULL) { in TestCollators() [all …]
|
D | ucaconf.h | 47 FILE *testFile; variable
|
D | rbbitst.cpp | 1151 UChar *testFile = ReadAndConvertFile(testFileName, len, "UTF-8", status); in TestExtended() local 1162 UnicodeString testString(FALSE, testFile, len); in TestExtended() 1485 delete [] testFile; in TestExtended() 1737 UChar *testFile = ReadAndConvertFile(testFileName, len, "UTF-8", status); in runUnicodeTestData() local 1740 TEST_ASSERT(testFile != NULL); in runUnicodeTestData() 1742 if (U_FAILURE(status) || testFile == NULL) { in runUnicodeTestData() 1745 UnicodeString testFileAsString(TRUE, testFile, len); in runUnicodeTestData() 1840 delete [] testFile; in runUnicodeTestData()
|
/external/smali/smalidea/src/test/java/org/jf/smalidea/findUsages/ |
D | FindUsagesTest.java | 112 for (TestFile testFile: testFiles) { in doTest() 113 int refIndex = testFile.getRefIndex(); in doTest() 115 PsiElement element = testFile.psiFile.findElementAt(refIndex); in doTest() 128 reference = testFile.psiFile.findReferenceAt(refIndex); in doTest() 133 testFile.psiFile.findElementAt(refIndex), 0); in doTest() 143 for (TestFile testFile: testFiles) { in doTest() 144 assertUsages(testFile, usages); in doTest() 148 private void assertUsages(@NotNull TestFile testFile, @NotNull Collection<UsageInfo> usages) { in assertUsages() argument 151 if (usage.getFile().getName().equals(testFile.fileName)) { in assertUsages() 156 for (Integer usageIndex: testFile.getUsageIndices()) { in assertUsages()
|
/external/libcxx/test/std/experimental/filesystem/class.directory_iterator/directory_iterator.members/ |
D | ctor.pass.cpp | 85 path const testFile = testDir / "testFile"; in TEST_CASE() local 87 env.create_file(testFile, 42); in TEST_CASE() 120 path const testFile = env.make_env_path("file1"); in TEST_CASE() local 121 env.create_file(testFile, 42); in TEST_CASE() 124 permissions(testFile, perms::none); in TEST_CASE() 130 directory_iterator it(testFile, ec); in TEST_CASE() 138 directory_iterator it(testFile, directory_options::skip_permission_denied, ec); in TEST_CASE() 186 const path testFile = StaticEnv::File; in TEST_CASE() local 190 directory_iterator it(testFile, ec); in TEST_CASE() 195 TEST_CHECK_THROW(filesystem_error, directory_iterator(testFile)); in TEST_CASE()
|
/external/libcxx/test/std/experimental/filesystem/class.rec.dir.itr/rec.dir.itr.members/ |
D | ctor.pass.cpp | 89 path const testFile = testDir / "testFile"; in TEST_CASE() local 91 env.create_file(testFile, 42); in TEST_CASE() 125 path const testFile = env.make_env_path("file1"); in TEST_CASE() local 126 env.create_file(testFile, 42); in TEST_CASE() 129 permissions(testFile, perms::none); in TEST_CASE() 135 RDI it(testFile, ec); in TEST_CASE() 143 RDI it(testFile, directory_options::skip_permission_denied, ec); in TEST_CASE() 191 const path testFile = StaticEnv::File; in TEST_CASE() local 195 RDI it(testFile, ec); in TEST_CASE() 200 TEST_CHECK_THROW(filesystem_error, RDI(testFile)); in TEST_CASE()
|
/external/icu/icu4c/source/test/iotest/ |
D | iotest.cpp | 223 LocalUFILEPointer testFile; in DataDrivenPrintf() local 237 testFile.adoptInstead(u_fopen(STANDARD_TEST_FILE, "w", fileLocale, "UTF-8")); in DataDrivenPrintf() 238 if (testFile.isNull()) { in DataDrivenPrintf() 263 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, dbl); in DataDrivenPrintf() 268 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i8); in DataDrivenPrintf() 273 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i16); in DataDrivenPrintf() 278 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i32); in DataDrivenPrintf() 283 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i64); in DataDrivenPrintf() 288 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, cBuffer); in DataDrivenPrintf() 292 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, argument); in DataDrivenPrintf() [all …]
|
/external/python/cpython2/Demo/parser/ |
D | test_parser.py | 33 def testFile(fileName): function 44 map(testFile, args)
|
/external/parameter-framework/upstream/tools/clientSimulator/clientsimulator/configuration/ |
D | ConfigParser.py | 41 with open(confFileName, "r") as testFile: 42 self.__conf = json.load(testFile)
|
/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/guava/guava-tests/test/com/google/common/io/ |
D | IoTestCase.java | 78 File testFile = new File(testFileUrl.toURI()); in getTestDir() local 79 testDir = testFile.getParentFile(); // the testdata directory in getTestDir()
|
/external/toybox/tests/ |
D | tar.test | 27 dd if=/dev/zero of=testFile ibs=4096 obs=4096 count=1000 2>/dev/null 31 touch testFile
|
D | mount.test | 59 echo "abcdefghijklmnopqrstuvwxyz" > testDir1/testDir2/testFile
|
/external/libmojo/mojo/public/js/ |
D | validation_unittests.js | 213 function checkValidationResult(testFile, err) { argument 215 var expectedResult = readTestExpected(testFile); 217 console.log("[Test message validation failed: " + testFile + " ]");
|
/external/conscrypt/platform/src/test/java/org/conscrypt/ct/ |
D | CTLogStoreImplTest.java | 96 File testFile = writeFile(LOGS_SERIALIZED[0]); in test_loadLog() local 97 log = CTLogStoreImpl.loadLog(testFile); in test_loadLog()
|
/external/smali/smalidea/src/test/java/org/jf/smalidea/ |
D | SmaliFileTest.java | 40 public void testFile() { in testFile() method in SmaliFileTest
|
/external/jacoco/org.jacoco.ant.test/src/org/jacoco/ant/ |
D | AntResourcesLocatorTest.java | 63 public void testFile() throws IOException { in testFile() method in AntResourcesLocatorTest
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/ |
D | SerializableTestUtility.java | 859 static Object[] getSerializedObjects(File testFile) throws IOException, ClassNotFoundException { in getSerializedObjects() argument 860 FileInputStream fis = new FileInputStream(testFile); in getSerializedObjects()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
D | SerializableTestUtility.java | 858 static Object[] getSerializedObjects(File testFile) throws IOException, ClassNotFoundException { in getSerializedObjects() argument 859 FileInputStream fis = new FileInputStream(testFile); in getSerializedObjects()
|
/external/autotest/server/cros/tradefed_test_unittest_data/ |
D | CtsSecurityTestCases.txt | 14 03-13 22:29:15 I/RemoteAndroidTest: Running am instrument -w -r --abi armeabi-v7a -e testFile /dat… 15 03-13 22:29:18 I/RemoteAndroidTest: Running am instrument -w -r --abi armeabi-v7a -e testFile /dat…
|
D | CtsPrintTestCases.txt | 13 05-19 12:55:13 I/RemoteAndroidTest: Running am instrument -w -r --abi x86 -e testFile /data/local/… 14 05-19 12:55:14 I/RemoteAndroidTest: Running am instrument -w -r --abi x86 -e testFile /data/local/… 146 05-19 13:17:00 I/RemoteAndroidTest: Running am instrument -w -r -e testFile /data/local/tmp/tf_te…
|