Home
last modified time | relevance | path

Searched refs:tLen (Results 1 – 16 of 16) sorted by relevance

/external/conscrypt/common/src/main/java/org/conscrypt/
DGCMParameters.java39 private int tLen; field in GCMParameters
46 GCMParameters(int tLen, byte[] iv) { in GCMParameters() argument
47 this.tLen = tLen; in GCMParameters()
55 return tLen; in getTLen()
72 this.tLen = params.tLen; in engineInit()
93 this.tLen = newTlen; in engineInit()
113 return aClass.cast(Platform.toGCMParameterSpec(tLen, iv)); in engineGetParameterSpec()
127 if (this.tLen != DEFAULT_TLEN) { in engineGetEncoded()
128 NativeCrypto.asn1_write_uint64(seqRef, this.tLen / 8); in engineGetEncoded()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DGCMParameters.java41 private int tLen; field in GCMParameters
48 GCMParameters(int tLen, byte[] iv) { in GCMParameters() argument
49 this.tLen = tLen; in GCMParameters()
57 return tLen; in getTLen()
74 this.tLen = params.tLen; in engineInit()
95 this.tLen = newTlen; in engineInit()
115 return aClass.cast(Platform.toGCMParameterSpec(tLen, iv)); in engineGetParameterSpec()
129 if (this.tLen != DEFAULT_TLEN) { in engineGetEncoded()
130 NativeCrypto.asn1_write_uint64(seqRef, this.tLen / 8); in engineGetEncoded()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DGcmSpecUtil.java22 static final Method tLen; field in GcmSpecUtil
29 tLen = extractMethod("getTLen");
34 tLen = null;
103 …return new AEADParameters(keyParam, ((Integer)tLen.invoke(params, new Object[0])).intValue(), (byt…
123 … new GCMParameters((byte[])iv.invoke(paramSpec, new Object[0]), ((Integer)tLen.invoke(paramSpec, n…
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/util/
DGcmSpecUtil.java26 static final Method tLen; field in GcmSpecUtil
33 tLen = extractMethod("getTLen");
38 tLen = null;
107 …return new AEADParameters(keyParam, ((Integer)tLen.invoke(params, new Object[0])).intValue(), (byt…
127 … new GCMParameters((byte[])iv.invoke(paramSpec, new Object[0]), ((Integer)tLen.invoke(paramSpec, n…
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/symmetric/util/
DGcmSpecUtil.java26 static final Method tLen; field in GcmSpecUtil
33 tLen = extractMethod("getTLen");
38 tLen = null;
107 …return new AEADParameters(keyParam, ((Integer)tLen.invoke(params, new Object[0])).intValue(), (byt…
127 … new GCMParameters((byte[])iv.invoke(paramSpec, new Object[0]), ((Integer)tLen.invoke(paramSpec, n…
/external/icu/icu4c/source/test/intltest/
Dtscoll.cpp94 … *coll, const UChar source[], int32_t sLen, const UChar target[], int32_t tLen, int32_t pieceSize,… in compareUsingPartials() argument
106 uiter_setString(&tIter, target, tLen); in compareUsingPartials()
148 int32_t sLen = source.length(), tLen = target.length(); in doTestVariant() local
156 uiter_setString(&tIter, trg, tLen); in doTestVariant()
170 u_strToUTF8(utf8Target, 256, &utf8TargetLen, trg, tLen, &status); in doTestVariant()
213 …partialSKResult = compareUsingPartials(myCollation, src, sLen, trg, tLen, partialSizes[i], status); in doTestVariant()
221 …partialNormalizedSKResult = compareUsingPartials(myCollation, src, sLen, trg, tLen, partialSizes[i… in doTestVariant()
Dtscoll.h54 … *coll, const UChar source[], int32_t sLen, const UChar target[], int32_t tLen, int32_t pieceSize,…
/external/icu/icu4c/source/test/cintltst/
Dcmsccoll.c49 const UChar *target, const int tLen);
2757 int32_t sLen = 0, tLen = 0; in TestSettings() local
2767 tLen = u_unescape(cases[j], target, 256); in TestSettings()
2768 source[tLen] = 0; in TestSettings()
3585 int32_t rLen, tLen, ruleLen, sLen, kLen; in TestVI5913() local
3655 tLen = u_strlen(tData[j]); in TestVI5913()
3656 log_verbose("\n Data :%s \tlen: %d key: ", tData[j], tLen); in TestVI5913()
3657 rLen = ucol_getSortKey(coll, tData[j], tLen, resColl, 100); in TestVI5913()
3679 tLen = u_strlen(tData[j]); in TestVI5913()
3680 log_verbose("\n Data :%s \tlen: %d key: ", tData[j], tLen); in TestVI5913()
[all …]
Dcallcoll.c235 … *coll, const UChar source[], int32_t sLen, const UChar target[], int32_t tLen, int32_t pieceSize,… in compareUsingPartials() argument
252 uiter_setString(&tIter, target, tLen); in compareUsingPartials()
280 uint32_t tLen = u_strlen(target); in doTestVariant() local
288 compareResult = ucol_strcoll(myCollation, source, sLen, target, tLen); in doTestVariant()
300 uiter_setString(&tIter, target, tLen); in doTestVariant()
315 u_strToUTF8(utf8Target, 256, &utf8TargetLen, target, tLen, &status); in doTestVariant()
380 …partialSKResult = compareUsingPartials(myCollation, source, sLen, target, tLen, partialSizes[i], &… in doTestVariant()
390 …partialNormalizedSKResult = compareUsingPartials(myCollation, source, sLen, target, tLen, partialS… in doTestVariant()
402 sortklen2=ucol_getSortKey(myCollation, target, tLen, NULL, 0); in doTestVariant()
415 ucol_getSortKey(myCollation, target, tLen, sortKey2, sortklen2+1); in doTestVariant()
Dusrchtst.c2612 int32_t tLen = UPRV_LENGTHOF(text); in TestStrengthIdentical() local
2628 search = usearch_openFromCollator (pattern, pLen, text, tLen, coll, NULL, &ec); in TestStrengthIdentical()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
DGcmSpecUtil.java57 Method tLen = gcmSpecClass.getDeclaredMethod("getTLen", new Class[0]); in extractGcmParameters() local
60 …return new GCMParameters((byte[])iv.invoke(paramSpec, new Object[0]), ((Integer)tLen.invoke(paramS… in extractGcmParameters()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/
DGcmSpecUtil.java58 Method tLen = gcmSpecClass.getDeclaredMethod("getTLen", new Class[0]); in extractGcmParameters() local
61 …return new GCMParameters((byte[])iv.invoke(paramSpec, new Object[0]), ((Integer)tLen.invoke(paramS… in extractGcmParameters()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/symmetric/
DGcmSpecUtil.java58 Method tLen = gcmSpecClass.getDeclaredMethod("getTLen", new Class[0]); in extractGcmParameters() local
61 …return new GCMParameters((byte[])iv.invoke(paramSpec, new Object[0]), ((Integer)tLen.invoke(paramS… in extractGcmParameters()
/external/skqp/tools/bookmaker/
DtextParser.h485 size_t tLen = fEnd - fChar; in startsWith() local
487 while (oIndex < oLen && tIndex < tLen) { in startsWith()
496 } while (tIndex < tLen && ' ' >= fChar[tIndex]); in startsWith()
/external/conscrypt/android/src/main/java/org/conscrypt/
DPlatform.java708 int tLen; in fromGCMParameterSpec() local
713 tLen = (int) getTLenMethod.invoke(params); in fromGCMParameterSpec()
716 return new GCMParameters(tLen, iv); in fromGCMParameterSpec()
/external/icu/icu4c/source/tools/genrb/
Dwrtxml.cpp811 int32_t tLen = ( outDir == NULL) ? 0 :(int32_t)uprv_strlen(outDir); in bin_write_xml() local
812 char* fn = (char*) uprv_malloc(sizeof(char) * (tLen+1024 + in bin_write_xml()