Home
last modified time | relevance | path

Searched refs:StreamingReader (Results 1 – 13 of 13) sorted by relevance

/tools/trebuchet/trebuchet/traceutils/src/
DTraceUtils.kt22 import trebuchet.io.StreamingReader in <lambda>()
41 traceFound: (StreamingReader) -> Unit) { in findTraces()
44 val reader = StreamingReader(stream) in findTraces()
68 fun copy(reader: StreamingReader, output: OutputStream) { in copy()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/
DStringSearch.kt20 import trebuchet.io.StreamingReader
68 … fun find(reader: StreamingReader, startIndex: Long = 0, inEndIndex: Long = Long.MAX_VALUE): Long { in find()
108 fun findInLoadedRegion(reader: StreamingReader, endIndex: Long = reader.endIndex): Long { in findInLoadedRegion()
168 …private fun findInWindow(window: StreamingReader.Window, globalStartIndex: Long, globalEndIndex: L… in findInWindow()
192 if (this is StreamingReader) { in searchFor()
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/testutils/
DStringToStreamAdapter.kt21 import trebuchet.io.StreamingReader
24 fun String.makeReader(): StreamingReader { in makeReader()
26 return StreamingReader(object : BufferProducer { in makeReader()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/task/
DImportTask.kt23 import trebuchet.io.StreamingReader
40 val reader = StreamingReader(stream) in extractOrImport()
55 private fun addImporterSource(reader: StreamingReader) { in addImporterSource()
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/extractors/
DSystraceExtractorTest.kt23 import trebuchet.io.StreamingReader in <lambda>()
88 fun makeStream(list: Iterator<String>): StreamingReader { in <lambda>()
89 return StreamingReader(object : BufferProducer { in <lambda>()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/importers/
DImporter.kt19 import trebuchet.io.StreamingReader
30 fun import(stream: StreamingReader): ModelFragment?
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/extractors/
DExtractor.kt20 import trebuchet.io.StreamingReader
34 fun extract(stream: StreamingReader, processSubStream: (BufferProducer) -> Unit)
DSystraceExtractor.kt28 override fun extract(stream: StreamingReader, processSubStream: (BufferProducer) -> Unit) { in <lambda>()
63 private fun processWindow(window: StreamingReader.Window, pipe: Pipe<DataSlice>) { in <lambda>()
DZlibExtractor.kt42 private class DeflateProducer(stream: StreamingReader, val feedback: ImportFeedback)
89 override fun extract(stream: StreamingReader, processSubStream: (BufferProducer) -> Unit) { in extract()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/importers/ftrace/
DFtraceImporter.kt26 import trebuchet.io.StreamingReader in <lambda>()
36 override fun import(stream: StreamingReader): ModelFragment? { in <lambda>()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/io/
DStreamingLineReader.kt21 private fun findNewlineInWindow(window: StreamingReader.Window, startIndex: Long): Long { in findNewlineInWindow()
32 fun StreamingReader.iterLines() = iterator { in <lambda>() method
DStreamingReader.kt21 class StreamingReader(val source: BufferProducer, val keepLoadedSize: Int = 8096) : GenericByteBuff… class
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/importers/ftrace/
DFtraceImporterTest.kt22 import trebuchet.io.StreamingReader
28 fun String.makeLoadedReader(): StreamingReader { in String()