/external/javassist/src/main/javassist/bytecode/ |
D | ByteStream.java | 98 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/ |
D | padding.c | 485 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/ |
D | rsawrapr.c | 76 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()
|
D | chromium-nss.h | 54 unsigned int sLen);
|
/external/boringssl/src/decrepit/rsa/ |
D | rsa_decrepit.c | 89 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/ |
D | nfsprep.c | 218 int32_t pLen=0, sLen=0, reqLen=0, in nfs4_mixed_prepare() local 249 … sLen = nfs4_prepare(suffix, suffixLen, s, sCapacity, NFS4_MIXED_PREP_SUFFIX, parseError, status); in nfs4_mixed_prepare() 257 … sLen = 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()
|
D | callcoll.c | 232 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()
|
D | cmsccoll.c | 48 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/ |
D | tscoll.cpp | 94 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()
|
D | tscoll.h | 54 …UCollationResult compareUsingPartials(UCollator *coll, const UChar source[], int32_t sLen, const U…
|
/external/icu/icu4c/source/tools/toolutil/ |
D | uparse.c | 366 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()
|
D | uparse.h | 149 u_parseUTF8(const char *source, int32_t sLen, char *dest, int32_t destCapacity, UErrorCode *status);
|
/external/icu/icu4c/source/samples/legacy/ |
D | newcol.cpp | 33 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()
|
D | oldcol.cpp | 34 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/ |
D | rsa.h | 361 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/ |
D | CollationMiscTest.java | 1286 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/ |
D | CollationMiscTest.java | 1285 int sLen; in TestIncrementalNormalize() local 1292 for (sLen = 1000; sLen<1001; sLen++) { in TestIncrementalNormalize() 1297 for (i=1; i< sLen; i++) { in TestIncrementalNormalize()
|