Home
last modified time | relevance | path

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

123

/third_party/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.cpp86 UScriptCode scriptCode = (UScriptCode)u_getPropertyValueEnum(UCHAR_SCRIPT, script); in getCodesFromLocale() local
87 if(scriptCode != USCRIPT_INVALID_CODE) { in getCodesFromLocale()
88 if(scriptCode == USCRIPT_SIMPLIFIED_HAN || scriptCode == USCRIPT_TRADITIONAL_HAN) { in getCodesFromLocale()
89 scriptCode = USCRIPT_HAN; in getCodesFromLocale()
91 return setOneCode(scriptCode, scripts, capacity, err); in getCodesFromLocale()
/third_party/node/deps/icu-small/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.cpp86 UScriptCode scriptCode = (UScriptCode)u_getPropertyValueEnum(UCHAR_SCRIPT, script); in getCodesFromLocale() local
87 if(scriptCode != USCRIPT_INVALID_CODE) { in getCodesFromLocale()
88 if(scriptCode == USCRIPT_SIMPLIFIED_HAN || scriptCode == USCRIPT_TRADITIONAL_HAN) { in getCodesFromLocale()
89 scriptCode = USCRIPT_HAN; in getCodesFromLocale()
91 return setOneCode(scriptCode, scripts, capacity, err); in getCodesFromLocale()
/third_party/skia/third_party/externals/icu/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.cpp86 UScriptCode scriptCode = (UScriptCode)u_getPropertyValueEnum(UCHAR_SCRIPT, script); in getCodesFromLocale() local
87 if(scriptCode != USCRIPT_INVALID_CODE) { in getCodesFromLocale()
88 if(scriptCode == USCRIPT_SIMPLIFIED_HAN || scriptCode == USCRIPT_TRADITIONAL_HAN) { in getCodesFromLocale()
89 scriptCode = USCRIPT_HAN; in getCodesFromLocale()
91 return setOneCode(scriptCode, scripts, capacity, err); in getCodesFromLocale()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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.java900 int scriptCode = UScript.getCodeFromName(script); in getCodesFromLocale() local
901 if(scriptCode != UScript.INVALID_CODE) { in getCodesFromLocale()
902 if(scriptCode == UScript.SIMPLIFIED_HAN || scriptCode == UScript.TRADITIONAL_HAN) { in getCodesFromLocale()
903 scriptCode = UScript.HAN; in getCodesFromLocale()
905 return new int[] { scriptCode }; in getCodesFromLocale()
1110 public static final String getName(int scriptCode){ in getName() argument
1112 scriptCode, in getName()
1125 public static final String getShortName(int scriptCode){ in getShortName() argument
1127 scriptCode, in getShortName()
/third_party/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.java1093 int scriptCode = UScript.getCodeFromName(script); in getCodesFromLocale() local
1094 if(scriptCode != UScript.INVALID_CODE) { in getCodesFromLocale()
1095 if(scriptCode == UScript.SIMPLIFIED_HAN || scriptCode == UScript.TRADITIONAL_HAN) { in getCodesFromLocale()
1096 scriptCode = UScript.HAN; in getCodesFromLocale()
1098 return new int[] { scriptCode }; in getCodesFromLocale()
1311 public static final String getName(int scriptCode){ in getName() argument
1313 scriptCode, in getName()
1327 public static final String getShortName(int scriptCode){ in getShortName() argument
1329 scriptCode, in getShortName()
/third_party/icu/icu4c/source/extra/scrptrun/
Dscrptrun.cpp125 scriptCode = USCRIPT_COMMON; in next()
157 parenStack[parenSP].scriptCode = scriptCode; in next()
170 sc = parenStack[parenSP].scriptCode; in next()
175 if (sameScript(scriptCode, sc)) { in next()
176 if (scriptCode <= USCRIPT_INHERITED && sc > USCRIPT_INHERITED) { in next()
177 scriptCode = sc; in next()
182 parenStack[++startSP].scriptCode = scriptCode; in next()
Dscrptrun.h29 UScriptCode scriptCode; member
35 UScriptCode scriptCode; member
84 UScriptCode scriptCode; variable
131 return scriptCode; in getScriptCode()
138 scriptCode = USCRIPT_INVALID_CODE; in reset()
/third_party/skia/third_party/externals/icu/source/extra/scrptrun/
Dscrptrun.cpp125 scriptCode = USCRIPT_COMMON; in next()
157 parenStack[parenSP].scriptCode = scriptCode; in next()
170 sc = parenStack[parenSP].scriptCode; in next()
175 if (sameScript(scriptCode, sc)) { in next()
176 if (scriptCode <= USCRIPT_INHERITED && sc > USCRIPT_INHERITED) { in next()
177 scriptCode = sc; in next()
182 parenStack[++startSP].scriptCode = scriptCode; in next()
Dscrptrun.h29 UScriptCode scriptCode; member
35 UScriptCode scriptCode; member
84 UScriptCode scriptCode; variable
131 return scriptCode; in getScriptCode()
138 scriptCode = USCRIPT_INVALID_CODE; in reset()
/third_party/skia/third_party/externals/icu/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()
/third_party/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()
/third_party/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()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/fontinfo/
DFontInfo.java374 int scriptCode = UScript.getScript(charId); in listScriptCoverage() local
376 if (coveredScripts.containsKey(scriptCode)) { in listScriptCoverage()
377 scriptCount += coveredScripts.get(scriptCode); in listScriptCoverage()
379 coveredScripts.put(scriptCode, scriptCount); in listScriptCoverage()
387 for (Integer scriptCode : sortedScripts) { in listScriptCoverage()
389 String scriptName = UScript.getName(scriptCode); in listScriptCoverage()
393 unknown += coveredScripts.get(scriptCode); in listScriptCoverage()
398 String.format("%d / %d", coveredScripts.get(scriptCode), scriptSet.size()) })); in listScriptCoverage()
427 int scriptCode = UScript.getScript(charId); in listCharsNeededToCoverScript() local
428 if (scriptCode == UScript.UNKNOWN) { in listCharsNeededToCoverScript()
[all …]
/third_party/node/deps/v8/third_party/test262-harness/src/
D_packager.py207 scriptCode = tempFile.readlines() variable
215 if "Copyright " in scriptCode[0]:
216 scriptCodeContent += scriptCode[0]
217 for line in scriptCode:
225 if scriptCodeContent==scriptCode[0]:
228 scriptCodeContent = "".join(scriptCode)
236 tempDict = convertDocString("".join(scriptCode))
/third_party/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()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()
/third_party/node/deps/icu-small/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()
/third_party/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()
/third_party/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()
/third_party/skia/third_party/externals/icu/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()

123