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

123

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DDERNull.java29 int encodedLength() method in class:DERNull
H A DBERSequence.java46 int encodedLength() method in class:BERSequence
52 length += ((ASN1Encodable)e.nextElement()).toASN1Primitive().encodedLength();
H A DBERSet.java50 int encodedLength() method in class:BERSet
56 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.java84 abstract int encodedLength() throws IOException; method in class:ASN1Primitive
H A DDEROctetString.java39 int encodedLength() method in class:DEROctetString
H A DDERSequence.java59 length += ((ASN1Encodable)obj).toASN1Primitive().toDERObject().encodedLength();
68 int encodedLength() method in class:DERSequence
H A DDERSet.java69 length += ((ASN1Encodable)obj).toASN1Primitive().toDERObject().encodedLength();
78 int encodedLength() method in class:DERSet
H A DDLSequence.java62 length += ((ASN1Encodable)obj).toASN1Primitive().toDLObject().encodedLength();
71 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.java119 int encodedLength() method in class:DERGeneralString
H A DDERGraphicString.java90 int encodedLength() method in class:DERGraphicString
H A DDERT61String.java115 int encodedLength() method in class:DERT61String
H A DDERUTF8String.java126 int encodedLength() method in class:DERUTF8String
H A DDERVideotexString.java90 int encodedLength() method in class:DERVideotexString
/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/conscrypt/openjdk/src/test/java/org/conscrypt/
H A DSSLUtilsTest.java75 int encodedLength = numProtocols;
77 encodedLength += protocol.length;
79 byte[] encoded = new byte[encodedLength];
/external/guava/guava-tests/test/com/google/common/base/
H A DUtf8Test.java38 assertEquals(0, Utf8.encodedLength(""));
39 assertEquals(11, Utf8.encodedLength("Hello world"));
40 assertEquals(8, Utf8.encodedLength("Résumé"));
41 assertEquals(461, Utf8.encodedLength("威廉·莎士比亞(William Shakespeare,"
48 assertEquals(4, Utf8.encodedLength(
74 if (utf8Length != Utf8.encodedLength(sb)) {
79 assertEquals(repro.toString(), utf8Length, Utf8.encodedLength(sb));
99 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.cpp42 static int32_t utf8Length, encodedLength, outputLength, countInputCodePoints; variable
185 encodedLength=outputLength=0;
192 encodedLength+=(int32_t)(pInter-intermediate);
246 encodedLength=0;
251 encodedLength+=(int32_t)(pInter-intermediate);
304 encodedLength=0;
313 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) {

Completed in 1689 milliseconds

123