Home
last modified time | relevance | path

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

12

/external/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()
Dcollationsets.h46 : data(NULL), baseData(NULL), in TailoredSet()
80 const CollationData *baseData; variable
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 …]
Dcollationruleparser.h183 const CollationData *const baseData; variable
Dcollationruleparser.cpp61 rules(NULL), baseData(base), settings(NULL), in CollationRuleParser()
552 settings->variableTop = baseData->getLastPrimaryForGroup( in parseSetting()
714 settings->setReordering(*baseData, reorderCodes.getBuffer(), reorderCodes.size(), errorCode); in parseReordering()
Dcollationbuilder.h299 const CollationData *baseData; variable
Dcoll.cpp968 const CollationData *baseData = CollationRoot::getData(errorCode); in getEquivalentReorderCodes() local
970 return baseData->getEquivalentScripts(reorderCode, dest, capacity, errorCode); in getEquivalentReorderCodes()
/external/icu/android_icu4j/src/main/java/android/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 …]
DCollationRuleParser.java95 baseData = base; in CollationRuleParser()
593 settings.variableTop = baseData.getLastPrimaryForGroup( in parseSetting()
733 settings.setReordering(baseData, codes); in parseReordering()
913 private final CollationData baseData; field in CollationRuleParser
/external/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 …]
DCollationRuleParser.java91 baseData = base; in CollationRuleParser()
589 settings.variableTop = baseData.getLastPrimaryForGroup( in parseSetting()
729 settings.setReordering(baseData, codes); in parseReordering()
909 private final CollationData baseData; field in CollationRuleParser
/external/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 …]
/external/cldr/tools/java/org/unicode/cldr/util/
DAnnotations.java98 … UnicodeSet keys = new UnicodeSet(parentData.baseData.keySet()).addAll(localeData.keySet()); in cleanup()
100 Annotations parentValue = parentData.baseData.get(key); in cleanup()
225 private final UnicodeMap<Annotations> baseData; field in Annotations.AnnotationSet
245 this.baseData = resolvedSource == null ? unresolvedData : resolvedSource.freeze(); in AnnotationSet()
302 Annotations stock = baseData.get(code); in getShortName()
320 Annotations stock = baseData.get(code); in getKeywords()
339 return baseData.keySet(); in keySet()
442 Annotations baseAnnotation = baseData.get(code); in matchesInitialPattern()
455 Annotations stock = baseData.get(base); in getBasePlusRemainder()
483 Annotations stock = baseData.get(mod); in getBasePlusRemainder()
[all …]
/external/icu/libicu/cts_headers/
Dcollationsets.h46 : data(NULL), baseData(NULL), in TailoredSet()
80 const CollationData *baseData; variable
Dcollationruleparser.h183 const CollationData *const baseData; variable
Dcollationbuilder.h299 const CollationData *baseData; variable
/external/fonttools/Lib/fontTools/mtiLib/
D__init__.py421 baseData = {}
424 'base': (baseData, c.BaseAnchorClass),
425 'ligature': (baseData, c.BaseAnchorClass),
456 self.classCount = 0 if not baseData else 1+max(k[1] for k,v in baseData.items())
457 baseCoverage = makeCoverage(set([k[0] for k in baseData.keys()]), font, c.BaseCoverageClass)
460 baseRecords = makeLigatureRecords(baseData, baseCoverage, c, self.classCount)
462 baseRecords = makeBaseRecords(baseData, baseCoverage, c, self.classCount)
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollator.java1435 CollationData baseData = CollationRoot.getData(); in getEquivalentReorderCodes() local
1436 return baseData.getEquivalentScripts(reorderCode); in getEquivalentReorderCodes()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCollator.java1381 CollationData baseData = CollationRoot.getData(); in getEquivalentReorderCodes() local
1382 return baseData.getEquivalentScripts(reorderCode); in getEquivalentReorderCodes()

12