Home
last modified time | relevance | path

Searched refs:indexOf (Results 1 – 25 of 49) sorted by relevance

12

/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DJavadoc.kt112 val new = insertInto(initial, content, initial.indexOf("*/")) in mergeDocumentation()
217 val index = existingDoc.indexOf('\n') in trimDocIndent()
240 val index = existingDoc.indexOf('\n') in insertInto()
258 return if (existingDoc.indexOf('\n') == -1 && existingDoc.startsWith("/** ")) { in insertInto()
342 val end = html.indexOf("-->", offset + 3) in getBodyContents()
351 val end = html.indexOf("]]>", offset + 8) in getBodyContents()
360 val end = html.indexOf('>', offset + 2) in getBodyContents()
377 val end = html.indexOf('>', offset + 2) in getBodyContents()
414 bodyStart = html.indexOf('>', offset) + 1 in getBodyContents()
417 htmlStart = html.indexOf('>', offset) + 1 in getBodyContents()
[all …]
DPsiItem.kt179 assert(commentLine.indexOf('\n') == -1) // Not meant for multi-line comments in addUniqueTag()
186 if (documentation.indexOf('\n') == -1) { in addUniqueTag()
203 val secondLine = documentation.indexOf('\n') in addUniqueTag()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextTypeItem.kt90 val index = erased.indexOf('[') in asClass()
259 var end = s.indexOf('[') in markRecent()
283 val index = s.indexOf('<') in markRecent()
341 if (type.indexOf('@') == -1) { in markRecent()
353 val space = type.indexOf(' ') in markRecent()
354 val generics = type.indexOf('<') in markRecent()
373 val index = s.indexOf('@') in markRecent()
DApiFile.kt289 val variableIndex = rawName.indexOf('<') in parseClass()
503 returnTypeString.indexOf('<') == -1 || in parseMethod()
504 returnTypeString.indexOf('@') < returnTypeString.indexOf('<') in parseMethod()
512 token.indexOf('<') == -1 || in parseMethod()
513 token.indexOf('@') < token.indexOf('<') in parseMethod()
563 if (annotation.indexOf('.') == -1) "@androidx.annotation$annotation" else "@$annotation" in mergeAnnotations()
DTextCodebase.kt446 val dotIndex = s.indexOf('.') in implicitJavaLangType()
447 val array = s.indexOf('[') in implicitJavaLangType()
448 val generics = s.indexOf('<') in implicitJavaLangType()
DTextClassItem.kt134 val index = s.indexOf('<') in typeParameterList()
271 val index = if (name.endsWith(">")) name.indexOf('<') else -1 in createClassStub()
DTextBackedAnnotationItem.kt37 val index = source.indexOf("(")
DTextModifiers.kt54 val index = source.indexOf('(') in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DTypeItem.kt277 typeName.indexOf('<', startIndex = KOTLIN_FUNCTION_PREFIX.length) + 1 in <lambda>()
380 val sp1 = s1.indexOf(' ') // first space in <lambda>()
381 val sp2 = s2.indexOf(' ') in <lambda>()
DFieldItem.kt376 if (str.indexOf('E') != -1) { in canonicalizeFloatingPointString()
383 val d = str.indexOf('.') in canonicalizeFloatingPointString()
/tools/metalava/src/main/java/com/android/tools/metalava/
DAndroidApiChecks.kt110 begin = doc.indexOf("@return") in findDocumentation()
114 begin = doc.indexOf(tag, begin) in findDocumentation()
195 if (perm.indexOf('.') >= 0) perm = perm.substring(perm.lastIndexOf('.') + 1) in checkRequiresPermission()
DRewriteAnnotations.kt56 val qualifiedName = pkg + "." + fileName.substring(0, fileName.indexOf('.')) in <lambda>()
84 val qualifiedName = pkg + "." + fileName.substring(0, fileName.indexOf('.')) in <lambda>()
248 name.indexOf("$") == -1 && in <lambda>()
DBaseline.kt211 val idEnd = line.indexOf(':') in <lambda>()
212 val elementEnd = line.indexOf(':', idEnd + 1) in <lambda>()
DPackageFilter.kt47 val index = pkg.indexOf('*') in addPackages()
DFileFormat.kt118 val index = s.indexOf('\n') in firstLine()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/extractors/
DZlibExtractor.kt21 import trebuchet.util.indexOf
29 var start = buffer.indexOf(TRACE, 100) in findStart()
/tools/apifinder/src/main/com/android/apifinder/
DJavaApiUsedByMainlineModule.java78 if (tmpParam.indexOf("<") != -1) { in constructParameters()
80 tmpParam.indexOf("<"), tmpParam.lastIndexOf(">") + 1, ""); in constructParameters()
/tools/loganalysis/src/com/android/loganalysis/util/config/
DArgsOptionParser.java230 final int equalsIndex = name.indexOf('='); in parseLongOption()
238 int idx = name.indexOf(NAMESPACE_SEPARATOR); in parseLongOption()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/
DStringSearch.kt190 fun GenericByteBuffer.indexOf(str: String, endIndex: Long = this.length): Long { in searchFor() method
199 return this.indexOf(str, endIndex) != -1L in GenericByteBuffer()
/tools/platform-compat/java/com/android/class2nonsdklist/
DStringCursor.java107 int firstIndex = mString.indexOf(c, mCursor); in find()
DCovariantReturnTypeHandler.java81 int closingBrace = typeSignature.indexOf(')'); in handleAnnotation()
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/
DAsn1BerParser.java336 int delimiterIndex = type.indexOf('<'); in getElementType()
341 int endIndex = type.indexOf('>', startIndex); in getElementType()
/tools/apksig/src/apksigner/java/com/android/apksigner/
DOptionsParser.java81 int valueDelimiterIndex = param.indexOf('='); in nextOption()
/tools/test/graphicsbenchmark/functional_tests/hostside/src/com/android/game/qualification/test/
DMemoryTests.java95 int totalAllocIndex = p.indexOf(pattern) + pattern.length(); in testMemoryAllocationLimit()
/tools/metalava/src/main/java/com/android/tools/lint/checks/infrastructure/
DClassName.kt181 val typeParameter = trimmed.indexOf('<') in getClassName()

12