/external/icu4c/common/ |
H A D | ucasemap_titlecase_brkiter.cpp | 46 const char *src, int32_t srcLength, 49 utext_openUTF8(&utext, (const char *)src, srcLength, pErrorCode); 61 (const uint8_t *)src, srcLength, 44 ucasemap_utf8ToTitle(UCaseMap *csm, char *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument
|
H A D | unistr_titlecase_brkiter.cpp | 32 const UChar *src, int32_t srcLength, 34 ubrk_setText(csm->iter, src, srcLength, pErrorCode); 35 return ustrcase_internalToTitle(csm, dest, destCapacity, src, srcLength, pErrorCode); 30 unistr_case_internalToTitle(const UCaseMap *csm, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument
|
H A D | ustr_titlecase_brkiter.cpp | 52 const UChar *src, int32_t srcLength, 59 ubrk_setText(csm.iter=titleIter, src, srcLength, pErrorCode); 61 csm.iter=ubrk_open(UBRK_WORD, csm.locale, src, srcLength, pErrorCode); 66 src, srcLength, 77 const UChar *src, int32_t srcLength, 80 ubrk_setText(csm->iter, src, srcLength, pErrorCode); 82 csm->iter=ubrk_open(UBRK_WORD, csm->locale, src, srcLength, pErrorCode); 87 src, srcLength, 51 u_strToTitle(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UBreakIterator *titleIter, const char *locale, UErrorCode *pErrorCode) argument 75 ucasemap_toTitle(UCaseMap *csm, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument
|
H A D | ustrcase_locale.cpp | 86 const UChar *src, int32_t srcLength, 94 src, srcLength, 100 const UChar *src, int32_t srcLength, 108 src, srcLength, 85 u_strToLower(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode) argument 99 u_strToUpper(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode) argument
|
H A D | ustrtrns.cpp | 42 int32_t srcLength, 56 if( (src==NULL && srcLength!=0) || srcLength < -1 || 73 if(srcLength < 0) { 90 srcLimit = (src!=NULL)?(src + srcLength):NULL; 142 int32_t srcLength, 146 src, srcLength, 156 int32_t srcLength, 171 if( (src==NULL && srcLength!=0) || srcLength < 38 u_strFromUTF32WithSub(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const UChar32 *src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) argument 138 u_strFromUTF32(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const UChar32 *src, int32_t srcLength, UErrorCode *pErrorCode) argument 152 u_strToUTF32WithSub(UChar32 *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) argument 244 u_strToUTF32(UChar32 *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument [all...] |
H A D | ubidiwrt.c | 62 doWriteForward(const UChar *src, int32_t srcLength, argument 70 int32_t length=srcLength; 73 return srcLength; 78 return srcLength; 85 if(destSize<srcLength) { 87 return srcLength; 90 U16_NEXT(src, i, srcLength, c); 93 } while(i<srcLength); 94 return srcLength; 107 while(--srcLength> 155 doWriteReverse(const UChar *src, int32_t srcLength, UChar *dest, int32_t destSize, uint16_t options, UErrorCode *pErrorCode) argument 312 ubidi_writeReverse(const UChar *src, int32_t srcLength, UChar *dest, int32_t destSize, uint16_t options, UErrorCode *pErrorCode) argument [all...] |
H A D | unistr_case.cpp | 40 int32_t srcLength, 53 srcStart = srcLength = 0; 66 int32_t result=u_strcmpFold(chars, length, srcChars, srcLength, 72 // get the srcLength if necessary 73 if(srcLength < 0) { 74 srcLength = u_strlen(srcChars + srcStart); 76 if(length != srcLength) { 77 return (int8_t)((length - srcLength) >> 24 | 1); 36 doCaseCompare(int32_t start, int32_t length, const UChar *srcChars, int32_t srcStart, int32_t srcLength, uint32_t options) const argument
|
H A D | unistr_cnv.cpp | 85 UnicodeString::UnicodeString(const char *src, int32_t srcLength, argument 95 } else if(srcLength<-1) { 99 if(srcLength==-1) { 100 srcLength=(int32_t)uprv_strlen(src); 102 if(srcLength>0) { 106 doCodepageCreate(src, srcLength, cnv, errorCode); 110 doCodepageCreate(src, srcLength, cnv, errorCode);
|
H A D | unorm.cpp | 48 int32_t srcLength, 52 return unorm2_quickCheck((const UNormalizer2 *)n2, src, srcLength, pErrorCode); 56 unorm_quickCheckWithOptions(const UChar *src, int32_t srcLength, argument 64 src, srcLength, pErrorCode); 66 return unorm2_quickCheck((const UNormalizer2 *)n2, src, srcLength, pErrorCode); 71 unorm_isNormalized(const UChar *src, int32_t srcLength, argument 75 return unorm2_isNormalized((const UNormalizer2 *)n2, src, srcLength, pErrorCode); 79 unorm_isNormalizedWithOptions(const UChar *src, int32_t srcLength, argument 87 src, srcLength, pErrorCode); 89 return unorm2_isNormalized((const UNormalizer2 *)n2, src, srcLength, pErrorCod 47 unorm_quickCheck(const UChar *src, int32_t srcLength, UNormalizationMode mode, UErrorCode *pErrorCode) argument 97 unorm_normalize(const UChar *src, int32_t srcLength, UNormalizationMode mode, int32_t options, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) argument [all...] |
H A D | punycode.cpp | 182 u_strToPunycode(const UChar *src, int32_t srcLength, argument 196 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) { 206 if(srcLength==-1) { 243 for(j=0; j<srcLength; ++j) { 263 } else if(U16_IS_LEAD(c) && (j+1)<srcLength && U16_IS_TRAIL(c2=src[j+1])) { 375 u_strFromPunycode(const UChar *src, int32_t srcLength, argument 388 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) { 393 if(srcLength==-1) { 394 srcLength=u_strlen(src); 405 for(j=srcLength; [all...] |
H A D | ucasemap.cpp | 211 * context [0..srcLength[ into account. 260 const uint8_t *src, int32_t srcLength, 279 csc.limit=srcLength; 285 while(prev<srcLength) { 293 if(idx==UBRK_DONE || idx>srcLength) { 294 idx=srcLength; 392 const uint8_t *src, int32_t srcLength, 396 csc.limit=srcLength; 400 src, &csc, 0, srcLength, 407 const uint8_t *src, int32_t srcLength, 258 ucasemap_internalUTF8ToTitle(const UCaseMap *csm, uint8_t *dest, int32_t destCapacity, const uint8_t *src, int32_t srcLength, UErrorCode *pErrorCode) argument 390 ucasemap_internalUTF8ToLower(const UCaseMap *csm, uint8_t *dest, int32_t destCapacity, const uint8_t *src, int32_t srcLength, UErrorCode *pErrorCode) argument 405 ucasemap_internalUTF8ToUpper(const UCaseMap *csm, uint8_t *dest, int32_t destCapacity, const uint8_t *src, int32_t srcLength, UErrorCode *pErrorCode) argument 420 utf8_foldCase(const UCaseProps *csp, uint8_t *dest, int32_t destCapacity, const uint8_t *src, int32_t srcLength, uint32_t options, UErrorCode *pErrorCode) argument 458 ucasemap_internalUTF8Fold(const UCaseMap *csm, uint8_t *dest, int32_t destCapacity, const uint8_t *src, int32_t srcLength, UErrorCode *pErrorCode) argument 466 ucasemap_mapUTF8(const UCaseMap *csm, uint8_t *dest, int32_t destCapacity, const uint8_t *src, int32_t srcLength, UTF8CaseMapper *stringCaseMapper, UErrorCode *pErrorCode) argument 507 ucasemap_utf8ToLower(const UCaseMap *csm, char *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument 518 ucasemap_utf8ToUpper(const UCaseMap *csm, char *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument 529 ucasemap_utf8FoldCase(const UCaseMap *csm, char *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument [all...] |
H A D | ustr_wcs.cpp | 67 int32_t srcLength, 89 if(srcLength == -1){ 90 srcLength = u_strlen(pSrc); 93 pSrcLimit = pSrc + srcLength; 108 int32_t newCapacity = 2 * srcLength; 190 nulVal = (nulLen < srcLength) ? 1 : 0; 234 int32_t srcLength, 242 if( (src==NULL && srcLength!=0) || srcLength < -1 || 251 if(srcLength 63 _strToWCS(wchar_t *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument 230 u_strToWCS(wchar_t *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument 281 _strFromWCS( UChar *dest, int32_t destCapacity, int32_t *pDestLength, const wchar_t *src, int32_t srcLength, UErrorCode *pErrorCode) argument 484 u_strFromWCS(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const wchar_t *src, int32_t srcLength, UErrorCode *pErrorCode) argument [all...] |
/external/chromium_org/third_party/icu/source/common/ |
H A D | ubidiwrt.c | 61 doWriteForward(const UChar *src, int32_t srcLength, argument 69 int32_t length=srcLength; 72 return srcLength; 77 return srcLength; 84 if(destSize<srcLength) { 86 return srcLength; 89 UTF_NEXT_CHAR(src, i, srcLength, c); 92 } while(i<srcLength); 93 return srcLength; 106 while(--srcLength> 154 doWriteReverse(const UChar *src, int32_t srcLength, UChar *dest, int32_t destSize, uint16_t options, UErrorCode *pErrorCode) argument 311 ubidi_writeReverse(const UChar *src, int32_t srcLength, UChar *dest, int32_t destSize, uint16_t options, UErrorCode *pErrorCode) argument [all...] |
H A D | unistr_case.cpp | 42 int32_t srcLength, 55 srcStart = srcLength = 0; 66 int32_t result=u_strcmpFold(chars, length, srcChars, srcLength, 72 // get the srcLength if necessary 73 if(srcLength < 0) { 74 srcLength = u_strlen(srcChars + srcStart); 76 if(length != srcLength) { 77 return (int8_t)((length - srcLength) >> 24 | 1); 38 doCaseCompare(int32_t start, int32_t length, const UChar *srcChars, int32_t srcStart, int32_t srcLength, uint32_t options) const argument
|
H A D | unistr_cnv.cpp | 85 UnicodeString::UnicodeString(const char *src, int32_t srcLength, argument 95 } else if(srcLength<-1) { 99 if(srcLength==-1) { 100 srcLength=(int32_t)uprv_strlen(src); 102 if(srcLength>0) { 106 doCodepageCreate(src, srcLength, cnv, errorCode); 110 doCodepageCreate(src, srcLength, cnv, errorCode);
|
H A D | unorm.cpp | 48 int32_t srcLength, 52 return unorm2_quickCheck((const UNormalizer2 *)n2, src, srcLength, pErrorCode); 56 unorm_quickCheckWithOptions(const UChar *src, int32_t srcLength, argument 64 src, srcLength, pErrorCode); 66 return unorm2_quickCheck((const UNormalizer2 *)n2, src, srcLength, pErrorCode); 71 unorm_isNormalized(const UChar *src, int32_t srcLength, argument 75 return unorm2_isNormalized((const UNormalizer2 *)n2, src, srcLength, pErrorCode); 79 unorm_isNormalizedWithOptions(const UChar *src, int32_t srcLength, argument 87 src, srcLength, pErrorCode); 89 return unorm2_isNormalized((const UNormalizer2 *)n2, src, srcLength, pErrorCod 47 unorm_quickCheck(const UChar *src, int32_t srcLength, UNormalizationMode mode, UErrorCode *pErrorCode) argument 97 unorm_normalize(const UChar *src, int32_t srcLength, UNormalizationMode mode, int32_t options, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) argument [all...] |
H A D | punycode.c | 179 u_strToPunycode(const UChar *src, int32_t srcLength, argument 193 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) { 203 if(srcLength==-1) { 240 for(j=0; j<srcLength; ++j) { 260 } else if(UTF_IS_LEAD(c) && (j+1)<srcLength && UTF_IS_TRAIL(c2=src[j+1])) { 372 u_strFromPunycode(const UChar *src, int32_t srcLength, argument 385 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) { 390 if(srcLength==-1) { 391 srcLength=u_strlen(src); 402 for(j=srcLength; [all...] |
H A D | ucasemap.c | 219 * context [0..srcLength[ into account. 272 int32_t srcLength, 280 utext_openUTF8(&utext, (const char *)src, srcLength, pErrorCode); 301 while(prev<srcLength) { 309 if(idx==UBRK_DONE || idx>srcLength) { 310 idx=srcLength; 410 const uint8_t *src, int32_t srcLength, 421 while(srcIndex<srcLength) { 423 U8_NEXT(src, srcIndex, srcLength, c); 455 const uint8_t *src, int32_t srcLength, 269 _toTitle(UCaseMap *csm, uint8_t *dest, int32_t destCapacity, const uint8_t *src, UCaseContext *csc, int32_t srcLength, UErrorCode *pErrorCode) argument 408 utf8_foldCase(const UCaseProps *csp, uint8_t *dest, int32_t destCapacity, const uint8_t *src, int32_t srcLength, uint32_t options, UErrorCode *pErrorCode) argument 453 caseMap(const UCaseMap *csm, uint8_t *dest, int32_t destCapacity, const uint8_t *src, int32_t srcLength, int32_t toWhichCase, UErrorCode *pErrorCode) argument 529 ucasemap_utf8ToLower(const UCaseMap *csm, char *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument 540 ucasemap_utf8ToUpper(const UCaseMap *csm, char *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument 553 ucasemap_utf8ToTitle(UCaseMap *csm, char *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument 566 ucasemap_utf8FoldCase(const UCaseMap *csm, char *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument [all...] |
H A D | ustr_wcs.c | 64 int32_t srcLength, 86 if(srcLength == -1){ 87 srcLength = u_strlen(pSrc); 90 pSrcLimit = pSrc + srcLength; 106 (_BUFFER_CAPACITY_MULTIPLIER * (srcLength)), count,sizeof(char))){ 183 nulVal = (nulLen < srcLength) ? 1 : 0; 227 int32_t srcLength, 235 if( (src==NULL && srcLength!=0) || srcLength < -1 || 244 if(srcLength 60 _strToWCS(wchar_t *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument 223 u_strToWCS(wchar_t *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument 274 _strFromWCS( UChar *dest, int32_t destCapacity, int32_t *pDestLength, const wchar_t *src, int32_t srcLength, UErrorCode *pErrorCode) argument 477 u_strFromWCS(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const wchar_t *src, int32_t srcLength, UErrorCode *pErrorCode) argument [all...] |
H A D | ustrtrns.c | 38 int32_t srcLength, 52 if( (src==NULL && srcLength!=0) || srcLength < -1 || 69 if(srcLength < 0) { 86 srcLimit = src + srcLength; 138 int32_t srcLength, 142 src, srcLength, 152 int32_t srcLength, 167 if( (src==NULL && srcLength!=0) || srcLength < 34 u_strFromUTF32WithSub(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const UChar32 *src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) argument 134 u_strFromUTF32(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const UChar32 *src, int32_t srcLength, UErrorCode *pErrorCode) argument 148 u_strToUTF32WithSub(UChar32 *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) argument 240 u_strToUTF32(UChar32 *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument 394 u_strFromUTF8WithSub(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const char* src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) argument 718 u_strFromUTF8(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const char* src, int32_t srcLength, UErrorCode *pErrorCode) argument 732 u_strFromUTF8Lenient(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument 971 u_strToUTF8WithSub(char *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *pSrc, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) argument 1235 u_strToUTF8(char *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *pSrc, int32_t srcLength, UErrorCode *pErrorCode) argument 1249 u_strFromJavaModifiedUTF8WithSub( UChar *dest, int32_t destCapacity, int32_t *pDestLength, const char *src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) argument 1502 u_strToJavaModifiedUTF8( char *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | nptrans.cpp | 139 int32_t NamePrepTransform::map(const UChar* src, int32_t srcLength, argument 149 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) { 154 UnicodeString rsource(src,srcLength); 184 int32_t NamePrepTransform::process( const UChar* src, int32_t srcLength, argument 195 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) { 208 b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status); 216 b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status);
|
/external/icu4c/test/intltest/ |
H A D | nptrans.cpp | 139 int32_t NamePrepTransform::map(const UChar* src, int32_t srcLength, argument 149 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) { 154 UnicodeString rsource(src,srcLength); 184 int32_t NamePrepTransform::process( const UChar* src, int32_t srcLength, argument 195 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) { 208 b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status); 216 b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status);
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | SVGFontFaceElement.cpp | 312 unsigned srcLength = srcList ? srcList->length() : 0; local 313 for (unsigned i = 0; i < srcLength; i++) {
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
H A D | nfsprep.c | 40 nfs4_prepare( const char* src, int32_t srcLength, argument 66 if((src==NULL) || (srcLength < -1) || (destCapacity<0) || (!dest && destCapacity > 0)){ 73 u_strFromUTF8(b1,b1Capacity,&b1Len,src,srcLength,status); 86 u_strFromUTF8(b1, b1Capacity, &b1Len, src, srcLength, status); 174 getPrefixSuffix(const char *src, int32_t srcLength, argument 181 while(i<srcLength){ 183 if((i+1) == srcLength){ 196 *suffixLen = srcLength - i; 206 nfs4_mixed_prepare( const char* src, int32_t srcLength, argument 224 if((src==NULL) || (srcLength < 280 nfs4_cis_prepare( const char* src, int32_t srcLength, char* dest, int32_t destCapacity, UParseError* parseError, UErrorCode* status) argument 289 nfs4_cs_prepare( const char* src, int32_t srcLength, char* dest, int32_t destCapacity, UBool isCaseSensitive, UParseError* parseError, UErrorCode* status) argument [all...] |
H A D | spreptst.c | 760 int32_t srcLength, resultLength, expectedLength; local 780 srcLength = resultLength = expectedLength = SPREP_PROFILE_TEST_MAX_LENGTH; 784 srcLength = u_unescape(profile_test_case[i], src, srcLength); 787 resultLength = usprep_prepare(sprep, src, srcLength, result, resultLength, USPREP_ALLOW_UNASSIGNED, NULL, &status);
|