Home
last modified time | relevance | path

Searched refs:scriptX (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
DUScript.java1090 …int scriptX=UCharacterProperty.INSTANCE.getAdditional(codepoint, 0)&UCharacterProperty.SCRIPT_X_MA… in getScript() local
1091 if(scriptX<UCharacterProperty.SCRIPT_X_WITH_COMMON) { in getScript()
1092 return scriptX; in getScript()
1093 } else if(scriptX<UCharacterProperty.SCRIPT_X_WITH_INHERITED) { in getScript()
1095 } else if(scriptX<UCharacterProperty.SCRIPT_X_WITH_OTHER) { in getScript()
1098 … return UCharacterProperty.INSTANCE.m_scriptExtensions_[scriptX&UCharacterProperty.SCRIPT_MASK_]; in getScript()
1121 … int scriptX=UCharacterProperty.INSTANCE.getAdditional(c, 0)&UCharacterProperty.SCRIPT_X_MASK; in hasScript() local
1122 if(scriptX<UCharacterProperty.SCRIPT_X_WITH_COMMON) { in hasScript()
1123 return sc==scriptX; in hasScript()
1127 int scx=scriptX&UCharacterProperty.SCRIPT_MASK_; // index into scriptExtensions in hasScript()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/lang/
DUScript.java912 …int scriptX=UCharacterProperty.INSTANCE.getAdditional(codepoint, 0)&UCharacterProperty.SCRIPT_X_MA… in getScript() local
913 if(scriptX<UCharacterProperty.SCRIPT_X_WITH_COMMON) { in getScript()
914 return scriptX; in getScript()
915 } else if(scriptX<UCharacterProperty.SCRIPT_X_WITH_INHERITED) { in getScript()
917 } else if(scriptX<UCharacterProperty.SCRIPT_X_WITH_OTHER) { in getScript()
920 … return UCharacterProperty.INSTANCE.m_scriptExtensions_[scriptX&UCharacterProperty.SCRIPT_MASK_]; in getScript()
942 … int scriptX=UCharacterProperty.INSTANCE.getAdditional(c, 0)&UCharacterProperty.SCRIPT_X_MASK; in hasScript() local
943 if(scriptX<UCharacterProperty.SCRIPT_X_WITH_COMMON) { in hasScript()
944 return sc==scriptX; in hasScript()
948 int scx=scriptX&UCharacterProperty.SCRIPT_MASK_; // index into scriptExtensions in hasScript()
[all …]
/external/icu/icu4c/source/common/
Duchar.c552 uint32_t scriptX; in uscript_getScript() local
560 scriptX=u_getUnicodeProperties(c, 0)&UPROPS_SCRIPT_X_MASK; in uscript_getScript()
561 if(scriptX<UPROPS_SCRIPT_X_WITH_COMMON) { in uscript_getScript()
562 return (UScriptCode)scriptX; in uscript_getScript()
563 } else if(scriptX<UPROPS_SCRIPT_X_WITH_INHERITED) { in uscript_getScript()
565 } else if(scriptX<UPROPS_SCRIPT_X_WITH_OTHER) { in uscript_getScript()
568 return (UScriptCode)scriptExtensions[scriptX&UPROPS_SCRIPT_MASK]; in uscript_getScript()
575 uint32_t scriptX=u_getUnicodeProperties(c, 0)&UPROPS_SCRIPT_X_MASK; in uscript_hasScript() local
576 if(scriptX<UPROPS_SCRIPT_X_WITH_COMMON) { in uscript_hasScript()
577 return sc==(UScriptCode)scriptX; in uscript_hasScript()
[all …]