Home
last modified time | relevance | path

Searched refs:UScriptCode (Results 1 – 25 of 50) sorted by relevance

12

/external/icu/icu4c/source/common/
Duscript.cpp27 static const UScriptCode JAPANESE[3] = { USCRIPT_KATAKANA, USCRIPT_HIRAGANA, USCRIPT_HAN };
28 static const UScriptCode KOREAN[2] = { USCRIPT_HANGUL, USCRIPT_HAN };
29 static const UScriptCode HAN_BOPO[2] = { USCRIPT_HAN, USCRIPT_BOPOMOFO };
32 setCodes(const UScriptCode *src, int32_t length, in setCodes()
33 UScriptCode *dest, int32_t capacity, UErrorCode *err) { in setCodes()
47 setOneCode(UScriptCode script, UScriptCode *scripts, int32_t capacity, UErrorCode *err) { in setOneCode()
59 UScriptCode *scripts, int32_t capacity, UErrorCode *err) { in getCodesFromLocale()
86 UScriptCode scriptCode = (UScriptCode)u_getPropertyValueEnum(UCHAR_SCRIPT, script); in getCodesFromLocale()
100 UScriptCode* fillIn, in uscript_getCode()
119 UScriptCode code = (UScriptCode) u_getPropertyValueEnum(UCHAR_SCRIPT, nameOrAbbrOrLocale); in uscript_getCode()
[all …]
Duscript_props.cpp243 int32_t getScriptProps(UScriptCode script) { in getScriptProps()
254 uscript_getSampleString(UScriptCode script, UChar *dest, int32_t capacity, UErrorCode *pErrorCode) { in uscript_getSampleString()
275 uscript_getSampleUnicodeString(UScriptCode script) { in uscript_getSampleUnicodeString()
285 uscript_getUsage(UScriptCode script) { in uscript_getUsage()
290 uscript_isRightToLeft(UScriptCode script) { in uscript_isRightToLeft()
295 uscript_breaksBetweenLetters(UScriptCode script) { in uscript_breaksBetweenLetters()
300 uscript_isCased(UScriptCode script) { in uscript_isCased()
Dusc_impl.cpp38 UScriptCode scriptCode;
48 UScriptCode scriptCode;
78 static void push(UScriptRun *scriptRun, int32_t pairIndex, UScriptCode scriptCode) in push()
109 static void fixup(UScriptRun *scriptRun, UScriptCode scriptCode) in fixup()
186 sameScript(UScriptCode scriptOne, UScriptCode scriptTwo) in sameScript()
258 uscript_nextRun(UScriptRun *scriptRun, int32_t *pRunStart, int32_t *pRunLimit, UScriptCode *pRunScr… in uscript_nextRun()
273 UScriptCode sc; in uscript_nextRun()
Duchar.cpp557 U_CAPI UScriptCode U_EXPORT2
569 return (UScriptCode)codeOrIndex; in uscript_getScript()
575 return (UScriptCode)scriptExtensions[codeOrIndex]; in uscript_getScript()
580 uscript_hasScript(UChar32 c, UScriptCode sc) { in uscript_hasScript()
584 return sc==(UScriptCode)codeOrIndex; in uscript_hasScript()
604 UScriptCode *scripts, int32_t capacity, in uscript_getScriptExtensions()
619 scripts[0]=(UScriptCode)codeOrIndex; in uscript_getScriptExtensions()
633 scripts[length]=(UScriptCode)(sx&0x7fff); in uscript_getScriptExtensions()
Dusc_impl.h137 uscript_nextRun(UScriptRun *scriptRun, int32_t *pRunStart, int32_t *pRunLimit, UScriptCode *pRunScr…
Dbrkeng.cpp164 UScriptCode code = uscript_getScript(c, &status); in loadEngineFor()
227 ICULanguageBreakFactory::loadDictionaryMatcherFor(UScriptCode script) { in loadDictionaryMatcherFor()
Dpropname.cpp319 uscript_getName(UScriptCode scriptCode){ in uscript_getName()
325 uscript_getShortName(UScriptCode scriptCode){ in uscript_getShortName()
Dbrkeng.h265 virtual DictionaryMatcher *loadDictionaryMatcherFor(UScriptCode script);
/external/icu/libandroidicu/include/unicode/
Duscript.h54 typedef enum UScriptCode { enum
496 } UScriptCode; typedef
518 uscript_getCode(const char* nameOrAbbrOrLocale,UScriptCode* fillIn,int32_t capacity,UErrorCode *err…
531 uscript_getName(UScriptCode scriptCode);
543 uscript_getShortName(UScriptCode scriptCode);
553 U_STABLE UScriptCode U_EXPORT2
569 uscript_hasScript(UChar32 c, UScriptCode sc);
602 UScriptCode *scripts, int32_t capacity,
640 uscript_getSampleString(UScriptCode script, UChar *dest, int32_t capacity, UErrorCode *pErrorCode);
658 uscript_getSampleUnicodeString(UScriptCode script);
[all …]
/external/icu/icu4c/source/common/unicode/
Duscript.h54 typedef enum UScriptCode { enum
496 } UScriptCode; typedef
518 uscript_getCode(const char* nameOrAbbrOrLocale,UScriptCode* fillIn,int32_t capacity,UErrorCode *err…
531 uscript_getName(UScriptCode scriptCode);
543 uscript_getShortName(UScriptCode scriptCode);
553 U_STABLE UScriptCode U_EXPORT2
569 uscript_hasScript(UChar32 c, UScriptCode sc);
602 UScriptCode *scripts, int32_t capacity,
640 uscript_getSampleString(UScriptCode script, UChar *dest, int32_t capacity, UErrorCode *pErrorCode);
658 uscript_getSampleUnicodeString(UScriptCode script);
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcucdapi.c16 static void scriptsToString(const UScriptCode scripts[], int32_t length, char s[]) { in scriptsToString()
32 const UScriptCode scripts1[], int32_t length1, in assertEqualScripts()
33 const UScriptCode scripts2[], int32_t length2, in assertEqualScripts()
77 UScriptCode expected[] ={ in TestUScriptCodeAPI()
105 UScriptCode script[10]={USCRIPT_INVALID_CODE}; in TestUScriptCodeAPI()
122 UScriptCode jaCode[]={USCRIPT_KATAKANA, USCRIPT_HIRAGANA, USCRIPT_HAN }; in TestUScriptCodeAPI()
123 UScriptCode script[10]={USCRIPT_INVALID_CODE}; in TestUScriptCodeAPI()
150 static const UScriptCode LATIN[1] = { USCRIPT_LATIN }; in TestUScriptCodeAPI()
151 static const UScriptCode CYRILLIC[1] = { USCRIPT_CYRILLIC }; in TestUScriptCodeAPI()
152 static const UScriptCode DEVANAGARI[1] = { USCRIPT_DEVANAGARI }; in TestUScriptCodeAPI()
[all …]
/external/icu/icu4c/source/extra/scrptrun/
Dscrptrun.h29 UScriptCode scriptCode;
35 UScriptCode scriptCode;
56 UScriptCode getScriptCode();
84 UScriptCode scriptCode;
129 inline UScriptCode ScriptRun::getScriptCode() in getScriptCode()
Dsrtest.cpp37 UScriptCode code = scriptRun.getScriptCode(); in main()
/external/icu/icu4c/source/i18n/
Dscriptset.h48 UBool test(UScriptCode script, UErrorCode &status) const;
50 ScriptSet &set(UScriptCode script, UErrorCode &status);
51 ScriptSet &reset(UScriptCode script, UErrorCode &status);
53 ScriptSet &intersect(UScriptCode script, UErrorCode &status);
Dscriptset.cpp56 UBool ScriptSet::test(UScriptCode script, UErrorCode &status) const { in test()
70 ScriptSet &ScriptSet::set(UScriptCode script, UErrorCode &status) { in set()
84 ScriptSet &ScriptSet::reset(UScriptCode script, UErrorCode &status) { in reset()
114 ScriptSet &ScriptSet::intersect(UScriptCode script, UErrorCode &status) { in intersect()
181 if (test((UScriptCode)scriptIndex, status)) { in nextSetBit()
204 const char *scriptName = uscript_getShortName((UScriptCode(i))); in displayScripts()
233 this->set((UScriptCode)sc, status); in parseScripts()
247 MaybeStackArray<UScriptCode,FIRST_GUESS_SCRIPT_CAPACITY> scripts; in setScriptExtensions()
Danytrans.h52 UScriptCode targetScript;
105 UScriptCode theTargetScript,
116 Transliterator* getTransliterator(UScriptCode source) const;
Danytrans.cpp85 UScriptCode scriptCode;
132 UScriptCode s; in next()
188 UScriptCode theTargetScript, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
280 Transliterator* AnyTransliterator::getTransliterator(UScriptCode source) const { in getTransliterator()
335 static UScriptCode scriptNameToCode(const UnicodeString& name) { in scriptNameToCode()
337 UScriptCode code; in scriptNameToCode()
382 UScriptCode targetScript = scriptNameToCode(target); in registerIDs()
/external/harfbuzz_ng/src/
Dhb-icu.h40 hb_icu_script_to_script (UScriptCode script);
42 HB_EXTERN UScriptCode
Dhb-icu.cc61 hb_icu_script_to_script (UScriptCode script) in hb_icu_script_to_script()
69 UScriptCode
77 if (unlikely (hb_icu_script_to_script ((UScriptCode) i) == script)) in hb_icu_script_from_script()
78 return (UScriptCode) i; in hb_icu_script_from_script()
158 UScriptCode scriptCode = uscript_getScript(unicode, &status); in hb_icu_unicode_script()
/external/icu/icu4c/source/test/intltest/
Ducdtest.cpp436 UScriptCode getCharScript(UScriptCode script) { in getCharScript()
463 UScriptCode sc = (UScriptCode)sci; in TestScriptMetadata()
480 UScriptCode charScript = getCharScript(sc); in TestScriptMetadata()
599 UScriptCode scx[20]; in TestDefaultScriptExtensions()
Dalphaindextst.h55 void checkHasBuckets(const Locale &locale, UScriptCode script);
/external/icu/icu4c/source/samples/layout/
DFontMap.cpp57 UScriptCode scriptCode; in FontMap()
214 … sprintf(errorMessage, "No font was set for script %s", uscript_getName((UScriptCode) scriptCode)); in getScriptFont()
/external/tensorflow/tensorflow/core/kernels/
Dunicode_script_op.cc39 UScriptCode script_code = uscript_getScript(input_flat(i), status); in Compute()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_UnicodeScript.pbtxt24 Unicode (ICU) UScriptCode values. See http://icu-project.org/apiref/icu4c/uscript_8h.html.
/external/icu/icu4c/source/layoutex/
DParagraphLayout.cpp392 fStyleRunInfo[run].script = (UScriptCode)0; in ParagraphLayout()
408 fStyleRunInfo[run].script = (UScriptCode) fScriptRuns->getValue(styleIndices[2]); in ParagraphLayout()
620 UScriptCode scriptCode = USCRIPT_INVALID_CODE; in isComplex()
758 UScriptCode script; in computeScripts()
975 le_bool ParagraphLayout::isComplex(UScriptCode script) in isComplex()
977 if (script < 0 || script >= (UScriptCode) scriptCodeCount) { in isComplex()

12