Home
last modified time | relevance | path

Searched refs:baseData (Results 1 – 25 of 51) sorted by relevance

123

/third_party/icu/icu4c/source/i18n/
Dcollationdatareader.cpp105 const CollationData *baseData = base == NULL ? NULL : base->data; in read() local
114 if(baseData == NULL) { in read()
156 if(baseData != NULL && baseData->numericPrimary != (inIndexes[IX_OPTIONS] & 0xff000000)) { in read()
168 data->base = baseData; in read()
174 } else if(baseData != NULL) { in read()
176 tailoring.data = baseData; in read()
215 } else if(baseData != NULL) { in read()
216 data->jamoCE32s = baseData->jamoCE32s; in read()
267 if(baseData == NULL) { in read()
298 baseData->unsafeBackwardSet->cloneAsThawed()); in read()
[all …]
Dcollationsets.cpp50 baseData = d->base; in forData()
51 U_ASSERT(baseData != NULL); in forData()
66 uint32_t baseCE32 = baseData->getFinalCE32(baseData->getCE32(start)); in handleCE32()
88 const UChar *q = baseData->contexts + Collation::indexFromCE32(baseCE32); in compare()
89 baseCE32 = baseData->getFinalCE32(CollationData::readCE32(q)); in compare()
95 const UChar *q = baseData->contexts + Collation::indexFromCE32(baseCE32); in compare()
96 baseCE32 = baseData->getFinalCE32(CollationData::readCE32(q)); in compare()
97 addPrefixes(baseData, c, q + 2); in compare()
108 const UChar *q = baseData->contexts + Collation::indexFromCE32(baseCE32); in compare()
112 baseCE32 = baseData->getFinalCE32(CollationData::readCE32(q)); in compare()
[all …]
Dcollationdatawriter.cpp117 const CollationData *baseData = data.base; in write() local
135 } else if(baseData == NULL) { in write()
152 unsafeBackwardSet.addAll(*data.unsafeBackwardSet).removeAll(*baseData->unsafeBackwardSet); in write()
156 if(data.fastLatinTable != baseData->fastLatinTable) { in write()
226 if(hasMappings && (isBase || data.jamoCE32s != baseData->jamoCE32s)) { in write()
Dcollationbuilder.cpp206 baseData(b->data), in CollationBuilder()
222 dataBuilder->initForTailoring(baseData, errorCode); in CollationBuilder()
239 if(baseData->rootElements == NULL) { in parseAndBuild()
249 CollationRuleParser parser(baseData, errorCode); in parseAndBuild()
281 tailoring->data = baseData; in parseAndBuild()
356 p = rootElements.getPrimaryBefore(p, baseData->isCompressiblePrimary(p)); in addReset()
561 baseData->getFirstPrimaryForGroup(USCRIPT_HAN)); in getSpecialResetPosition()
564 ce = baseData->getSingleCE(0x4e00, errorCode); in getSpecialResetPosition()
604 UBool isCompressible = baseData->isCompressiblePrimary(p); in getSpecialResetPosition()
1028 UTF16CollationIterator baseCEs(baseData, FALSE, s, s, s + nfdString.length()); in setCaseBits()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dcollationdatareader.cpp105 const CollationData *baseData = base == NULL ? NULL : base->data; in read() local
114 if(baseData == NULL) { in read()
156 if(baseData != NULL && baseData->numericPrimary != (inIndexes[IX_OPTIONS] & 0xff000000)) { in read()
168 data->base = baseData; in read()
174 } else if(baseData != NULL) { in read()
176 tailoring.data = baseData; in read()
215 } else if(baseData != NULL) { in read()
216 data->jamoCE32s = baseData->jamoCE32s; in read()
267 if(baseData == NULL) { in read()
298 baseData->unsafeBackwardSet->cloneAsThawed()); in read()
[all …]
Dcollationsets.cpp50 baseData = d->base; in forData()
51 U_ASSERT(baseData != NULL); in forData()
66 uint32_t baseCE32 = baseData->getFinalCE32(baseData->getCE32(start)); in handleCE32()
88 const UChar *q = baseData->contexts + Collation::indexFromCE32(baseCE32); in compare()
89 baseCE32 = baseData->getFinalCE32(CollationData::readCE32(q)); in compare()
95 const UChar *q = baseData->contexts + Collation::indexFromCE32(baseCE32); in compare()
96 baseCE32 = baseData->getFinalCE32(CollationData::readCE32(q)); in compare()
97 addPrefixes(baseData, c, q + 2); in compare()
108 const UChar *q = baseData->contexts + Collation::indexFromCE32(baseCE32); in compare()
112 baseCE32 = baseData->getFinalCE32(CollationData::readCE32(q)); in compare()
[all …]
Dcollationdatawriter.cpp117 const CollationData *baseData = data.base; in write() local
135 } else if(baseData == NULL) { in write()
152 unsafeBackwardSet.addAll(*data.unsafeBackwardSet).removeAll(*baseData->unsafeBackwardSet); in write()
156 if(data.fastLatinTable != baseData->fastLatinTable) { in write()
226 if(hasMappings && (isBase || data.jamoCE32s != baseData->jamoCE32s)) { in write()
Dcollationbuilder.cpp206 baseData(b->data), in CollationBuilder()
222 dataBuilder->initForTailoring(baseData, errorCode); in CollationBuilder()
239 if(baseData->rootElements == NULL) { in parseAndBuild()
249 CollationRuleParser parser(baseData, errorCode); in parseAndBuild()
281 tailoring->data = baseData; in parseAndBuild()
356 p = rootElements.getPrimaryBefore(p, baseData->isCompressiblePrimary(p)); in addReset()
561 baseData->getFirstPrimaryForGroup(USCRIPT_HAN)); in getSpecialResetPosition()
564 ce = baseData->getSingleCE(0x4e00, errorCode); in getSpecialResetPosition()
604 UBool isCompressible = baseData->isCompressiblePrimary(p); in getSpecialResetPosition()
1028 UTF16CollationIterator baseCEs(baseData, FALSE, s, s, s + nfdString.length()); in setCaseBits()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dcollationdatareader.cpp105 const CollationData *baseData = base == NULL ? NULL : base->data; in read() local
114 if(baseData == NULL) { in read()
156 if(baseData != NULL && baseData->numericPrimary != (inIndexes[IX_OPTIONS] & 0xff000000)) { in read()
168 data->base = baseData; in read()
174 } else if(baseData != NULL) { in read()
176 tailoring.data = baseData; in read()
215 } else if(baseData != NULL) { in read()
216 data->jamoCE32s = baseData->jamoCE32s; in read()
267 if(baseData == NULL) { in read()
298 baseData->unsafeBackwardSet->cloneAsThawed()); in read()
[all …]
Dcollationsets.cpp50 baseData = d->base; in forData()
51 U_ASSERT(baseData != NULL); in forData()
66 uint32_t baseCE32 = baseData->getFinalCE32(baseData->getCE32(start)); in handleCE32()
88 const UChar *q = baseData->contexts + Collation::indexFromCE32(baseCE32); in compare()
89 baseCE32 = baseData->getFinalCE32(CollationData::readCE32(q)); in compare()
95 const UChar *q = baseData->contexts + Collation::indexFromCE32(baseCE32); in compare()
96 baseCE32 = baseData->getFinalCE32(CollationData::readCE32(q)); in compare()
97 addPrefixes(baseData, c, q + 2); in compare()
108 const UChar *q = baseData->contexts + Collation::indexFromCE32(baseCE32); in compare()
112 baseCE32 = baseData->getFinalCE32(CollationData::readCE32(q)); in compare()
[all …]
Dcollationdatawriter.cpp117 const CollationData *baseData = data.base; in write() local
135 } else if(baseData == NULL) { in write()
152 unsafeBackwardSet.addAll(*data.unsafeBackwardSet).removeAll(*baseData->unsafeBackwardSet); in write()
156 if(data.fastLatinTable != baseData->fastLatinTable) { in write()
226 if(hasMappings && (isBase || data.jamoCE32s != baseData->jamoCE32s)) { in write()
Dcollationbuilder.cpp206 baseData(b->data), in CollationBuilder()
222 dataBuilder->initForTailoring(baseData, errorCode); in CollationBuilder()
239 if(baseData->rootElements == NULL) { in parseAndBuild()
249 CollationRuleParser parser(baseData, errorCode); in parseAndBuild()
281 tailoring->data = baseData; in parseAndBuild()
356 p = rootElements.getPrimaryBefore(p, baseData->isCompressiblePrimary(p)); in addReset()
561 baseData->getFirstPrimaryForGroup(USCRIPT_HAN)); in getSpecialResetPosition()
564 ce = baseData->getSingleCE(0x4e00, errorCode); in getSpecialResetPosition()
604 UBool isCompressible = baseData->isCompressiblePrimary(p); in getSpecialResetPosition()
1028 UTF16CollationIterator baseCEs(baseData, FALSE, s, s, s + nfdString.length()); in setCaseBits()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dcollationdatareader.cpp105 const CollationData *baseData = base == NULL ? NULL : base->data; in read() local
114 if(baseData == NULL) { in read()
156 if(baseData != NULL && baseData->numericPrimary != (inIndexes[IX_OPTIONS] & 0xff000000)) { in read()
168 data->base = baseData; in read()
174 } else if(baseData != NULL) { in read()
176 tailoring.data = baseData; in read()
215 } else if(baseData != NULL) { in read()
216 data->jamoCE32s = baseData->jamoCE32s; in read()
267 if(baseData == NULL) { in read()
298 baseData->unsafeBackwardSet->cloneAsThawed()); in read()
[all …]
Dcollationsets.cpp50 baseData = d->base; in forData()
51 U_ASSERT(baseData != NULL); in forData()
66 uint32_t baseCE32 = baseData->getFinalCE32(baseData->getCE32(start)); in handleCE32()
88 const UChar *q = baseData->contexts + Collation::indexFromCE32(baseCE32); in compare()
89 baseCE32 = baseData->getFinalCE32(CollationData::readCE32(q)); in compare()
95 const UChar *q = baseData->contexts + Collation::indexFromCE32(baseCE32); in compare()
96 baseCE32 = baseData->getFinalCE32(CollationData::readCE32(q)); in compare()
97 addPrefixes(baseData, c, q + 2); in compare()
108 const UChar *q = baseData->contexts + Collation::indexFromCE32(baseCE32); in compare()
112 baseCE32 = baseData->getFinalCE32(CollationData::readCE32(q)); in compare()
[all …]
Dcollationdatawriter.cpp117 const CollationData *baseData = data.base; in write() local
135 } else if(baseData == NULL) { in write()
152 unsafeBackwardSet.addAll(*data.unsafeBackwardSet).removeAll(*baseData->unsafeBackwardSet); in write()
156 if(data.fastLatinTable != baseData->fastLatinTable) { in write()
226 if(hasMappings && (isBase || data.jamoCE32s != baseData->jamoCE32s)) { in write()
Dcollationbuilder.cpp206 baseData(b->data), in CollationBuilder()
222 dataBuilder->initForTailoring(baseData, errorCode); in CollationBuilder()
239 if(baseData->rootElements == NULL) { in parseAndBuild()
249 CollationRuleParser parser(baseData, errorCode); in parseAndBuild()
281 tailoring->data = baseData; in parseAndBuild()
356 p = rootElements.getPrimaryBefore(p, baseData->isCompressiblePrimary(p)); in addReset()
561 baseData->getFirstPrimaryForGroup(USCRIPT_HAN)); in getSpecialResetPosition()
564 ce = baseData->getSingleCE(0x4e00, errorCode); in getSpecialResetPosition()
605 UBool isCompressible = baseData->isCompressiblePrimary(p); in getSpecialResetPosition()
1029 UTF16CollationIterator baseCEs(baseData, FALSE, s, s, s + nfdString.length()); in setCaseBits()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
DCollationDataReader.java148 CollationData baseData = base == null ? null : base.data; in read() local
155 if(baseData == null) { in read()
200 if(baseData != null && baseData.numericPrimary != (inIndexes[IX_OPTIONS] & 0xff000000L)) { in read()
211 data.base = baseData; in read()
219 } else if(baseData != null) { in read()
221 tailoring.data = baseData; in read()
270 } else if(baseData != null) { in read()
271 data.jamoCE32s = baseData.jamoCE32s; in read()
324 if(baseData == null) { in read()
340 tailoring.unsafeBackwardSet = baseData.unsafeBackwardSet.cloneAsThawed(); in read()
[all …]
DTailoredSet.java45 private CollationData baseData; field in TailoredSet
56 baseData = d.base; in forData()
57 assert (baseData != null); in forData()
85 int baseCE32 = baseData.getFinalCE32(baseData.getCE32(start)); in handleCE32()
106 baseCE32 = baseData.getFinalCE32(baseData.getCE32FromContexts(baseIndex)); in compare()
107 comparePrefixes(c, data.contexts, dataIndex + 2, baseData.contexts, baseIndex + 2); in compare()
113 baseCE32 = baseData.getFinalCE32(baseData.getCE32FromContexts(baseIndex)); in compare()
114 addPrefixes(baseData, c, baseData.contexts, baseIndex + 2); in compare()
129 baseCE32 = baseData.getFinalCE32(baseData.getCE32FromContexts(baseIndex)); in compare()
131 … compareContractions(c, data.contexts, dataIndex + 2, baseData.contexts, baseIndex + 2); in compare()
[all …]
DCollationBuilder.java48 baseData = b.data; in CollationBuilder()
57 dataBuilder.initForTailoring(baseData); in CollationBuilder()
61 if(baseData.rootElements == null) { in parseAndBuild()
67 CollationRuleParser parser = new CollationRuleParser(baseData); in parseAndBuild()
97 tailoring.data = baseData; in parseAndBuild()
162 p = rootElements.getPrimaryBefore(p, baseData.isCompressiblePrimary(p)); in addReset()
359 baseData.getFirstPrimaryForGroup(UScript.HAN)); in getSpecialResetPosition()
362 ce = baseData.getSingleCE(0x4e00); in getSpecialResetPosition()
399 boolean isCompressible = baseData.isCompressiblePrimary(p); in getSpecialResetPosition()
793 UTF16CollationIterator baseCEs = new UTF16CollationIterator(baseData, false, s, 0);
[all …]
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationDataReader.java147 CollationData baseData = base == null ? null : base.data; in read() local
154 if(baseData == null) { in read()
199 if(baseData != null && baseData.numericPrimary != (inIndexes[IX_OPTIONS] & 0xff000000L)) { in read()
210 data.base = baseData; in read()
218 } else if(baseData != null) { in read()
220 tailoring.data = baseData; in read()
269 } else if(baseData != null) { in read()
270 data.jamoCE32s = baseData.jamoCE32s; in read()
323 if(baseData == null) { in read()
339 tailoring.unsafeBackwardSet = baseData.unsafeBackwardSet.cloneAsThawed(); in read()
[all …]
DTailoredSet.java43 private CollationData baseData; field in TailoredSet
54 baseData = d.base; in forData()
55 assert (baseData != null); in forData()
83 int baseCE32 = baseData.getFinalCE32(baseData.getCE32(start)); in handleCE32()
104 baseCE32 = baseData.getFinalCE32(baseData.getCE32FromContexts(baseIndex)); in compare()
105 comparePrefixes(c, data.contexts, dataIndex + 2, baseData.contexts, baseIndex + 2); in compare()
111 baseCE32 = baseData.getFinalCE32(baseData.getCE32FromContexts(baseIndex)); in compare()
112 addPrefixes(baseData, c, baseData.contexts, baseIndex + 2); in compare()
127 baseCE32 = baseData.getFinalCE32(baseData.getCE32FromContexts(baseIndex)); in compare()
129 … compareContractions(c, data.contexts, dataIndex + 2, baseData.contexts, baseIndex + 2); in compare()
[all …]
DCollationBuilder.java44 baseData = b.data; in CollationBuilder()
53 dataBuilder.initForTailoring(baseData); in CollationBuilder()
57 if(baseData.rootElements == null) { in parseAndBuild()
63 CollationRuleParser parser = new CollationRuleParser(baseData); in parseAndBuild()
93 tailoring.data = baseData; in parseAndBuild()
158 p = rootElements.getPrimaryBefore(p, baseData.isCompressiblePrimary(p)); in addReset()
355 baseData.getFirstPrimaryForGroup(UScript.HAN)); in getSpecialResetPosition()
358 ce = baseData.getSingleCE(0x4e00); in getSpecialResetPosition()
395 boolean isCompressible = baseData.isCompressiblePrimary(p); in getSpecialResetPosition()
789 UTF16CollationIterator baseCEs = new UTF16CollationIterator(baseData, false, s, 0);
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/tools/makeconv/
Dmakeconv.cpp628 ConvData baseData; in createConverter() local
716 initConvData(&baseData); in createConverter()
725 dataIsBase=readFile(&baseData, baseFilename, pErrorCode); in createConverter()
741 baseStates=&baseData.ucm->states; in createConverter()
752 uprv_memcpy(staticData->subChar, baseData.staticData.subChar, 4); in createConverter()
753 staticData->subCharLen=baseData.staticData.subCharLen; in createConverter()
763 for(m=baseData.ucm->base->mappings, mLimit=m+baseData.ucm->base->mappingsLength; in createConverter()
791 … !ucm_checkBaseExt(baseStates, baseData.ucm->base, data->ucm->ext, data->ucm->ext, FALSE) in createConverter()
816 … for(m=baseData.ucm->base->mappings, mLimit=m+baseData.ucm->base->mappingsLength; in createConverter()
828 ucm_moveMappings(baseData.ucm->base, data->ucm->ext); in createConverter()
[all …]
/third_party/icu/icu4c/source/tools/makeconv/
Dmakeconv.cpp640 ConvData baseData; in createConverter() local
728 initConvData(&baseData); in createConverter()
737 dataIsBase=readFile(&baseData, baseFilename, pErrorCode); in createConverter()
753 baseStates=&baseData.ucm->states; in createConverter()
764 uprv_memcpy(staticData->subChar, baseData.staticData.subChar, 4); in createConverter()
765 staticData->subCharLen=baseData.staticData.subCharLen; in createConverter()
775 for(m=baseData.ucm->base->mappings, mLimit=m+baseData.ucm->base->mappingsLength; in createConverter()
803 … !ucm_checkBaseExt(baseStates, baseData.ucm->base, data->ucm->ext, data->ucm->ext, FALSE) in createConverter()
828 … for(m=baseData.ucm->base->mappings, mLimit=m+baseData.ucm->base->mappingsLength; in createConverter()
840 ucm_moveMappings(baseData.ucm->base, data->ucm->ext); in createConverter()
[all …]
/third_party/skia/third_party/externals/icu/source/tools/makeconv/
Dmakeconv.cpp640 ConvData baseData; in createConverter() local
728 initConvData(&baseData); in createConverter()
737 dataIsBase=readFile(&baseData, baseFilename, pErrorCode); in createConverter()
753 baseStates=&baseData.ucm->states; in createConverter()
764 uprv_memcpy(staticData->subChar, baseData.staticData.subChar, 4); in createConverter()
765 staticData->subCharLen=baseData.staticData.subCharLen; in createConverter()
775 for(m=baseData.ucm->base->mappings, mLimit=m+baseData.ucm->base->mappingsLength; in createConverter()
803 … !ucm_checkBaseExt(baseStates, baseData.ucm->base, data->ucm->ext, data->ucm->ext, FALSE) in createConverter()
828 … for(m=baseData.ucm->base->mappings, mLimit=m+baseData.ucm->base->mappingsLength; in createConverter()
840 ucm_moveMappings(baseData.ucm->base, data->ucm->ext); in createConverter()
[all …]

123