Home
last modified time | relevance | path

Searched defs:byteString (Results 1 – 25 of 43) sorted by relevance

12

/external/okio/okio/src/commonTest/kotlin/okio/
DByteStringTest.kt60 val byteString = factory.decodeHex("ab12") in getByte() constant
66 val byteString = factory.decodeHex("112233") in startsWithByteString() constant
77 val byteString = factory.decodeHex("112233") in endsWithByteString() constant
88 val byteString = factory.decodeHex("112233") in startsWithByteArray() constant
99 val byteString = factory.decodeHex("112233") in endsWithByteArray() constant
110 val byteString = factory.decodeHex("112233") in indexOfByteString() constant
136 val byteString = factory.decodeHex("112233112233") in indexOfWithOffset() constant
147 val byteString = factory.decodeHex("112233") in indexOfByteArray() constant
155 val byteString = factory.decodeHex("112233") in lastIndexOfByteString() constant
184 val byteString = factory.decodeHex("112233") in lastIndexOfByteArray() constant
[all …]
/external/okio/okio/src/jvmTest/java/okio/
DByteStringJavaTest.java98 ByteString byteString = ByteString.of(bytes); in ofCopy() local
106 ByteString byteString = ByteString.of(bytes, 2, 9); in ofCopyRange() local
116 ByteString byteString = ByteString.of(byteBuffer); in ofByteBuffer() local
123 ByteString byteString = factory.decodeHex("ab12"); in getByte() local
129 ByteString byteString = factory.decodeHex("ab12"); in getByteOutOfBounds() local
138 ByteString byteString = factory.decodeHex("112233"); in startsWithByteString() local
149 ByteString byteString = factory.decodeHex("112233"); in endsWithByteString() local
160 ByteString byteString = factory.decodeHex("112233"); in startsWithByteArray() local
171 ByteString byteString = factory.decodeHex("112233"); in endsWithByteArray() local
182 ByteString byteString = factory.decodeHex("112233"); in indexOfByteString() local
[all …]
/external/okhttp/okio/okio/src/test/java/okio/
DByteStringTest.java39 ByteString byteString = ByteString.of(bytes, 2, 9); in ofCopyRange() local
46 ByteString byteString = ByteString.decodeHex("ab12"); in getByte() local
52 ByteString byteString = ByteString.decodeHex("ab12"); in getByteOutOfBounds() local
61 ByteString byteString = ByteString.decodeHex("000102"); in equals() local
73 ByteString byteString = ByteString.encodeUtf8(bronzeHorseman); in utf8() local
98 ByteString byteString = ByteString.decodeHex("0102"); in testHashCode() local
142 ByteString byteString = ByteString.encodeUtf8("Hello, World!"); in substring() local
151 ByteString byteString = ByteString.encodeUtf8("Hello, World!"); in substringWithInvalidBounds() local
268 ByteString byteString = ByteString.encodeUtf8(bronzeHorseman); in javaSerializationTestNonEmpty() local
273 ByteString byteString = ByteString.of(); in javaSerializationTestEmpty() local
DSegmentSharingTest.java39 ByteString byteString = concatenateBuffers(xs, ys, zs).snapshot(); in snapshotsAreEquivalent() local
46 ByteString byteString = concatenateBuffers(xs, ys, zs).snapshot(); in snapshotGetByte() local
66 ByteString byteString = concatenateBuffers(xs, ys, zs).snapshot(); in snapshotWriteToOutputStream() local
110 ByteString byteString = concatenateBuffers(xs, ys, zs).snapshot(); in snapshotJavaSerialization() local
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DByteStringTest.java99 ByteString byteString = ByteString.copyFrom(bytes, 500, 200); in testCopyFrom_BytesOffsetSize() local
106 ByteString byteString = ByteString.copyFrom(bytes); in testCopyFrom_Bytes() local
116 ByteString byteString = ByteString.copyFrom(byteBuffer, 200); in testCopyFrom_ByteBufferSize() local
126 ByteString byteString = ByteString.copyFrom(byteBuffer); in testCopyFrom_ByteBuffer() local
133 ByteString byteString = ByteString.copyFrom(testString, UTF_16); in testCopyFrom_StringEncoding() local
141 ByteString byteString = ByteString.copyFromUtf8(testString); in testCopyFrom_Utf8() local
151 ByteString byteString = ByteString.copyFrom(pieces); in testCopyFrom_Iterable() local
166 ByteString byteString = ByteString.copyFrom(bytes); in testCopyTo_TargetOffset() local
174 ByteString byteString = in testReadFrom_emptyStream() local
187 ByteString byteString = ByteString.readFrom(eis); in testReadFrom_mutating() local
[all …]
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DByteStringTest.java134 ByteString byteString = ByteString.copyFrom(bytes, 500, 200); in testCopyFrom_BytesOffsetSize() local
142 ByteString byteString = ByteString.copyFrom(bytes); in testCopyFrom_Bytes() local
152 ByteString byteString = ByteString.copyFrom(byteBuffer, 200); in testCopyFrom_ByteBufferSize() local
163 ByteString byteString = ByteString.copyFrom(byteBuffer); in testCopyFrom_ByteBuffer() local
171 ByteString byteString = ByteString.copyFrom(testString, UTF_16); in testCopyFrom_StringEncoding() local
180 ByteString byteString = ByteString.copyFromUtf8(testString); in testCopyFrom_Utf8() local
191 ByteString byteString = ByteString.copyFrom(pieces); in testCopyFrom_Iterable() local
238 ByteString byteString = ByteString.copyFrom(bytes); in testCopyTo_TargetOffset() local
247 ByteString byteString = ByteString.readFrom(new ByteArrayInputStream(new byte[0])); in testReadFrom_emptyStream() local
260 ByteString byteString = ByteString.readFrom(eis); in testReadFrom_mutating() local
[all …]
DRopeByteStringTest.java186 ByteString byteString = RopeByteString.newInstanceForTest(ByteString.EMPTY, ByteString.EMPTY); in testToString_raisesException() local
194 ByteString byteString = in testToString_raisesException() local
/external/cbor-java/src/test/java/co/nstant/in/cbor/model/
DByteStringTest.java29 ByteString byteString = new ByteString(bytes); in shouldEquals() local
36 ByteString byteString = new ByteString(bytes); in shouldNotEquals() local
44 ByteString byteString = new ByteString(bytes); in shouldHashcode() local
51 ByteString byteString = new ByteString(bytes); in shouldNotClone() local
DAbstractByteStringTest.java40 ByteString byteString = (ByteString) dataItem; in shouldDecode() local
/external/okio/okio/src/jvmTest/kotlin/okio/
DSegmentSharingTest.kt35 val byteString = bufferWithSegments(xs, ys, zs).snapshot() in snapshotsAreEquivalent() constant
42 val byteString = bufferWithSegments(xs, ys, zs).snapshot() in snapshotGetByte() constant
59 val byteString = bufferWithSegments(xs, ys, zs).snapshot() in snapshotWriteToOutputStream() constant
102 val byteString = bufferWithSegments(xs, ys, zs).snapshot() in snapshotJavaSerialization() constant
DByteStringKotlinTest.kt60 val byteString = "abcdef".encodeUtf8() in substring() constant
/external/okio/okio/src/appleTest/kotlin/okio/
DAppleByteStringTest.kt28 val byteString = data.toByteString() in nsDataToByteString() constant
/external/cbor-java/src/main/java/co/nstant/in/cbor/decoder/
DByteStringDecoder.java26 ByteString byteString = new ByteString(null); in decode() local
46 ByteString byteString = (ByteString) dataItem; in decodeInfinitiveLength() local
/external/okio/okio/src/commonMain/kotlin/okio/
DOptions.kt44 byteStrings.forEachIndexed { callerIndex, byteString -> in <lambda>() method
58 val byteString = list[b] in <lambda>() constant
/external/okio/samples/src/jvmMain/kotlin/okio/samples/
DHashing.kt34 val byteString = readByteString(file) in <lambda>() constant
/external/cbor-java/src/main/java/co/nstant/in/cbor/encoder/
DByteStringEncoder.java18 public void encode(ByteString byteString) throws CborException { in encode()
/external/okhttp/okio/okio/src/main/java/okio/
DByteString.java86 ByteString byteString = new ByteString(s.getBytes(Util.UTF_8)); in encodeUtf8() local
336 @Override public int compareTo(ByteString byteString) { in compareTo()
363 ByteString byteString = ByteString.read(in, dataLength); in readObject() local
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/
DByteString.java88 ByteString byteString = new ByteString(s.getBytes(Util.UTF_8)); in encodeUtf8() local
338 @Override public int compareTo(ByteString byteString) { in compareTo()
365 ByteString byteString = ByteString.read(in, dataLength); in readObject() local
/external/cbor-java/src/test/java/co/nstant/in/cbor/examples/
DExample14Test.java47 ByteString byteString = (ByteString) b; in shouldDecode() local
DExample12Test.java47 ByteString byteString = (ByteString) b; in shouldDecode() local
/external/okio/okio/jvm/jmh/src/jmh/java/com/squareup/okio/benchmarks/
DIndexOfElementBenchmark.java43 ByteString byteString = ByteString.encodeUtf8("abcd"); field in IndexOfElementBenchmark
DSegmentedByteStringBenchmark.java50 private ByteString byteString; field in SegmentedByteStringBenchmark
/external/pdfium/fxbarcode/
Dcbc_code128.cpp48 ByteString byteString = m_renderContents.ToUTF8(); in Encode() local
Dcbc_codabar.cpp43 ByteString byteString = m_renderContents.ToUTF8(); in Encode() local
Dcbc_code39.cpp45 ByteString byteString = filtercontents.ToUTF8(); in Encode() local

12