Utf8 157 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java return Utf8.isValidUtf8(bytes, offset, offset + size()); Utf8 163 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java return Utf8.partialIsValidUtf8(state, bytes, index, index + length); Utf8 415 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java int leftPartial = left.partialIsValidUtf8(Utf8.COMPLETE, 0, leftLength); Utf8 417 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java return state == Utf8.COMPLETE; Utf8 141 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java assertTrue(not ^ Utf8.isValidUtf8(realBytes)); Utf8 142 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java assertTrue(not ^ Utf8.isValidUtf8(realBytes, 0, bytes.length)); Utf8 232 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java assertEquals(isRoundTrippable, Utf8.isValidUtf8(bytes)); Utf8 233 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java assertEquals(isRoundTrippable, Utf8.isValidUtf8(bytes, 0, numBytes)); Utf8 242 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java int state1 = Utf8.partialIsValidUtf8(Utf8.COMPLETE, bytes, 0, i); Utf8 243 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java int state2 = Utf8.partialIsValidUtf8(state1, bytes, i, j); Utf8 244 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java int state3 = Utf8.partialIsValidUtf8(state2, bytes, j, numBytes); Utf8 245 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java if (isRoundTrippable != (state3 == Utf8.COMPLETE)) { Utf8 250 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java assertEquals(isRoundTrippable, (state3 == Utf8.COMPLETE)); Utf8 265 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java x.partialIsValidUtf8(Utf8.COMPLETE, 0, numBytes)); Utf8 268 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java x.partialIsValidUtf8(Utf8.COMPLETE, 0, i)); Utf8 270 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java x.substring(0, i).partialIsValidUtf8(Utf8.COMPLETE, 0, i));