• Home
  • Raw
  • Download

Lines Matching refs:locale

347 void serialize(const char *locale, UBool tailoredonly) {  in serialize()  argument
362 fprintf(OUTPUT_, "\nLocale: %s\n", locale); in serialize()
363 fprintf(stdout, "Locale: %s\n", locale); in serialize()
486 const char *locale = (char *)options[2].value; in serialize() local
489 if (strcmp(locale, "all") == 0) { in serialize()
524 locale = ucol_getAvailable(localeindex); in serialize()
529 COLLATOR_ = ucol_open(locale, &error); in serialize()
545 strcat(filename, locale); in serialize()
555 serialize(locale, TRUE); in serialize()
570 locale = ucol_getAvailable(localeindex); in serialize()
725 inline UBool checkLocaleForLanguage(const char *locale) in checkLocaleForLanguage() argument
727 return strlen(locale) <= 2; in checkLocaleForLanguage()
957 int getScriptElementsFromExemplars(ScriptElement scriptelem[], const char* locale) { in getScriptElementsFromExemplars() argument
961 UResourceBundle* ures = ures_open(NULL, locale, &error); in getScriptElementsFromExemplars()
963 fprintf(stdout, "Can not find resource bundle for locale: %s\n", locale); in getScriptElementsFromExemplars()
980 int32_t destLength = u_strToUpper(upperChars, length*2, exemplarChars, -1, locale, &error); in getScriptElementsFromExemplars()
1264 void serializeScripts(UScriptCode script[], int scriptcount, const char* locale = NULL) in serializeScripts() argument
1275 if(locale) { in serializeScripts()
1276 count = getScriptElementsFromExemplars(scriptelem, locale); in serializeScripts()
1318 void outputHTMLHeader(const char *locale, UScriptCode script[], in outputHTMLHeader() argument
1344 int32_t size = uloc_getDisplayName(locale, "en_US", displayname, 64, &error); in outputHTMLHeader()
1365 …-bin/viewcvs.cgi/*checkout*/icu/source/data/coll/%s.txt\">%s.txt</a></td></tr>\n", locale, locale); in outputHTMLHeader()
1463 const char *locale; in serializeScripts() local
1468 locale = ucol_getAvailable(localelist); in serializeScripts()
1482 COLLATOR_ = ucol_open(locale, &error); in serializeScripts()
1490 checkLocaleForLanguage(locale)) { in serializeScripts()
1491 fprintf(list, "<a href=%s.html>%s</a> ", locale, locale); in serializeScripts()
1500 uint32_t scriptcount = uscript_getCode(locale, scriptcode, 32, in serializeScripts()
1507 strcat(filename, locale); in serializeScripts()
1514 outputHTMLHeader(locale, scriptcode, scriptcount); in serializeScripts()
1515 fprintf(stdout, "%s\n", locale); in serializeScripts()
1522 serializeScripts(scriptcode, scriptcount, locale); in serializeScripts()
1533 locale = ucol_getAvailable(localelist); in serializeScripts()