Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/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()
/external/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()
/external/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.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.cpp234 int32_t numScripts = uscript_getCode(locale, scripts, UPRV_LENGTHOF(scripts), &status); in addScriptChars() local
244 for (i=0; i<numScripts; i++) { in addScriptChars()
Dcollationdatabuilder.cpp1218 data.numScripts = base->numScripts; in build()
/external/icu/icu4c/source/test/cintltst/
Dcldrtest.c894 int32_t numScripts; in VerifyTranslation() local
1050 numScripts = uscript_getCode(currLoc, scripts, UPRV_LENGTHOF(scripts), &errorCode); in VerifyTranslation()
1051 …if (strcmp(currLoc, "yi") == 0 && numScripts > 0 && log_knownIssue("11217", "Fix result of uscript… in VerifyTranslation()
1054 if (numScripts == 0) { in VerifyTranslation()
1065 findSetMatch(scripts, numScripts, exemplarSet, currLoc); in VerifyTranslation()