/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/ |
D | StringSearch.kt | 68 … fun find(reader: StreamingReader, startIndex: Long = 0, inEndIndex: Long = Long.MAX_VALUE): Long { in find() 72 if (index > reader.endIndex) { in find() 73 if (!reader.loadIndex(index)) return -1 in find() 74 if (reader.reachedEof) { in find() 75 endIndex = reader.endIndex in find() 79 while (reader.windowFor(index) !== reader.windowFor(index - lookFor.length + 1)) { in find() 81 while (lookForIndex >= 0 && reader[index] == lookFor[lookForIndex].toByte()) { in find() 88 index += maxOf(skipLut[reader[index].toInt() and 0xFF], suffixSkip[lookForIndex]) in find() 90 if (index > reader.endIndex) { in find() 91 if (!reader.loadIndex(index)) return -1 in find() [all …]
|
D | BufferReader.kt | 74 class MatchResult(val reader: BufferReader) { constant in trebuchet.util.MatchResult 79 reader.index = startIndex + matcher!!.start(group) in int() 80 return reader.readInt() in int() 88 reader.index = startIndex + matcher!!.start(group) in double() 89 return reader.readDouble() in double() 93 reader.index = startIndex + matcher!!.start(group) in long() 94 return reader.readLong() in long() 98 reader.index = startIndex + matcher!!.start(group) in string() 100 return reader.stringTo { index = endAt } in string() 104 reader.index = startIndex + matcher!!.start(group) in slice() [all …]
|
/tools/dexter/dexter/ |
D | dexter.cc | 129 static void PrintDexMap(const dex::Reader& reader) { in PrintDexMap() argument 132 const dex::MapList& dexMap = *reader.DexMapList(); in PrintDexMap() 194 ? reader.Header()->file_size - section.offset in PrintDexMap() 230 static void PrintDexFileStats(const dex::Reader& reader) { in PrintDexFileStats() argument 231 auto header = reader.Header(); in PrintDexFileStats() 232 auto map_list = reader.DexMapList(); in PrintDexFileStats() 248 static void ListClasses(const dex::Reader& reader) { in ListClasses() argument 250 auto classes = reader.ClassDefs(); in ListClasses() 251 auto types = reader.TypeIds(); in ListClasses() 254 const char* descriptor = reader.GetStringMUTF8(typeId.descriptor_idx); in ListClasses() [all …]
|
/tools/trebuchet/trebuchet/traceutils/src/ |
D | TraceUtils.kt | 44 val reader = StreamingReader(stream) in findTraces() constant 45 reader.loadIndex(reader.keepLoadedSize.toLong()) in findTraces() 46 val extractor = ExtractorRegistry.extractorFor(reader, importFeedback) in findTraces() 48 extractor.extract(reader, { in findTraces() 53 val importer = ImporterRegistry.importerFor(reader, importFeedback) in findTraces() 55 traceFound(reader) in findTraces() 58 traceFound(reader) in findTraces() 68 fun copy(reader: StreamingReader, output: OutputStream) { in copy() 69 reader.windows.forEach { in copy() 73 var next = reader.source.next() in copy() [all …]
|
/tools/loganalysis/src/com/android/loganalysis/ |
D | LogAnalyzer.java | 113 BufferedReader reader = null; in run() local 116 reader = getBufferedReader(mBugreportPath); in run() 117 BugreportItem bugreport = new BugreportParser().parse(reader); in run() 123 reader = getBufferedReader(mLogcatPath); in run() 124 LogcatItem logcat = new LogcatParser().parse(reader); in run() 130 reader = getBufferedReader(mKernelLogPath); in run() 131 KernelLogItem kernelLog = new KernelLogParser().parse(reader); in run() 137 reader = getBufferedReader(mMonkeyLogPath); in run() 138 MonkeyLogItem monkeyLog = new MonkeyLogParser().parse(reader); in run() 144 reader = getBufferedReader(mMemoryHealthLogPath); in run() [all …]
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/task/ |
D | ImportTask.kt | 40 val reader = StreamingReader(stream) in extractOrImport() constant 41 reader.loadIndex(reader.keepLoadedSize.toLong()) in extractOrImport() 42 val extractor = ExtractorRegistry.extractorFor(reader, importFeedback) in extractOrImport() 44 extractor.extract(reader, this::extractOrImport) in extractOrImport() 46 addImporterSource(reader) in extractOrImport() 55 private fun addImporterSource(reader: StreamingReader) { in addImporterSource() 56 val importer = ImporterRegistry.importerFor(reader, importFeedback) in addImporterSource() 58 val result = importer.import(reader) in addImporterSource()
|
/tools/apksig/src/test/java/com/android/apksig/internal/asn1/ber/ |
D | BerDataValueTest.java | 103 BerDataValueReader reader = TEST_VALUE1.dataValueReader(); in testDataValueReader() local 104 assertSame(TEST_VALUE1, reader.readDataValue()); in testDataValueReader() 105 assertNull(reader.readDataValue()); in testDataValueReader() 106 assertNull(reader.readDataValue()); in testDataValueReader() 118 BerDataValueReader reader = dataValue.contentsReader(); in testContentsReader() local 119 assertEquals(ByteBufferBerDataValueReader.class, reader.getClass()); in testContentsReader() 120 assertByteBufferEquals(HexEncoding.decode("30020304"), reader.readDataValue().getEncoded()); in testContentsReader() 121 assertByteBufferEquals(HexEncoding.decode("0500"), reader.readDataValue().getEncoded()); in testContentsReader() 122 assertNull(reader.readDataValue()); in testContentsReader()
|
D | BerDataValueReaderTestBase.java | 49 BerDataValueReader reader = createReader("3000"); // SEQUENCE with empty contents in testEndOfInput() local 50 assertNotNull(reader.readDataValue()); in testEndOfInput() 52 assertNull(reader.readDataValue()); in testEndOfInput() 54 assertNull(reader.readDataValue()); in testEndOfInput() 260 BerDataValueReader reader = createReader("37018f050001020304"); in testReadAdvancesPosition() local 261 assertByteBufferEquals(HexEncoding.decode("37018f"), reader.readDataValue().getEncoded()); in testReadAdvancesPosition() 262 assertByteBufferEquals(HexEncoding.decode("0500"), reader.readDataValue().getEncoded()); in testReadAdvancesPosition() 263 assertByteBufferEquals(HexEncoding.decode("01020304"), reader.readDataValue().getEncoded()); in testReadAdvancesPosition() 264 assertNull(reader.readDataValue()); in testReadAdvancesPosition()
|
/tools/platform-compat/java/com/android/class2nonsdklist/ |
D | Class2NonSdkList.java | 242 JarReader reader = new JarReader(mStatus, jarFile); in main() local 243 reader.stream().forEach(clazz -> new AnnotationVisitor(clazz, mStatus, handlers) in main() 245 reader.close(); in main() 257 JarReader reader = new JarReader(status, jarFile); in dumpAllMembers() local 258 reader.stream().forEach(clazz -> new MemberDumpingVisitor(clazz, status) in dumpAllMembers() 260 reader.close(); in dumpAllMembers()
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/importers/ftrace/events/ |
D | EventParserState.kt | 102 val reader = BufferReader() in createEventParser() constant 105 reader.reset(slice, stringCache) in createEventParser() 106 return reader.tryMatch(matchers[matcher], result) in createEventParser() 114 return reader.read(detailsSlice, stringCache, init) in createEventParser()
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/importers/ftrace/ |
D | FtraceLine.kt | 75 private val reader: BufferReader constant 80 reader.read(line, stringCache) { in create() 90 reader(7) in create() 118 reader(7) in parseLine_new()
|
/tools/test/connectivity/acts/framework/acts/controllers/bits_lib/ |
D | bits_client.py | 328 reader = csv.reader(csv_file) 329 headers = next(reader) 332 for row in reader:
|
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | ApiGenerator.java | 154 …AndroidJarReader reader = new AndroidJarReader(patterns, minApi, currentJar, currentApi, codebase); in generate() local 155 Api api = reader.getApi(); in generate() 163 AndroidJarReader reader = new AndroidJarReader(apiLevels, firstApiLevel, codebase); in generate() local 164 Api api = reader.getApi(); in generate()
|
D | AndroidJarReader.java | 134 ClassReader reader = new ClassReader(bytes); in readJar() local 136 reader.accept(classNode, 0 /*flags*/); in readJar()
|
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/importers/ftrace/ |
D | FtraceImporterTest.kt | 29 val reader = this.makeReader() in String() constant 30 reader.loadIndex(reader.keepLoadedSize.toLong()) in String() 31 return reader in String()
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | RewriteAnnotations.kt | 163 val reader = ClassReader(bytes) in <lambda>() constant 164 rewriteOuterClass(reader) in <lambda>() 170 private fun rewriteOuterClass(reader: ClassReader): ByteArray? { in <lambda>() 194 reader.accept(classVisitor, 0) in <lambda>()
|
D | ConvertJarsToSignatureFiles.kt | 188 val reader: ClassReader in <lambda>() constant 192 reader = ClassReader(bytes) in <lambda>() 194 reader.accept(classNode, 0) in <lambda>()
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
D | MemoryHealthParser.java | 107 public MemoryHealthItem parse(BufferedReader reader) throws IOException { in parse() argument 109 String line = reader.readLine(); in parse() 112 line = reader.readLine(); in parse()
|
/tools/loganalysis/javatests/com/android/loganalysis/parser/ |
D | TimingsLogParserTest.java | 351 InputStreamReader reader = new InputStreamReader(inputStream); in createBufferedReader() local 352 return new BufferedReader(reader); in createBufferedReader()
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/ |
D | ota_sniffer.py | 382 reader = csv.DictReader(input_csv, 389 for row in reader:
|
/tools/dexter/slicer/ |
D | Android.bp | 19 "reader.cc",
|
/tools/test/connectivity/acts_tests/tests/google/wifi/ |
D | WifiTxPowerCheckTest.py | 185 reader = csv.DictReader(f) 186 for row in reader:
|
/tools/dexter/testdata/expected/ |
D | medium.asm | 166360 .local v17, "reader", java.io.BufferedReader
|
D | medium.rewrite | 166395 .local v17, "reader", java.io.BufferedReader
|
D | medium.wrap_invoke | 166395 .local v17, "reader", java.io.BufferedReader
|