Home
last modified time | relevance | path

Searched refs:firstLength (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4c/source/common/
Dnormalizer2.cpp316 UChar *first, int32_t firstLength, int32_t firstCapacity, in normalizeSecondAndAppend() argument
324 (first==NULL ? (firstCapacity!=0 || firstLength!=0) : in normalizeSecondAndAppend()
325 (firstCapacity<0 || firstLength<-1)) || in normalizeSecondAndAppend()
331 UnicodeString firstString(first, firstLength, firstCapacity); in normalizeSecondAndAppend()
332 firstLength=firstString.length(); // In case it was -1. in normalizeSecondAndAppend()
342 if(buffer.init(firstLength+secondLength+1, *pErrorCode)) { // destCapacity>=-1 in normalizeSecondAndAppend()
352 safeMiddle.extract(0, 0x7fffffff, first+firstLength-safeMiddle.length()); in normalizeSecondAndAppend()
353 if(firstLength<firstCapacity) { in normalizeSecondAndAppend()
354 first[firstLength]=0; // NUL-terminate in case it was originally. in normalizeSecondAndAppend()
372 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_normalizeSecondAndAppend() argument
[all …]
Ducnv_ext.cpp279 int32_t firstLength, in ucnv_extInitialMatchToU() argument
290 (const char *)cnv->toUBytes, firstLength, in ucnv_extInitialMatchToU()
296 *src+=match-firstLength; in ucnv_extInitialMatchToU()
312 cnv->preToUFirstLength=(int8_t)firstLength; in ucnv_extInitialMatchToU()
313 for(j=0; j<firstLength; ++j) { in ucnv_extInitialMatchToU()
Dnorm2allmodes.h88 int32_t firstLength=first.length(); in normalizeSecondAndAppend() local
92 if(buffer.init(firstLength+second.length(), errorCode)) { in normalizeSecondAndAppend()
99 first.replace(firstLength-safeMiddle.length(), 0x7fffffff, safeMiddle); in normalizeSecondAndAppend()
Ducnv_ext.h354 int32_t firstLength,
/external/icu/icu4c/source/common/unicode/
Dunorm2.h307 UChar *first, int32_t firstLength, int32_t firstCapacity,
330 UChar *first, int32_t firstLength, int32_t firstCapacity,
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetMBCS.java1918 …private boolean initialMatchToU(int firstLength, ByteBuffer source, CharBuffer target, IntBuffer o… in initialMatchToU() argument
1924 … = matchToU((byte) SISO_STATE(sharedData, mode), toUBytesArray, toUBytesBegin, firstLength, source, in initialMatchToU()
1928 source.position(source.position() + match - firstLength); in initialMatchToU()
1942 preToUFirstLength = (byte) firstLength; in initialMatchToU()
1943 for (j = 0; j < firstLength; ++j) { in initialMatchToU()