Home
last modified time | relevance | path

Searched refs:parseAsciiString (Results 1 – 6 of 6) sorted by relevance

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DGrpcUtilTest.java85 assertEquals(0L, (long) marshaller.parseAsciiString("0n")); in timeoutTest()
88 assertEquals(99999999L, (long) marshaller.parseAsciiString("99999999n")); in timeoutTest()
92 assertEquals(100000000L, (long) marshaller.parseAsciiString("100000u")); in timeoutTest()
95 assertEquals(99999999000L, (long) marshaller.parseAsciiString("99999999u")); in timeoutTest()
99 assertEquals(100000000000L, (long) marshaller.parseAsciiString("100000m")); in timeoutTest()
102 assertEquals(99999999000000L, (long) marshaller.parseAsciiString("99999999m")); in timeoutTest()
106 assertEquals(100000000000000L, (long) marshaller.parseAsciiString("100000S")); in timeoutTest()
109 assertEquals(99999999000000000L, (long) marshaller.parseAsciiString("99999999S")); in timeoutTest()
113 assertEquals(99999960000000000L, (long) marshaller.parseAsciiString("1666666M")); in timeoutTest()
116 assertEquals(5999999940000000000L, (long) marshaller.parseAsciiString("99999999M")); in timeoutTest()
[all …]
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DMetadata.java102 public String parseAsciiString(String serialized) {
531 T parseAsciiString(String serialized); in parseAsciiString() method
756 return marshaller.parseAsciiString(new String(serialized, US_ASCII)); in parseBytes()
781 return marshaller.parseAsciiString(serialized); in parseBytes()
807 T parseAsciiString(byte[] serialized); in parseAsciiString() method
DStatus.java562 public Status parseAsciiString(byte[] serialized) { in parseAsciiString() method in Status.StatusCodeMarshaller
620 public String parseAsciiString(byte[] value) { in parseAsciiString() method in Status.StatusMessageMarshaller
/external/grpc-grpc-java/netty/src/jmh/java/io/grpc/netty/
DOutboundHeadersBenchmark.java53 public String parseAsciiString(String serialized) {
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DHttp2ClientStreamTransportState.java49 public Integer parseAsciiString(byte[] serialized) {
DGrpcUtil.java117 public byte[] parseAsciiString(byte[] serialized) { in parseAsciiString() method in GrpcUtil.AcceptEncodingMarshaller
637 public Long parseAsciiString(String serialized) { in parseAsciiString() method in GrpcUtil.TimeoutMarshaller