Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/common/
Duscript.c22 static const UScriptCode JAPANESE[3] = { USCRIPT_KATAKANA, USCRIPT_HIRAGANA, USCRIPT_HAN };
23 static const UScriptCode KOREAN[2] = { USCRIPT_HANGUL, USCRIPT_HAN };
24 static const UScriptCode HAN_BOPO[2] = { USCRIPT_HAN, USCRIPT_BOPOMOFO };
27 setCodes(const UScriptCode *src, int32_t length, in setCodes()
28 UScriptCode *dest, int32_t capacity, UErrorCode *err) { in setCodes()
42 setOneCode(UScriptCode script, UScriptCode *scripts, int32_t capacity, UErrorCode *err) { in setOneCode()
54 UScriptCode *scripts, int32_t capacity, UErrorCode *err) { in getCodesFromLocale()
81 UScriptCode scriptCode = (UScriptCode)u_getPropertyValueEnum(UCHAR_SCRIPT, script); in getCodesFromLocale()
95 UScriptCode* fillIn, in uscript_getCode()
115 UScriptCode code = (UScriptCode) u_getPropertyValueEnum(UCHAR_SCRIPT, nameOrAbbrOrLocale); in uscript_getCode()
[all …]
Duscript_props.cpp215 int32_t getScriptProps(UScriptCode script) { in getScriptProps()
226 uscript_getSampleString(UScriptCode script, UChar *dest, int32_t capacity, UErrorCode *pErrorCode) { in uscript_getSampleString()
247 uscript_getSampleUnicodeString(UScriptCode script) { in uscript_getSampleUnicodeString()
257 uscript_getUsage(UScriptCode script) { in uscript_getUsage()
262 uscript_isRightToLeft(UScriptCode script) { in uscript_isRightToLeft()
267 uscript_breaksBetweenLetters(UScriptCode script) { in uscript_breaksBetweenLetters()
272 uscript_isCased(UScriptCode script) { in uscript_isCased()
Dusc_impl.c38 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.c550 U_CAPI UScriptCode U_EXPORT2
562 return (UScriptCode)scriptX; in uscript_getScript()
568 return (UScriptCode)scriptExtensions[scriptX&UPROPS_SCRIPT_MASK]; in uscript_getScript()
573 uscript_hasScript(UChar32 c, UScriptCode sc) { in uscript_hasScript()
577 return sc==(UScriptCode)scriptX; in uscript_hasScript()
596 UScriptCode *scripts, int32_t capacity, in uscript_getScriptExtensions()
614 scripts[0]=(UScriptCode)scriptX; in uscript_getScriptExtensions()
627 scripts[length]=(UScriptCode)(sx&0x7fff); in uscript_getScriptExtensions()
Dusc_impl.h135 uscript_nextRun(UScriptRun *scriptRun, int32_t *pRunStart, int32_t *pRunLimit, UScriptCode *pRunScr…
Dpropname.cpp317 uscript_getName(UScriptCode scriptCode){ in uscript_getName()
323 uscript_getShortName(UScriptCode scriptCode){ in uscript_getShortName()
Dbrkeng.cpp180 UScriptCode code = uscript_getScript(c, &status); in loadEngineFor()
243 ICULanguageBreakFactory::loadDictionaryMatcherFor(UScriptCode script, int32_t /* brkType */) { in loadDictionaryMatcherFor()
Dbrkeng.h283 virtual DictionaryMatcher *loadDictionaryMatcherFor(UScriptCode script, int32_t breakType);
/external/icu/icu4c/source/test/cintltst/
Dcucdapi.c14 static void scriptsToString(const UScriptCode scripts[], int32_t length, char s[]) { in scriptsToString()
30 const UScriptCode scripts1[], int32_t length1, in assertEqualScripts()
31 const UScriptCode scripts2[], int32_t length2, in assertEqualScripts()
75 UScriptCode expected[] ={ in TestUScriptCodeAPI()
103 UScriptCode script[10]={USCRIPT_INVALID_CODE}; in TestUScriptCodeAPI()
120 UScriptCode jaCode[]={USCRIPT_KATAKANA, USCRIPT_HIRAGANA, USCRIPT_HAN }; in TestUScriptCodeAPI()
121 UScriptCode script[10]={USCRIPT_INVALID_CODE}; in TestUScriptCodeAPI()
128 if(num!=(sizeof(jaCode)/sizeof(UScriptCode))){ in TestUScriptCodeAPI()
130 num, (sizeof(jaCode)/sizeof(UScriptCode))); in TestUScriptCodeAPI()
132 for(j=0;j<sizeof(jaCode)/sizeof(UScriptCode);j++) { in TestUScriptCodeAPI()
[all …]
/external/icu/icu4c/source/common/unicode/
Duscript.h52 typedef enum UScriptCode { enum
439 } UScriptCode; typedef
461 uscript_getCode(const char* nameOrAbbrOrLocale,UScriptCode* fillIn,int32_t capacity,UErrorCode *err…
474 uscript_getName(UScriptCode scriptCode);
486 uscript_getShortName(UScriptCode scriptCode);
496 U_STABLE UScriptCode U_EXPORT2
515 uscript_hasScript(UChar32 c, UScriptCode sc);
550 UScriptCode *scripts, int32_t capacity,
588 uscript_getSampleString(UScriptCode script, UChar *dest, int32_t capacity, UErrorCode *pErrorCode);
606 uscript_getSampleUnicodeString(UScriptCode script);
[all …]
/external/icu/icu4c/source/extra/scrptrun/
Dscrptrun.h25 UScriptCode scriptCode;
31 UScriptCode scriptCode;
52 UScriptCode getScriptCode();
80 UScriptCode scriptCode;
125 inline UScriptCode ScriptRun::getScriptCode() in getScriptCode()
Dsrtest.cpp34 UScriptCode code = scriptRun.getScriptCode(); in main()
/external/icu/icu4c/source/i18n/
Dscriptset.h43 UBool test(UScriptCode script, UErrorCode &status) const;
45 ScriptSet &set(UScriptCode script, UErrorCode &status);
46 ScriptSet &reset(UScriptCode script, UErrorCode &status);
48 ScriptSet &intersect(UScriptCode script, UErrorCode &status);
Danytrans.h50 UScriptCode targetScript;
103 UScriptCode theTargetScript,
114 Transliterator* getTransliterator(UScriptCode source) const;
Dscriptset.cpp60 UBool ScriptSet::test(UScriptCode script, UErrorCode &status) const { in test()
74 ScriptSet &ScriptSet::set(UScriptCode script, UErrorCode &status) { in set()
88 ScriptSet &ScriptSet::reset(UScriptCode script, UErrorCode &status) { in reset()
118 ScriptSet &ScriptSet::intersect(UScriptCode script, UErrorCode &status) { in intersect()
187 if (test((UScriptCode)scriptIndex, status)) { in nextSetBit()
201 const char *scriptName = uscript_getShortName((UScriptCode(i))); in displayScripts()
230 this->set((UScriptCode)sc, status); in parseScripts()
Danytrans.cpp79 UScriptCode scriptCode;
126 UScriptCode s; in next()
182 UScriptCode theTargetScript, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
274 Transliterator* AnyTransliterator::getTransliterator(UScriptCode source) const { in getTransliterator()
329 static UScriptCode scriptNameToCode(const UnicodeString& name) { in scriptNameToCode()
331 UScriptCode code; in scriptNameToCode()
376 UScriptCode targetScript = scriptNameToCode(target); in registerIDs()
Duspoof_wsconf.cpp197 UScriptCode srcScript = in buildWSConfusableData()
198 static_cast<UScriptCode>(u_getPropertyValueEnum(UCHAR_SCRIPT, srcScriptName)); in buildWSConfusableData()
199 UScriptCode targScript = in buildWSConfusableData()
200 static_cast<UScriptCode>(u_getPropertyValueEnum(UCHAR_SCRIPT, targScriptName)); in buildWSConfusableData()
254 UScriptCode cpScript = uscript_getScript(cp, &status); in buildWSConfusableData()
Dlocdspnm.cpp179 virtual UnicodeString& scriptDisplayName(UScriptCode scriptCode,
234 DefaultLocaleDisplayNames::scriptDisplayName(UScriptCode scriptCode,
321 virtual UnicodeString& scriptDisplayName(UScriptCode scriptCode,
729 LocaleDisplayNamesImpl::scriptDisplayName(UScriptCode scriptCode, in scriptDisplayName()
931 UScriptCode scriptCode, in uldn_scriptCodeDisplayName()
/external/harfbuzz_ng/src/
Dhb-icu.h40 hb_icu_script_to_script (UScriptCode script);
42 HB_EXTERN UScriptCode
Dhb-icu.cc44 hb_icu_script_to_script (UScriptCode script) in hb_icu_script_to_script()
52 UScriptCode
59 if (unlikely (hb_icu_script_to_script ((UScriptCode) i) == script)) in hb_icu_script_from_script()
60 return (UScriptCode) i; in hb_icu_script_from_script()
159 UScriptCode scriptCode = uscript_getScript(unicode, &status); in hb_icu_unicode_script()
/external/icu/icu4c/source/test/intltest/
Ducdtest.cpp419 UScriptCode getCharScript(UScriptCode script) { in getCharScript()
442 UScriptCode sc = (UScriptCode)sci; in TestScriptMetadata()
459 UScriptCode charScript = getCharScript(sc); in TestScriptMetadata()
/external/icu/icu4c/source/samples/layout/
DFontMap.cpp53 UScriptCode scriptCode; in FontMap()
210 … sprintf(errorMessage, "No font was set for script %s", uscript_getName((UScriptCode) scriptCode)); in getScriptFont()
/external/icu/icu4c/source/layoutex/
DParagraphLayout.cpp390 fStyleRunInfo[run].script = (UScriptCode)0; in ParagraphLayout()
406 fStyleRunInfo[run].script = (UScriptCode) fScriptRuns->getValue(styleIndices[2]); in ParagraphLayout()
618 UScriptCode scriptCode = USCRIPT_INVALID_CODE; in isComplex()
756 UScriptCode script; in computeScripts()
973 le_bool ParagraphLayout::isComplex(UScriptCode script) in isComplex()
975 if (script < 0 || script >= (UScriptCode) scriptCodeCount) { in isComplex()
/external/icu/icu4c/source/i18n/unicode/
Dlocdspnm.h151 virtual UnicodeString& scriptDisplayName(UScriptCode scriptCode,
/external/icu/icu4c/source/layoutex/layout/
DParagraphLayout.h571 UScriptCode script;
600 static le_bool isComplex(UScriptCode script);

12