• Home
  • Raw
  • Download

Lines Matching refs:testLocale

291     char *testLocale = 0;  in TestBasicGetters()  local
295 testLocale=(char*)malloc(sizeof(char) * (strlen(rawData2[NAME][i])+1)); in TestBasicGetters()
296 strcpy(testLocale,rawData2[NAME][i]); in TestBasicGetters()
298 log_verbose("Testing %s .....\n", testLocale); in TestBasicGetters()
299 cap=uloc_getLanguage(testLocale, NULL, 0, &status); in TestBasicGetters()
303 uloc_getLanguage(testLocale, temp, cap+1, &status); in TestBasicGetters()
313 cap=uloc_getCountry(testLocale, temp, cap, &status); in TestBasicGetters()
317 uloc_getCountry(testLocale, temp, cap+1, &status); in TestBasicGetters()
327 cap=uloc_getVariant(testLocale, temp, cap, &status); in TestBasicGetters()
331 uloc_getVariant(testLocale, temp, cap+1, &status); in TestBasicGetters()
340 cap=uloc_getName(testLocale, NULL, 0, &status); in TestBasicGetters()
344 uloc_getName(testLocale, name, cap+1, &status); in TestBasicGetters()
346 … log_err("ERROR: in uloc_getName(%s,NULL,0,..), expected U_BUFFER_OVERFLOW_ERROR!\n", testLocale); in TestBasicGetters()
358 free(testLocale); in TestBasicGetters()
564 char* testLocale = 0; in TestSimpleResourceInfo() local
569 testLocale=(char*)malloc(sizeof(char) * 1); in TestSimpleResourceInfo()
576 testLocale=(char*)realloc(testLocale, sizeof(char) * (u_strlen(dataTable[NAME][i])+1)); in TestSimpleResourceInfo()
577 u_austrcpy(testLocale, dataTable[NAME][i]); in TestSimpleResourceInfo()
579 log_verbose("Testing %s ......\n", testLocale); in TestSimpleResourceInfo()
581 temp=uloc_getISO3Language(testLocale); in TestSimpleResourceInfo()
589 temp=uloc_getISO3Country(testLocale); in TestSimpleResourceInfo()
596 sprintf(temp2, "%x", (int)uloc_getLCID(testLocale)); in TestSimpleResourceInfo()
603 free(testLocale); in TestSimpleResourceInfo()
1003 const char *testLocale; in doTestDisplayNames() local
1023 testLocale=rawData2[NAME][i]; in doTestDisplayNames()
1025 log_verbose("Testing..... %s\n", testLocale); in doTestDisplayNames()
1028 … maxresultsize=uloc_getDisplayLanguage(testLocale, displayLocale, NULL, maxresultsize, &status); in doTestDisplayNames()
1033 … uloc_getDisplayLanguage(testLocale, displayLocale, testLang, maxresultsize + 1, &status); in doTestDisplayNames()
1044 … maxresultsize=uloc_getDisplayScript(testLocale, displayLocale, NULL, maxresultsize, &status); in doTestDisplayNames()
1049 … uloc_getDisplayScript(testLocale, displayLocale, testScript, maxresultsize + 1, &status); in doTestDisplayNames()
1060 … maxresultsize=uloc_getDisplayCountry(testLocale, displayLocale, NULL, maxresultsize, &status); in doTestDisplayNames()
1065 uloc_getDisplayCountry(testLocale, displayLocale, testCtry, maxresultsize + 1, &status); in doTestDisplayNames()
1076 … maxresultsize=uloc_getDisplayVariant(testLocale, displayLocale, NULL, maxresultsize, &status); in doTestDisplayNames()
1081 uloc_getDisplayVariant(testLocale, displayLocale, testVar, maxresultsize + 1, &status); in doTestDisplayNames()
1092 maxresultsize=uloc_getDisplayName(testLocale, displayLocale, NULL, maxresultsize, &status); in doTestDisplayNames()
1097 uloc_getDisplayName(testLocale, displayLocale, testName, maxresultsize + 1, &status); in doTestDisplayNames()
3549 const char* testLocale = 0; in TestGetLocaleForLCID() local
3586 testLocale=rawData2[NAME][i]; in TestGetLocaleForLCID()
3588 log_verbose("Testing %s ......\n", testLocale); in TestGetLocaleForLCID()