Lines Matching refs:script
105 UScriptCode script[10]={USCRIPT_INVALID_CODE};
106 uscript_getCode(testNames[i],script,capacity, &err);
107 if( script[0] != expected[i]){
108 log_data_err("Error getting script code Got: %i Expected: %i for name %s (Error code does not propagate if data is not present. Are you missing data?)\n",
109 script[0],expected[i],testNames[i]);
123 UScriptCode script[10]={USCRIPT_INVALID_CODE};
124 int32_t num = uscript_getCode("ja",script,capacity, &err);
129 num = uscript_getCode("ja",script,capacity, &err);
135 if(script[j]!=jaCode[j]) {
137 script[j], uscript_getName(script[j]),
164 assertEqualScripts("tg script: Cyrl", CYRILLIC, 1, scripts, num, err); // Tajik
167 assertEqualScripts("xsr script: Deva", DEVANAGARI, 1, scripts, num, err); // Sherpa
169 // Multi-script languages.
180 assertEqualScripts("zh script: Hani", HAN, 1, scripts, num, err);
191 assertEqualScripts("ro-RO script: Latn", LATIN, 1, scripts, num, err);
212 log_data_err("Couldn't get script name\n");
376 * These script codes were originally added to ICU pre-3.6, so that ICU would
377 * have all ISO 15924 script codes. ICU was then based on Unicode 4.1.
378 * These script codes were added with only short names because we don't
381 * Whenever this happens, the long script names here need to be updated.
446 log_err("need to add new script codes in cucdapi.c!\n");
465 log_err("uscript_getCode failed for script name %s. Error: %s\n",expectedShort[i], u_errorName(status));
468 log_err("uscript_getCode did not return expected number of codes for script %s. EXPECTED: 1 GOT: %i\n", expectedShort[i], len);
471 log_err("uscript_getCode did not return expected code for script %s. EXPECTED: %i GOT: %i\n", expectedShort[i], (USCRIPT_BALINESE+i), fillIn[0] );
493 uscript_hasScript(0x063f, USCRIPT_ARABIC) && /* main Script value */
500 !uscript_hasScript(0x0640, USCRIPT_COMMON) && /* main Script value */
508 !uscript_hasScript(0x0650, USCRIPT_INHERITED) && /* main Script value */
516 !uscript_hasScript(0x0660, USCRIPT_COMMON) && /* main Script value */
525 uscript_hasScript(0xfdf2, USCRIPT_ARABIC) && /* main Script value */
537 static UBool scriptsContain(UScriptCode scripts[], int32_t length, UScriptCode script) {
545 if(s==script) { contain=TRUE; }
586 /* U+063F has only a Script code, no Script_Extensions. */