Home
last modified time | relevance | path

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

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DArrayDecoders.java590 final int nextLength = registers.int1; in decodeStringList() local
591 if (nextLength < 0) { in decodeStringList()
593 } else if (nextLength == 0) { in decodeStringList()
596 String value = new String(data, position, nextLength, Internal.UTF_8); in decodeStringList()
598 position += nextLength; in decodeStringList()
632 final int nextLength = registers.int1; in decodeStringListRequireUtf8() local
633 if (nextLength < 0) { in decodeStringListRequireUtf8()
635 } else if (nextLength == 0) { in decodeStringListRequireUtf8()
638 if (!Utf8.isValidUtf8(data, position, position + nextLength)) { in decodeStringListRequireUtf8()
641 String value = new String(data, position, nextLength, Internal.UTF_8); in decodeStringListRequireUtf8()
[all …]