/external/icu/icu4c/source/common/ |
ustrcase_locale.cpp | 46 const UChar *src, int32_t srcLength, 52 src, srcLength, 58 const UChar *src, int32_t srcLength, 64 src, srcLength, 72 const UChar *src, int32_t srcLength, 78 src, srcLength, 84 const UChar *src, int32_t srcLength, 90 src, srcLength,
|
ustr_wcs.cpp | 69 int32_t srcLength, 91 if(srcLength == -1){ 92 srcLength = u_strlen(pSrc); 95 pSrcLimit = pSrc + srcLength; 110 int32_t newCapacity = 2 * srcLength; 192 nulVal = (nulLen < srcLength) ? 1 : 0; 236 int32_t srcLength, 244 if( (src==NULL && srcLength!=0) || srcLength < -1 || 253 if(srcLength == -1) [all...] |
ubidiwrt.cpp | 59 doWriteForward(const UChar *src, int32_t srcLength, 67 int32_t length=srcLength; 70 return srcLength; 75 return srcLength; 82 if(destSize<srcLength) { 84 return srcLength; 87 U16_NEXT(src, i, srcLength, c); 90 } while(i<srcLength); 91 return srcLength; 104 while(--srcLength>0) [all...] |
punycode.h | 47 * @param srcLength Number of UChars in src, or -1 if NUL-terminated. 69 u_strToPunycode(const UChar *src, int32_t srcLength, 80 * @param srcLength Length of puny, or -1 if NUL-terminated 104 u_strFromPunycode(const UChar *src, int32_t srcLength,
|
uidna.cpp | 59 startsWithPrefix(const UChar* src , int32_t srcLength){ 62 if(srcLength < ACE_PREFIX_LENGTH){ 147 getNextSeparator(UChar *src, int32_t srcLength, 149 if(srcLength == -1){ 165 for(i=0;i<srcLength;i++){ 172 // if(i==srcLength) 173 *limit = src+srcLength; 196 _internal_toASCII(const UChar* src, int32_t srcLength, 228 if(srcLength == -1){ 229 srcLength = u_strlen(src) [all...] |
ustrtrns.cpp | 44 int32_t srcLength, 58 if( (src==NULL && srcLength!=0) || srcLength < -1 || 75 if(srcLength < 0) { 92 srcLimit = (src!=NULL)?(src + srcLength):NULL; 144 int32_t srcLength, 148 src, srcLength, 158 int32_t srcLength, 173 if( (src==NULL && srcLength!=0) || srcLength < -1 | [all...] |
ustr_titlecase_brkiter.cpp | 176 const UChar *src, int32_t srcLength, 184 UnicodeString s(srcLength<0, src, srcLength); 189 src, srcLength, 199 const UChar *src, int32_t srcLength, 210 UnicodeString s(srcLength<0, src, srcLength); 215 src, srcLength, 222 const UChar *src, int32_t srcLength, 236 UnicodeString s(srcLength<0, src, srcLength) [all...] |
ubiditransform.cpp | 83 uint32_t srcLength; /* input text length - not really needed as we are zero-terminated and can u_strlen */ 131 ubidi_setPara(pTransform->pBidi, pTransform->src, pTransform->srcLength, 151 *pTransform->pDestLength = pTransform->srcLength; 204 ubidi_writeReverse(pTransform->src, pTransform->srcLength, 207 *pTransform->pDestLength = pTransform->srcLength; 239 //pTransform->srcLength = pTransform->srcSize = 0; 245 pTransform->srcLength = u_terminateUChars(pTransform->src, 260 pTransform->srcLength, pTransform->dest, pTransform->destSize, 311 if (pTransform->destSize < pTransform->srcLength) { 317 U16_NEXT(pTransform->src, i, pTransform->srcLength, c); [all...] |
ucasemap.cpp | 204 * context [0..srcLength[ into account. 237 const uint8_t *src, int32_t srcLength, 247 csc.limit=srcLength; 252 while(prev<srcLength) { 261 if(index==UBRK_DONE || index>srcLength) { 262 index=srcLength; 383 const uint8_t *src, int32_t srcLength, 387 for (int32_t i = 0; i < srcLength;) { 390 U8_NEXT(src, nextIndex, srcLength, c); 419 while (nextIndex < srcLength) { [all...] |
unistr_case.cpp | 46 int32_t srcLength, 59 srcStart = srcLength = 0; 72 int32_t result=u_strcmpFold(chars, length, srcChars, srcLength, 78 // get the srcLength if necessary 79 if(srcLength < 0) { 80 srcLength = u_strlen(srcChars + srcStart); 82 if(length != srcLength) { 83 return (int8_t)((length - srcLength) >> 24 | 1);
|
ucasemap_imp.h | 152 const UChar *src, int32_t srcLength, 160 const UChar *src, int32_t srcLength, 171 const UChar *src, int32_t srcLength, 181 const UChar *src, int32_t srcLength, 192 const UChar *src, int32_t srcLength, 205 const UChar *src, int32_t srcLength, 220 const uint8_t *src, int32_t srcLength, 230 const uint8_t *src, int32_t srcLength, 238 const char *src, int32_t srcLength, 250 const char *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...] |
ucasemap_titlecase_brkiter.cpp | 59 const char *src, int32_t srcLength, 66 utext_openUTF8(&utext, src, srcLength, &errorCode); 77 src, srcLength, 104 const char *src, int32_t srcLength, 110 utext_openUTF8(&utext, (const char *)src, srcLength, pErrorCode); 128 src, srcLength,
|
/external/icu/icu4c/source/test/cintltst/ |
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,
|
nfsprep.c | 42 nfs4_prepare( const char* src, int32_t srcLength, 68 if((src==NULL) || (srcLength < -1) || (destCapacity<0) || (!dest && destCapacity > 0)){ 75 u_strFromUTF8(b1,b1Capacity,&b1Len,src,srcLength,status); 88 u_strFromUTF8(b1, b1Capacity, &b1Len, src, srcLength, status); 176 getPrefixSuffix(const char *src, int32_t srcLength, 183 while(i<srcLength){ 185 if((i+1) == srcLength){ 198 *suffixLen = srcLength - i; 208 nfs4_mixed_prepare( const char* src, int32_t srcLength, 226 if((src==NULL) || (srcLength < -1) || (destCapacity<0) || (!dest && destCapacity > 0)) [all...] |
/external/icu/icu4c/source/common/unicode/ |
unistr.h | 71 const char16_t *src, int32_t srcLength, 402 * [<TT>srcStart</TT>, <TT>srcStart + srcLength</TT>). 407 * @param srcLength the number of characters in <TT>src</TT> to compare 419 int32_t srcLength) const; 423 * <TT>srcLength</TT> characters in <TT>srcChars</TT>. 425 * @param srcLength the number of characters in <TT>srcChars</TT> to compare 434 int32_t srcLength) const; 458 * [<TT>srcStart</TT>, <TT>srcStart + srcLength</TT>). 463 * @param srcLength the number of characters in <TT>srcChars</TT> to compare 475 int32_t srcLength) const [all...] |
casemap.h | 43 * @param srcLength The length of the original string. If -1, then src must be NUL-terminated. 66 const char16_t *src, int32_t srcLength, 79 * @param srcLength The length of the original string. If -1, then src must be NUL-terminated. 102 const char16_t *src, int32_t srcLength, 129 * @param srcLength The length of the original string. If -1, then src must be NUL-terminated. 153 const char16_t *src, int32_t srcLength, 172 * @param srcLength The length of the original string. If -1, then src must be NUL-terminated. 195 const char16_t *src, int32_t srcLength, 331 * @param srcLength The length of the original string. If -1, then src must be NUL-terminated. 354 const char *src, int32_t srcLength, [all...] |
ucasemap.h | 220 * @param srcLength The length of the original string. If -1, then src must be NUL-terminated. 232 const UChar *src, int32_t srcLength, 251 * @param srcLength The length of the original string. If -1, then src must be NUL-terminated. 263 const char *src, int32_t srcLength, 280 * @param srcLength The length of the original string. If -1, then src must be NUL-terminated. 292 const char *src, int32_t srcLength, 330 * @param srcLength The length of the original string. If -1, then src must be NUL-terminated. 344 const char *src, int32_t srcLength, 367 * @param srcLength The length of the original string. If -1, then src must be NUL-terminated. 382 const char *src, int32_t srcLength, [all...] |
ustring.h | [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
BidiWriter.java | 139 int srcLength = src.length(); 145 int i = srcLength; 148 srcLength -= UTF16.getCharCount(UTF16.charAt(src, 149 srcLength - 1)); 152 dest.append(src.substring(srcLength, i)); 153 } while(srcLength > 0); 164 srcLength = src.length(); 171 int i = srcLength; 176 c = UTF16.charAt(src, srcLength - 1); 177 srcLength -= UTF16.getCharCount(c) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
BidiWriter.java | 138 int srcLength = src.length(); 144 int i = srcLength; 147 srcLength -= UTF16.getCharCount(UTF16.charAt(src, 148 srcLength - 1)); 151 dest.append(src.substring(srcLength, i)); 152 } while(srcLength > 0); 163 srcLength = src.length(); 170 int i = srcLength; 175 c = UTF16.charAt(src, srcLength - 1); 176 srcLength -= UTF16.getCharCount(c) [all...] |
/external/icu/icu4c/source/test/intltest/ |
idnaref.cpp | 49 startsWithPrefix(const UChar* src , int32_t srcLength){ 52 if(srcLength < ACE_PREFIX_LENGTH){ 131 static int32_t convertToPuny(const UChar* src, int32_t srcLength, 143 u_strToUTF32((UChar32*)b1,b1Capacity,&b1Len,src,srcLength,&status); 155 u_strToUTF32((UChar32*)b1,b1Len,&b1Len,src,srcLength,&status); 201 static int32_t convertFromPuny( const UChar* src, int32_t srcLength, 208 convertUCharsToASCII(src, b1,srcLength); 213 unsigned char* caseFlags = NULL; //(unsigned char*) uprv_malloc(srcLength * sizeof(unsigned char*)); 214 punycode_status error = punycode_decode(srcLength,b1,(uint32_t*)&b2Len,b2,caseFlags); 222 error = punycode_decode(srcLength,b1,(uint32_t*)&b2Len,b2,caseFlags) [all...] |
idnaref.h | 41 * @param srcLength Number of UChars in src, or -1 if NUL-terminated. 64 idnaref_toASCII(const UChar* src, int32_t srcLength, 79 * @param srcLength Number of UChars in src, or -1 if NUL-terminated. 102 idnaref_toUnicode(const UChar* src, int32_t srcLength, 122 * @param srcLength Number of UChars in src, or -1 if NUL-terminated. 145 idnaref_IDNToASCII( const UChar* src, int32_t srcLength, 161 * @param srcLength Number of UChars in src, or -1 if NUL-terminated. 184 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...] |