Home
last modified time | relevance | path

Searched refs:asSlice (Results 1 – 12 of 12) sorted by relevance

/tools/trebuchet/core/common/src/test/kotlin/trebuchet/importers/ftrace/
DFtraceLineTest.kt21 import trebuchet.io.asSlice in <lambda>()
31 … " prev_prio=120 prev_state=S ==> next_comm=swapper/1 next_pid=0 next_prio=120").asSlice()) { in <lambda>()
47 …sched_blocked_reason: pid=2694 iowait=0 caller=qpnp_vadc_conv_seq_request+0x64/0x794").asSlice()) { in <lambda>()
64 … "prev_prio=120 prev_state=S ==> next_comm=swapper/1 next_pid=0 next_prio=120").asSlice()) { in <lambda>()
80 "Binder-Thread #-647 [001] 260.464294: sched_switch: prev_pid=0".asSlice()) { in <lambda>()
94 … + "sched_wakeup: comm=Binder:928_1 pid=945 prio=120 success=1 target_cpu=001").asSlice()) { in <lambda>()
109 … + "sched_wakeup: comm=Binder:928_1 pid=945 prio=120 success=1 target_cpu=001").asSlice()) { in <lambda>()
124 + "tracing_mark_write: trace_event_clock_sync: parent_ts=23816.083984").asSlice()) { in <lambda>()
DEventTestHelpers.kt22 import trebuchet.io.asSlice
27 line.asSlice()) ?: fail("Failed to parseEvent event '${line}'") in parseEvent()
DFtraceEventTest.kt20 import trebuchet.io.asSlice
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/testutils/
DStringToStreamAdapter.kt22 import trebuchet.io.asSlice
31 return source.asSlice() in makeReader()
/tools/trebuchet/trebuchet/startup-common/test/
DStartupCommonTests.kt23 import trebuchet.io.asSlice
35 return source.asSlice() in parseString()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/
DByteArrayList.kt20 import trebuchet.io.asSlice
58 val slice = array.asSlice(size) in reset()
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/
DTraceViewerWindow.kt23 import trebuchet.io.asSlice in <lambda>()
77 return buffer.asSlice(read) in <lambda>()
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/extractors/
DSystraceExtractorTest.kt24 import trebuchet.io.asSlice in <lambda>()
92 return list.next().asSlice() in <lambda>()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/io/
DDataSlice.kt90 fun ByteArray.asSlice(length: Int = this.size) = DataSlice(this, 0, length) in ByteArray() method
91 fun String.asSlice() = DataSlice(this.toByteArray()) in ByteArray() method
DStreamingLineReader.kt70 yield(tmpBuffer.asSlice()) in <lambda>()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/importers/ftrace/
DFtraceLine.kt20 import trebuchet.io.asSlice
103 private val NullTaskName = stringCache.stringFor("<...>".asSlice())
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/extractors/
DZlibExtractor.kt69 yield(array.asSlice(len)) in <lambda>()