Home
last modified time | relevance | path

Searched refs:firstLength (Results 1 – 12 of 12) 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/libicu/ndk_headers/unicode/
Dunorm2.h283 UChar *first, int32_t firstLength, int32_t firstCapacity,
308 UChar *first, int32_t firstLength, int32_t firstCapacity,
/external/icu/icu4c/source/common/unicode/
Dunorm2.h311 UChar *first, int32_t firstLength, int32_t firstCapacity,
334 UChar *first, int32_t firstLength, int32_t firstCapacity,
/external/icu/libandroidicu/include/unicode/
Dunorm2.h311 UChar *first, int32_t firstLength, int32_t firstCapacity,
334 UChar *first, int32_t firstLength, int32_t firstCapacity,
/external/icu/libicu/cts_headers/unicode/
Dunorm2.h311 UChar *first, int32_t firstLength, int32_t firstCapacity,
334 UChar *first, int32_t firstLength, int32_t firstCapacity,
/external/icu/libicu/cts_headers/
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/libicu/src/
Dshim.cpp965 int32_t unorm2_append(const UNormalizer2 * norm2, UChar * first, int32_t firstLength, int32_t first… in unorm2_append() argument
966 …return U_ICU_ENTRY_POINT_RENAME(unorm2_append)(norm2, first, firstLength, firstCapacity, second, s… in unorm2_append()
1013 …lizeSecondAndAppend(const UNormalizer2 * norm2, UChar * first, int32_t firstLength, int32_t firstC… in unorm2_normalizeSecondAndAppend() argument
1014 …return U_ICU_ENTRY_POINT_RENAME(unorm2_normalizeSecondAndAppend)(norm2, first, firstLength, firstC… in unorm2_normalizeSecondAndAppend()
/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()