Home
last modified time | relevance | path

Searched refs:numScripts (Results 1 – 25 of 28) sorted by relevance

12

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
DCollationData.java228 for(int i = 0; i < numScripts; ++i) { in getGroupForPrimary()
234 if(scriptsIndex[numScripts + i] == index) { in getGroupForPrimary()
244 } else if(script < numScripts) { in getScriptIndex()
251 return scriptsIndex[numScripts + script]; in getScriptIndex()
267 for(int i = 0; i < numScripts; ++i) { in getEquivalentScripts()
278 for(int i = 0; i < numScripts; ++i) { in getEquivalentScripts()
313 numScripts + REORDER_RESERVED_BEFORE_LATIN - Collator.ReorderCodes.FIRST]; in makeReorderRanges()
318 numScripts + REORDER_RESERVED_AFTER_LATIN - Collator.ReorderCodes.FIRST]; in makeReorderRanges()
345 int index = scriptsIndex[numScripts + i]; in makeReorderRanges()
535 int numScripts; field in CollationData
DCollationDataReader.java414 data.numScripts = inChars.get(); in read()
416 int scriptStartsLength = scriptsLength - (1 + data.numScripts + 16); in read()
420 inChars.get(data.scriptsIndex = new char[data.numScripts + 16]); in read()
431 data.numScripts = baseData.numScripts; in read()
DCollationDataBuilder.java316 data.numScripts = base.numScripts; in build()
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationData.java226 for(int i = 0; i < numScripts; ++i) { in getGroupForPrimary()
232 if(scriptsIndex[numScripts + i] == index) { in getGroupForPrimary()
242 } else if(script < numScripts) { in getScriptIndex()
249 return scriptsIndex[numScripts + script]; in getScriptIndex()
265 for(int i = 0; i < numScripts; ++i) { in getEquivalentScripts()
276 for(int i = 0; i < numScripts; ++i) { in getEquivalentScripts()
311 numScripts + REORDER_RESERVED_BEFORE_LATIN - Collator.ReorderCodes.FIRST]; in makeReorderRanges()
316 numScripts + REORDER_RESERVED_AFTER_LATIN - Collator.ReorderCodes.FIRST]; in makeReorderRanges()
343 int index = scriptsIndex[numScripts + i]; in makeReorderRanges()
533 int numScripts; field in CollationData
DCollationDataReader.java413 data.numScripts = inChars.get(); in read()
415 int scriptStartsLength = scriptsLength - (1 + data.numScripts + 16); in read()
419 inChars.get(data.scriptsIndex = new char[data.numScripts + 16]); in read()
430 data.numScripts = baseData.numScripts; in read()
DCollationDataBuilder.java315 data.numScripts = base.numScripts; in build()
/third_party/icu/icu4c/source/i18n/
Dcollationdata.cpp142 for(int32_t i = 0; i < numScripts; ++i) { in getGroupForPrimary()
148 if(scriptsIndex[numScripts + i] == index) { in getGroupForPrimary()
159 } else if(script < numScripts) { in getScriptIndex()
166 return scriptsIndex[numScripts + script]; in getScriptIndex()
191 for(int32_t i = 0; i < numScripts; ++i) { in getEquivalentScripts()
228 numScripts + REORDER_RESERVED_BEFORE_LATIN - UCOL_REORDER_CODE_FIRST]; in makeReorderRanges()
233 numScripts + REORDER_RESERVED_AFTER_LATIN - UCOL_REORDER_CODE_FIRST]; in makeReorderRanges()
260 int32_t index = scriptsIndex[numScripts + i]; in makeReorderRanges()
Dcollationdatareader.cpp371 data->numScripts = scripts[0]; in read()
373 data->scriptStartsLength = scriptsLength - (1 + data->numScripts + 16); in read()
380 data->scriptStarts = scripts + 1 + data->numScripts + 16; in read()
391 data->numScripts = baseData->numScripts; in read()
Dcollationdata.h61 numScripts(0), scriptsIndex(NULL), scriptStarts(NULL), scriptStartsLength(0), in CollationData()
218 int32_t numScripts; member
Dcollationdatawriter.cpp305 scripts.append((UChar)data.numScripts); in write()
306 scripts.append(reinterpret_cast<const UChar *>(data.scriptsIndex), data.numScripts + 16); in write()
Duspoof_impl.cpp222 int32_t numScripts = uscript_getCode(locale, scripts, UPRV_LENGTHOF(scripts), &status); in addScriptChars() local
232 for (i=0; i<numScripts; i++) { in addScriptChars()
/third_party/node/deps/icu-small/source/i18n/
Dcollationdata.cpp142 for(int32_t i = 0; i < numScripts; ++i) { in getGroupForPrimary()
148 if(scriptsIndex[numScripts + i] == index) { in getGroupForPrimary()
159 } else if(script < numScripts) { in getScriptIndex()
166 return scriptsIndex[numScripts + script]; in getScriptIndex()
191 for(int32_t i = 0; i < numScripts; ++i) { in getEquivalentScripts()
228 numScripts + REORDER_RESERVED_BEFORE_LATIN - UCOL_REORDER_CODE_FIRST]; in makeReorderRanges()
233 numScripts + REORDER_RESERVED_AFTER_LATIN - UCOL_REORDER_CODE_FIRST]; in makeReorderRanges()
260 int32_t index = scriptsIndex[numScripts + i]; in makeReorderRanges()
Dcollationdatareader.cpp371 data->numScripts = scripts[0]; in read()
373 data->scriptStartsLength = scriptsLength - (1 + data->numScripts + 16); in read()
380 data->scriptStarts = scripts + 1 + data->numScripts + 16; in read()
391 data->numScripts = baseData->numScripts; in read()
Dcollationdata.h61 numScripts(0), scriptsIndex(nullptr), scriptStarts(nullptr), scriptStartsLength(0), in CollationData()
218 int32_t numScripts; member
Dcollationdatawriter.cpp305 scripts.append((char16_t)data.numScripts); in write()
306 scripts.append(reinterpret_cast<const char16_t *>(data.scriptsIndex), data.numScripts + 16); in write()
Duspoof_impl.cpp222 int32_t numScripts = uscript_getCode(locale, scripts, UPRV_LENGTHOF(scripts), &status); in addScriptChars() local
232 for (i=0; i<numScripts; i++) { in addScriptChars()
/third_party/skia/third_party/externals/icu/source/i18n/
Dcollationdata.cpp142 for(int32_t i = 0; i < numScripts; ++i) { in getGroupForPrimary()
148 if(scriptsIndex[numScripts + i] == index) { in getGroupForPrimary()
159 } else if(script < numScripts) { in getScriptIndex()
166 return scriptsIndex[numScripts + script]; in getScriptIndex()
191 for(int32_t i = 0; i < numScripts; ++i) { in getEquivalentScripts()
228 numScripts + REORDER_RESERVED_BEFORE_LATIN - UCOL_REORDER_CODE_FIRST]; in makeReorderRanges()
233 numScripts + REORDER_RESERVED_AFTER_LATIN - UCOL_REORDER_CODE_FIRST]; in makeReorderRanges()
260 int32_t index = scriptsIndex[numScripts + i]; in makeReorderRanges()
Dcollationdatareader.cpp371 data->numScripts = scripts[0]; in read()
373 data->scriptStartsLength = scriptsLength - (1 + data->numScripts + 16); in read()
380 data->scriptStarts = scripts + 1 + data->numScripts + 16; in read()
391 data->numScripts = baseData->numScripts; in read()
Dcollationdata.h65 numScripts(0), scriptsIndex(NULL), scriptStarts(NULL), scriptStartsLength(0), in CollationData()
222 int32_t numScripts; member
Dcollationdatawriter.cpp305 scripts.append((UChar)data.numScripts); in write()
306 scripts.append(reinterpret_cast<const UChar *>(data.scriptsIndex), data.numScripts + 16); in write()
Duspoof_impl.cpp222 int32_t numScripts = uscript_getCode(locale, scripts, UPRV_LENGTHOF(scripts), &status); in addScriptChars() local
232 for (i=0; i<numScripts; i++) { in addScriptChars()
/third_party/icu/tools/unicode/c/genuca/
Dcollationbasedatabuilder.cpp367 int32_t numScripts = USCRIPT_CODE_LIMIT; in build() local
368 while(numScripts > 0 && scriptsIndex[numScripts - 1] == 0) { --numScripts; } in build()
372 scriptsIndex[numScripts + i] = scriptsIndex[USCRIPT_CODE_LIMIT + i]; in build()
374 data.numScripts = numScripts; in build()
/third_party/icu/icu4c/source/test/cintltst/
Dcldrtest.c900 int32_t numScripts; in VerifyTranslation() local
1072 numScripts = uscript_getCode(currLoc, scripts, UPRV_LENGTHOF(scripts), &errorCode); in VerifyTranslation()
1073 …if (strcmp(currLoc, "yi") == 0 && numScripts > 0 && log_knownIssue("11217", "Fix result of uscript… in VerifyTranslation()
1076 if (numScripts == 0) { in VerifyTranslation()
1087 findSetMatch(scripts, numScripts, exemplarSet, currLoc); in VerifyTranslation()
/third_party/icu/icu4c/source/tools/icuexportdata/
Dicuexportdata.cpp214 … int32_t numScripts = uscript_getScriptExtensions(cp, scxValArray, SCX_ARRAY_CAPACITY, status); in dumpScriptExtensions() local
219 for(int i = 0; i < numScripts; i++) { in dumpScriptExtensions()
/third_party/node/deps/icu-small/source/tools/icuexportdata/
Dicuexportdata.cpp391 … int32_t numScripts = uscript_getScriptExtensions(cp, scxValArray, SCX_ARRAY_CAPACITY, status); in dumpScriptExtensions() local
396 for(int i = 0; i < numScripts; i++) { in dumpScriptExtensions()

12