Home
last modified time | relevance | path

Searched refs:rootElements (Results 1 – 25 of 43) sorted by relevance

12

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
DCollationBuilder.java49 rootElements = new CollationRootElements(b.data.rootElements); in CollationBuilder()
61 if(baseData.rootElements == null) { in parseAndBuild()
152 if(p <= rootElements.getFirstPrimary()) { in addReset()
162 p = rootElements.getPrimaryBefore(p, baseData.isCompressiblePrimary(p)); in addReset()
275 weight16 = rootElements.getSecondaryBefore(p, s); in getWeight16Before()
277 weight16 = rootElements.getTertiaryBefore(p, s, t); in getWeight16Before()
308 return rootElements.getFirstTertiaryCE(); in getSpecialResetPosition()
312 ce = rootElements.getLastTertiaryCE(); in getSpecialResetPosition()
335 ce = rootElements.getFirstSecondaryCE(); in getSpecialResetPosition()
340 ce = rootElements.getLastSecondaryCE(); in getSpecialResetPosition()
[all …]
DCollationDataReader.java287 data.rootElements = new long[rootElementsLength]; in read()
289 data.rootElements[i] = inBytes.getInt() & 0xffffffffL; // unsigned int -> long in read()
291 long commonSecTer = data.rootElements[CollationRootElements.IX_COMMON_SEC_AND_TER_CE]; in read()
295 long secTerBoundaries = data.rootElements[CollationRootElements.IX_SEC_TER_BOUNDARIES]; in read()
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationBuilder.java45 rootElements = new CollationRootElements(b.data.rootElements); in CollationBuilder()
57 if(baseData.rootElements == null) { in parseAndBuild()
148 if(p <= rootElements.getFirstPrimary()) { in addReset()
158 p = rootElements.getPrimaryBefore(p, baseData.isCompressiblePrimary(p)); in addReset()
271 weight16 = rootElements.getSecondaryBefore(p, s); in getWeight16Before()
273 weight16 = rootElements.getTertiaryBefore(p, s, t); in getWeight16Before()
304 return rootElements.getFirstTertiaryCE(); in getSpecialResetPosition()
308 ce = rootElements.getLastTertiaryCE(); in getSpecialResetPosition()
331 ce = rootElements.getFirstSecondaryCE(); in getSpecialResetPosition()
336 ce = rootElements.getLastSecondaryCE(); in getSpecialResetPosition()
[all …]
DCollationDataReader.java286 data.rootElements = new long[rootElementsLength]; in read()
288 data.rootElements[i] = inBytes.getInt() & 0xffffffffL; // unsigned int -> long in read()
290 long commonSecTer = data.rootElements[CollationRootElements.IX_COMMON_SEC_AND_TER_CE]; in read()
294 long secTerBoundaries = data.rootElements[CollationRootElements.IX_SEC_TER_BOUNDARIES]; in read()
/third_party/icu/tools/unicode/c/genuca/
Dcollationbasedatabuilder.cpp90 rootElements(errorCode), in CollationBaseDataBuilder()
143 rootElements.addElement(ce, errorCode); in init()
310 int32_t i = binarySearch(rootElements, ce); in addRootElement()
312 rootElements.insertElementAt(ce, ~i, errorCode); in addRootElement()
380 rootElements.addElement(Collation::makeCE(CollationRootElements::PRIMARY_SENTINEL), errorCode); in buildRootElementsTable()
386 for(int32_t i = 0; i < rootElements.size(); ++i) { in buildRootElementsTable()
387 int64_t ce = rootElements.elementAti(i); in buildRootElementsTable()
454 ce = rootElements.elementAti(end); in buildRootElementsTable()
487 if(U_FAILURE(errorCode) || i >= rootElements.size()) { return 0; } in writeRootElementsRange()
526 int64_t ce = rootElements.elementAti(i); in writeRootElementsRange()
[all …]
Dgenuca.cpp1074 UVector32 rootElements(errorCode); in buildAndWriteBaseData() local
1076 rootElements.addElement(0, errorCode); in buildAndWriteBaseData()
1078 builder.buildRootElementsTable(rootElements, errorCode); in buildAndWriteBaseData()
1085 rootElements.setElementAt(index, CollationRootElements::IX_FIRST_TERTIARY_INDEX); in buildAndWriteBaseData()
1087 while((rootElements.elementAti(index) & 0xffff0000) == 0) { ++index; } in buildAndWriteBaseData()
1088 rootElements.setElementAt(index, CollationRootElements::IX_FIRST_SECONDARY_INDEX); in buildAndWriteBaseData()
1090 while((rootElements.elementAti(index) & CollationRootElements::SEC_TER_DELTA_FLAG) != 0) { in buildAndWriteBaseData()
1093 rootElements.setElementAt(index, CollationRootElements::IX_FIRST_PRIMARY_INDEX); in buildAndWriteBaseData()
1095 rootElements.setElementAt(Collation::COMMON_SEC_AND_TER_CE, in buildAndWriteBaseData()
1101 rootElements.setElementAt(secTerBoundaries, CollationRootElements::IX_SEC_TER_BOUNDARIES); in buildAndWriteBaseData()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dcollationbuilder.cpp207 rootElements(b->data->rootElements, b->data->rootElementsLength), in CollationBuilder()
239 if(baseData->rootElements == NULL) { in parseAndBuild()
344 if(p <= rootElements.getFirstPrimary()) { in addReset()
356 p = rootElements.getPrimaryBefore(p, baseData->isCompressiblePrimary(p)); in addReset()
473 weight16 = rootElements.getSecondaryBefore(p, s); in getWeight16Before()
475 weight16 = rootElements.getTertiaryBefore(p, s, t); in getWeight16Before()
509 return rootElements.getFirstTertiaryCE(); in getSpecialResetPosition()
513 ce = rootElements.getLastTertiaryCE(); in getSpecialResetPosition()
537 ce = rootElements.getFirstSecondaryCE(); in getSpecialResetPosition()
542 ce = rootElements.getLastSecondaryCE(); in getSpecialResetPosition()
[all …]
Dcollationdatawriter.h33 const void *rootElements, int32_t rootElementsLength,
46 const void *rootElements, int32_t rootElementsLength,
Dcollationrootelements.h35 CollationRootElements(const uint32_t *rootElements, int32_t rootElementsLength) in CollationRootElements() argument
36 : elements(rootElements), length(rootElementsLength) {} in CollationRootElements()
Dcollationdatawriter.cpp79 const void *rootElements, int32_t rootElementsLength, in writeBase() argument
84 rootElements, rootElementsLength, in writeBase()
101 const void *rootElements, int32_t rootElementsLength, in write() argument
330 copyData(indexes, CollationDataReader::IX_ROOT_ELEMENTS_OFFSET, rootElements, dest); in write()
Dcollationdata.h66 rootElements(NULL), rootElementsLength(0) {} in CollationData()
247 const uint32_t *rootElements; member
/third_party/skia/third_party/externals/icu/source/i18n/
Dcollationbuilder.cpp207 rootElements(b->data->rootElements, b->data->rootElementsLength), in CollationBuilder()
239 if(baseData->rootElements == NULL) { in parseAndBuild()
344 if(p <= rootElements.getFirstPrimary()) { in addReset()
356 p = rootElements.getPrimaryBefore(p, baseData->isCompressiblePrimary(p)); in addReset()
473 weight16 = rootElements.getSecondaryBefore(p, s); in getWeight16Before()
475 weight16 = rootElements.getTertiaryBefore(p, s, t); in getWeight16Before()
509 return rootElements.getFirstTertiaryCE(); in getSpecialResetPosition()
513 ce = rootElements.getLastTertiaryCE(); in getSpecialResetPosition()
537 ce = rootElements.getFirstSecondaryCE(); in getSpecialResetPosition()
542 ce = rootElements.getLastSecondaryCE(); in getSpecialResetPosition()
[all …]
Dcollationdatawriter.h33 const void *rootElements, int32_t rootElementsLength,
46 const void *rootElements, int32_t rootElementsLength,
Dcollationrootelements.h35 CollationRootElements(const uint32_t *rootElements, int32_t rootElementsLength) in CollationRootElements() argument
36 : elements(rootElements), length(rootElementsLength) {} in CollationRootElements()
Dcollationdatawriter.cpp79 const void *rootElements, int32_t rootElementsLength, in writeBase() argument
84 rootElements, rootElementsLength, in writeBase()
101 const void *rootElements, int32_t rootElementsLength, in write() argument
330 copyData(indexes, CollationDataReader::IX_ROOT_ELEMENTS_OFFSET, rootElements, dest); in write()
/third_party/icu/icu4c/source/i18n/
Dcollationbuilder.cpp207 rootElements(b->data->rootElements, b->data->rootElementsLength), in CollationBuilder()
239 if(baseData->rootElements == NULL) { in parseAndBuild()
344 if(p <= rootElements.getFirstPrimary()) { in addReset()
356 p = rootElements.getPrimaryBefore(p, baseData->isCompressiblePrimary(p)); in addReset()
473 weight16 = rootElements.getSecondaryBefore(p, s); in getWeight16Before()
475 weight16 = rootElements.getTertiaryBefore(p, s, t); in getWeight16Before()
509 return rootElements.getFirstTertiaryCE(); in getSpecialResetPosition()
513 ce = rootElements.getLastTertiaryCE(); in getSpecialResetPosition()
537 ce = rootElements.getFirstSecondaryCE(); in getSpecialResetPosition()
542 ce = rootElements.getLastSecondaryCE(); in getSpecialResetPosition()
[all …]
Dcollationdatawriter.h33 const void *rootElements, int32_t rootElementsLength,
46 const void *rootElements, int32_t rootElementsLength,
Dcollationrootelements.h35 CollationRootElements(const uint32_t *rootElements, int32_t rootElementsLength) in CollationRootElements() argument
36 : elements(rootElements), length(rootElementsLength) {} in CollationRootElements()
Dcollationdatawriter.cpp79 const void *rootElements, int32_t rootElementsLength, in writeBase() argument
84 rootElements, rootElementsLength, in writeBase()
101 const void *rootElements, int32_t rootElementsLength, in write() argument
330 copyData(indexes, CollationDataReader::IX_ROOT_ELEMENTS_OFFSET, rootElements, dest); in write()
Dcollationdata.h66 rootElements(NULL), rootElementsLength(0) {} in CollationData()
247 const uint32_t *rootElements; member
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dcollationbuilder.cpp207 rootElements(b->data->rootElements, b->data->rootElementsLength), in CollationBuilder()
239 if(baseData->rootElements == NULL) { in parseAndBuild()
344 if(p <= rootElements.getFirstPrimary()) { in addReset()
356 p = rootElements.getPrimaryBefore(p, baseData->isCompressiblePrimary(p)); in addReset()
473 weight16 = rootElements.getSecondaryBefore(p, s); in getWeight16Before()
475 weight16 = rootElements.getTertiaryBefore(p, s, t); in getWeight16Before()
509 return rootElements.getFirstTertiaryCE(); in getSpecialResetPosition()
513 ce = rootElements.getLastTertiaryCE(); in getSpecialResetPosition()
537 ce = rootElements.getFirstSecondaryCE(); in getSpecialResetPosition()
542 ce = rootElements.getLastSecondaryCE(); in getSpecialResetPosition()
[all …]
Dcollationdatawriter.h33 const void *rootElements, int32_t rootElementsLength,
46 const void *rootElements, int32_t rootElementsLength,
Dcollationrootelements.h35 CollationRootElements(const uint32_t *rootElements, int32_t rootElementsLength) in CollationRootElements() argument
36 : elements(rootElements), length(rootElementsLength) {} in CollationRootElements()
Dcollationdatawriter.cpp79 const void *rootElements, int32_t rootElementsLength, in writeBase() argument
84 rootElements, rootElementsLength, in writeBase()
101 const void *rootElements, int32_t rootElementsLength, in write() argument
330 copyData(indexes, CollationDataReader::IX_ROOT_ELEMENTS_OFFSET, rootElements, dest); in write()
/third_party/vk-gl-cts/scripts/log/
Dlog_to_xml.py38 self.rootElements = []
41 return self.rootElements
45 self.rootElements.append(elem)

12