/external/icu4c/common/ |
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,
|
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 == -1) [all...] |
ubidiwrt.c | 62 doWriteForward(const UChar *src, int32_t srcLength, 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>0) [all...] |
uidna.cpp | 57 startsWithPrefix(const UChar* src , int32_t srcLength){ 60 if(srcLength < ACE_PREFIX_LENGTH){ 145 getNextSeparator(UChar *src, int32_t srcLength, 147 if(srcLength == -1){ 163 for(i=0;i<srcLength;i++){ 170 // if(i==srcLength) 171 *limit = src+srcLength; 194 _internal_toASCII(const UChar* src, int32_t srcLength, 226 if(srcLength == -1){ 227 srcLength = u_strlen(src) [all...] |
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,
|
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, [all...] |
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, 64 src, srcLength, pErrorCode); 66 return unorm2_quickCheck((const UNormalizer2 *)n2, src, srcLength, pErrorCode); 71 unorm_isNormalized(const UChar *src, int32_t srcLength, 75 return unorm2_isNormalized((const UNormalizer2 *)n2, src, srcLength, pErrorCode); 79 unorm_isNormalizedWithOptions(const UChar *src, int32_t srcLength, 87 src, srcLength, pErrorCode); 89 return unorm2_isNormalized((const UNormalizer2 *)n2, src, srcLength, pErrorCode) [all...] |
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 < -1 | [all...] |
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);
|
ustr_imp.h | 123 const UChar *src, int32_t srcLength, 132 const UChar *src, int32_t srcLength, 139 const UChar *src, int32_t srcLength, 148 const UChar *src, int32_t srcLength, 157 const UChar *src, int32_t srcLength, 167 const UChar *src, int32_t srcLength, 181 const uint8_t *src, int32_t srcLength, 188 const uint8_t *src, int32_t srcLength, 198 const uint8_t *src, int32_t srcLength,
|
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);
|
/external/chromium_org/third_party/icu/source/common/ |
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 == -1) [all...] |
ubidiwrt.c | 61 doWriteForward(const UChar *src, int32_t srcLength, 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>0) [all...] |
uidna.cpp | 57 startsWithPrefix(const UChar* src , int32_t srcLength){ 60 if(srcLength < ACE_PREFIX_LENGTH){ 145 getNextSeparator(UChar *src, int32_t srcLength, 147 if(srcLength == -1){ 163 for(i=0;i<srcLength;i++){ 170 // if(i==srcLength) 171 *limit = src+srcLength; 194 _internal_toASCII(const UChar* src, int32_t srcLength, 226 if(srcLength == -1){ 227 srcLength = u_strlen(src) [all...] |
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, [all...] |
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, 64 src, srcLength, pErrorCode); 66 return unorm2_quickCheck((const UNormalizer2 *)n2, src, srcLength, pErrorCode); 71 unorm_isNormalized(const UChar *src, int32_t srcLength, 75 return unorm2_isNormalized((const UNormalizer2 *)n2, src, srcLength, pErrorCode); 79 unorm_isNormalizedWithOptions(const UChar *src, int32_t srcLength, 87 src, srcLength, pErrorCode); 89 return unorm2_isNormalized((const UNormalizer2 *)n2, src, srcLength, pErrorCode) [all...] |
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 < -1 | [all...] |
ustrcase.c | 119 * context [0..srcLength[ into account. 212 int32_t srcLength, 220 ubrk_setText(csm->iter, src, srcLength, pErrorCode); 223 src, srcLength, 236 while(prev<srcLength) { 244 if(idx==UBRK_DONE || idx>srcLength) { 245 idx=srcLength; 346 const UChar *src, int32_t srcLength, 355 csc.limit=srcLength; 359 src, &csc, 0, srcLength, [all...] |
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);
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
nfsprep.c | 40 nfs4_prepare( const char* src, int32_t srcLength, 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, 181 while(i<srcLength){ 183 if((i+1) == srcLength){ 196 *suffixLen = srcLength - i; 206 nfs4_mixed_prepare( const char* src, int32_t srcLength, 224 if((src==NULL) || (srcLength < -1) || (destCapacity<0) || (!dest && destCapacity > 0)) [all...] |
nfsprep.h | 52 nfs4_prepare(const char* src, int32_t srcLength, 68 nfs4_mixed_prepare( const char* src, int32_t srcLength, 83 nfs4_cis_prepare( const char* src, int32_t srcLength, 98 nfs4_cs_prepare( const char* src, int32_t srcLength,
|
/external/icu4c/test/cintltst/ |
nfsprep.c | 40 nfs4_prepare( const char* src, int32_t srcLength, 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, 181 while(i<srcLength){ 183 if((i+1) == srcLength){ 196 *suffixLen = srcLength - i; 206 nfs4_mixed_prepare( const char* src, int32_t srcLength, 224 if((src==NULL) || (srcLength < -1) || (destCapacity<0) || (!dest && destCapacity > 0)) [all...] |
nfsprep.h | 52 nfs4_prepare(const char* src, int32_t srcLength, 68 nfs4_mixed_prepare( const char* src, int32_t srcLength, 83 nfs4_cis_prepare( const char* src, int32_t srcLength, 98 nfs4_cs_prepare( const char* src, int32_t srcLength,
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
idnaref.cpp | 47 startsWithPrefix(const UChar* src , int32_t srcLength){ 50 if(srcLength < ACE_PREFIX_LENGTH){ 129 static int32_t convertToPuny(const UChar* src, int32_t srcLength, 141 u_strToUTF32((UChar32*)b1,b1Capacity,&b1Len,src,srcLength,&status); 153 u_strToUTF32((UChar32*)b1,b1Len,&b1Len,src,srcLength,&status); 199 static int32_t convertFromPuny( const UChar* src, int32_t srcLength, 206 convertUCharsToASCII(src, b1,srcLength); 211 unsigned char* caseFlags = NULL; //(unsigned char*) uprv_malloc(srcLength * sizeof(unsigned char*)); 212 punycode_status error = punycode_decode(srcLength,b1,(uint32_t*)&b2Len,b2,caseFlags); 220 error = punycode_decode(srcLength,b1,(uint32_t*)&b2Len,b2,caseFlags) [all...] |
/external/icu4c/test/intltest/ |
idnaref.cpp | 47 startsWithPrefix(const UChar* src , int32_t srcLength){ 50 if(srcLength < ACE_PREFIX_LENGTH){ 129 static int32_t convertToPuny(const UChar* src, int32_t srcLength, 141 u_strToUTF32((UChar32*)b1,b1Capacity,&b1Len,src,srcLength,&status); 153 u_strToUTF32((UChar32*)b1,b1Len,&b1Len,src,srcLength,&status); 199 static int32_t convertFromPuny( const UChar* src, int32_t srcLength, 206 convertUCharsToASCII(src, b1,srcLength); 211 unsigned char* caseFlags = NULL; //(unsigned char*) uprv_malloc(srcLength * sizeof(unsigned char*)); 212 punycode_status error = punycode_decode(srcLength,b1,(uint32_t*)&b2Len,b2,caseFlags); 220 error = punycode_decode(srcLength,b1,(uint32_t*)&b2Len,b2,caseFlags) [all...] |