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

/external/icu/icu4c/source/common/
H A Dnormalizer2.cpp313 UChar *first, int32_t firstLength, int32_t firstCapacity,
321 (first==NULL ? (firstCapacity!=0 || firstLength!=0) :
322 (firstCapacity<0 || firstLength<-1)) ||
328 UnicodeString firstString(first, firstLength, firstCapacity);
329 firstLength=firstString.length(); // In case it was -1.
339 if(buffer.init(firstLength+secondLength+1, *pErrorCode)) { // destCapacity>=-1
346 // This does not restore first[] array contents between firstLength and firstCapacity.
349 safeMiddle.extract(0, 0x7fffffff, first+firstLength-safeMiddle.length());
350 if(firstLength<firstCapacity) {
351 first[firstLength]
312 normalizeSecondAndAppend(const UNormalizer2 *norm2, UChar *first, int32_t firstLength, int32_t firstCapacity, const UChar *second, int32_t secondLength, UBool doNormalize, UErrorCode *pErrorCode) argument
[all...]
H A Dnorm2allmodes.h86 int32_t firstLength=first.length(); local
90 if(buffer.init(firstLength+second.length(), errorCode)) {
97 first.replace(firstLength-safeMiddle.length(), 0x7fffffff, safeMiddle);
H A Ducnv_ext.h352 int32_t firstLength,
H A Ducnv_ext.cpp266 * cnv->mode==0 is equivalent to firstLength==1.
277 int32_t firstLength,
288 (const char *)cnv->toUBytes, firstLength,
294 *src+=match-firstLength;
310 cnv->preToUFirstLength=(int8_t)firstLength;
311 for(j=0; j<firstLength; ++j) {
276 ucnv_extInitialMatchToU(UConverter *cnv, const int32_t *cx, int32_t firstLength, const char **src, const char *srcLimit, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t srcIndex, UBool flush, UErrorCode *pErrorCode) argument
/external/icu/icu4c/source/common/unicode/
H A Dunorm2.h292 * @param firstLength length of the first string, or -1 if NUL-terminated
305 UChar *first, int32_t firstLength, int32_t firstCapacity,
315 * @param firstLength length of the first string, or -1 if NUL-terminated
328 UChar *first, int32_t firstLength, int32_t firstCapacity,
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
H A DCharsetMBCS.java1623 * Note: For SI/SO stateful converters getting here, cnv->mode==0 is equivalent to firstLength==1.
1923 private boolean initialMatchToU(int firstLength, ByteBuffer source, CharBuffer target, IntBuffer offsets, argument
1929 match = matchToU((byte) SISO_STATE(sharedData, mode), toUBytesArray, toUBytesBegin, firstLength, source,
1933 source.position(source.position() + match - firstLength);
1947 preToUFirstLength = (byte) firstLength;
1948 for (j = 0; j < firstLength; ++j) {

Completed in 222 milliseconds