Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dnormalizer2.cpp364 UChar *first, int32_t firstLength, int32_t firstCapacity, in normalizeSecondAndAppend() argument
372 (first==NULL ? (firstCapacity!=0 || firstLength!=0) : in normalizeSecondAndAppend()
373 (firstCapacity<0 || firstLength<-1)) || in normalizeSecondAndAppend()
379 UnicodeString firstString(first, firstLength, firstCapacity); in normalizeSecondAndAppend()
380 firstLength=firstString.length(); // In case it was -1. in normalizeSecondAndAppend()
390 if(buffer.init(firstLength+secondLength+1, *pErrorCode)) { // destCapacity>=-1 in normalizeSecondAndAppend()
400 safeMiddle.extract(0, 0x7fffffff, first+firstLength-safeMiddle.length()); in normalizeSecondAndAppend()
401 if(firstLength<firstCapacity) { in normalizeSecondAndAppend()
402 first[firstLength]=0; // NUL-terminate in case it was originally. in normalizeSecondAndAppend()
420 UChar *first, int32_t firstLength, int32_t firstCapacity, in unorm2_normalizeSecondAndAppend() argument
[all …]
Ducnv_ext.cpp280 int32_t firstLength, in ucnv_extInitialMatchToU() argument
291 (const char *)cnv->toUBytes, firstLength, in ucnv_extInitialMatchToU()
297 *src+=match-firstLength; in ucnv_extInitialMatchToU()
313 cnv->preToUFirstLength=(int8_t)firstLength; in ucnv_extInitialMatchToU()
314 for(j=0; j<firstLength; ++j) { in ucnv_extInitialMatchToU()
Dnorm2allmodes.h90 int32_t firstLength=first.length(); in normalizeSecondAndAppend() local
94 if(buffer.init(firstLength+second.length(), errorCode)) { in normalizeSecondAndAppend()
101 first.replace(firstLength-safeMiddle.length(), 0x7fffffff, safeMiddle); in normalizeSecondAndAppend()
Ducnv_ext.h354 int32_t firstLength,
/external/icu/icu4c/source/common/unicode/
Dunorm2.h308 UChar *first, int32_t firstLength, int32_t firstCapacity,
331 UChar *first, int32_t firstLength, int32_t firstCapacity,
/external/icu/libandroidicu/include/unicode/
Dunorm2.h308 UChar *first, int32_t firstLength, int32_t firstCapacity,
331 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()
/external/icu/libandroidicu/static_shim/
Dshim.cpp1938 int32_t unorm2_append_android(const UNormalizer2 * norm2, UChar * first, int32_t firstLength, int32… in unorm2_append_android() argument
1939 return unorm2_append(norm2, first, firstLength, firstCapacity, second, secondLength, pErrorCode); in unorm2_append_android()
1989 …ndAndAppend_android(const UNormalizer2 * norm2, UChar * first, int32_t firstLength, int32_t firstC… in unorm2_normalizeSecondAndAppend_android() argument
1990 …return unorm2_normalizeSecondAndAppend(norm2, first, firstLength, firstCapacity, second, secondLen… in unorm2_normalizeSecondAndAppend_android()