Searched defs:byteString (Results 1 – 12 of 12) sorted by relevance
/third_party/protobuf/js/experimental/runtime/ |
D | bytestring_test.js | 23 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/ |
D | ByteStringTest.java | 99 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/ |
D | ByteStringTest.java | 134 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 …]
|
D | RopeByteStringTest.java | 187 ByteString byteString = RopeByteString.newInstanceForTest(ByteString.EMPTY, ByteString.EMPTY); in testToString_raisesException() local 195 ByteString byteString = in testToString_raisesException() local
|
D | AbstractMessageTest.java | 539 ByteString byteString = ByteString.copyFromUtf8("some text"); in testCheckByteStringIsUtf8OnUtf8() local 545 ByteString byteString = in testCheckByteStringIsUtf8OnNonUtf8() local
|
D | UnknownFieldSetTest.java | 233 ByteString byteString = ByteString.copyFromUtf8("some data"); in testMergeLengthDelimitedField_negative() local
|
D | CodedInputStreamTest.java | 1217 ByteString byteString = codedInputStream.readBytes(); in testMaliciousInputStream() local
|
/third_party/protobuf/js/experimental/runtime/kernel/ |
D | reader_test.js | 67 const byteString = reader.readBytes(bufferDecoder, 0); constant
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | RopeByteString.java | 433 LeafByteString byteString = pieces.next(); in asReadOnlyByteBufferList() local 673 private void insert(ByteString byteString) { in insert()
|
D | AbstractMessageLite.java | 132 protected static void checkByteStringIsUtf8(ByteString byteString) in checkByteStringIsUtf8()
|
D | Internal.java | 175 public static boolean isValidUtf8(ByteString byteString) { in isValidUtf8()
|
/third_party/skia/third_party/externals/brotli/research/ |
D | brotlidump.py | 50 def __init__(self, byteString): argument
|