Searched refs:encodedLength (Results 1 - 25 of 47) sorted by relevance

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DDERNull.java29 int encodedLength() method in class:DERNull
H A DBERSequence.java43 int encodedLength() method in class:BERSequence
49 length += ((ASN1Encodable)e.nextElement()).toASN1Primitive().encodedLength();
H A DBERSet.java43 int encodedLength() method in class:BERSet
49 length += ((ASN1Encodable)e.nextElement()).toASN1Primitive().encodedLength();
H A DDERTaggedObject.java54 int encodedLength() method in class:DERTaggedObject
60 int length = primitive.encodedLength();
91 out.writeLength(primitive.encodedLength());
H A DDLTaggedObject.java49 int encodedLength() method in class:DLTaggedObject
54 int length = obj.toASN1Primitive().toDLObject().encodedLength();
85 out.writeLength(primitive.encodedLength());
H A DASN1Primitive.java77 abstract int encodedLength() throws IOException; method in class:ASN1Primitive
H A DDEROctetString.java29 int encodedLength() method in class:DEROctetString
H A DDERSequence.java56 length += ((ASN1Encodable)obj).toASN1Primitive().toDERObject().encodedLength();
65 int encodedLength() method in class:DERSequence
H A DDERSet.java66 length += ((ASN1Encodable)obj).toASN1Primitive().toDERObject().encodedLength();
75 int encodedLength() method in class:DERSet
H A DDLSequence.java59 length += ((ASN1Encodable)obj).toASN1Primitive().toDLObject().encodedLength();
68 int encodedLength() method in class:DLSequence
H A DDLSet.java104 length += ((ASN1Encodable)obj).toASN1Primitive().toDLObject().encodedLength();
113 int encodedLength() method in class:DLSet
H A DLazyEncodedSequence.java83 int encodedLength() method in class:LazyEncodedSequence
92 return super.toDLObject().encodedLength();
H A DBERTaggedObject.java69 int encodedLength() method in class:BERTaggedObject
75 int length = primitive.encodedLength();
H A DBEROctetString.java123 int encodedLength() method in class:BEROctetString
129 length += ((ASN1Encodable)e.nextElement()).toASN1Primitive().encodedLength();
H A DDERGeneralString.java84 int encodedLength() method in class:DERGeneralString
H A DDERT61String.java115 int encodedLength() method in class:DERT61String
H A DDERUTF8String.java124 int encodedLength() method in class:DERUTF8String
H A DDERVisibleString.java114 int encodedLength() method in class:DERVisibleString
H A DASN1Boolean.java167 int encodedLength() method in class:ASN1Boolean
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
H A DUtf8Test.java33 assertEquals(0, Utf8.encodedLength(""));
34 assertEquals(11, Utf8.encodedLength("Hello world"));
35 assertEquals(8, Utf8.encodedLength("Résumé"));
36 assertEquals(461, Utf8.encodedLength("威廉·莎士比亞(William Shakespeare,"
43 assertEquals(4, Utf8.encodedLength(
61 Utf8.encodedLength(invalidString);
/external/guava/guava-tests/test/com/google/common/base/
H A DUtf8Test.java39 assertEquals(0, Utf8.encodedLength(""));
40 assertEquals(11, Utf8.encodedLength("Hello world"));
41 assertEquals(8, Utf8.encodedLength("Résumé"));
42 assertEquals(461, Utf8.encodedLength("威廉·莎士比亞(William Shakespeare,"
49 assertEquals(4, Utf8.encodedLength(
75 if (utf8Length != Utf8.encodedLength(sb)) {
80 assertEquals(repro.toString(), utf8Length, Utf8.encodedLength(sb));
100 Utf8.encodedLength(invalidString);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
H A DDexDataWriter.java223 int encodedLength = 4-firstElement;
224 writeEncodedValueHeader(valueType, encodedLength - 1);
225 write(tempBuf, firstElement, encodedLength);
240 int encodedLength = 8-firstElement;
241 writeEncodedValueHeader(valueType, encodedLength - 1);
242 write(tempBuf, firstElement, encodedLength);
/external/icu/icu4c/source/test/perf/utfperf/
H A Dutfperf.cpp38 static int32_t utf8Length, encodedLength, outputLength, countInputCodePoints; variable
181 encodedLength=outputLength=0;
188 encodedLength+=(int32_t)(pInter-intermediate);
242 encodedLength=0;
247 encodedLength+=(int32_t)(pInter-intermediate);
300 encodedLength=0;
309 encodedLength+=(int32_t)(pInter-intermediate);
/external/guava/guava-tests/benchmark/com/google/common/base/
H A DUtf8Benchmark.java144 if (Utf8.encodedLength(string) == 1237482374) {
160 if (Utf8.encodedLength(seq) == 1237482374) {
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/
H A DHuffmanTest.java50 assertEquals(baos.size(), Huffman.get().encodedLength(buf));

Completed in 511 milliseconds

12