Home
last modified time | relevance | path

Searched refs:ce32s (Results 1 – 23 of 23) sorted by relevance

/external/icu/icu4c/source/i18n/
Dcollationdatabuilder.cpp174 builderData.ce32s = reinterpret_cast<const uint32_t *>(builder.ce32s.getBuffer()); in fetchCEs()
284 ce32s(errorCode), ce64s(errorCode), conditionalCE32s(errorCode), in CollationDataBuilder()
289 ce32s.addElement(0, errorCode); in CollationDataBuilder()
455 ce32 = fromBase ? base->ce32s[i] : ce32s.elementAti(i); in getSingleCE()
472 ce32 = ce32s.elementAti(Collation::indexFromCE32(ce32)); in getSingleCE()
477 ce32 = fromBase ? base->ce32s[0] : ce32s.elementAti(0); in getSingleCE()
501 int32_t length = ce32s.size(); in addCE32()
503 if(ce32 == (uint32_t)ce32s.elementAti(i)) { return i; } in addCE32()
505 ce32s.addElement((int32_t)ce32, errorCode); in addCE32()
742 int32_t ce32sMax = ce32s.size() - length; in encodeExpansion32()
[all …]
Dcollationsets.cpp171 const uint32_t *ce32s = data->ce32s + Collation::indexFromCE32(ce32); in compare() local
174 const uint32_t *baseCE32s = baseData->ce32s + Collation::indexFromCE32(baseCE32); in compare()
182 if(ce32s[i] != baseCE32s[i]) { in compare()
469 const uint32_t *ce32s = data->ce32s + Collation::indexFromCE32(ce32); in handleCE32() local
472 ces[i] = Collation::ceFromCE32(*ce32s++); in handleCE32()
501 ce32 = data->ce32s[Collation::indexFromCE32(ce32)]; in handleCE32()
506 ce32 = data->ce32s[0]; in handleCE32()
Dcollationdata.cpp36 ce32 = ce32s[Collation::indexFromCE32(ce32)]; in getIndirectCE32()
41 ce32 = ce32s[0]; in getIndirectCE32()
86 ce32 = d->ce32s[Collation::indexFromCE32(ce32)]; in getSingleCE()
102 ce32 = d->ce32s[Collation::indexFromCE32(ce32)]; in getSingleCE()
107 ce32 = d->ce32s[0]; in getSingleCE()
Dcollationdata.h57 ce32s(NULL), ces(NULL), contexts(NULL), base(NULL), in CollationData()
181 const uint32_t *ce32s; member
Dcollationiterator.cpp273 const uint32_t *ce32s = d->ce32s + Collation::indexFromCE32(ce32); in appendCEsFromCE32() local
277 ceBuffer.appendUnsafe(Collation::ceFromCE32(*ce32s++)); in appendCEsFromCE32()
360 ce32 = d->ce32s[Collation::indexFromCE32(ce32)]; in appendCEsFromCE32()
371 ce32 = d->ce32s[0]; in appendCEsFromCE32()
Dcollationdatareader.cpp202 data->ce32s = reinterpret_cast<const uint32_t *>(inBytes + offset); in read()
208 if(data == NULL || data->ce32s == NULL) { in read()
212 data->jamoCE32s = data->ce32s + jamoCE32sStart; in read()
Dcollationfastlatinbuilder.cpp260 const uint32_t *ce32s = data.ce32s + Collation::indexFromCE32(ce32); in getCEsFromCE32() local
263 ce0 = Collation::ceFromCE32(ce32s[0]); in getCEsFromCE32()
265 ce1 = Collation::ceFromCE32(ce32s[1]); in getCEsFromCE32()
Dcollationdatawriter.cpp227 …exes[CollationDataReader::IX_JAMO_CE32S_START] = static_cast<int32_t>(data.jamoCE32s - data.ce32s); in write()
329 copyData(indexes, CollationDataReader::IX_CE32S_OFFSET, data.ce32s, dest); in write()
Dcollationdatabuilder.h240 UVector32 ce32s; variable
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationDataBuilder.java56 ce32s = new UVector32(); in CollationDataBuilder()
64 ce32s.addElement(0); in CollationDataBuilder()
415 int length = ce32s.size(); in addCE32()
417 if(ce32 == ce32s.elementAti(i)) { return i; } in addCE32()
419 ce32s.addElement(ce32); in addCE32()
517 int ce32sMax = ce32s.size() - length; in encodeExpansion32()
519 if(first == ce32s.elementAti(i)) { in encodeExpansion32()
530 if(ce32s.elementAti(i + j) != newCE32s[start + j]) { break; } in encodeExpansion32()
535 int i = ce32s.size(); in encodeExpansion32()
542 ce32s.addElement(newCE32s[start + j]); in encodeExpansion32()
[all …]
DCollationData.java87 ce32 = ce32s[Collation.indexFromCE32(ce32)]; in getIndirectCE32()
92 ce32 = ce32s[0]; in getIndirectCE32()
150 ce32 = d.ce32s[Collation.indexFromCE32(ce32)]; in getSingleCE()
168 ce32 = d.ce32s[Collation.indexFromCE32(ce32)]; in getSingleCE()
173 ce32 = d.ce32s[0]; in getSingleCE()
493 int[] ce32s; field in CollationData
DContractionsAndExpansions.java165 ces[i] = Collation.ceFromCE32(data.ce32s[idx + i]); in handleCE32()
195 ce32 = data.ce32s[Collation.indexFromCE32(ce32)]; in handleCE32()
200 ce32 = data.ce32s[0]; in handleCE32()
DCollationDataReader.java256 data.ce32s = ICUBinary.getInts(inBytes, length / 4, length & 3); in read()
263 if(data == null || data.ce32s == null) { in read()
267 … System.arraycopy(data.ce32s, jamoCE32sStart, data.jamoCE32s, 0, CollationData.JAMO_CE32S_LENGTH); in read()
DTailoredSet.java200 if (data.ce32s[idx0 + i] != baseData.ce32s[idx1 + i]) { in compare()
DCollationIterator.java484 ceBuffer.appendUnsafe(Collation.ceFromCE32(d.ce32s[index++])); in appendCEsFromCE32()
564 ce32 = d.ce32s[Collation.indexFromCE32(ce32)]; in appendCEsFromCE32()
571 ce32 = d.ce32s[0]; in appendCEsFromCE32()
DCollationFastLatinBuilder.java248 ce0 = Collation.ceFromCE32(data.ce32s[index]); in getCEsFromCE32()
250 ce1 = Collation.ceFromCE32(data.ce32s[index + 1]); in getCEsFromCE32()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationDataBuilder.java55 ce32s = new UVector32(); in CollationDataBuilder()
63 ce32s.addElement(0); in CollationDataBuilder()
414 int length = ce32s.size(); in addCE32()
416 if(ce32 == ce32s.elementAti(i)) { return i; } in addCE32()
418 ce32s.addElement(ce32); in addCE32()
516 int ce32sMax = ce32s.size() - length; in encodeExpansion32()
518 if(first == ce32s.elementAti(i)) { in encodeExpansion32()
529 if(ce32s.elementAti(i + j) != newCE32s[start + j]) { break; } in encodeExpansion32()
534 int i = ce32s.size(); in encodeExpansion32()
541 ce32s.addElement(newCE32s[start + j]); in encodeExpansion32()
[all …]
DCollationData.java85 ce32 = ce32s[Collation.indexFromCE32(ce32)]; in getIndirectCE32()
90 ce32 = ce32s[0]; in getIndirectCE32()
148 ce32 = d.ce32s[Collation.indexFromCE32(ce32)]; in getSingleCE()
166 ce32 = d.ce32s[Collation.indexFromCE32(ce32)]; in getSingleCE()
171 ce32 = d.ce32s[0]; in getSingleCE()
491 int[] ce32s; field in CollationData
DContractionsAndExpansions.java158 ces[i] = Collation.ceFromCE32(data.ce32s[idx + i]); in handleCE32()
188 ce32 = data.ce32s[Collation.indexFromCE32(ce32)]; in handleCE32()
193 ce32 = data.ce32s[0]; in handleCE32()
DCollationDataReader.java255 data.ce32s = ICUBinary.getInts(inBytes, length / 4, length & 3); in read()
262 if(data == null || data.ce32s == null) { in read()
266 … System.arraycopy(data.ce32s, jamoCE32sStart, data.jamoCE32s, 0, CollationData.JAMO_CE32S_LENGTH); in read()
DTailoredSet.java198 if (data.ce32s[idx0 + i] != baseData.ce32s[idx1 + i]) { in compare()
DCollationIterator.java482 ceBuffer.appendUnsafe(Collation.ceFromCE32(d.ce32s[index++])); in appendCEsFromCE32()
562 ce32 = d.ce32s[Collation.indexFromCE32(ce32)]; in appendCEsFromCE32()
569 ce32 = d.ce32s[0]; in appendCEsFromCE32()
DCollationFastLatinBuilder.java247 ce0 = Collation.ceFromCE32(data.ce32s[index]); in getCEsFromCE32()
249 ce1 = Collation.ceFromCE32(data.ce32s[index + 1]); in getCEsFromCE32()