Lines Matching refs:UScriptCode
14 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()
148 static const UScriptCode LATIN[1] = { USCRIPT_LATIN }; in TestUScriptCodeAPI()
149 static const UScriptCode CYRILLIC[1] = { USCRIPT_CYRILLIC }; in TestUScriptCodeAPI()
150 static const UScriptCode DEVANAGARI[1] = { USCRIPT_DEVANAGARI }; in TestUScriptCodeAPI()
151 static const UScriptCode HAN[1] = { USCRIPT_HAN }; in TestUScriptCodeAPI()
152 static const UScriptCode JAPANESE[3] = { USCRIPT_KATAKANA, USCRIPT_HIRAGANA, USCRIPT_HAN }; in TestUScriptCodeAPI()
153 static const UScriptCode KOREAN[2] = { USCRIPT_HANGUL, USCRIPT_HAN }; in TestUScriptCodeAPI()
154 static const UScriptCode HAN_BOPO[2] = { USCRIPT_HAN, USCRIPT_BOPOMOFO }; in TestUScriptCodeAPI()
155 UScriptCode scripts[5]; in TestUScriptCodeAPI()
193 UScriptCode testAbbr[]={ in TestUScriptCodeAPI()
207 while(i<sizeof(testAbbr)/sizeof(UScriptCode)){ in TestUScriptCodeAPI()
229 UScriptCode testAbbr[]={ in TestUScriptCodeAPI()
246 while(i<sizeof(testAbbr)/sizeof(UScriptCode)){ in TestUScriptCodeAPI()
290 UScriptCode expected[] = { in TestUScriptCodeAPI()
315 UScriptCode code = USCRIPT_INVALID_CODE; in TestUScriptCodeAPI()
323 code != (UScriptCode)u_getIntPropertyValue(codepoints[i], UCHAR_SCRIPT) in TestUScriptCodeAPI()
340 UScriptCode code= USCRIPT_INVALID_CODE; in TestUScriptCodeAPI()
348 UScriptCode code= USCRIPT_INVALID_CODE; in TestUScriptCodeAPI()
364 for(i=0; (UScriptCode)i< USCRIPT_CODE_LIMIT; i++){ in TestUScriptCodeAPI()
365 const char* name = uscript_getName((UScriptCode)i); in TestUScriptCodeAPI()
443 for(i=USCRIPT_BALINESE; (UScriptCode)i<USCRIPT_CODE_LIMIT; i++, j++){ in TestUScriptCodeAPI()
444 const char* name = uscript_getName((UScriptCode)i); in TestUScriptCodeAPI()
448 name = uscript_getShortName((UScriptCode)i); in TestUScriptCodeAPI()
454 UScriptCode fillIn[5] = {USCRIPT_INVALID_CODE}; in TestUScriptCodeAPI()
464 if(fillIn[0]!= (UScriptCode)(USCRIPT_BALINESE+i)){ in TestUScriptCodeAPI()
545 UScriptCode scripts[20]; in TestGetScriptExtensions()