Home
last modified time | relevance | path

Searched refs:foundAt (Results 1 – 2 of 2) sorted by relevance

/tools/trebuchet/core/common/src/main/kotlin/trebuchet/io/
DStreamingLineReader.kt38 var foundAt = -1L in <lambda>() variable
44 foundAt = findNewlineInWindow(window, index) in <lambda>()
45 if (foundAt != -1L) break in <lambda>()
53 if (foundAt == -1L) foundAt = stream.endIndex + 1 in <lambda>()
55 val nextStart = foundAt + 1 in <lambda>()
58 if (foundAt > 0 && stream[foundAt - 1] == '\r'.toByte()) foundAt -= 1 in <lambda>()
60 val lineEndIndexInclusive = foundAt - 1 in <lambda>()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/
DBufferReader.kt56 val foundAt = search.find(buffer, index, endIndexExclusive) in isDigit() constant
57 index = if (foundAt != -1) foundAt else endIndexExclusive in isDigit()