Home
last modified time | relevance | path

Searched refs:toAsciiString (Results 1 – 13 of 13) sorted by relevance

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DGrpcUtilTest.java84 assertEquals("0n", marshaller.toAsciiString(0L)); in timeoutTest()
87 assertEquals("99999999n", marshaller.toAsciiString(99999999L)); in timeoutTest()
91 assertEquals("100000u", marshaller.toAsciiString(100000000L)); in timeoutTest()
94 assertEquals("99999999u", marshaller.toAsciiString(99999999999L)); in timeoutTest()
98 assertEquals("100000m", marshaller.toAsciiString(100000000000L)); in timeoutTest()
101 assertEquals("99999999m", marshaller.toAsciiString(99999999999999L)); in timeoutTest()
105 assertEquals("100000S", marshaller.toAsciiString(100000000000000L)); in timeoutTest()
108 assertEquals("99999999S", marshaller.toAsciiString(99999999999999999L)); in timeoutTest()
112 assertEquals("1666666M", marshaller.toAsciiString(100000000000000000L)); in timeoutTest()
115 assertEquals("99999999M", marshaller.toAsciiString(5999999999999999999L)); in timeoutTest()
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/ar/
DArArchiveInputStream.java111 throw new IOException("invalid header " + ArchiveUtils.toAsciiString(realized)); in getNextArEntry()
156 String temp = ArchiveUtils.toAsciiString(metaData, NAME_OFFSET, NAME_LEN).trim(); in getNextArEntry()
202 return ArchiveUtils.toAsciiString(namebuffer, offset, i - offset); in getExtendedName()
209 return Long.parseLong(ArchiveUtils.toAsciiString(byteArray, offset, len).trim()); in asLong()
225 final String string = ArchiveUtils.toAsciiString(byteArray, offset, len).trim(); in asInt()
346 return ArchiveUtils.toAsciiString(name); in getBSDLongName()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/
DArchiveUtilsTest.java142 ArchiveUtils.toAsciiString(byteArray, 940, 2730); in testToAsciiStringThrowsStringIndexOutOfBoundsException()
147 … assertEquals(inputString, ArchiveUtils.toAsciiString(ArchiveUtils.toAsciiBytes(inputString))); in asciiToByteAndBackOK()
151 …assertFalse(inputString.equals(ArchiveUtils.toAsciiString(ArchiveUtils.toAsciiBytes(inputString)))… in asciiToByteAndBackFail()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/ar/
DArArchiveInputStreamTest.java52 assertEquals("Hello, world!\n", ArchiveUtils.toAsciiString(hello)); in checkLongNameEntry()
58 assertEquals("Bye\n", ArchiveUtils.toAsciiString(bye)); in checkLongNameEntry()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DMetadata.java97 public String toAsciiString(String value) {
523 String toAsciiString(T value); in toAsciiString() method
751 return marshaller.toAsciiString(value).getBytes(US_ASCII); in toBytes()
776 return marshaller.toAsciiString(value); in toBytes()
799 byte[] toAsciiString(T value); in toAsciiString() method
DStatus.java557 public byte[] toAsciiString(Status status) { in toAsciiString() method in Status.StatusCodeMarshaller
573 public byte[] toAsciiString(String value) { in toAsciiString() method in Status.StatusMessageMarshaller
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/
DArchiveUtils.java117 public static String toAsciiString(final byte[] inputBytes){ in toAsciiString() method in ArchiveUtils
134 public static String toAsciiString(final byte[] inputBytes, final int offset, final int length){ in toAsciiString() method in ArchiveUtils
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/cpio/
DCpioArchiveInputStream.java248 final String magicString = ArchiveUtils.toAsciiString(sixBytesBuf); in getNextCPIOEntry()
363 return Long.parseLong(ArchiveUtils.toAsciiString(tmpBuffer), radix); in readAsciiLong()
/external/grpc-grpc-java/netty/src/jmh/java/io/grpc/netty/
DOutboundHeadersBenchmark.java48 public String toAsciiString(String value) {
/external/apache-http/src/org/apache/commons/codec/binary/
DBinaryCodec.java287 public static String toAsciiString(byte[] raw) { in toAsciiString() method in BinaryCodec
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DHttp2ClientStreamTransportState.java39 public byte[] toAsciiString(Integer value) {
DGrpcUtil.java112 public byte[] toAsciiString(byte[] value) { in toAsciiString() method in GrpcUtil.AcceptEncodingMarshaller
616 public String toAsciiString(Long timeoutNanos) { in toAsciiString() method in GrpcUtil.TimeoutMarshaller
/external/apache-http/api/
Dcurrent.txt463 method @Deprecated public static String toAsciiString(byte[]);