Home
last modified time | relevance | path

Searched refs:curr (Results 1 – 8 of 8) sorted by relevance

/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiSourceFile.kt68 var curr: PsiElement? = file.firstChild in getHeaderComments() variable
70 while (curr != null) { in getHeaderComments()
71 if (curr is PsiComment || curr is KDoc) { in getHeaderComments()
72 val text = curr.text in getHeaderComments()
79 } else if (curr !is PsiWhiteSpace) { in getHeaderComments()
82 curr = curr.nextSibling in getHeaderComments()
DJavadoc.kt201 var curr: PsiElement? = tag.nextSibling in findTagEnd() variable
202 while (curr != null) { in findTagEnd()
203 if (curr is PsiDocToken && curr.tokenType == JavaDocTokenType.DOC_COMMENT_END) { in findTagEnd()
204 return curr.textRange.startOffset in findTagEnd()
205 } else if (curr is PsiDocTag) { in findTagEnd()
206 return curr.textRange.startOffset in findTagEnd()
209 curr = curr.nextSibling in findTagEnd()
727 var curr = element.firstChild in expand() variable
728 while (curr != null) { in expand()
729 expand(owner, curr, sb) in expand()
[all …]
DPsiClassItem.kt123 var curr: PsiClass? = psiClass in <lambda>() variable
124 while (curr != null) { in <lambda>()
125 if (curr.isInterface && !classes.contains(curr)) { in <lambda>()
126 classes.add(curr) in <lambda>()
128 addInterfaces(classes, curr.interfaces) in <lambda>()
129 curr = curr.superClass in <lambda>()
626 var curr: PsiClass? = cls in <lambda>() variable
627 while (curr != null) { in <lambda>()
628 val name = curr.name in <lambda>()
629 curr = in <lambda>()
[all …]
DPsiFileLocation.kt157 var curr = 0 in getLineNumber() variable
159 while (curr < target) { in getLineNumber()
160 if (text[curr++] == '\n') { in getLineNumber()
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DItem.kt189 var curr: Item? = this in isHiddenOrRemoved() variable
190 while (curr != null) { in isHiddenOrRemoved()
191 if (curr is ClassItem && curr.isTopLevelClass()) { in isHiddenOrRemoved()
192 return curr.getSourceFile() in isHiddenOrRemoved()
194 curr = curr.parent() in isHiddenOrRemoved()
DClassItem.kt65 var curr: ClassItem? = this in <lambda>() variable
66 while (curr?.containingClass() != null) { in <lambda>()
67 curr = curr.containingClass() in <lambda>()
70 if (curr == null) { in <lambda>()
74 return curr.containingPackage().qualifiedName() + "." + fullName().replace('.', '$') in <lambda>()
79 var curr: ClassItem? = this in <lambda>() variable
80 while (curr?.containingClass() != null) { in <lambda>()
81 curr = curr.containingClass() in <lambda>()
84 if (curr == null) { in <lambda>()
88 return curr.containingPackage().qualifiedName().replace('.', '/') + in <lambda>()
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineTypeItemFactory.kt205 var curr: Type = type in <lambda>() variable
206 while (curr.tyKind() == Type.TyKind.ARRAY_TY) { in <lambda>()
207 curr as Type.ArrayTy in <lambda>()
208 annosList.add(curr.annos()) in <lambda>()
209 curr = curr.elementType() in <lambda>()
215 val componentType = getType(curr, contextNullability.forComponentType()) in <lambda>()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DFileUseMap.java403 for (FileUseMapEntry<?> curr : matches) { in locateFree()
407 if (!curr.isFree()) { in locateFree()
419 extraSize = (align - ((curr.getStart() + alignOffset) % align)) % align; in locateFree()
437 if (curr.getSize() < (size + extraSize)) { in locateFree()
446 long emptySpaceLeft = curr.getSize() - (size + extraSize); in locateFree()
448 FileUseMapEntry<?> next = map.higher(curr); in locateFree()
458 if (best != null && best.getSize() < curr.getSize()) { in locateFree()
462 best = curr; in locateFree()