Home
last modified time | relevance | path

Searched refs:startOffset (Results 1 – 5 of 5) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/internal/jar/
DManifestParser.java222 int startOffset = mOffset; in readLine() local
225 for (int i = startOffset; i < mEndOffset; i++) { in readLine()
248 if (newlineStartOffset == startOffset) { in readLine()
251 return Arrays.copyOfRange(mManifest, startOffset, newlineStartOffset); in readLine()
301 public Section(int startOffset, int sizeBytes, List<Attribute> attrs) { in Section() argument
302 mStartOffset = startOffset; in Section()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DJavadoc.kt151 else returnTag.textRange.startOffset + returnTag.name.length + 1 in mergeDocumentation()
170 returnTag != null -> returnTag.textRange.startOffset in mergeDocumentation()
180 else parameter.textRange.startOffset + parameter.name.length + 1 in mergeDocumentation()
186 val startOffset = in mergeDocumentation() constant
189 } else firstTag?.textRange?.startOffset ?: doc.length - 2 in mergeDocumentation()
191 return insertInto(doc, if (startOffset > 4) "<br>\n$newText" else newText, startOffset) in mergeDocumentation()
200 return docComment.tags.asSequence().minBy { it.textRange.startOffset } in findFirstTag()
204 return docComment.tags.asSequence().maxBy { it.textRange.startOffset } in findLastTag()
211 return curr.textRange.startOffset in findTagEnd()
213 return curr.textRange.startOffset in findTagEnd()
DPsiCompilationUnit.kt39 import org.jetbrains.kotlin.psi.psiUtil.startOffset
50 return file.text.substring(0, pkg.startOffset) in getHeaderComments()
/tools/test/connectivity/acts/tests/google/ble/gatt/
DGattReadTest.py127 startOffset = i * (self.mtu - 1)
132 self.assertEqual(startOffset, event['data']['offset'],
140 char_value[startOffset:startOffset + self.mtu - 1])
/tools/metalava/src/main/java/com/android/tools/metalava/
DReporter.kt256 getLineNumber(psiFile.text, range.startOffset) + 1 in toString()