Searched defs:byteString (Results 1 – 8 of 8) sorted by relevance
99 ByteString byteString = ByteString.copyFrom(bytes, 500, 200); in testCopyFrom_BytesOffsetSize() local106 ByteString byteString = ByteString.copyFrom(bytes); in testCopyFrom_Bytes() local116 ByteString byteString = ByteString.copyFrom(byteBuffer, 200); in testCopyFrom_ByteBufferSize() local126 ByteString byteString = ByteString.copyFrom(byteBuffer); in testCopyFrom_ByteBuffer() local133 ByteString byteString = ByteString.copyFrom(testString, UTF_16); in testCopyFrom_StringEncoding() local141 ByteString byteString = ByteString.copyFromUtf8(testString); in testCopyFrom_Utf8() local151 ByteString byteString = ByteString.copyFrom(pieces); in testCopyFrom_Iterable() local166 ByteString byteString = ByteString.copyFrom(bytes); in testCopyTo_TargetOffset() local174 ByteString byteString = in testReadFrom_emptyStream() local187 ByteString byteString = ByteString.readFrom(eis); in testReadFrom_mutating() local[all …]
100 ByteString byteString = ByteString.copyFrom(bytes, 500, 200); in testCopyFrom_BytesOffsetSize() local107 ByteString byteString = ByteString.copyFrom(bytes); in testCopyFrom_Bytes() local117 ByteString byteString = ByteString.copyFrom(byteBuffer, 200); in testCopyFrom_ByteBufferSize() local127 ByteString byteString = ByteString.copyFrom(byteBuffer); in testCopyFrom_ByteBuffer() local134 ByteString byteString = ByteString.copyFrom(testString, UTF_16); in testCopyFrom_StringEncoding() local142 ByteString byteString = ByteString.copyFromUtf8(testString); in testCopyFrom_Utf8() local152 ByteString byteString = ByteString.copyFrom(pieces); in testCopyFrom_Iterable() local168 ByteString byteString = ByteString.copyFrom(bytes); in testCopyTo_TargetOffset() local176 ByteString byteString = in testReadFrom_emptyStream() local189 ByteString byteString = ByteString.readFrom(eis); in testReadFrom_mutating() local[all …]
158 ByteString byteString = in testToString_raisesException() local167 ByteString byteString = RopeByteString.concatenate(ByteString.copyFromUtf8("foo"), in testToString_raisesException() local
535 ByteString byteString = ByteString.copyFromUtf8("some text"); in testCheckByteStringIsUtf8OnUtf8() local541 ByteString byteString = in testCheckByteStringIsUtf8OnNonUtf8() local
127 std::string byteString; in protoOutputStreamToByteString() local
377 LeafByteString byteString = pieces.next(); in asReadOnlyByteBufferList() local617 private void insert(ByteString byteString) { in insert()
113 protected static void checkByteStringIsUtf8(ByteString byteString) in checkByteStringIsUtf8()
172 public static boolean isValidUtf8(ByteString byteString) { in isValidUtf8()