Lines Matching refs:uloc_getLanguage
250 /* testing uloc(), uloc_getName(), uloc_getLanguage(), uloc_getVariant(), uloc_getCountry() */
263 cap=uloc_getLanguage(testLocale, NULL, 0, &status);
267 uloc_getLanguage(testLocale, temp, cap+1, &status);
270 log_err("ERROR: in uloc_getLanguage %s\n", myErrorName(status));
424 "uloc_getLanguage()",
455 len = uloc_getLanguage(loc, buf, PREFIXBUFSIZ, &err);
1312 uloc_getLanguage(locale, buff, 256, &status);
1321 log_err("FAIL: uloc_getLanguage(%s)==\t\"%s\"\t expected \"%s\"\n",
1326 log_verbose(" uloc_getLanguage(%s)==\t%s\n", locale, buff);
1381 i = uloc_getLanguage("kok",NULL,0,&icu_err);
1384 log_err("FAIL: Got %s trying to do uloc_getLanguage(kok)\n", u_errorName(icu_err));
1388 uloc_getLanguage("kok",r1_buff,12,&icu_err);
1391 log_err("FAIL: Got %s trying to do uloc_getLanguage(kok, buff)\n", u_errorName(icu_err));
1399 log_err("FAIL: uloc_getLanguage(kok)==%s not kok\n",r1_buff);
1403 i = uloc_getLanguage(r1_addr,r1_buff,12,&icu_err);
1406 printf("uloc_getLanguage error (%s)\n",r1_buff);
1410 i = uloc_getLanguage(r1_addr,r1_buff,12,&icu_err);
1413 printf("uloc_getLanguage error (%s)\n",r1_buff);
2828 int32_t langLen = uloc_getLanguage(newLoc, language, capacity, &status);
2900 length = uloc_getLanguage(temp2, temp3, sizeof(temp3)/sizeof(char), &status);