Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/common/
Duscript.cpp24 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.cpp235 int32_t getScriptProps(UScriptCode script) { in getScriptProps()
246 uscript_getSampleString(UScriptCode script, UChar *dest, int32_t capacity, UErrorCode *pErrorCode) { in uscript_getSampleString()
267 uscript_getSampleUnicodeString(UScriptCode script) { in uscript_getSampleUnicodeString()
277 uscript_getUsage(UScriptCode script) { in uscript_getUsage()
282 uscript_isRightToLeft(UScriptCode script) { in uscript_isRightToLeft()
287 uscript_breaksBetweenLetters(UScriptCode script) { in uscript_breaksBetweenLetters()
292 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.cpp551 U_CAPI UScriptCode U_EXPORT2
563 return (UScriptCode)scriptX; in uscript_getScript()
569 return (UScriptCode)scriptExtensions[scriptX&UPROPS_SCRIPT_MASK]; in uscript_getScript()
574 uscript_hasScript(UChar32 c, UScriptCode sc) { in uscript_hasScript()
578 return sc==(UScriptCode)scriptX; in uscript_hasScript()
597 UScriptCode *scripts, int32_t capacity, in uscript_getScriptExtensions()
615 scripts[0]=(UScriptCode)scriptX; in uscript_getScriptExtensions()
628 scripts[length]=(UScriptCode)(sx&0x7fff); in uscript_getScriptExtensions()
Dbrkeng.cpp165 UScriptCode code = uscript_getScript(c, &status); in loadEngineFor()
228 ICULanguageBreakFactory::loadDictionaryMatcherFor(UScriptCode script) { in loadDictionaryMatcherFor()
Dpropname.cpp319 uscript_getName(UScriptCode scriptCode){ in uscript_getName()
325 uscript_getShortName(UScriptCode scriptCode){ in uscript_getShortName()
Dusc_impl.h137 uscript_nextRun(UScriptRun *scriptRun, int32_t *pRunStart, int32_t *pRunLimit, UScriptCode *pRunScr…
/external/icu/icu4c/source/common/unicode/
Duscript.h54 typedef enum UScriptCode { enum
478 } UScriptCode; typedef
500 uscript_getCode(const char* nameOrAbbrOrLocale,UScriptCode* fillIn,int32_t capacity,UErrorCode *err…
513 uscript_getName(UScriptCode scriptCode);
525 uscript_getShortName(UScriptCode scriptCode);
535 U_STABLE UScriptCode U_EXPORT2
551 uscript_hasScript(UChar32 c, UScriptCode sc);
584 UScriptCode *scripts, int32_t capacity,
622 uscript_getSampleString(UScriptCode script, UChar *dest, int32_t capacity, UErrorCode *pErrorCode);
640 uscript_getSampleUnicodeString(UScriptCode script);
[all …]
/external/icu/libandroidicu/include/unicode/
Duscript.h54 typedef enum UScriptCode { enum
478 } UScriptCode; typedef
500 uscript_getCode(const char* nameOrAbbrOrLocale,UScriptCode* fillIn,int32_t capacity,UErrorCode *err…
513 uscript_getName(UScriptCode scriptCode);
525 uscript_getShortName(UScriptCode scriptCode);
535 U_STABLE UScriptCode U_EXPORT2
551 uscript_hasScript(UChar32 c, UScriptCode sc);
584 UScriptCode *scripts, int32_t capacity,
622 uscript_getSampleString(UScriptCode script, UChar *dest, int32_t capacity, UErrorCode *pErrorCode);
640 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.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.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.cc54 hb_icu_script_to_script (UScriptCode script) in hb_icu_script_to_script()
62 UScriptCode
70 if (unlikely (hb_icu_script_to_script ((UScriptCode) i) == script)) in hb_icu_script_from_script()
71 return (UScriptCode) i; in hb_icu_script_from_script()
151 UScriptCode scriptCode = uscript_getScript(unicode, &status); in hb_icu_unicode_script()
Dhb-icu.h40 hb_icu_script_to_script (UScriptCode script);
42 HB_EXTERN UScriptCode
/external/icu/icu4c/source/test/intltest/
Ducdtest.cpp433 UScriptCode getCharScript(UScriptCode script) { in getCharScript()
460 UScriptCode sc = (UScriptCode)sci; in TestScriptMetadata()
477 UScriptCode charScript = getCharScript(sc); in TestScriptMetadata()
596 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/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.h571 UScriptCode script;
600 static le_bool isComplex(UScriptCode script);
/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.

12