Lines Matching refs:temp
67 int i, temp; local
199 temp = tm->tm_hour > 12 ?
202 if (temp < 10) {
204 cp = itoa(temp, cp, 1);
206 cp = itoa(temp, cp, 2);
281 temp = tm->tm_yday - tm->tm_wday;
282 if (temp >= -3 ) {
283 i = (temp + 1) / 7 + 1; /* +1 for - tm->tm_wday */
284 if (temp % 7 >= 4)
302 temp = tm->tm_yday - 6;
304 temp = tm->tm_yday - tm->tm_wday + 1;
305 if (temp >= -3) {
306 i = (temp + 1) / 7 + 1; /* 1 for
308 if (temp % 7 >= 4)
403 char temp[MAXLOCALENAME + 1]; in getlocale_time() local
420 strcpy(temp, "C"); in getlocale_time()
424 strcat(_locales[LC_TIME-1], temp); in getlocale_time()
429 strcpy(temp, _locales[LC_TIME - 1]); in getlocale_time()
432 if ((fd = openlocale("LC_TIME", LC_TIME, temp, _locales[LC_TIME - 1])) < 0) in getlocale_time()