Searched refs:firstLength (Results 1 – 6 of 6) sorted by relevance
/external/icu/icu4c/source/common/ |
D | normalizer2.cpp | 313 UChar *first, int32_t firstLength, int32_t firstCapacity, in normalizeSecondAndAppend() argument 321 (first==NULL ? (firstCapacity!=0 || firstLength!=0) : in normalizeSecondAndAppend() 322 (firstCapacity<0 || firstLength<-1)) || in normalizeSecondAndAppend() 328 UnicodeString firstString(first, firstLength, firstCapacity); in normalizeSecondAndAppend() 329 firstLength=firstString.length(); // In case it was -1. in normalizeSecondAndAppend() 339 if(buffer.init(firstLength+secondLength+1, *pErrorCode)) { // destCapacity>=-1 in normalizeSecondAndAppend() 349 safeMiddle.extract(0, 0x7fffffff, first+firstLength-safeMiddle.length()); in normalizeSecondAndAppend() 350 if(firstLength<firstCapacity) { in normalizeSecondAndAppend() 351 first[firstLength]=0; // NUL-terminate in case it was originally. in normalizeSecondAndAppend() 369 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_normalizeSecondAndAppend() argument [all …]
|
D | ucnv_ext.cpp | 277 int32_t firstLength, in ucnv_extInitialMatchToU() argument 288 (const char *)cnv->toUBytes, firstLength, in ucnv_extInitialMatchToU() 294 *src+=match-firstLength; in ucnv_extInitialMatchToU() 310 cnv->preToUFirstLength=(int8_t)firstLength; in ucnv_extInitialMatchToU() 311 for(j=0; j<firstLength; ++j) { in ucnv_extInitialMatchToU()
|
D | norm2allmodes.h | 86 int32_t firstLength=first.length(); in normalizeSecondAndAppend() local 90 if(buffer.init(firstLength+second.length(), errorCode)) { in normalizeSecondAndAppend() 97 first.replace(firstLength-safeMiddle.length(), 0x7fffffff, safeMiddle); in normalizeSecondAndAppend()
|
D | ucnv_ext.h | 352 int32_t firstLength,
|
/external/icu/icu4c/source/common/unicode/ |
D | unorm2.h | 305 UChar *first, int32_t firstLength, int32_t firstCapacity, 328 UChar *first, int32_t firstLength, int32_t firstCapacity,
|
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | CharsetMBCS.java | 1923 …private boolean initialMatchToU(int firstLength, ByteBuffer source, CharBuffer target, IntBuffer o… in initialMatchToU() argument 1929 … = matchToU((byte) SISO_STATE(sharedData, mode), toUBytesArray, toUBytesBegin, firstLength, source, in initialMatchToU() 1933 source.position(source.position() + match - firstLength); in initialMatchToU() 1947 preToUFirstLength = (byte) firstLength; in initialMatchToU() 1948 for (j = 0; j < firstLength; ++j) { in initialMatchToU()
|