Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dunisetspan.cpp226 int32_t stringsLength=strings.size(); in UnicodeSetStringSpan() local
230 for(i=0; i<stringsLength; ++i) { in UnicodeSetStringSpan()
271 allocSize=stringsLength*(4+1+1+1+1)+utf8Length; in UnicodeSetStringSpan()
273 allocSize=stringsLength; // One set of span lengths. in UnicodeSetStringSpan()
276 allocSize+=stringsLength*4+utf8Length; in UnicodeSetStringSpan()
291 spanLengths=(uint8_t *)(utf8Lengths+stringsLength); in UnicodeSetStringSpan()
292 spanBackLengths=spanLengths+stringsLength; in UnicodeSetStringSpan()
293 spanUTF8Lengths=spanBackLengths+stringsLength; in UnicodeSetStringSpan()
294 spanBackUTF8Lengths=spanUTF8Lengths+stringsLength; in UnicodeSetStringSpan()
295 utf8=spanBackUTF8Lengths+stringsLength; in UnicodeSetStringSpan()
[all …]
Dudataswp.cpp237 int32_t stringsLength; in udata_swapInvStringBlock() local
249 stringsLength=length; in udata_swapInvStringBlock()
250 while(stringsLength>0 && inChars[stringsLength-1]!=0) { in udata_swapInvStringBlock()
251 --stringsLength; in udata_swapInvStringBlock()
255 ds->swapInvChars(ds, inData, stringsLength, outData, pErrorCode); in udata_swapInvStringBlock()
258 if(inData!=outData && length>stringsLength) { in udata_swapInvStringBlock()
259 uprv_memcpy((char *)outData+stringsLength, inChars+stringsLength, length-stringsLength); in udata_swapInvStringBlock()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUnicodeSetStringSpan.java112 int stringsLength = strings.size(); in UnicodeSetStringSpan() local
117 for (i = 0; i < stringsLength; ++i) { in UnicodeSetStringSpan()
145 allocSize = stringsLength * (2); in UnicodeSetStringSpan()
147 allocSize = stringsLength; // One set of span lengths. in UnicodeSetStringSpan()
153 spanBackLengthsOffset = stringsLength; in UnicodeSetStringSpan()
161 for (i = 0; i < stringsLength; ++i) { in UnicodeSetStringSpan()
400 int i, stringsLength = strings.size(); in spanWithStrings() local
403 for (i = 0; i < stringsLength; ++i) { in spanWithStrings()
443 for (i = 0; i < stringsLength; ++i) { in spanWithStrings()
570 int stringsLength = strings.size(); in spanAndCount() local
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUnicodeSetStringSpan.java108 int stringsLength = strings.size(); in UnicodeSetStringSpan() local
113 for (i = 0; i < stringsLength; ++i) { in UnicodeSetStringSpan()
141 allocSize = stringsLength * (2); in UnicodeSetStringSpan()
143 allocSize = stringsLength; // One set of span lengths. in UnicodeSetStringSpan()
149 spanBackLengthsOffset = stringsLength; in UnicodeSetStringSpan()
157 for (i = 0; i < stringsLength; ++i) { in UnicodeSetStringSpan()
396 int i, stringsLength = strings.size(); in spanWithStrings() local
399 for (i = 0; i < stringsLength; ++i) { in spanWithStrings()
439 for (i = 0; i < stringsLength; ++i) { in spanWithStrings()
566 int stringsLength = strings.size(); in spanAndCount() local
[all …]
/external/icu/icu4c/source/i18n/
Duspoof_conf.cpp460 uint32_t stringsLength = fStringTable->length(); in outputData() local
464 … static_cast<UChar *>(fSpoofImpl->fSpoofData->reserveSpace(stringsLength*sizeof(UChar)+2, status)); in outputData()
468 fStringTable->extract(strings, stringsLength+1, status); in outputData()
472 rawData->fCFUStringTableLen = stringsLength; in outputData()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUnicodeSetStringSpanTest.java145 private int stringsLength; field in UnicodeSetStringSpanTest.UnicodeSetWithStrings
150 stringsLength = setStrings.size(); in UnicodeSetWithStrings()
158 return (stringsLength > 0); in hasStrings()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUnicodeSetStringSpanTest.java142 private int stringsLength; field in UnicodeSetStringSpanTest.UnicodeSetWithStrings
147 stringsLength = setStrings.size(); in UnicodeSetWithStrings()
155 return (stringsLength > 0); in hasStrings()
/external/icu/icu4c/source/test/intltest/
Dusettest.cpp2367 set(normalSet), stringsLength(0), hasSurrogates(FALSE) { in UnicodeSetWithStrings()
2377 while(iter.nextRange() && stringsLength<UPRV_LENGTHOF(strings)) { in UnicodeSetWithStrings()
2381 strings[stringsLength]=s=&iter.getString(); in UnicodeSetWithStrings()
2383 utf8Lengths[stringsLength]=length8= in UnicodeSetWithStrings()
2390 ++stringsLength; in UnicodeSetWithStrings()
2401 return (UBool)(stringsLength>0); in hasStrings()
2414 int32_t stringsLength; member in UnicodeSetWithStrings
2432 if(nextStringIndex<fSet.stringsLength) { in nextString()
2441 if(nextStringIndex<fSet.stringsLength) { in nextUTF8()