Home
last modified time | relevance | path

Searched refs:sLen (Results 1 – 17 of 17) sorted by relevance

/external/javassist/src/main/javassist/bytecode/
DByteStream.java98 int sLen = s.length(); in writeUTF() local
100 enlarge(sLen + 2); in writeUTF()
103 buffer[pos++] = (byte)(sLen >>> 8); in writeUTF()
104 buffer[pos++] = (byte)sLen; in writeUTF()
105 for (int i = 0; i < sLen; ++i) { in writeUTF()
110 writeUTF2(s, sLen, i); in writeUTF()
118 private void writeUTF2(String s, int sLen, int offset) { in writeUTF2() argument
119 int size = sLen; in writeUTF2()
120 for (int i = offset; i < sLen; i++) { in writeUTF2()
130 "encoded string too long: " + sLen + size + " bytes"); in writeUTF2()
[all …]
/external/boringssl/src/crypto/fipsmodule/rsa/
Dpadding.c485 const uint8_t *EM, int sLen) { in RSA_verify_PKCS1_PSS_mgf1() argument
506 if (sLen == -1) { in RSA_verify_PKCS1_PSS_mgf1()
507 sLen = hLen; in RSA_verify_PKCS1_PSS_mgf1()
508 } else if (sLen == -2) { in RSA_verify_PKCS1_PSS_mgf1()
509 sLen = -2; in RSA_verify_PKCS1_PSS_mgf1()
510 } else if (sLen < -2) { in RSA_verify_PKCS1_PSS_mgf1()
525 if (emLen < (int)hLen + 2 || emLen < ((int)hLen + sLen + 2)) { in RSA_verify_PKCS1_PSS_mgf1()
557 if (sLen >= 0 && (maskedDBLen - i) != sLen) { in RSA_verify_PKCS1_PSS_mgf1()
619 size_t sLen; in RSA_padding_add_PKCS1_PSS_mgf1() local
621 sLen = hLen; in RSA_padding_add_PKCS1_PSS_mgf1()
[all …]
/external/libchrome/crypto/third_party/nss/
Drsawrapr.c76 unsigned int sLen) in emsa_pss_verify() argument
89 if ((emLen < (hash->length + sLen + 2)) || in emsa_pss_verify()
114 for (i = 0; i < (dbMaskLen - sLen - 1); i++) { in emsa_pss_verify()
121 if (db[dbMaskLen - sLen - 1] != 0x01) { in emsa_pss_verify()
144 (*hash->update)(hash_context, &db[dbMaskLen - sLen], sLen); in emsa_pss_verify()
Dchromium-nss.h54 unsigned int sLen);
/external/boringssl/src/decrepit/rsa/
Drsa_decrepit.c89 const EVP_MD *Hash, int sLen) { in RSA_padding_add_PKCS1_PSS() argument
90 return RSA_padding_add_PKCS1_PSS_mgf1(rsa, EM, mHash, Hash, NULL, sLen); in RSA_padding_add_PKCS1_PSS()
94 const uint8_t *EM, int sLen) { in RSA_verify_PKCS1_PSS() argument
95 return RSA_verify_PKCS1_PSS_mgf1(rsa, mHash, Hash, NULL, EM, sLen); in RSA_verify_PKCS1_PSS()
/external/icu/icu4c/source/test/cintltst/
Dnfsprep.c218 int32_t pLen=0, sLen=0, reqLen=0, in nfs4_mixed_prepare() local
249sLen = nfs4_prepare(suffix, suffixLen, s, sCapacity, NFS4_MIXED_PREP_SUFFIX, parseError, status); in nfs4_mixed_prepare()
257sLen = nfs4_prepare(suffix, suffixLen, s, sLen, NFS4_MIXED_PREP_SUFFIX, parseError, status); in nfs4_mixed_prepare()
260 reqLen = pLen+sLen+1 /* for the delimiter */; in nfs4_mixed_prepare()
266 memmove(dest+pLen, s, sLen); in nfs4_mixed_prepare()
Dcallcoll.c232 static UCollationResult compareUsingPartials(UCollator *coll, const UChar source[], int32_t sLen, c… in compareUsingPartials() argument
248 uiter_setString(&sIter, source, sLen); in compareUsingPartials()
276 uint32_t sLen = u_strlen(source); in doTestVariant() local
285 compareResult = ucol_strcoll(myCollation, source, sLen, target, tLen); in doTestVariant()
296 uiter_setString(&sIter, source, sLen); in doTestVariant()
308 u_strToUTF8(utf8Source, 256, &utf8SourceLen, source, sLen, &status); in doTestVariant()
377 …partialSKResult = compareUsingPartials(myCollation, source, sLen, target, tLen, partialSizes[i], &… in doTestVariant()
387 …partialNormalizedSKResult = compareUsingPartials(myCollation, source, sLen, target, tLen, partialS… in doTestVariant()
398 sortklen1=ucol_getSortKey(myCollation, source, sLen, NULL, 0); in doTestVariant()
407 ucol_getSortKey(myCollation, source, sLen, sortKey1, sortklen1+1); in doTestVariant()
Dcmsccoll.c48 const UChar *source, const int sLen,
970 int sLen; in TestIncrementalNormalize() local
1002 for (sLen = 500; sLen<501; sLen++) { in TestIncrementalNormalize()
1006 for (i=1; i<=sLen-1; i++) { in TestIncrementalNormalize()
1008 strB[sLen-i] = ccMix[i % 3]; in TestIncrementalNormalize()
1010 strA[sLen] = 0; in TestIncrementalNormalize()
1011 strB[sLen] = 0; in TestIncrementalNormalize()
2758 int32_t sLen = 0, tLen = 0; in TestSettings() local
2766 sLen = u_unescape(cases[j-1], source, 256); in TestSettings()
2767 source[sLen] = 0; in TestSettings()
[all …]
/external/icu/icu4c/source/test/intltest/
Dtscoll.cpp94 IntlTestCollator::compareUsingPartials(UCollator *coll, const UChar source[], int32_t sLen, const U… in compareUsingPartials() argument
105 uiter_setString(&sIter, source, sLen); in compareUsingPartials()
148 int32_t sLen = source.length(), tLen = target.length(); in doTestVariant() local
155 uiter_setString(&sIter, src, sLen); in doTestVariant()
166 u_strToUTF8(utf8Source, 256, &utf8SourceLen, src, sLen, &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 …UCollationResult compareUsingPartials(UCollator *coll, const UChar source[], int32_t sLen, const U…
/external/icu/icu4c/source/tools/toolutil/
Duparse.c366 u_parseUTF8(const char *source, int32_t sLen, char *dest, int32_t destCapacity, UErrorCode *status)… in u_parseUTF8() argument
370 if(sLen == -1) { in u_parseUTF8()
371 sLen = (int32_t)strlen(source); in u_parseUTF8()
374 while(read < source+sLen) { in u_parseUTF8()
Duparse.h149 u_parseUTF8(const char *source, int32_t sLen, char *dest, int32_t destCapacity, UErrorCode *status);
/external/icu/icu4c/source/samples/legacy/
Dnewcol.cpp33 int32_t getSortKey_current(const char *locale, const UChar *string, int32_t sLen, uint8_t *buffer, … in getSortKey_current() argument
39 int32_t result = ucol_getSortKey(coll, string, sLen, buffer, bLen); in getSortKey_current()
Doldcol.cpp34 int32_t getSortKey_legacy(const char *locale, const UChar *string, int32_t sLen, uint8_t *buffer, i… in getSortKey_legacy() argument
40 int32_t result = ucol_getSortKey(coll, string, sLen, buffer, bLen); in getSortKey_legacy()
/external/boringssl/src/include/openssl/
Drsa.h361 const uint8_t *EM, int sLen);
379 int sLen);
545 const EVP_MD *Hash, int sLen);
554 int sLen);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationMiscTest.java1286 int sLen; in TestIncrementalNormalize() local
1293 for (sLen = 1000; sLen<1001; sLen++) { in TestIncrementalNormalize()
1298 for (i=1; i< sLen; i++) { in TestIncrementalNormalize()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationMiscTest.java1285 int sLen; in TestIncrementalNormalize() local
1292 for (sLen = 1000; sLen<1001; sLen++) { in TestIncrementalNormalize()
1297 for (i=1; i< sLen; i++) { in TestIncrementalNormalize()