/tools/doc_generation/ |
D | switcher4.py | 77 def insert_stub(doc, java, both): argument 87 print "File: ", stubs, doc 89 fn = os.path.split(doc) 100 file_path = doc[len(java_ref_root)+1:] 101 stub = doc.replace(java_source_abs_path, kotlin_source_abs_path) 103 …}\\n{% setvar can_switch %}1{% endsetvar %}\\n{% include \"reference\/_java_switcher2.md\" %}",doc) 105 …= "sed -i 's/<\/h1>/{}/' {}".format("<\/h1>\\n{% include \"reference\/_java_switcher2.md\" %}",doc) 107 file_path = doc[len(kotlin_ref_root)+1:] 108 stub = doc.replace(kotlin_source_abs_path, java_source_abs_path) 110 …\n{% setvar can_switch %}1{% endsetvar %}\\n{% include \"reference\/_kotlin_switcher2.md\" %}",doc) [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | AndroidApiChecks.kt | 98 val doc = item.documentation in findDocumentation() constant 99 if (doc.isBlank()) { in findDocumentation() 104 return doc in findDocumentation() 110 begin = doc.indexOf("@return") in findDocumentation() 114 begin = doc.indexOf(tag, begin) in findDocumentation() 122 val c = doc[i] in findDocumentation() 124 if (c == 'm' && doc.startsWith("@param", i - 5, true)) { in findDocumentation() 147 var end = doc.length in findDocumentation() 148 for (i in begin + 1 until doc.length) { in findDocumentation() 149 val c = doc[i] in findDocumentation() [all …]
|
D | DocAnalyzer.kt | 370 val doc = if (from != null && to != null) { in <lambda>() constant 379 appendDocumentation(doc, item, true) in <lambda>() 547 private fun appendDocumentation(doc: String?, item: Item, returnValue: Boolean) { in <lambda>() 548 doc ?: return in <lambda>() 551 is ParameterItem -> item.containingMethod().appendDocumentation(doc, item.name()) in <lambda>() 554 item.appendDocumentation(doc, if (returnValue) "@return" else null) in <lambda>() 555 else -> item.appendDocumentation(doc) in <lambda>() 643 var doc = item.documentation in <lambda>() variable 644 if (doc.isBlank()) { in <lambda>() 650 if (doc.contains(typo)) { in <lambda>() [all …]
|
D | DocReplacement.kt | 41 val doc = item.documentation in <lambda>() constant 42 if (doc.isBlank()) { in <lambda>() 47 val new = doc.replace(regex, replacement) in <lambda>() 48 if (new != doc) { in <lambda>()
|
D | KotlinInteropChecks.kt | 95 val doc = method.documentation in <lambda>() constant 117 if (!doc.contains(exception.simpleName())) { in <lambda>()
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/ |
D | JavadocTest.kt | 183 fun `Rewrite relative documentation links in doc-stubs`() { in Rewrite relative documentation links in doc-stubs() 282 fun `Rewrite relative documentation links in doc-stubs 2`() { in Rewrite relative documentation links in doc-stubs 2() 361 fun `Rewrite relative documentation links in doc-stubs 3`() { in Rewrite relative documentation links in doc-stubs 3() 432 fun `Rewrite relative documentation links in doc-stubs but preserve custom link text`() { in Rewrite relative documentation links in doc-stubs but preserve custom link text() 503 fun `Rewrite relative documentation links in doc-stubs 4`() { in Rewrite relative documentation links in doc-stubs 4() 630 fun `Rewrite relative documentation links in doc-stubs 5`() { in Rewrite relative documentation links in doc-stubs 5()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiCompilationUnit.kt | 177 val doc = item.documentation in getImportStatements() constant 178 if (doc.isNotBlank()) { in getImportStatements() 181 if (docContainsWord(doc, name)) { in getImportStatements() 230 private fun docContainsWord(doc: String, word: String): Boolean { in docContainsWord() 231 if (!doc.contains(word)) { in docContainsWord() 240 return regex.find(doc) != null in docContainsWord()
|
D | Javadoc.kt | 119 val doc = trimDocIndent(existingDoc) in mergeDocumentation() constant 127 val docComment = factory.createDocCommentFromText(doc) in mergeDocumentation() 138 doc.length - 2 in mergeDocumentation() 140 return insertInto(doc, "@return $newText", offset) in mergeDocumentation() 146 return insertInto(doc, newText, offset) in mergeDocumentation() 166 else -> doc.length - 2 // "*/ in mergeDocumentation() 169 return insertInto(doc, "$tagName $newText", offset) in mergeDocumentation() 175 return insertInto(doc, newText, offset) in mergeDocumentation() 183 } else firstTag?.textRange?.startOffset ?: doc.length - 2 in mergeDocumentation() 185 return insertInto(doc, if (startOffset > 4) "<br>\n$newText" else newText, startOffset) in mergeDocumentation()
|
/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | DocAnalyzerTest.kt | 844 fun `Add new parameter when no doc exists`() { in Add new parameter when no doc exists() 932 fun `Add new parameter when doc exists but no param doc`() { in Add new parameter when doc exists but no param doc() 2079 val doc = File(html, "test/pkg/LocationManager.html").readText(UTF_8) in Invoke external documentation tool() constant 2081 … "Did not find matching javadoc fragment in LocationManager.html: actual content is\n$doc", in Invoke external documentation tool() 2082 doc.contains( in Invoke external documentation tool()
|
/tools/test/graphicsbenchmark/performance_tests/helper/src/com/android/game/qualification/ |
D | GameCoreConfigurationXmlParser.java | 93 Document doc = db.parse(inputStream); in parse() local 94 doc.getDocumentElement().normalize(); in parse() 97 doc.getDocumentElement(), in parse() 104 parseList(doc.getDocumentElement(), "apk-info", this::createApkInfo); in parse()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | Codebase.kt | 285 val doc = parseDocument(manifest?.readText(UTF_8) ?: "", true) in getPermissionLevel() constant 286 var current = getFirstSubTagByName(doc.documentElement, TAG_PERMISSION) in getPermissionLevel() 310 val doc = parseDocument(manifest?.readText(UTF_8) ?: "", true) in getMinSdkVersion() constant 311 val usesSdk = getFirstSubTagByName(doc.documentElement, TAG_USES_SDK) in getMinSdkVersion()
|
/tools/treble/hacksaw/ |
D | README.md | 93 Building hacksaw requires [golang to be installed](https://golang.org/doc/install).
|
/tools/metalava/src/test/java/com/android/tools/metalava/stub/ |
D | StubsTest.kt | 1894 fun `Rewrite unknown nullability annotations as doc stubs`() { in <lambda>()
|
/tools/repohooks/tools/ |
D | pylintrc | 198 # used to format the message information. See doc for all details
|