Home
last modified time | relevance | path

Searched defs:byteString (Results 1 – 12 of 12) sorted by relevance

/third_party/protobuf/js/experimental/runtime/
Dbytestring_test.js23 const byteString = constant
30 const byteString = constant
37 const byteString = ByteString.fromArrayBufferView( constant
46 const byteString = ByteString.fromUint8ArrayUnsafe(array); constant
52 const byteString = ByteString.fromBase64String(HALLO_IN_BASE64); constant
66 const byteString = ByteString.fromArrayBuffer(buffer); constant
89 const byteString = ByteString.fromArrayBufferView(array); constant
110 const byteString = ByteString.fromUint8ArrayUnsafe(array); constant
125 const byteString = ByteString.fromArrayBufferView(new Uint8Array(4)); constant
139 const byteString = ByteString.fromUint8ArrayUnsafe(new Uint8Array(4)); constant
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DByteStringTest.java99 ByteString byteString = ByteString.copyFrom(bytes, 500, 200); in testCopyFrom_BytesOffsetSize() local
106 ByteString byteString = ByteString.copyFrom(bytes); in testCopyFrom_Bytes() local
116 ByteString byteString = ByteString.copyFrom(byteBuffer, 200); in testCopyFrom_ByteBufferSize() local
126 ByteString byteString = ByteString.copyFrom(byteBuffer); in testCopyFrom_ByteBuffer() local
133 ByteString byteString = ByteString.copyFrom(testString, UTF_16); in testCopyFrom_StringEncoding() local
141 ByteString byteString = ByteString.copyFromUtf8(testString); in testCopyFrom_Utf8() local
151 ByteString byteString = ByteString.copyFrom(pieces); in testCopyFrom_Iterable() local
166 ByteString byteString = ByteString.copyFrom(bytes); in testCopyTo_TargetOffset() local
174 ByteString byteString = in testReadFrom_emptyStream() local
187 ByteString byteString = ByteString.readFrom(eis); in testReadFrom_mutating() local
[all …]
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DByteStringTest.java134 ByteString byteString = ByteString.copyFrom(bytes, 500, 200); in testCopyFrom_BytesOffsetSize() local
142 ByteString byteString = ByteString.copyFrom(bytes); in testCopyFrom_Bytes() local
152 ByteString byteString = ByteString.copyFrom(byteBuffer, 200); in testCopyFrom_ByteBufferSize() local
163 ByteString byteString = ByteString.copyFrom(byteBuffer); in testCopyFrom_ByteBuffer() local
171 ByteString byteString = ByteString.copyFrom(testString, UTF_16); in testCopyFrom_StringEncoding() local
180 ByteString byteString = ByteString.copyFromUtf8(testString); in testCopyFrom_Utf8() local
191 ByteString byteString = ByteString.copyFrom(pieces); in testCopyFrom_Iterable() local
238 ByteString byteString = ByteString.copyFrom(bytes); in testCopyTo_TargetOffset() local
247 ByteString byteString = ByteString.readFrom(new ByteArrayInputStream(new byte[0])); in testReadFrom_emptyStream() local
260 ByteString byteString = ByteString.readFrom(eis); in testReadFrom_mutating() local
[all …]
DRopeByteStringTest.java187 ByteString byteString = RopeByteString.newInstanceForTest(ByteString.EMPTY, ByteString.EMPTY); in testToString_raisesException() local
195 ByteString byteString = in testToString_raisesException() local
DAbstractMessageTest.java539 ByteString byteString = ByteString.copyFromUtf8("some text"); in testCheckByteStringIsUtf8OnUtf8() local
545 ByteString byteString = in testCheckByteStringIsUtf8OnNonUtf8() local
DUnknownFieldSetTest.java233 ByteString byteString = ByteString.copyFromUtf8("some data"); in testMergeLengthDelimitedField_negative() local
DCodedInputStreamTest.java1217 ByteString byteString = codedInputStream.readBytes(); in testMaliciousInputStream() local
/third_party/protobuf/js/experimental/runtime/kernel/
Dreader_test.js67 const byteString = reader.readBytes(bufferDecoder, 0); constant
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DRopeByteString.java433 LeafByteString byteString = pieces.next(); in asReadOnlyByteBufferList() local
673 private void insert(ByteString byteString) { in insert()
DAbstractMessageLite.java132 protected static void checkByteStringIsUtf8(ByteString byteString) in checkByteStringIsUtf8()
DInternal.java175 public static boolean isValidUtf8(ByteString byteString) { in isValidUtf8()
/third_party/skia/third_party/externals/brotli/research/
Dbrotlidump.py50 def __init__(self, byteString): argument