/external/icu/icu4c/source/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 | 57 doWriteForward(const UChar *src, int32_t srcLength, 65 int32_t length=srcLength; 68 return srcLength; 73 return srcLength; 80 if(destSize<srcLength) { 82 return srcLength; 85 U16_NEXT(src, i, srcLength, c); 88 } while(i<srcLength); 89 return srcLength; 102 while(--srcLength>0) [all...] |
punycode.h | 45 * @param srcLength Number of UChars in src, or -1 if NUL-terminated. 67 u_strToPunycode(const UChar *src, int32_t srcLength, 78 * @param srcLength Length of puny, or -1 if NUL-terminated 102 u_strFromPunycode(const UChar *src, int32_t srcLength,
|
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,
|
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...] |
ustrcase_locale.cpp | 86 const UChar *src, int32_t srcLength, 94 src, srcLength, 100 const UChar *src, int32_t srcLength, 108 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...] |
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);
|
ustr_imp.h | 142 const UChar *src, int32_t srcLength, 151 const UChar *src, int32_t srcLength, 158 const UChar *src, int32_t srcLength, 167 const UChar *src, int32_t srcLength, 176 const UChar *src, int32_t srcLength, 186 const UChar *src, int32_t srcLength, 200 const uint8_t *src, int32_t srcLength, 207 const uint8_t *src, int32_t srcLength, 217 const uint8_t *src, int32_t srcLength,
|
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);
|
unorm.cpp | 46 int32_t srcLength, 50 return unorm2_quickCheck((const UNormalizer2 *)n2, src, srcLength, pErrorCode); 54 unorm_quickCheckWithOptions(const UChar *src, int32_t srcLength, 62 src, srcLength, pErrorCode); 64 return unorm2_quickCheck((const UNormalizer2 *)n2, src, srcLength, pErrorCode); 69 unorm_isNormalized(const UChar *src, int32_t srcLength, 73 return unorm2_isNormalized((const UNormalizer2 *)n2, src, srcLength, pErrorCode); 77 unorm_isNormalizedWithOptions(const UChar *src, int32_t srcLength, 85 src, srcLength, pErrorCode); 87 return unorm2_isNormalized((const UNormalizer2 *)n2, src, srcLength, pErrorCode) [all...] |
ustrcase.cpp | 124 * context [0..srcLength[ into account. 166 const UChar *src, int32_t srcLength, 185 csc.limit=srcLength; 191 while(prev<srcLength) { 199 if(idx==UBRK_DONE || idx>srcLength) { 200 idx=srcLength; 301 const UChar *src, int32_t srcLength, 305 csc.limit=srcLength; 309 src, &csc, 0, srcLength, 316 const UChar *src, int32_t srcLength, [all...] |
/external/icu/icu4c/source/test/cintltst/ |
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,
|
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...] |
/external/icu/icu4c/source/common/unicode/ |
unistr.h | 70 const UChar *src, int32_t srcLength, 409 * [<TT>srcStart</TT>, <TT>srcStart + srcLength</TT>). 414 * @param srcLength the number of characters in <TT>src</TT> to compare 426 int32_t srcLength) const; 430 * <TT>srcLength</TT> characters in <TT>srcChars</TT>. 432 * @param srcLength the number of characters in <TT>srcChars</TT> to compare 441 int32_t srcLength) const; 465 * [<TT>srcStart</TT>, <TT>srcStart + srcLength</TT>). 470 * @param srcLength the number of characters in <TT>srcChars</TT> to compare 482 int32_t srcLength) const [all...] |
ucasemap.h | 258 * @param srcLength The length of the original string. If -1, then src must be NUL-terminated. 270 const UChar *src, int32_t srcLength, 289 * @param srcLength The length of the original string. If -1, then src must be NUL-terminated. 301 const char *src, int32_t srcLength, 318 * @param srcLength The length of the original string. If -1, then src must be NUL-terminated. 330 const char *src, int32_t srcLength, 368 * @param srcLength The length of the original string. If -1, then src must be NUL-terminated. 382 const char *src, int32_t srcLength, 405 * @param srcLength The length of the original string. If -1, then src must be NUL-terminated. 420 const char *src, int32_t srcLength, [all...] |
ustring.h | [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
BidiWriter.java | 137 int srcLength = src.length(); 143 int i = srcLength; 146 srcLength -= UTF16.getCharCount(UTF16.charAt(src, 147 srcLength - 1)); 150 dest.append(src.substring(srcLength, i)); 151 } while(srcLength > 0); 162 srcLength = src.length(); 169 int i = srcLength; 174 c = UTF16.charAt(src, srcLength - 1); 175 srcLength -= UTF16.getCharCount(c) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
BidiWriter.java | 136 int srcLength = src.length(); 142 int i = srcLength; 145 srcLength -= UTF16.getCharCount(UTF16.charAt(src, 146 srcLength - 1)); 149 dest.append(src.substring(srcLength, i)); 150 } while(srcLength > 0); 161 srcLength = src.length(); 168 int i = srcLength; 173 c = UTF16.charAt(src, srcLength - 1); 174 srcLength -= UTF16.getCharCount(c) [all...] |
/external/icu/icu4c/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...] |
idnaref.h | 39 * @param srcLength Number of UChars in src, or -1 if NUL-terminated. 62 idnaref_toASCII(const UChar* src, int32_t srcLength, 77 * @param srcLength Number of UChars in src, or -1 if NUL-terminated. 100 idnaref_toUnicode(const UChar* src, int32_t srcLength, 120 * @param srcLength Number of UChars in src, or -1 if NUL-terminated. 143 idnaref_IDNToASCII( const UChar* src, int32_t srcLength, 159 * @param srcLength Number of UChars in src, or -1 if NUL-terminated. 182 idnaref_IDNToUnicode( const UChar* src, int32_t srcLength,
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/ |
ResizableIntArrayTests.java | 218 final int srcLength = DEFAULT_CAPACITY; 219 final ResizableIntArray src = new ResizableIntArray(srcLength); 220 for (int i = 0; i < srcLength; i++) { 241 dst.append(src, startPos, srcLength); 242 assertEquals("length after append", dstLength + srcLength, dst.getLength()); 245 dst.getPrimitiveArray().length >= dstLength + srcLength); 249 dst.getPrimitiveArray(), dstLength, srcLength); 251 dst.append(src, startPos, srcLength); 252 assertEquals("length after 2nd append", dstLength + srcLength * 2, dst.getLength()); 255 dst.getPrimitiveArray().length >= dstLength + srcLength * 2) [all...] |
InputPointersTests.java | 162 final int srcLength = 100; 164 for (int i = 0; i < srcLength; i++) { 189 startPos, srcLength); 190 assertEquals("size after append", dstLength + srcLength, dst.getPointerSize()); 192 dst.getPointerIds().length >= dstLength + srcLength); 203 dstLength, srcLength); 206 dstLength, srcLength); 209 dstLength, srcLength); 211 srcTimes.getPrimitiveArray(), startPos, dst.getTimes(), dstLength, srcLength); 227 final int srcLength = 100 [all...] |