/external/icu/icu4c/source/common/ |
D | ubidiwrt.cpp | 59 doWriteForward(const UChar *src, int32_t srcLength, in doWriteForward() argument 67 int32_t length=srcLength; in doWriteForward() 70 return srcLength; in doWriteForward() 75 return srcLength; in doWriteForward() 82 if(destSize<srcLength) { in doWriteForward() 84 return srcLength; in doWriteForward() 87 U16_NEXT(src, i, srcLength, c); in doWriteForward() 90 } while(i<srcLength); in doWriteForward() 91 return srcLength; in doWriteForward() 104 while(--srcLength>0) { in doWriteForward() [all …]
|
D | ustr_wcs.cpp | 69 int32_t srcLength, in _strToWCS() argument 91 if(srcLength == -1){ in _strToWCS() 92 srcLength = u_strlen(pSrc); in _strToWCS() 95 pSrcLimit = pSrc + srcLength; in _strToWCS() 110 int32_t newCapacity = 2 * srcLength; in _strToWCS() 192 nulVal = (nulLen < srcLength) ? 1 : 0; in _strToWCS() 236 int32_t srcLength, in u_strToWCS() argument 244 if( (src==NULL && srcLength!=0) || srcLength < -1 || in u_strToWCS() 253 if(srcLength == -1){ in u_strToWCS() 254 srcLength = u_strlen(src); in u_strToWCS() [all …]
|
D | ustrtrns.cpp | 44 int32_t srcLength, in u_strFromUTF32WithSub() argument 58 if( (src==NULL && srcLength!=0) || srcLength < -1 || in u_strFromUTF32WithSub() 75 if(srcLength < 0) { in u_strFromUTF32WithSub() 92 srcLimit = (src!=NULL)?(src + srcLength):NULL; in u_strFromUTF32WithSub() 144 int32_t srcLength, in u_strFromUTF32() argument 148 src, srcLength, in u_strFromUTF32() 158 int32_t srcLength, in u_strToUTF32WithSub() argument 173 if( (src==NULL && srcLength!=0) || srcLength < -1 || in u_strToUTF32WithSub() 190 if(srcLength < 0) { in u_strToUTF32WithSub() 206 srcLimit = (src!=NULL)?(src + srcLength):NULL; in u_strToUTF32WithSub() [all …]
|
D | uidna.cpp | 59 startsWithPrefix(const UChar* src , int32_t srcLength){ in startsWithPrefix() argument 60 if(srcLength < ACE_PREFIX_LENGTH){ in startsWithPrefix() 145 getNextSeparator(UChar *src, int32_t srcLength, in getNextSeparator() argument 147 if(srcLength == -1){ in getNextSeparator() 163 for(i=0;i<srcLength;i++){ in getNextSeparator() 171 *limit = src+srcLength; in getNextSeparator() 194 _internal_toASCII(const UChar* src, int32_t srcLength, in _internal_toASCII() argument 226 if(srcLength == -1){ in _internal_toASCII() 227 srcLength = u_strlen(src); in _internal_toASCII() 230 if(srcLength > b1Capacity){ in _internal_toASCII() [all …]
|
D | ucasemap.cpp | 316 const uint8_t *src, UCaseContext *csc, int32_t srcLength, in toUpper() argument 332 if (U_FAILURE(errorCode) || srcIndex >= srcLength) { in toUpper() 356 if (0xc2 <= lead && lead <= 0xc5 && srcIndex < srcLength && in toUpper() 377 (srcIndex + 2) <= srcLength && in toUpper() 384 U8_NEXT(src, srcIndex, srcLength, c); in toUpper() 426 const uint8_t *src, int32_t srcLength, in ucasemap_internalUTF8ToTitle() argument 436 csc.limit=srcLength; in ucasemap_internalUTF8ToTitle() 441 while(prev<srcLength) { in ucasemap_internalUTF8ToTitle() 450 if(index==UBRK_DONE || index>srcLength) { in ucasemap_internalUTF8ToTitle() 451 index=srcLength; in ucasemap_internalUTF8ToTitle() [all …]
|
D | ustrcase_locale.cpp | 46 const UChar *src, int32_t srcLength, in u_strToLower() argument 52 src, srcLength, in u_strToLower() 58 const UChar *src, int32_t srcLength, in u_strToUpper() argument 64 src, srcLength, in u_strToUpper() 72 const UChar *src, int32_t srcLength, in toLower() argument 78 src, srcLength, in toLower() 84 const UChar *src, int32_t srcLength, in toUpper() argument 90 src, srcLength, in toUpper()
|
D | ubiditransform.cpp | 83 …uint32_t srcLength; /* input text length - not really needed as we are zer… member 131 ubidi_setPara(pTransform->pBidi, pTransform->src, pTransform->srcLength, in action_resolve() 151 *pTransform->pDestLength = pTransform->srcLength; in action_reorder() 204 ubidi_writeReverse(pTransform->src, pTransform->srcLength, in action_reverse() 207 *pTransform->pDestLength = pTransform->srcLength; in action_reverse() 245 pTransform->srcLength = u_terminateUChars(pTransform->src, in updateSrc() 260 pTransform->srcLength, pTransform->dest, pTransform->destSize, in doShape() 311 if (pTransform->destSize < pTransform->srcLength) { in action_mirror() 317 U16_NEXT(pTransform->src, i, pTransform->srcLength, c); in action_mirror() 319 } while (i < pTransform->srcLength); in action_mirror() [all …]
|
D | unistr.cpp | 323 int32_t srcLength) { in UnicodeString() argument 325 setTo(that, srcStart, srcLength); in UnicodeString() 553 int32_t srcLength = src.length(); in copyFrom() local 554 if(allocate(srcLength)) { in copyFrom() 555 u_memcpy(getArrayStart(), src.getArrayStart(), srcLength); in copyFrom() 556 setLength(srcLength); in copyFrom() 669 int32_t srcLength) const in doCompare() 694 if(srcLength < 0) { in doCompare() 695 srcLength = u_strlen(srcChars + srcStart); in doCompare() 699 if(length != srcLength) { in doCompare() [all …]
|
D | ustr_titlecase_brkiter.cpp | 168 const UChar *src, int32_t srcLength, in toTitle() argument 176 UnicodeString s(srcLength<0, src, srcLength); in toTitle() 181 src, srcLength, in toTitle() 191 const UChar *src, int32_t srcLength, in u_strToTitle() argument 202 UnicodeString s(srcLength<0, src, srcLength); in u_strToTitle() 207 src, srcLength, in u_strToTitle() 214 const UChar *src, int32_t srcLength, in ucasemap_toTitle() argument 228 UnicodeString s(srcLength<0, src, srcLength); in ucasemap_toTitle() 233 src, srcLength, in ucasemap_toTitle()
|
D | unorm.cpp | 48 int32_t srcLength, in unorm_quickCheck() argument 52 return unorm2_quickCheck((const UNormalizer2 *)n2, src, srcLength, pErrorCode); in unorm_quickCheck() 56 unorm_quickCheckWithOptions(const UChar *src, int32_t srcLength, in unorm_quickCheckWithOptions() argument 64 src, srcLength, pErrorCode); in unorm_quickCheckWithOptions() 66 return unorm2_quickCheck((const UNormalizer2 *)n2, src, srcLength, pErrorCode); in unorm_quickCheckWithOptions() 71 unorm_isNormalized(const UChar *src, int32_t srcLength, in unorm_isNormalized() argument 75 return unorm2_isNormalized((const UNormalizer2 *)n2, src, srcLength, pErrorCode); in unorm_isNormalized() 79 unorm_isNormalizedWithOptions(const UChar *src, int32_t srcLength, in unorm_isNormalizedWithOptions() argument 87 src, srcLength, pErrorCode); in unorm_isNormalizedWithOptions() 89 return unorm2_isNormalized((const UNormalizer2 *)n2, src, srcLength, pErrorCode); in unorm_isNormalizedWithOptions() [all …]
|
D | ucasemap_imp.h | 143 const UChar *src, int32_t srcLength, 151 const UChar *src, int32_t srcLength, 162 const UChar *src, int32_t srcLength, 172 const UChar *src, int32_t srcLength, 183 const UChar *src, int32_t srcLength, 196 const UChar *src, int32_t srcLength, 211 const uint8_t *src, int32_t srcLength, 221 const uint8_t *src, int32_t srcLength, 229 const char *src, int32_t srcLength, 241 const char *src, int32_t srcLength,
|
D | punycode.cpp | 184 u_strToPunycode(const UChar *src, int32_t srcLength, in u_strToPunycode() argument 198 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) { in u_strToPunycode() 208 if(srcLength==-1) { in u_strToPunycode() 245 for(j=0; j<srcLength; ++j) { in u_strToPunycode() 265 } else if(U16_IS_LEAD(c) && (j+1)<srcLength && U16_IS_TRAIL(c2=src[j+1])) { in u_strToPunycode() 377 u_strFromPunycode(const UChar *src, int32_t srcLength, in u_strFromPunycode() argument 390 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) { in u_strFromPunycode() 395 if(srcLength==-1) { in u_strFromPunycode() 396 srcLength=u_strlen(src); in u_strFromPunycode() 407 for(j=srcLength; j>0;) { in u_strFromPunycode() [all …]
|
D | ustrcase.cpp | 302 const UChar *src, UCaseContext *csc, int32_t srcLength, in toUpper() argument 317 while (srcIndex < srcLength) { in toUpper() 351 if (srcIndex >= srcLength) { in toUpper() 359 if (U16_IS_LEAD(lead) && srcIndex < srcLength && U16_IS_TRAIL(trail = src[srcIndex])) { in toUpper() 402 const UChar *src, int32_t srcLength, in ustrcase_internalToTitle() argument 412 csc.limit=srcLength; in ustrcase_internalToTitle() 418 while(prev<srcLength) { in ustrcase_internalToTitle() 427 if(index==UBRK_DONE || index>srcLength) { in ustrcase_internalToTitle() 428 index=srcLength; in ustrcase_internalToTitle() 1024 const UChar *src, int32_t srcLength, in toUpper() argument [all …]
|
/external/icu/icu4c/source/common/unicode/ |
D | unistr.h | 74 const char16_t *src, int32_t srcLength, 427 int32_t srcLength) const; 442 int32_t srcLength) const; 483 int32_t srcLength) const; 575 int32_t srcLength) const; 596 int32_t srcLength) const; 646 int32_t srcLength) const; 746 int32_t srcLength, 769 int32_t srcLength, 823 int32_t srcLength, [all …]
|
D | casemap.h | 67 const char16_t *src, int32_t srcLength, 103 const char16_t *src, int32_t srcLength, 154 const char16_t *src, int32_t srcLength, 196 const char16_t *src, int32_t srcLength, 355 const char *src, int32_t srcLength, 391 const char *src, int32_t srcLength, 441 const char *src, int32_t srcLength, 483 const char *src, int32_t srcLength,
|
D | ustring.h | 1071 const UChar *src, int32_t srcLength, 1097 const UChar *src, int32_t srcLength, 1143 const UChar *src, int32_t srcLength, 1176 const UChar *src, int32_t srcLength, 1208 int32_t srcLength, 1237 int32_t srcLength, 1268 int32_t srcLength, 1298 int32_t srcLength, 1341 int32_t srcLength, 1386 int32_t srcLength, [all …]
|
D | ucasemap.h | 232 const UChar *src, int32_t srcLength, 263 const char *src, int32_t srcLength, 292 const char *src, int32_t srcLength, 344 const char *src, int32_t srcLength, 382 const char *src, int32_t srcLength,
|
/external/icu/icu4c/source/test/intltest/ |
D | idnaref.cpp | 49 startsWithPrefix(const UChar* src , int32_t srcLength){ in startsWithPrefix() argument 52 if(srcLength < ACE_PREFIX_LENGTH){ in startsWithPrefix() 131 static int32_t convertToPuny(const UChar* src, int32_t srcLength, in convertToPuny() argument 143 u_strToUTF32((UChar32*)b1,b1Capacity,&b1Len,src,srcLength,&status); in convertToPuny() 155 u_strToUTF32((UChar32*)b1,b1Len,&b1Len,src,srcLength,&status); in convertToPuny() 212 static int32_t convertFromPuny( const UChar* src, int32_t srcLength, in convertFromPuny() argument 219 convertUCharsToASCII(src, b1,srcLength); in convertFromPuny() 225 punycode_status error = punycode_decode(srcLength,b1,(uint32_t*)&b2Len,b2,caseFlags); in convertFromPuny() 233 error = punycode_decode(srcLength,b1,(uint32_t*)&b2Len,b2,caseFlags); in convertFromPuny() 257 idnaref_toASCII(const UChar* src, int32_t srcLength, in idnaref_toASCII() argument [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | BidiWriter.java | 138 int srcLength = src.length(); in writeReverse() local 144 int i = srcLength; in writeReverse() 147 srcLength -= UTF16.getCharCount(UTF16.charAt(src, in writeReverse() 148 srcLength - 1)); in writeReverse() 151 dest.append(src.substring(srcLength, i)); in writeReverse() 152 } while(srcLength > 0); in writeReverse() 163 srcLength = src.length(); in writeReverse() 170 int i = srcLength; in writeReverse() 175 c = UTF16.charAt(src, srcLength - 1); in writeReverse() 176 srcLength -= UTF16.getCharCount(c); in writeReverse() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | BidiWriter.java | 139 int srcLength = src.length(); in writeReverse() local 145 int i = srcLength; in writeReverse() 148 srcLength -= UTF16.getCharCount(UTF16.charAt(src, in writeReverse() 149 srcLength - 1)); in writeReverse() 152 dest.append(src.substring(srcLength, i)); in writeReverse() 153 } while(srcLength > 0); in writeReverse() 164 srcLength = src.length(); in writeReverse() 171 int i = srcLength; in writeReverse() 176 c = UTF16.charAt(src, srcLength - 1); in writeReverse() 177 srcLength -= UTF16.getCharCount(c); in writeReverse() [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | nfsprep.c | 42 nfs4_prepare( const char* src, int32_t srcLength, in nfs4_prepare() argument 68 if((src==NULL) || (srcLength < -1) || (destCapacity<0) || (!dest && destCapacity > 0)){ in nfs4_prepare() 75 u_strFromUTF8(b1,b1Capacity,&b1Len,src,srcLength,status); in nfs4_prepare() 88 u_strFromUTF8(b1, b1Capacity, &b1Len, src, srcLength, status); in nfs4_prepare() 176 getPrefixSuffix(const char *src, int32_t srcLength, in getPrefixSuffix() argument 183 while(i<srcLength){ in getPrefixSuffix() 185 if((i+1) == srcLength){ in getPrefixSuffix() 198 *suffixLen = srcLength - i; in getPrefixSuffix() 208 nfs4_mixed_prepare( const char* src, int32_t srcLength, in nfs4_mixed_prepare() argument 226 if((src==NULL) || (srcLength < -1) || (destCapacity<0) || (!dest && destCapacity > 0)){ in nfs4_mixed_prepare() [all …]
|
D | nfsprep.h | 54 nfs4_prepare(const char* src, int32_t srcLength, 70 nfs4_mixed_prepare( const char* src, int32_t srcLength, 85 nfs4_cis_prepare( const char* src, int32_t srcLength, 100 nfs4_cs_prepare( const char* src, int32_t srcLength,
|
/external/v8/src/builtins/ |
D | typed-array-subarray.tq | 22 // 6. Let srcLength be O.[[ArrayLength]]. 23 const srcLength: uintptr = source.length; 26 // 8. If relativeBegin < 0, let beginIndex be max((srcLength + 28 // srcLength). 31 arg0 != Undefined ? ConvertToRelativeIndex(arg0, srcLength) : 0; 33 // 9. If end is undefined, let relativeEnd be srcLength; 35 // 10. If relativeEnd < 0, let endIndex be max((srcLength + relativeEnd), 36 // 0); else let endIndex be min(relativeEnd, srcLength). 39 arg1 != Undefined ? ConvertToRelativeIndex(arg1, srcLength) : srcLength;
|
/external/icu/libandroidicu/include/unicode/ |
D | ustring.h | 1071 const UChar *src, int32_t srcLength, 1097 const UChar *src, int32_t srcLength, 1143 const UChar *src, int32_t srcLength, 1176 const UChar *src, int32_t srcLength, 1208 int32_t srcLength, 1237 int32_t srcLength, 1268 int32_t srcLength, 1298 int32_t srcLength, 1341 int32_t srcLength, 1386 int32_t srcLength, [all …]
|
D | ucasemap.h | 232 const UChar *src, int32_t srcLength, 263 const char *src, int32_t srcLength, 292 const char *src, int32_t srcLength, 344 const char *src, int32_t srcLength, 382 const char *src, int32_t srcLength,
|