Home
last modified time | relevance | path

Searched refs:scriptCode (Results 1 – 25 of 47) sorted by relevance

12

/external/icu/icu4c/source/common/
Dusc_impl.cpp38 UScriptCode scriptCode; member
48 UScriptCode scriptCode; member
78 static void push(UScriptRun *scriptRun, int32_t pairIndex, UScriptCode scriptCode) in push() argument
85 scriptRun->parenStack[scriptRun->parenSP].scriptCode = scriptCode; in push()
109 static void fixup(UScriptRun *scriptRun, UScriptCode scriptCode) in fixup() argument
115 scriptRun->parenStack[fixupSP].scriptCode = scriptCode; in fixup()
232 scriptRun->scriptCode = USCRIPT_INVALID_CODE; in uscript_resetRun()
268 scriptRun->scriptCode = USCRIPT_COMMON; in uscript_nextRun()
306 push(scriptRun, pairIndex, scriptRun->scriptCode); in uscript_nextRun()
315 sc = TOP(scriptRun).scriptCode; in uscript_nextRun()
[all …]
Duscript.cpp83 UScriptCode scriptCode = (UScriptCode)u_getPropertyValueEnum(UCHAR_SCRIPT, script); in getCodesFromLocale() local
84 if(scriptCode != USCRIPT_INVALID_CODE) { in getCodesFromLocale()
85 if(scriptCode == USCRIPT_SIMPLIFIED_HAN || scriptCode == USCRIPT_TRADITIONAL_HAN) { in getCodesFromLocale()
86 scriptCode = USCRIPT_HAN; in getCodesFromLocale()
88 return setOneCode(scriptCode, scripts, capacity, err); in getCodesFromLocale()
Dpropname.cpp319 uscript_getName(UScriptCode scriptCode){ in uscript_getName() argument
320 return u_getPropertyValueName(UCHAR_SCRIPT, scriptCode, in uscript_getName()
325 uscript_getShortName(UScriptCode scriptCode){ in uscript_getShortName() argument
326 return u_getPropertyValueName(UCHAR_SCRIPT, scriptCode, in uscript_getShortName()
Dlocdspnm.cpp182 virtual UnicodeString& scriptDisplayName(UScriptCode scriptCode,
237 DefaultLocaleDisplayNames::scriptDisplayName(UScriptCode scriptCode,
239 const char* name = uscript_getName(scriptCode);
328 virtual UnicodeString& scriptDisplayName(UScriptCode scriptCode,
741 LocaleDisplayNamesImpl::scriptDisplayName(UScriptCode scriptCode, in scriptDisplayName() argument
743 return scriptDisplayName(uscript_getName(scriptCode), result, FALSE); in scriptDisplayName()
977 UScriptCode scriptCode, in uldn_scriptCodeDisplayName() argument
981 …return uldn_scriptDisplayName(ldn, uscript_getName(scriptCode), result, maxResultSize, pErrorCode); in uldn_scriptCodeDisplayName()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
DUScriptRun.java155 scriptCode = UScript.INVALID_CODE; in reset()
327 return scriptCode; in getScriptCode()
347 scriptCode = UScript.COMMON; in next()
368 push(pairIndex, scriptCode); in next()
377 sc = top().scriptCode; in next()
382 if (sameScript(scriptCode, sc)) { in next()
383 if (scriptCode <= UScript.INHERITED && sc > UScript.INHERITED) { in next()
384 scriptCode = sc; in next()
386 fixup(scriptCode); in next()
427 int scriptCode; field in UScriptRun.ParenStackEntry
[all …]
DUScript.java1059 int scriptCode = UScript.getCodeFromName(script); in getCodesFromLocale() local
1060 if(scriptCode != UScript.INVALID_CODE) { in getCodesFromLocale()
1061 if(scriptCode == UScript.SIMPLIFIED_HAN || scriptCode == UScript.TRADITIONAL_HAN) { in getCodesFromLocale()
1062 scriptCode = UScript.HAN; in getCodesFromLocale()
1064 return new int[] { scriptCode }; in getCodesFromLocale()
1274 public static final String getName(int scriptCode){ in getName() argument
1276 scriptCode, in getName()
1290 public static final String getShortName(int scriptCode){ in getShortName() argument
1292 scriptCode, in getShortName()
/external/icu/android_icu4j/src/main/java/android/icu/lang/
DUScriptRun.java157 scriptCode = UScript.INVALID_CODE; in reset()
329 return scriptCode; in getScriptCode()
349 scriptCode = UScript.COMMON; in next()
370 push(pairIndex, scriptCode); in next()
379 sc = top().scriptCode; in next()
384 if (sameScript(scriptCode, sc)) { in next()
385 if (scriptCode <= UScript.INHERITED && sc > UScript.INHERITED) { in next()
386 scriptCode = sc; in next()
388 fixup(scriptCode); in next()
429 int scriptCode; field in UScriptRun.ParenStackEntry
[all …]
DUScript.java875 int scriptCode = UScript.getCodeFromName(script); in getCodesFromLocale() local
876 if(scriptCode != UScript.INVALID_CODE) { in getCodesFromLocale()
877 if(scriptCode == UScript.SIMPLIFIED_HAN || scriptCode == UScript.TRADITIONAL_HAN) { in getCodesFromLocale()
878 scriptCode = UScript.HAN; in getCodesFromLocale()
880 return new int[] { scriptCode }; in getCodesFromLocale()
1082 public static final String getName(int scriptCode){ in getName() argument
1084 scriptCode, in getName()
1097 public static final String getShortName(int scriptCode){ in getShortName() argument
1099 scriptCode, in getShortName()
/external/icu/icu4c/source/extra/scrptrun/
Dscrptrun.cpp123 scriptCode = USCRIPT_COMMON; in next()
155 parenStack[parenSP].scriptCode = scriptCode; in next()
168 sc = parenStack[parenSP].scriptCode; in next()
173 if (sameScript(scriptCode, sc)) { in next()
174 if (scriptCode <= USCRIPT_INHERITED && sc > USCRIPT_INHERITED) { in next()
175 scriptCode = sc; in next()
180 parenStack[++startSP].scriptCode = scriptCode; in next()
Dscrptrun.h27 UScriptCode scriptCode; member
33 UScriptCode scriptCode; member
82 UScriptCode scriptCode; variable
129 return scriptCode; in getScriptCode()
136 scriptCode = USCRIPT_INVALID_CODE; in reset()
/external/icu/icu4c/source/samples/layout/
DFontMap.cpp57 UScriptCode scriptCode; in FontMap() local
77 le_int32 fillCount = uscript_getCode(scriptName, &scriptCode, 1, &scriptStatus); in FontMap()
86 script = (le_int32) scriptCode; in FontMap()
199 const LEFontInstance *FontMap::getScriptFont(le_int32 scriptCode, LEErrorCode &status) in getScriptFont() argument
205 if (scriptCode <= -1 || scriptCode >= scriptCodeCount) { in getScriptFont()
211 le_int32 fontIndex = fFontIndices[scriptCode]; in getScriptFont()
214 … sprintf(errorMessage, "No font was set for script %s", uscript_getName((UScriptCode) scriptCode)); in getScriptFont()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/util/
DLocaleNameProviderICU.java43 public String getDisplayScript(String scriptCode, Locale locale) { in getDisplayScript() argument
44 scriptCode = AsciiUtil.toTitleString(scriptCode); in getDisplayScript()
46 .scriptDisplayName(scriptCode); in getDisplayScript()
47 if (disp == null || disp.length() == 0 || disp.equals(scriptCode)) { in getDisplayScript()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
DScriptData.java26 private int scriptCode; field in ScriptData.Record
42 scriptCode = theScriptCode; in Record()
55 public int scriptCode() in scriptCode() method in ScriptData.Record
57 return scriptCode; in scriptCode()
69 UScript.getShortName(scriptCode).toLowerCase() + "ScriptCode]"; in toString()
DScriptRunModuleWriter.java33 int script = scriptData.getRecord(record).scriptCode(); in writeScriptRuns()
68 …scriptRangeOffsets[scriptData.getRecord(record).scriptCode() - minScript].addElement(new Integer(r… in writeScriptRuns()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DAnyTransliterator.java93 Transliterator t = getTransliterator(it.scriptCode); in handleTransliterate()
320 public int scriptCode; field in AnyTransliterator.ScriptRunIterator
353 scriptCode = UScript.INVALID_CODE; // don't know script yet in next()
379 if (scriptCode == UScript.INVALID_CODE) { in next()
380 scriptCode = s; in next()
381 } else if (s != scriptCode) { in next()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DAnyTransliterator.java93 Transliterator t = getTransliterator(it.scriptCode); in handleTransliterate()
320 public int scriptCode; field in AnyTransliterator.ScriptRunIterator
353 scriptCode = UScript.INVALID_CODE; // don't know script yet in next()
379 if (scriptCode == UScript.INVALID_CODE) { in next()
380 scriptCode = s; in next()
381 } else if (s != scriptCode) { in next()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestScriptMetadata.java57 int scriptCode = UScript.getScriptExtensions( in TestScriptOfSample() local
60 "single, valid script, no ScriptExtensions: " + scriptCode, in TestScriptOfSample()
61 scriptCode >= 0); in TestScriptOfSample()
185 String scriptCode = sc.getKey(); in TestGeographicGrouping() local
186 if (extras.contains(scriptCode)) { in TestGeographicGrouping()
201 + "\t" + scriptCode + "\t" in TestGeographicGrouping()
202 + english.getName(CLDRFile.SCRIPT_NAME, scriptCode))); in TestGeographicGrouping()
/external/icu/icu4c/source/i18n/
Danytrans.cpp85 UScriptCode scriptCode; member in ScriptRunIterator
135 scriptCode = USCRIPT_INVALID_CODE; // don't know script yet in next()
161 if (scriptCode == USCRIPT_INVALID_CODE) { in next()
162 scriptCode = s; in next()
163 } else if (s != scriptCode) { in next()
249 Transliterator* t = getTransliterator(it.scriptCode); in handleTransliterate()
/external/icu/icu4c/source/test/letest/
Dcletest.c195 le_int32 scriptCode; in FactoryTest() local
197 for(scriptCode = 0; scriptCode < scriptCodeCount; scriptCode += 1) { in FactoryTest()
199 engine = le_create(font, scriptCode, -1, 0, &status); in FactoryTest()
202 …ld not create a LayoutEngine for script \'%s\'.\n", uscript_getShortName((UScriptCode)scriptCode)); in FactoryTest()
446 le_int32 scriptCode, in doTestCase() argument
467 engine = le_create(font, scriptCode, languageCode, typoFlags, &status); in doTestCase()
Dgendata.cpp46 le_int32 scriptCode; member
203 UScriptCode scriptCode; in main() local
213 uscript_getCode(script, &scriptCode, 1, &status); in main()
309 … engine = LayoutEngine::layoutEngineFactory(font, scriptCode, languageCode, typoFlags, leStatus); in main()
Dletest.cpp225 for(le_int32 scriptCode = 0; scriptCode < scriptCodeCount; scriptCode += 1) { in FactoryTest() local
227 engine = LayoutEngine::layoutEngineFactory(font, scriptCode, -1, status); in FactoryTest()
230 …ld not create a LayoutEngine for script \'%s\'.\n", uscript_getShortName((UScriptCode)scriptCode)); in FactoryTest()
612 UScriptCode scriptCode; in DataDrivenTest() local
621 uscript_getCode(script, &scriptCode, 1, &status); in DataDrivenTest()
693 … engine = LayoutEngine::layoutEngineFactory(font, scriptCode, languageCode, typoFlags, success); in DataDrivenTest()
Dxmlreader.cpp180 UScriptCode scriptCode; in readTestFile() local
186 uscript_getCode(script, &scriptCode, 1, &status); in readTestFile()
240 …(*callback)(id, fontName, fontVer, fontCksum, scriptCode, languageCode, text.getBuffer(), charCoun… in readTestFile()
/external/cldr/tools/java/org/unicode/cldr/util/props/
DICUPropertyFactory.java463 …for (int scriptCode = BITSET.nextSetBit(0); scriptCode >= 0; scriptCode = BITSET.nextSetBit(script… in getStringScriptExtensions()
465 sorted.put(UScript.getShortName(scriptCode), UScript.getName(scriptCode)); in getStringScriptExtensions()
/external/icu/icu4c/source/test/perf/leperf/
Dxmlreader.cpp184 UScriptCode scriptCode; in readTestFile() local
190 uscript_getCode(script, &scriptCode, 1, &status); in readTestFile()
244 …(*callback)(id, fontName, fontVer, fontCksum, scriptCode, languageCode, text.getBuffer(), charCoun… in readTestFile()
/external/cldr/tools/java/org/unicode/cldr/util/
DWikiSubdivisionLanguages.java393 int scriptCode = UScript.getScript(s.codePointAt(0)); in scriptsFor() local
394 if (scriptCode != UScript.COMMON || scriptCode != UScript.INHERITED) { in scriptsFor()
395 result = new UnicodeSet().applyIntPropertyValue(UProperty.SCRIPT, scriptCode); in scriptsFor()
396 if (scriptCode == UScript.LATIN) { in scriptsFor()

12