Home | History | Annotate | Download | only in cintltst

Lines Matching full:temp2

543     char            temp2[20];
571 sprintf(temp2, "%x", (int)uloc_getLCID(testLocale));
572 if (strcmp(temp2, rawData2[LCID][i]) != 0) {
573 log_err("LCID mismatch: %s versus %s\n", temp2 , rawData2[LCID][i]);
3298 char temp2[40], temp3[40];
3306 lengthPre = uloc_getLocaleForLCID(lcid, temp2, 4, &status);
3314 length = uloc_getLocaleForLCID(lcid, temp2, UPRV_LENGTHOF(temp2), &status);
3324 length = uloc_getLocaleForLCID(0x12345, temp2, UPRV_LENGTHOF(temp2), &status);
3326 log_err(" unexpected result from uloc_getLocaleForLCID(0x12345): %s, status %s\n", temp2, u_errorName(status));
3338 length = uloc_getLocaleForLCID(lcid, temp2, UPRV_LENGTHOF(temp2), &status);
3345 if (length != uprv_strlen(temp2)) {
3346 log_err(" returned length %d not correct for uloc_getLocaleForLCID(%#04x), expected %d\n", length, lcid, uprv_strlen(temp2));
3350 length = uloc_getLanguage(temp2, temp3, UPRV_LENGTHOF(temp3), &status);
3352 log_err(" couldn't get language in uloc_getLocaleForLCID(%#04x) = %s, status %s\n", lcid, temp2, u_errorName(status));
3356 log_err(" language doesn't match expected %s in in uloc_getLocaleForLCID(%#04x) = %s\n", rawData2[LANG][i], lcid, temp2);
3359 length = uloc_getScript(temp2, temp3, UPRV_LENGTHOF(temp3), &status);
3361 log_err(" couldn't get script in uloc_getLocaleForLCID(%#04x) = %s, status %s\n", lcid, temp2, u_errorName(status));
3365 log_err(" script doesn't match expected %s in in uloc_getLocaleForLCID(%#04x) = %s\n", rawData2[SCRIPT][i], lcid, temp2);
3368 length = uloc_getCountry(temp2, temp3, UPRV_LENGTHOF(temp3), &status);
3370 log_err(" couldn't get country in uloc_getLocaleForLCID(%#04x) = %s, status %s\n", lcid, temp2, u_errorName(status));
3374 log_err(" country doesn't match expected %s in in uloc_getLocaleForLCID(%#04x) = %s\n", rawData2[CTRY][i], lcid, temp2);