/external/icu/icu4c/source/extra/scrptrun/ |
scrptrun.cpp | 123 scriptCode = USCRIPT_COMMON; 155 parenStack[parenSP].scriptCode = scriptCode; 168 sc = parenStack[parenSP].scriptCode; 173 if (sameScript(scriptCode, sc)) { 174 if (scriptCode <= USCRIPT_INHERITED && sc > USCRIPT_INHERITED) { 175 scriptCode = sc; 180 parenStack[++startSP].scriptCode = scriptCode;
|
scrptrun.h | 27 UScriptCode scriptCode; 33 UScriptCode scriptCode; 82 UScriptCode scriptCode; 129 return scriptCode; 136 scriptCode = USCRIPT_INVALID_CODE;
|
/external/icu/icu4c/source/common/ |
usc_impl.c | 38 UScriptCode scriptCode; 48 UScriptCode scriptCode; 78 static void push(UScriptRun *scriptRun, int32_t pairIndex, UScriptCode scriptCode) 85 scriptRun->parenStack[scriptRun->parenSP].scriptCode = scriptCode; 109 static void fixup(UScriptRun *scriptRun, UScriptCode scriptCode) 115 scriptRun->parenStack[fixupSP].scriptCode = scriptCode; 232 scriptRun->scriptCode = USCRIPT_INVALID_CODE; 268 scriptRun->scriptCode = USCRIPT_COMMON [all...] |
uscript.c | 83 UScriptCode scriptCode = (UScriptCode)u_getPropertyValueEnum(UCHAR_SCRIPT, script); 84 if(scriptCode != USCRIPT_INVALID_CODE) { 85 if(scriptCode == USCRIPT_SIMPLIFIED_HAN || scriptCode == USCRIPT_TRADITIONAL_HAN) { 86 scriptCode = USCRIPT_HAN; 88 return setOneCode(scriptCode, scripts, capacity, err);
|
propname.cpp | 319 uscript_getName(UScriptCode scriptCode){ 320 return u_getPropertyValueName(UCHAR_SCRIPT, scriptCode, 325 uscript_getShortName(UScriptCode scriptCode){ 326 return u_getPropertyValueName(UCHAR_SCRIPT, scriptCode,
|
/external/icu/icu4c/source/test/letest/ |
xmlreader.h | 19 le_int32 scriptCode,
|
gendata.cpp | 46 le_int32 scriptCode; 203 UScriptCode scriptCode; 213 uscript_getCode(script, &scriptCode, 1, &status); 309 engine = LayoutEngine::layoutEngineFactory(font, scriptCode, languageCode, typoFlags, leStatus);
|
xmlreader.cpp | 180 UScriptCode scriptCode; 186 uscript_getCode(script, &scriptCode, 1, &status); 240 (*callback)(id, fontName, fontVer, fontCksum, scriptCode, languageCode, text.getBuffer(), charCount, &expected);
|
/external/icu/icu4c/source/test/perf/leperf/ |
xmlreader.h | 20 le_int32 scriptCode,
|
xmlreader.cpp | 184 UScriptCode scriptCode; 190 uscript_getCode(script, &scriptCode, 1, &status); 244 (*callback)(id, fontName, fontVer, fontCksum, scriptCode, languageCode, text.getBuffer(), charCount, &expected);
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/util/ |
LocaleNameProviderICU.java | 44 public String getDisplayScript(String scriptCode, Locale locale) { 45 scriptCode = AsciiUtil.toTitleString(scriptCode); 47 .scriptDisplayName(scriptCode); 48 if (disp == null || disp.length() == 0 || disp.equals(scriptCode)) {
|
/external/icu/android_icu4j/src/main/java/android/icu/lang/ |
UScriptRun.java | 157 scriptCode = UScript.INVALID_CODE; 329 return scriptCode; 349 scriptCode = UScript.COMMON; 370 push(pairIndex, scriptCode); 379 sc = top().scriptCode; 384 if (sameScript(scriptCode, sc)) { 385 if (scriptCode <= UScript.INHERITED && sc > UScript.INHERITED) { 386 scriptCode = sc; 388 fixup(scriptCode); 429 int scriptCode; [all...] |
UScript.java | 845 int scriptCode = UScript.getCodeFromName(script); 846 if(scriptCode != UScript.INVALID_CODE) { 847 if(scriptCode == UScript.SIMPLIFIED_HAN || scriptCode == UScript.TRADITIONAL_HAN) { 848 scriptCode = UScript.HAN; 850 return new int[] { scriptCode }; 1048 * @param scriptCode int script code 1052 public static final String getName(int scriptCode){ 1054 scriptCode, 1063 * @param scriptCode int script cod [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/ |
UScriptRun.java | 155 scriptCode = UScript.INVALID_CODE; 327 return scriptCode; 347 scriptCode = UScript.COMMON; 368 push(pairIndex, scriptCode); 377 sc = top().scriptCode; 382 if (sameScript(scriptCode, sc)) { 383 if (scriptCode <= UScript.INHERITED && sc > UScript.INHERITED) { 384 scriptCode = sc; 386 fixup(scriptCode); 427 int scriptCode; [all...] |
UScript.java | 1025 int scriptCode = UScript.getCodeFromName(script); 1026 if(scriptCode != UScript.INVALID_CODE) { 1027 if(scriptCode == UScript.SIMPLIFIED_HAN || scriptCode == UScript.TRADITIONAL_HAN) { 1028 scriptCode = UScript.HAN; 1030 return new int[] { scriptCode }; [all...] |
/external/icu/icu4c/source/samples/layout/ |
FontMap.cpp | 57 UScriptCode scriptCode; 77 le_int32 fillCount = uscript_getCode(scriptName, &scriptCode, 1, &scriptStatus); 86 script = (le_int32) scriptCode; 199 const LEFontInstance *FontMap::getScriptFont(le_int32 scriptCode, LEErrorCode &status) 205 if (scriptCode <= -1 || scriptCode >= scriptCodeCount) { 211 le_int32 fontIndex = fFontIndices[scriptCode]; 214 sprintf(errorMessage, "No font was set for script %s", uscript_getName((UScriptCode) scriptCode));
|
FontMap.h | 30 virtual const LEFontInstance *getScriptFont(le_int32 scriptCode, LEErrorCode &status);
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
AnyTransliterator.java | 91 // Try to instantiate transliterator from it.scriptCode to 93 Transliterator t = getTransliterator(it.scriptCode); 320 public int scriptCode; 347 * examine scriptCode, start, and limit. 353 scriptCode = UScript.INVALID_CODE; // don't know script yet 379 if (scriptCode == UScript.INVALID_CODE) { 380 scriptCode = s; 381 } else if (s != scriptCode) { 389 // which case scriptCode will be UScript.INVALID_CODE.
|
LocaleDisplayNames.java | 219 * @param scriptCode the script code number 222 public abstract String scriptDisplayName(int scriptCode); 492 public String scriptDisplayName(int scriptCode) { 493 return UScript.getShortName(scriptCode);
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
ScriptData.java | 26 private int scriptCode; 42 scriptCode = theScriptCode; 55 public int scriptCode() 57 return scriptCode; 69 UScript.getShortName(scriptCode).toLowerCase() + "ScriptCode]";
|
ScriptRunModuleWriter.java | 33 int script = scriptData.getRecord(record).scriptCode(); 41 output.print("ScriptCode}"); 68 scriptRangeOffsets[scriptData.getRecord(record).scriptCode() - minScript].addElement(new Integer(record));
|
/external/icu/icu4c/source/i18n/ |
anytrans.cpp | 81 UScriptCode scriptCode; 102 * examine scriptCode, start, and limit. 131 scriptCode = USCRIPT_INVALID_CODE; // don't know script yet 157 if (scriptCode == USCRIPT_INVALID_CODE) { 158 scriptCode = s; 159 } else if (s != scriptCode) { 167 // which case scriptCode will be USCRIPT_INVALID_CODE. 243 // Try to instantiate transliterator from it.scriptCode to 245 Transliterator* t = getTransliterator(it.scriptCode);
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
AnyTransliterator.java | 91 // Try to instantiate transliterator from it.scriptCode to 93 Transliterator t = getTransliterator(it.scriptCode); 320 public int scriptCode; 347 * examine scriptCode, start, and limit. 353 scriptCode = UScript.INVALID_CODE; // don't know script yet 379 if (scriptCode == UScript.INVALID_CODE) { 380 scriptCode = s; 381 } else if (s != scriptCode) { 389 // which case scriptCode will be UScript.INVALID_CODE.
|
/external/icu/icu4c/source/common/unicode/ |
locdspnm.h | 148 * @param scriptCode the script code number 153 virtual UnicodeString& scriptDisplayName(UScriptCode scriptCode,
|
uscript.h | 485 * @param scriptCode UScriptCode enum 487 * or NULL if scriptCode is invalid 491 uscript_getName(UScriptCode scriptCode); 498 * @param scriptCode UScriptCode enum 499 * @return short script name (4-letter code), or NULL if scriptCode is invalid 503 uscript_getShortName(UScriptCode scriptCode);
|