Home
last modified time | relevance | path

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

/external/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()
DCollationRootElements.java24 public CollationRootElements(long[] rootElements) { in CollationRootElements() argument
25 elements = rootElements; in CollationRootElements()
DCollationData.java557 public long[] rootElements; field in CollationData
/external/icu/android_icu4j/src/main/java/android/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()
DCollationRootElements.java26 public CollationRootElements(long[] rootElements) { in CollationRootElements() argument
27 elements = rootElements; in CollationRootElements()
DCollationData.java559 public long[] rootElements; field in CollationData
/external/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
Dcollationdatareader.cpp231 data->rootElements = reinterpret_cast<const uint32_t *>(inBytes + offset); in read()
233 uint32_t commonSecTer = data->rootElements[CollationRootElements::IX_COMMON_SEC_AND_TER_CE]; in read()
238 … uint32_t secTerBoundaries = data->rootElements[CollationRootElements::IX_SEC_TER_BOUNDARIES]; in read()
Dcollationbuilder.h300 const CollationRootElements rootElements; variable
/external/deqp/scripts/log/
Dlog_to_xml.py38 self.rootElements = []
41 return self.rootElements
45 self.rootElements.append(elem)
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationTest.java754 elements = root.rootElements; in RootElementsIterator()
832 CollationRootElements rootElements = new CollationRootElements(root.rootElements); in TestRootElements() local
869 if (!isValidCE(rootElements, root, pri, sec, ctq)) { in TestRootElements()
903 rootElements.getSecondaryBoundary() - 0x100 : prevSec; in TestRootElements()
919 rootElements.getTertiaryBoundary() - 0x100 : prevTer; in TestRootElements()
947 CollationRootElements rootElements = new CollationRootElements(root.rootElements); in TestTailoredElements() local
997 if (!isValidCE(rootElements, root, ce)) { in TestTailoredElements()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationTest.java753 elements = root.rootElements; in RootElementsIterator()
831 CollationRootElements rootElements = new CollationRootElements(root.rootElements); in TestRootElements() local
868 if (!isValidCE(rootElements, root, pri, sec, ctq)) { in TestRootElements()
902 rootElements.getSecondaryBoundary() - 0x100 : prevSec; in TestRootElements()
918 rootElements.getTertiaryBoundary() - 0x100 : prevTer; in TestRootElements()
946 CollationRootElements rootElements = new CollationRootElements(root.rootElements); in TestTailoredElements() local
996 if (!isValidCE(rootElements, root, ce)) { in TestTailoredElements()
/external/icu/icu4c/source/test/intltest/
Dcollationtest.cpp690 elements(root.rootElements), length(root.rootElementsLength), in RootElementsIterator()
769 CollationRootElements rootElements(root->rootElements, root->rootElementsLength); in TestRootElements() local
805 if(!isValidCE(rootElements, *root, pri, sec, ctq)) { in TestRootElements()
834 prevSec == 0 ? rootElements.getSecondaryBoundary() - 0x100 : prevSec; in TestRootElements()
846 prevTer == 0 ? rootElements.getTertiaryBoundary() - 0x100 : prevTer; in TestRootElements()
872 CollationRootElements rootElements(root->rootElements, root->rootElementsLength); in TestTailoredElements() local
937 if(!isValidCE(rootElements, *root, ce)) { in TestTailoredElements()