OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ByteString
(Results
1 - 8
of
8
) sorted by null
/external/okhttp/okio/src/test/java/okio/
ByteStringTest.java
33
ByteString
byteString
=
ByteString
.decodeHex("ab12");
34
assertEquals(-85,
byteString
.getByte(0));
35
assertEquals(18,
byteString
.getByte(1));
39
ByteString
byteString
=
ByteString
.decodeHex("ab12");
41
byteString
.getByte(2);
48
ByteString
byteString = ByteString.decodeHex("000102")
[
all
...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
Header.java
3
import okio.
ByteString
;
8
public static final
ByteString
RESPONSE_STATUS =
ByteString
.encodeUtf8(":status");
9
public static final
ByteString
TARGET_METHOD =
ByteString
.encodeUtf8(":method");
10
public static final
ByteString
TARGET_PATH =
ByteString
.encodeUtf8(":path");
11
public static final
ByteString
TARGET_SCHEME =
ByteString
.encodeUtf8(":scheme");
12
public static final
ByteString
TARGET_AUTHORITY = ByteString.encodeUtf8(":authority"); // http/
[
all
...]
/external/okhttp/okio/src/main/java/okio/
ByteString.java
37
public final class
ByteString
{
41
/** A singleton empty {@code
ByteString
}. */
42
public static final
ByteString
EMPTY =
ByteString
.of();
48
ByteString
(byte[] data) {
55
public static
ByteString
of(byte... data) {
56
return new
ByteString
(data.clone());
60
public static
ByteString
encodeUtf8(String s) {
61
ByteString
byteString
= new ByteString(s.getBytes(Util.UTF_8))
[
all
...]
/external/protobuf/java/src/main/java/com/google/protobuf/
ByteString.java
47
public final class
ByteString
{
50
private
ByteString
(final byte[] bytes) {
78
// byte[] ->
ByteString
81
* Empty
ByteString
.
83
public static final
ByteString
EMPTY = new
ByteString
(new byte[0]);
86
* Copies the given bytes into a {@code
ByteString
}.
88
public static
ByteString
copyFrom(final byte[] bytes, final int offset,
92
return new
ByteString
(copy);
96
* Copies the given bytes into a {@code
ByteString
}
[
all
...]
/external/okhttp/android/test/java/com/squareup/okhttp/internal/
PlatformTest.java
32
import okio.
ByteString
;
69
assertEquals(
ByteString
.of(npnBytes), platform.getNpnSelectedProtocol(npnOnlySSLSocketImpl));
74
assertEquals(
ByteString
.of(alpnBytes), platform.getNpnSelectedProtocol(openSslSocket));
/external/protobuf/java/src/test/java/com/google/protobuf/
CodedInputStreamTest.java
364
builder.setOptionalBytes(
ByteString
.copyFrom(blob));
368
// directly from a
ByteString
, so that CodedInputStream uses buffered
383
ByteString
.Output rawOutput =
ByteString
.newOutput();
423
ByteString
data64 = makeRecursiveMessage(64).toByteString();
424
ByteString
data65 = makeRecursiveMessage(65).toByteString();
492
ByteString
.Output rawOutput =
ByteString
.newOutput();
/prebuilts/tools/common/m2/repository/com/android/tools/external/libprotobuf-java-lite/2.3.0/
libprotobuf-java-lite-2.3.0.jar
/external/google-tv-pairing-protocol/java/jar/
protobuf-java-2.2.0-lite.jar
Completed in 398 milliseconds