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/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationTest.java756 elements = root.rootElements; in RootElementsIterator()
834 CollationRootElements rootElements = new CollationRootElements(root.rootElements); in TestRootElements() local
871 if (!isValidCE(rootElements, root, pri, sec, ctq)) { in TestRootElements()
905 rootElements.getSecondaryBoundary() - 0x100 : prevSec; in TestRootElements()
921 rootElements.getTertiaryBoundary() - 0x100 : prevTer; in TestRootElements()
949 CollationRootElements rootElements = new CollationRootElements(root.rootElements); in TestTailoredElements() local
999 if (!isValidCE(rootElements, root, ce)) { in TestTailoredElements()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationTest.java759 elements = root.rootElements; in RootElementsIterator()
837 CollationRootElements rootElements = new CollationRootElements(root.rootElements); in TestRootElements() local
874 if (!isValidCE(rootElements, root, pri, sec, ctq)) { in TestRootElements()
908 rootElements.getSecondaryBoundary() - 0x100 : prevSec; in TestRootElements()
924 rootElements.getTertiaryBoundary() - 0x100 : prevTer; in TestRootElements()
952 CollationRootElements rootElements = new CollationRootElements(root.rootElements); in TestTailoredElements() local
1002 if (!isValidCE(rootElements, root, ce)) { in TestTailoredElements()
/external/icu/icu4c/source/test/intltest/
Dcollationtest.cpp686 elements(root.rootElements), length(root.rootElementsLength), in RootElementsIterator()
765 CollationRootElements rootElements(root->rootElements, root->rootElementsLength); in TestRootElements() local
801 if(!isValidCE(rootElements, *root, pri, sec, ctq)) { in TestRootElements()
830 prevSec == 0 ? rootElements.getSecondaryBoundary() - 0x100 : prevSec; in TestRootElements()
842 prevTer == 0 ? rootElements.getTertiaryBoundary() - 0x100 : prevTer; in TestRootElements()
868 CollationRootElements rootElements(root->rootElements, root->rootElementsLength); in TestTailoredElements() local
933 if(!isValidCE(rootElements, *root, ce)) { in TestTailoredElements()