OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ByteString
(Results
1 - 10
of
10
) sorted by null
/external/okhttp/okio/okio/src/test/java/okio/
ByteStringTest.java
35
ByteString
byteString
=
ByteString
.of(bytes, 2, 9);
38
assertEquals("llo, Worl",
byteString
.utf8());
42
ByteString
byteString
=
ByteString
.decodeHex("ab12");
43
assertEquals(-85,
byteString
.getByte(0));
44
assertEquals(18,
byteString
.getByte(1));
48
ByteString
byteString = ByteString.decodeHex("ab12")
[
all
...]
Utf8Test.java
120
buffer.write(
ByteString
.decodeHex("f888808080"));
132
buffer.write(
ByteString
.decodeHex("df20"));
141
buffer.write(
ByteString
.decodeHex("f4908080"));
148
buffer.write(
ByteString
.decodeHex("eda080"));
151
buffer.write(
ByteString
.decodeHex("edbfbf"));
159
buffer.write(
ByteString
.decodeHex("c080"));
200
assertEquals(buffer.readByteString(),
ByteString
.decodeHex(hex));
204
Buffer buffer = new Buffer().write(
ByteString
.decodeHex(hex));
212
ByteString
expectedUtf8 =
ByteString
.decodeHex(hex)
[
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/protobuf/java/src/test/java/com/google/protobuf/
ByteStringTest.java
33
import com.google.protobuf.
ByteString
.Output;
52
* Test methods with implementations in {@link
ByteString
}, plus do some top-level "integration"
92
ByteString
substring =
ByteString
.copyFrom(bytes).substring(500);
99
ByteString
byteString
=
ByteString
.copyFrom(bytes, 500, 200);
101
isArrayRange(
byteString
.toByteArray(), bytes, 500, 200));
106
ByteString
byteString
= ByteString.copyFrom(bytes)
[
all
...]
CodedInputStreamTest.java
399
builder.setOptionalBytes(
ByteString
.copyFrom(blob));
403
// directly from a
ByteString
, so that CodedInputStream uses buffered
418
ByteString
.Output rawOutput =
ByteString
.newOutput();
458
ByteString
data64 = makeRecursiveMessage(64).toByteString();
459
ByteString
data65 = makeRecursiveMessage(65).toByteString();
556
ByteString
.Output rawOutput =
ByteString
.newOutput();
576
ByteString
.Output rawOutput =
ByteString
.newOutput()
[
all
...]
/external/okhttp/okio/okio/src/main/java/okio/
ByteString.java
44
public class
ByteString
implements Serializable {
49
/** A singleton empty {@code
ByteString
}. */
50
public static final
ByteString
EMPTY =
ByteString
.of();
56
ByteString
(byte[] data) {
63
public static
ByteString
of(byte... data) {
65
return new
ByteString
(data.clone());
72
public static
ByteString
of(byte[] data, int offset, int byteCount) {
78
return new
ByteString
(copy);
82
public static
ByteString
encodeUtf8(String s)
[
all
...]
/external/protobuf/java/src/main/java/com/google/protobuf/
ByteString.java
51
* Like {@link String}, the contents of a {@link
ByteString
} can never be
60
public abstract class
ByteString
implements Iterable<Byte> {
64
* this, we just copy their bytes on {@link #concat(
ByteString
)}.
71
* When copying an InputStream into a
ByteString
with .readFrom(),
79
* Empty {@code
ByteString
}.
81
public static final
ByteString
EMPTY = new LiteralByteString(new byte[0]);
84
ByteString
() {}
99
* Return a {@link
ByteString
.ByteIterator} over the bytes in the
ByteString
.
139
//
ByteString
-> substrin
[
all
...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Cache.java
42
import okio.
ByteString
;
607
bytes.write(
ByteString
.decodeBase64(line));
623
String line =
ByteString
.of(bytes).base64();
/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 438 milliseconds