Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/common/
Duscript.c24 static const UScriptCode JAPANESE[3] = { USCRIPT_KATAKANA, USCRIPT_HIRAGANA, USCRIPT_HAN };
25 static const UScriptCode KOREAN[2] = { USCRIPT_HANGUL, USCRIPT_HAN };
26 static const UScriptCode HAN_BOPO[2] = { USCRIPT_HAN, USCRIPT_BOPOMOFO };
29 setCodes(const UScriptCode *src, int32_t length, in setCodes()
30 UScriptCode *dest, int32_t capacity, UErrorCode *err) { in setCodes()
44 setOneCode(UScriptCode script, UScriptCode *scripts, int32_t capacity, UErrorCode *err) { in setOneCode()
56 UScriptCode *scripts, int32_t capacity, UErrorCode *err) { in getCodesFromLocale()
83 UScriptCode scriptCode = (UScriptCode)u_getPropertyValueEnum(UCHAR_SCRIPT, script); in getCodesFromLocale()
97 UScriptCode* fillIn, in uscript_getCode()
117 UScriptCode code = (UScriptCode) u_getPropertyValueEnum(UCHAR_SCRIPT, nameOrAbbrOrLocale); in uscript_getCode()
[all …]
Duscript_props.cpp225 int32_t getScriptProps(UScriptCode script) { in getScriptProps()
236 uscript_getSampleString(UScriptCode script, UChar *dest, int32_t capacity, UErrorCode *pErrorCode) { in uscript_getSampleString()
257 uscript_getSampleUnicodeString(UScriptCode script) { in uscript_getSampleUnicodeString()
267 uscript_getUsage(UScriptCode script) { in uscript_getUsage()
272 uscript_isRightToLeft(UScriptCode script) { in uscript_isRightToLeft()
277 uscript_breaksBetweenLetters(UScriptCode script) { in uscript_breaksBetweenLetters()
282 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.c558 U_CAPI UScriptCode U_EXPORT2
570 return (UScriptCode)scriptX; in uscript_getScript()
576 return (UScriptCode)scriptExtensions[scriptX&UPROPS_SCRIPT_MASK]; in uscript_getScript()
581 uscript_hasScript(UChar32 c, UScriptCode sc) { in uscript_hasScript()
585 return sc==(UScriptCode)scriptX; in uscript_hasScript()
604 UScriptCode *scripts, int32_t capacity, in uscript_getScriptExtensions()
622 scripts[0]=(UScriptCode)scriptX; in uscript_getScriptExtensions()
635 scripts[length]=(UScriptCode)(sx&0x7fff); in uscript_getScriptExtensions()
Dusc_impl.h137 uscript_nextRun(UScriptRun *scriptRun, int32_t *pRunStart, int32_t *pRunLimit, UScriptCode *pRunScr…
Dpropname.cpp319 uscript_getName(UScriptCode scriptCode){ in uscript_getName()
325 uscript_getShortName(UScriptCode scriptCode){ in uscript_getShortName()
Dbrkeng.cpp183 UScriptCode code = uscript_getScript(c, &status); in loadEngineFor()
246 ICULanguageBreakFactory::loadDictionaryMatcherFor(UScriptCode script, int32_t /* brkType */) { in loadDictionaryMatcherFor()
Dbrkeng.h285 virtual DictionaryMatcher *loadDictionaryMatcherFor(UScriptCode script, int32_t breakType);
Dlocdspnm.cpp181 virtual UnicodeString& scriptDisplayName(UScriptCode scriptCode,
236 DefaultLocaleDisplayNames::scriptDisplayName(UScriptCode scriptCode,
327 virtual UnicodeString& scriptDisplayName(UScriptCode scriptCode,
739 LocaleDisplayNamesImpl::scriptDisplayName(UScriptCode scriptCode, in scriptDisplayName()
975 UScriptCode scriptCode, in uldn_scriptCodeDisplayName()
/external/icu/icu4c/source/common/unicode/
Duscript.h54 typedef enum UScriptCode { enum
456 } UScriptCode; typedef
478 uscript_getCode(const char* nameOrAbbrOrLocale,UScriptCode* fillIn,int32_t capacity,UErrorCode *err…
491 uscript_getName(UScriptCode scriptCode);
503 uscript_getShortName(UScriptCode scriptCode);
513 U_STABLE UScriptCode U_EXPORT2
529 uscript_hasScript(UChar32 c, UScriptCode sc);
562 UScriptCode *scripts, int32_t capacity,
600 uscript_getSampleString(UScriptCode script, UChar *dest, int32_t capacity, UErrorCode *pErrorCode);
618 uscript_getSampleUnicodeString(UScriptCode script);
[all …]
Dlocdspnm.h153 virtual UnicodeString& scriptDisplayName(UScriptCode scriptCode,
Duldnames.h192 UScriptCode scriptCode,
/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.h27 UScriptCode scriptCode;
33 UScriptCode scriptCode;
54 UScriptCode getScriptCode();
82 UScriptCode scriptCode;
127 inline UScriptCode ScriptRun::getScriptCode() in getScriptCode()
Dsrtest.cpp37 UScriptCode code = scriptRun.getScriptCode(); in main()
/external/icu/icu4c/source/i18n/
Dscriptset.h46 UBool test(UScriptCode script, UErrorCode &status) const;
48 ScriptSet &set(UScriptCode script, UErrorCode &status);
49 ScriptSet &reset(UScriptCode script, UErrorCode &status);
51 ScriptSet &intersect(UScriptCode script, UErrorCode &status);
Dscriptset.cpp62 UBool ScriptSet::test(UScriptCode script, UErrorCode &status) const { in test()
76 ScriptSet &ScriptSet::set(UScriptCode script, UErrorCode &status) { in set()
90 ScriptSet &ScriptSet::reset(UScriptCode script, UErrorCode &status) { in reset()
120 ScriptSet &ScriptSet::intersect(UScriptCode script, UErrorCode &status) { in intersect()
189 if (test((UScriptCode)scriptIndex, status)) { in nextSetBit()
212 const char *scriptName = uscript_getShortName((UScriptCode(i))); in displayScripts()
241 this->set((UScriptCode)sc, status); in parseScripts()
255 MaybeStackArray<UScriptCode,FIRST_GUESS_SCRIPT_CAPACITY> scripts; in setScriptExtensions()
Danytrans.h52 UScriptCode targetScript;
105 UScriptCode theTargetScript,
116 Transliterator* getTransliterator(UScriptCode source) const;
Danytrans.cpp81 UScriptCode scriptCode;
128 UScriptCode s; in next()
184 UScriptCode theTargetScript, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
276 Transliterator* AnyTransliterator::getTransliterator(UScriptCode source) const { in getTransliterator()
331 static UScriptCode scriptNameToCode(const UnicodeString& name) { in scriptNameToCode()
333 UScriptCode code; in scriptNameToCode()
378 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.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.cpp421 UScriptCode getCharScript(UScriptCode script) { in getCharScript()
448 UScriptCode sc = (UScriptCode)sci; in TestScriptMetadata()
465 UScriptCode charScript = getCharScript(sc); in TestScriptMetadata()
/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/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()
/external/icu/icu4c/source/layoutex/layout/
DParagraphLayout.h573 UScriptCode script;
602 static le_bool isComplex(UScriptCode script);

12