Searched defs:sLen (Results 1 - 12 of 12) sorted by relevance

/external/icu4c/samples/legacy/
H A Dnewcol.cpp27 int32_t getSortKey_current(const char *locale, const UChar *string, int32_t sLen, uint8_t *buffer, int32_t bLen) { argument
33 int32_t result = ucol_getSortKey(coll, string, sLen, buffer, bLen);
H A Doldcol.cpp28 int32_t getSortKey_legacy(const char *locale, const UChar *string, int32_t sLen, uint8_t *buffer, int32_t bLen) { argument
34 int32_t result = ucol_getSortKey(coll, string, sLen, buffer, bLen);
/external/openssl/crypto/rsa/
H A Drsa_pss.c74 const EVP_MD *Hash, const unsigned char *EM, int sLen)
76 return RSA_verify_PKCS1_PSS_mgf1(rsa, mHash, Hash, NULL, EM, sLen);
81 const unsigned char *EM, int sLen)
99 * Negative sLen has special meanings:
100 * -1 sLen == hLen
104 if (sLen == -1) sLen = hLen;
105 else if (sLen == -2) sLen = -2;
106 else if (sLen <
73 RSA_verify_PKCS1_PSS(RSA *rsa, const unsigned char *mHash, const EVP_MD *Hash, const unsigned char *EM, int sLen) argument
79 RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash, const EVP_MD *Hash, const EVP_MD *mgf1Hash, const unsigned char *EM, int sLen) argument
187 RSA_padding_add_PKCS1_PSS(RSA *rsa, unsigned char *EM, const unsigned char *mHash, const EVP_MD *Hash, int sLen) argument
194 RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, const unsigned char *mHash, const EVP_MD *Hash, const EVP_MD *mgf1Hash, int sLen) argument
[all...]
/external/icu4c/tools/toolutil/
H A Duparse.c362 u_parseUTF8(const char *source, int32_t sLen, char *dest, int32_t destCapacity, UErrorCode *status) { argument
366 if(sLen == -1) {
367 sLen = (int32_t)strlen(source);
370 while(read < source+sLen) {
/external/javassist/src/main/javassist/bytecode/
H A DByteStream.java98 int sLen = s.length();
100 enlarge(sLen + 2);
103 buffer[pos++] = (byte)(sLen >>> 8);
104 buffer[pos++] = (byte)sLen;
105 for (int i = 0; i < sLen; ++i) {
110 writeUTF2(s, sLen, i);
118 private void writeUTF2(String s, int sLen, int offset) { argument
119 int size = sLen;
120 for (int i = offset; i < sLen; i++) {
130 "encoded string too long: " + sLen
[all...]
/external/icu4c/test/cintltst/
H A Dnfsprep.c216 int32_t pLen=0, sLen=0, reqLen=0, local
247 sLen = nfs4_prepare(suffix, suffixLen, s, sCapacity, NFS4_MIXED_PREP_SUFFIX, parseError, status);
255 sLen = nfs4_prepare(suffix, suffixLen, s, sLen, NFS4_MIXED_PREP_SUFFIX, parseError, status);
258 reqLen = pLen+sLen+1 /* for the delimiter */;
264 memmove(dest+pLen, s, sLen);
H A Dcallcoll.c230 static UCollationResult compareUsingPartials(UCollator *coll, const UChar source[], int32_t sLen, const UChar target[], int32_t tLen, int32_t pieceSize, UErrorCode *status) { argument
246 uiter_setString(&sIter, source, sLen);
274 uint32_t sLen = u_strlen(source); local
282 uiter_setString(&sIter, source, sLen);
293 u_strToUTF8(utf8Source, 256, &utf8SourceLen, source, sLen, &status);
304 /*uiter_setString(&sIter, source, sLen);
340 partialSKResult = compareUsingPartials(myCollation, source, sLen, target, tLen, partialSizes[i], &status);
350 partialNormalizedSKResult = compareUsingPartials(myCollation, source, sLen, target, tLen, partialSizes[i], &status);
362 compareResult = ucol_strcoll(myCollation, source, sLen, target, tLen);
368 sortklen1=ucol_getSortKey(myCollation, source, sLen, NUL
[all...]
H A Dcmsccoll.c49 const UChar *source, const int sLen,
658 static UCollationResult ucaTest(void *collator, const int object, const UChar *source, const int sLen, const UChar *target, const int tLen) { argument
660 return ucol_strcoll(UCA, source, sLen, target, tLen);
664 static UCollationResult winTest(void *collator, const int object, const UChar *source, const int sLen, const UChar *target, const int tLen) {
667 return (UCollationResult)CompareString(lcid, 0, source, sLen, target, tLen);
676 const UChar *s, const uint32_t sLen,
686 return func(collator, opts, source, sLen+1, target, tLen+1);
691 const UChar *s, const uint32_t sLen,
697 source[sLen] = s1;
701 return func(collator, opts, source, sLen
674 swampEarlier(tst_strcoll* func, void *collator, int opts, UChar s1, UChar s2, const UChar *s, const uint32_t sLen, const UChar *t, const uint32_t tLen) argument
689 swampLater(tst_strcoll* func, void *collator, int opts, UChar s1, UChar s2, const UChar *s, const uint32_t sLen, const UChar *t, const uint32_t tLen) argument
704 probeStrength(tst_strcoll* func, void *collator, int opts, const UChar *s, const uint32_t sLen, const UChar *t, const uint32_t tLen, UCollationResult result) argument
764 logFailure(const char *platform, const char *test, const UChar *source, const uint32_t sLen, const UChar *target, const uint32_t tLen, UCollationResult realRes, uint32_t realStrength, UCollationResult expRes, uint32_t expStrength, UBool error) argument
898 uint32_t sLen = u_strlen(first); local
2245 int sLen; local
4006 int32_t sLen = 0, tLen = 0; local
4913 int32_t rLen, tLen, ruleLen, sLen, kLen; local
[all...]
/external/icu4c/test/intltest/
H A Dtscoll.cpp108 IntlTestCollator::compareUsingPartials(UCollator *coll, const UChar source[], int32_t sLen, const UChar target[], int32_t tLen, int32_t pieceSize, UErrorCode &status) { argument
119 uiter_setString(&sIter, source, sLen);
162 int32_t sLen = source.length(), tLen = target.length(); local
169 uiter_setString(&sIter, src, sLen);
180 u_strToUTF8(utf8Source, 256, &utf8SourceLen, src, sLen, &status);
191 /*uiter_setString(&sIter, source, sLen);
227 partialSKResult = compareUsingPartials(myCollation, src, sLen, trg, tLen, partialSizes[i], status);
235 partialNormalizedSKResult = compareUsingPartials(myCollation, src, sLen, trg, tLen, partialSizes[i], status);
/external/webkit/Source/WebCore/platform/
H A DKURL.cpp264 static int findFirstOf(const UChar* s, int sLen, int startPos, const char* toFind) argument
266 for (int i = startPos; i < sLen; i++) {
/external/icu4c/i18n/
H A Ducol.cpp6932 int32_t sLen = (sColl->flags & UCOL_ITER_HASLEN) ? (int32_t)(sColl->endp - sColl->string) : -1; local
6944 sColl->nfd->normalize(UnicodeString((sColl->flags & UCOL_ITER_HASLEN) == 0, sBuf, sLen),
6955 comparison = u_strCompare(sBuf, sLen, tBuf, tLen, TRUE);
7668 int32_t sLen,
7691 if(sLen==-1) { // handling zero terminated strings
7698 if(sIndex==sLen) {
7706 return ucol_strcollRegular(coll, source, sLen, target, tLen, status);
7713 sOrder = ucol_getLatinOneContraction(coll, UCOL_PRIMARY, sOrder, source, &sIndex, sLen);
7720 return ucol_strcollRegular(coll, source, sLen, target, tLen, status);
7752 return ucol_strcollRegular(coll, source, sLen, targe
7666 ucol_strcollUseLatin1( const UCollator *coll, const UChar *source, int32_t sLen, const UChar *target, int32_t tLen, UErrorCode *status) argument
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 448 milliseconds