Home
last modified time | relevance | path

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

/external/opencensus-java/api/src/test/java/io/opencensus/common/
DServerStatsEncodingTest.java43 serverStatsDecoded = ServerStatsEncoding.parseBytes(serialized); in encodeDecodeTest()
48 serverStatsDecoded = ServerStatsEncoding.parseBytes(serialized); in encodeDecodeTest()
53 serverStatsDecoded = ServerStatsEncoding.parseBytes(serialized); in encodeDecodeTest()
76 serverStatsDecoded = ServerStatsEncoding.parseBytes(newSerialized); in skipUnknownFieldTest()
98 ServerStatsEncoding.parseBytes(newSerialized); in negativeLbLatencyValueTest()
119 ServerStatsEncoding.parseBytes(newSerialized); in negativeServerLatencyValueTest()
130 ServerStatsEncoding.parseBytes(newSerialized); in emptySerializedBuffer()
141 ServerStatsEncoding.parseBytes(newSerialized); in invalidNegativeVersion()
153 ServerStatsEncoding.parseBytes(newSerialized); in invalidCompatibleVersion()
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DStatusTest.java103 String s = Status.MESSAGE_KEY.parseBytes(new byte[]{'H', 'e', 'l', 'l', 'o'}); in metadataDecode_ascii()
109 String s = Status.MESSAGE_KEY.parseBytes(new byte[]{'H', '%', '6', '1', 'o'}); in metadataDecode_percent()
115 String s = Status.MESSAGE_KEY.parseBytes(new byte[]{'H', '%', '6'}); in metadataDecode_percentUnderflow()
121 String s = Status.MESSAGE_KEY.parseBytes( in metadataDecode_surrogate()
128 String s = Status.MESSAGE_KEY.parseBytes(new byte[]{'%', 'G', '0'}); in metadataDecode_badEncoding()
DMetadataTest.java57 public Fish parseBytes(byte[] serialized) {
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DMetadata.java81 public byte[] parseBytes(byte[] serialized) {
193 return key.parseBytes(value(i)); in get()
232 return key.parseBytes(value(idx++)); in iterator()
324 T stored = key.parseBytes(value(i)); in remove()
351 ret.add(key.parseBytes(value(readIdx))); in removeAll()
498 T parseBytes(byte[] serialized); in parseBytes() method
706 abstract T parseBytes(byte[] serialized); in parseBytes() method in Key
730 T parseBytes(byte[] serialized) { in parseBytes() method in BinaryKey
731 return marshaller.parseBytes(serialized); in parseBytes()
755 T parseBytes(byte[] serialized) { in parseBytes() method in AsciiKey
[all …]
/external/grpc-grpc-java/core/src/jmh/java/io/grpc/
DStatusBenchmark.java59 return Status.MESSAGE_KEY.parseBytes( in messageDecodePlain()
70 return Status.MESSAGE_KEY.parseBytes( in messageDecodeEscape()
91 return Status.CODE_KEY.parseBytes("15".getBytes(Charset.forName("US-ASCII"))); in codeDecode()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cmc/
DSimplePKIResponse.java26 private static ContentInfo parseBytes(byte[] responseEncoding) in parseBytes() method in SimplePKIResponse
48 this(parseBytes(responseEncoding)); in SimplePKIResponse()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
DX509CertificateHolder.java37 private static Certificate parseBytes(byte[] certEncoding) in parseBytes() method in X509CertificateHolder
63 this(parseBytes(certEncoding)); in X509CertificateHolder()
DX509AttributeCertificateHolder.java41 private static AttributeCertificate parseBytes(byte[] certEncoding) in parseBytes() method in X509AttributeCertificateHolder
67 this(parseBytes(certEncoding)); in X509AttributeCertificateHolder()
/external/opencensus-java/api/src/main/java/io/opencensus/common/
DServerStatsEncoding.java81 public static ServerStats parseBytes(byte[] serialized) in parseBytes() method in ServerStatsEncoding
/external/grpc-grpc-java/protobuf-lite/src/test/java/io/grpc/protobuf/lite/
DProtoLiteUtilsTest.java197 assertEquals(proto, metadataMarshaller.parseBytes(metadataMarshaller.toBytes(proto))); in metadataMarshaller_roundtrip()
205 metadataMarshaller.parseBytes(new byte[] {-127}); in metadataMarshaller_invalid()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DTransportFrameUtilTest.java53 public String parseBytes(byte[] serialized) {
/external/grpc-grpc-java/protobuf-lite/src/main/java/io/grpc/protobuf/lite/
DProtoLiteUtils.java250 public T parseBytes(byte[] serialized) { in parseBytes() method in ProtoLiteUtils.MetadataMarshaller
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DCensusTracingModule.java107 public SpanContext parseBytes(byte[] serialized) { in CensusTracingModule()
DCensusStatsModule.java119 public TagContext parseBytes(byte[] serialized) { in CensusStatsModule()
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java1577 private ByteString parseBytes(JsonElement json) throws InvalidProtocolBufferException { in parseBytes() method in JsonFormat.ParserImpl
1661 return parseBytes(json); in parseFieldValue()
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/
DAbstractTransportTest.java2060 public String parseBytes(byte[] serialized) { in parseBytes() method in AbstractTransportTest.StringBinaryMarshaller