Home
last modified time | relevance | path

Searched refs:isFile (Results 1 – 25 of 225) sorted by relevance

123456789

/external/proguard/src/proguard/io/
DDirectoryWriter.java37 private final boolean isFile; field in DirectoryWriter
49 boolean isFile) in DirectoryWriter() argument
52 this.isFile = isFile; in DirectoryWriter()
61 if (!isFile && in createDirectory()
90 if (!isFile && in getOutputStream()
137 return isFile ? in getFile()
/external/clang/include/clang/Basic/
DFileSystemStatCache.h71 static bool get(const char *Path, FileData &Data, bool isFile,
95 virtual LookupResult getStat(const char *Path, FileData &Data, bool isFile,
99 LookupResult statChained(const char *Path, FileData &Data, bool isFile, in statChained() argument
102 return Next->getStat(Path, Data, isFile, F, FS); in statChained()
106 return get(Path, Data, isFile, F, nullptr, FS) ? CacheMissing : CacheExists; in statChained()
124 LookupResult getStat(const char *Path, FileData &Data, bool isFile,
DSourceManager.h406 bool isFile() const { return !isExpansion(); } in isFile() function
409 assert(isFile() && "Not a file SLocEntry!"); in getFile()
899 if (MyInvalid || !Entry.isFile()) {
913 if (MyInvalid || !Entry.isFile()) {
929 if (MyInvalid || !Entry.isFile()) in getFileEntryForID()
959 if (Invalid || !Entry.isFile()) in getNumCreatedFIDsForFileID()
970 if (Invalid || !Entry.isFile()) in setNumCreatedFIDsForFileID()
1009 if (Invalid || !Entry.isFile()) in getLocForStartOfFile()
1021 if (Invalid || !Entry.isFile()) in getLocForEndOfFile()
1033 if (Invalid || !Entry.isFile()) in getIncludeLoc()
/external/antlr/gunit/src/main/java/org/antlr/gunit/
DgUnitTestInput.java33 public boolean isFile; // if true, the input represents a filename field in gUnitTestInput
36 public gUnitTestInput(String input, boolean isFile, int line) { in gUnitTestInput() argument
38 this.isFile = isFile; in gUnitTestInput()
DgUnitBaseTest.java57 …public String execLexer(String testRuleName, int line, String testInput, boolean isFile) throws Ex… in execLexer() argument
60 if ( isFile ) { in execLexer()
146 …public Object execParser(String testRuleName, int line, String testInput, boolean isFile) throws E… in execParser() argument
149 if ( isFile ) { in execParser()
288 …(String testTreeRuleName, String testRuleName, String testInput, boolean isFile) throws Exception { in execTreeParser() argument
290 if ( isFile ) { in execTreeParser()
/external/jacoco/org.jacoco.cli.test/src/org/jacoco/cli/internal/commands/
DReportTest.java97 assertTrue(xml.isFile()); in should_create_xml_report_when_xml_option_is_provided()
109 assertTrue(csv.isFile()); in should_create_csv_report_when_csv_option_is_provided()
123 "org.jacoco.cli.internal.commands/ReportTest.html").isFile()); in should_create_html_report_when_html_option_is_provided()
126 .isFile()); in should_create_html_report_when_html_option_is_provided()
145 "org.jacoco.cli.internal.commands/ReportTest.html").isFile()); in should_use_all_values_when_multiple_classfiles_options_are_provided()
148 .isFile()); in should_use_all_values_when_multiple_classfiles_options_are_provided()
/external/lzma/CPP/Common/
DWildcard.cpp182 bool CItem::CheckPath(const UStringVector &pathParts, bool isFile) const in CheckPath()
184 if (!isFile && !ForDir) in CheckPath()
205 if (isFile) in CheckPath()
221 if (isFile && !ForFile) in CheckPath()
334 bool CCensorNode::CheckPathCurrent(bool include, const UStringVector &pathParts, bool isFile) const in CheckPathCurrent()
338 if (items[i].CheckPath(pathParts, isFile)) in CheckPathCurrent()
343 bool CCensorNode::CheckPathVect(const UStringVector &pathParts, bool isFile, bool &include) const in CheckPathVect() argument
345 if (CheckPathCurrent(false, pathParts, isFile)) in CheckPathVect()
351 bool finded = CheckPathCurrent(true, pathParts, isFile); in CheckPathVect()
359 if (SubNodes[index].CheckPathVect(pathParts2, isFile, include)) in CheckPathVect()
[all …]
DWildcard.h51 bool CheckPath(const UStringVector &pathParts, bool isFile) const;
58 bool CheckPathCurrent(bool include, const UStringVector &pathParts, bool isFile) const;
61 bool CheckPathVect(const UStringVector &pathParts, bool isFile, bool &include) const;
85 bool CheckPathToRoot(bool include, UStringVector &pathParts, bool isFile) const;
/external/jacoco/jacoco-maven-plugin.test/it/it-site-failsafe/
Dverify.bsh21 if ( !htmlReportFile.isFile() ) {
26 if ( !xmlReportFile.isFile() ) {
31 if ( !csvReportFile.isFile() ) {
40 if ( !htmlReportFile.isFile() ) {
45 if ( !xmlReportFile.isFile() ) {
50 if ( !csvReportFile.isFile() ) {
/external/clang/lib/Basic/
DFileSystemStatCache.cpp43 bool FileSystemStatCache::get(const char *Path, FileData &Data, bool isFile, in get() argument
47 bool isForDir = !isFile; in get()
51 R = Cache->getStat(Path, Data, isFile, F, FS); in get()
110 MemorizeStatCalls::getStat(const char *Path, FileData &Data, bool isFile, in getStat() argument
112 LookupResult Result = statChained(Path, Data, isFile, F, FS); in getStat()
DSourceManager.cpp295 if (!Entry.isFile() || Invalid) in AddLineNote()
323 if (!Entry.isFile() || Invalid) in AddLineNote()
685 if (!SLoc.isFile() || MyInvalid) { in getBufferData()
1109 if (CharDataInvalid || !Entry.isFile()) { in getCharacterData()
1303 if (MyInvalid || !Entry.isFile()) { in getLineNumber()
1416 if (Invalid || !SEntry.isFile()) in getFileCharacteristic()
1465 if (Invalid || !Entry.isFile()) in getPresumedLoc()
1535 if (Invalid || !Entry.isFile()) in isInMainFile()
1623 if (MainSLoc.isFile()) { in translateFile()
1660 if (SLoc.isFile() && in translateFile()
[all …]
/external/jacoco/jacoco-maven-plugin.test/it/it-multi-module/
Dverify.bsh21 if ( dump2.isFile() ) {
30 if ( !file.isFile() )
36 if ( !xmlReport.isFile() )
42 if ( !csvReport.isFile() )
48 if ( !htmlReport.isFile() )
/external/guice/core/test/com/googlecode/guice/
DOSGiContainerTest.java63 assertTrue(failMsg(), new File(GUICE_JAR).isFile()); in setUp()
66 assertTrue(failMsg(), new File(AOPALLIANCE_JAR).isFile()); in setUp()
68 assertTrue(failMsg(), new File(JAVAX_INJECT_JAR).isFile()); in setUp()
69 assertTrue(failMsg(), new File(GUAVA_JAR).isFile()); in setUp()
/external/jacoco/jacoco-maven-plugin.test/it/it-offline-instrumentation/
Dverify.bsh16 if ( !file.isFile() ) {
20 if ( file.isFile() ) {
25 if ( !file.isFile() )
/external/jacoco/jacoco-maven-plugin.test/it/it-multiple-executions/
Dverify.bsh16 if ( file.isFile() )
22 if ( file.isFile() )
28 if ( !file.isFile() )
/external/jacoco/jacoco-maven-plugin.test/it/it-site/
Dverify.bsh21 if ( !htmlReportFile.isFile() ) {
26 if ( !xmlReportFile.isFile() ) {
31 if ( !csvReportFile.isFile() ) {
/external/antlr/gunit/src/main/resources/org/antlr/gunit/
Djunit.stg50 … retval = execTreeParser(<testTreeRuleName>, <testRuleName>, "<test.inputEscaped>", <test.isFile>);
61 …turnType>)execTreeParser(<testTreeRuleName>, <testRuleName>, "<test.inputEscaped>", <test.isFile>);
70 …xecLexer<else>execParser<endif>(<testRuleName>, <test.line>, "<test.inputEscaped>", <test.isFile>);
81 …tval = (<returnType>)execParser(<testRuleName>, <test.line>, "<test.inputEscaped>", <test.isFile>);
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/
DDrawableResourceLoaderNoRunnerTest.java74 …Value(new ResName("org.robolectric", "drawable", "foo"), new ResTable_config()).isFile()).isTrue(); in shouldFindDrawableResourcesWorkWithUnixJarFilePath()
97 …Value(new ResName("org.robolectric", "drawable", "foo"), new ResTable_config()).isFile()).isTrue(); in shouldFindDrawableResourcesWorkWithUnixFilePath()
120 …Value(new ResName("org.robolectric", "drawable", "foo"), new ResTable_config()).isFile()).isTrue(); in shouldFindDrawableResourcesWorkWithWindowsJarFilePath()
143 …Value(new ResName("org.robolectric", "drawable", "foo"), new ResTable_config()).isFile()).isTrue(); in shouldFindDrawableResourcesWorkWithWindowsFilePath()
DResourceParserTest.java30 assertThat(value.isFile()).isTrue(); in shouldLoadDrawableXmlResources()
39 assertThat(value.isFile()).isTrue(); in shouldLoadDrawableBitmapResources()
/external/jacoco/jacoco-maven-plugin.test/it/it-report-aggregate/
Dverify.bsh34 if ( !reportChild1.isFile() ) {
39 if ( reportChild1test.isFile() ) {
44 if ( !reportChild2.isFile() ) {
/external/antlr/gunit/src/main/java/org/antlr/gunit/swingui/model/
DTestSuiteFactory.java68 if(grammarFile != null && grammarFile.exists() && grammarFile.isFile()) { in createTestSuite()
203 if(fileGrammar.exists() && fileGrammar.isFile()) return fileGrammar; in getGrammarFile()
206 if(fileGrammar.exists() && fileGrammar.isFile()) return fileGrammar; in getGrammarFile()
/external/jacoco/jacoco-maven-plugin.test/it/it-includes-excludes/
Dverify.bsh23 if ( !databaseUtilReportFile.isFile() )
29 if ( testUtilReportFile.isFile() )
/external/jacoco/jacoco-maven-plugin.test/it/it-report-aggregate-customization/
Dverify.bsh30 if ( !reportChild1.isFile() ) {
35 if ( !reportChild2.isFile() ) {
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy89 * Test the isFile() method
92 assert fileSystem.isFile(EXISTING_FILE)
93 assert !fileSystem.isFile(EXISTING_DIR)
94 assert !fileSystem.isFile(NO_SUCH_DIR)
95 assert !fileSystem.isFile(NO_SUCH_FILE)
96 assert !fileSystem.isFile(ILLEGAL_FILE)
98 shouldFailWithMessageContaining("path") { fileSystem.isFile(null) }
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTestCase.groovy73 assert fileSystem.isFile(EXISTING_FILE)
74 assert !fileSystem.isFile(EXISTING_DIR)
75 assert !fileSystem.isFile(NO_SUCH_DIR)
76 assert !fileSystem.isFile(NO_SUCH_FILE)
77 assert !fileSystem.isFile(ILLEGAL_FILE)
79 shouldFailWithMessageContaining("path") { fileSystem.isFile(null) }

123456789