Home
last modified time | relevance | path

Searched refs:stringCache (Results 1 – 3 of 3) sorted by relevance

/tools/trebuchet/core/common/src/main/kotlin/trebuchet/importers/ftrace/
DFtraceLine.kt78 fun create(line: DataSlice, stringCache: StringCache): FtraceLine? { in create()
80 reader.read(line, stringCache) { in create()
102 class Parser(val stringCache: StringCache) { constant in trebuchet.importers.ftrace.FtraceLine.Parser
103 private val NullTaskName = stringCache.stringFor("<...>".asSlice())
109 _reader.read(line, stringCache) { in parseLine_new()
125 _reader.read(line, stringCache) { in parseLine()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/
DBufferReader.kt128 var stringCache: StringCache? = null variable in trebuchet.util.BufferReader
147 fun reset(slice: DataSlice, stringCache: StringCache?) { in reset()
151 this.stringCache = stringCache in reset()
154 …inline fun <T> read(slice: DataSlice, stringCache: StringCache? = null, init: BufferReader.() -> T… in read()
155 this.reset(slice, stringCache) in read()
157 this.stringCache = null in read()
202 return stringCache?.stringFor(slice) ?: slice.toString() in stringTo()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/importers/ftrace/events/
DEventParserState.kt101 val stringCache = StringCache() in createEventParser() constant
105 reader.reset(slice, stringCache) in createEventParser()
114 return reader.read(detailsSlice, stringCache, init) in createEventParser()