Lines Matching refs:temp2

530     char            temp2[20];
558 sprintf(temp2, "%x", (int)uloc_getLCID(testLocale));
559 if (strcmp(temp2, rawData2[LCID][i]) != 0) {
560 log_err("LCID mismatch: %s versus %s\n", temp2 , rawData2[LCID][i]);
3111 char temp2[40], temp3[40];
3119 lengthPre = uloc_getLocaleForLCID(lcid, temp2, 4, &status);
3127 length = uloc_getLocaleForLCID(lcid, temp2, sizeof(temp2)/sizeof(char), &status);
3137 length = uloc_getLocaleForLCID(0x12345, temp2, sizeof(temp2)/sizeof(char), &status);
3139 log_err(" unexpected result from uloc_getLocaleForLCID(0x12345): %s, status %s\n", temp2, u_errorName(status));
3151 length = uloc_getLocaleForLCID(lcid, temp2, sizeof(temp2)/sizeof(char), &status);
3158 if (length != uprv_strlen(temp2)) {
3159 log_err(" returned length %d not correct for uloc_getLocaleForLCID(%#04x), expected %d\n", length, lcid, uprv_strlen(temp2));
3163 length = uloc_getLanguage(temp2, temp3, sizeof(temp3)/sizeof(char), &status);
3165 log_err(" couldn't get language in uloc_getLocaleForLCID(%#04x) = %s, status %s\n", lcid, temp2, u_errorName(status));
3169 log_err(" language doesn't match expected %s in in uloc_getLocaleForLCID(%#04x) = %s\n", rawData2[LANG][i], lcid, temp2);
3172 length = uloc_getScript(temp2, temp3, sizeof(temp3)/sizeof(char), &status);
3174 log_err(" couldn't get script in uloc_getLocaleForLCID(%#04x) = %s, status %s\n", lcid, temp2, u_errorName(status));
3178 log_err(" script doesn't match expected %s in in uloc_getLocaleForLCID(%#04x) = %s\n", rawData2[SCRIPT][i], lcid, temp2);
3181 length = uloc_getCountry(temp2, temp3, sizeof(temp3)/sizeof(char), &status);
3183 log_err(" couldn't get country in uloc_getLocaleForLCID(%#04x) = %s, status %s\n", lcid, temp2, u_errorName(status));
3187 log_err(" country doesn't match expected %s in in uloc_getLocaleForLCID(%#04x) = %s\n", rawData2[CTRY][i], lcid, temp2);