Lines Matching refs:uloc_getLanguage
254 /* testing uloc(), uloc_getName(), uloc_getLanguage(), uloc_getVariant(), uloc_getCountry() */
267 cap=uloc_getLanguage(testLocale, NULL, 0, &status);
271 uloc_getLanguage(testLocale, temp, cap+1, &status);
274 log_err("ERROR: in uloc_getLanguage %s\n", myErrorName(status));
429 "uloc_getLanguage()",
460 len = uloc_getLanguage(loc, buf, PREFIXBUFSIZ, &err);
1539 uloc_getLanguage(locale, buff, 256, &status);
1548 log_err("FAIL: uloc_getLanguage(%s)==\t\"%s\"\t expected \"%s\"\n",
1553 log_verbose(" uloc_getLanguage(%s)==\t%s\n", locale, buff);
1608 i = uloc_getLanguage("kok",NULL,0,&icu_err);
1611 log_err("FAIL: Got %s trying to do uloc_getLanguage(kok)\n", u_errorName(icu_err));
1615 uloc_getLanguage("kok",r1_buff,12,&icu_err);
1618 log_err("FAIL: Got %s trying to do uloc_getLanguage(kok, buff)\n", u_errorName(icu_err));
1626 log_err("FAIL: uloc_getLanguage(kok)==%s not kok\n",r1_buff);
1630 i = uloc_getLanguage(r1_addr,r1_buff,12,&icu_err);
1633 printf("uloc_getLanguage error (%s)\n",r1_buff);
1637 i = uloc_getLanguage(r1_addr,r1_buff,12,&icu_err);
1640 printf("uloc_getLanguage error (%s)\n",r1_buff);
3091 int32_t langLen = uloc_getLanguage(newLoc, language, capacity, &status);
3163 length = uloc_getLanguage(temp2, temp3, sizeof(temp3)/sizeof(char), &status);