Lines Matching refs:ret

95     int ret = 4;  in first_day()  local
98 ret = (ret + 365 + is_leap_year (year)) % 7; in first_day()
99 return ret; in first_day()
166 int ret; in strptime_l() local
177 ret = match_string (&buf, _ctloc (weekday), locale); in strptime_l()
178 if (ret < 0) in strptime_l()
180 timeptr->tm_wday = ret; in strptime_l()
184 ret = match_string (&buf, _ctloc (wday), locale); in strptime_l()
185 if (ret < 0) in strptime_l()
187 timeptr->tm_wday = ret; in strptime_l()
191 ret = match_string (&buf, _ctloc (month), locale); in strptime_l()
192 if (ret < 0) in strptime_l()
194 timeptr->tm_mon = ret; in strptime_l()
199 ret = match_string (&buf, _ctloc (mon), locale); in strptime_l()
200 if (ret < 0) in strptime_l()
202 timeptr->tm_mon = ret; in strptime_l()
206 ret = strtol_l (buf, &s, 10, locale); in strptime_l()
209 timeptr->tm_year = (ret * 100) - tm_year_base; in strptime_l()
229 ret = strtol_l (buf, &s, 10, locale); in strptime_l()
232 timeptr->tm_mday = ret; in strptime_l()
245 ret = strtol_l (buf, &s, 10, locale); in strptime_l()
248 timeptr->tm_hour = ret; in strptime_l()
253 ret = strtol_l (buf, &s, 10, locale); in strptime_l()
256 if (ret == 12) in strptime_l()
259 timeptr->tm_hour = ret; in strptime_l()
263 ret = strtol_l (buf, &s, 10, locale); in strptime_l()
266 timeptr->tm_yday = ret - 1; in strptime_l()
271 ret = strtol_l (buf, &s, 10, locale); in strptime_l()
274 timeptr->tm_mon = ret - 1; in strptime_l()
279 ret = strtol_l (buf, &s, 10, locale); in strptime_l()
282 timeptr->tm_min = ret; in strptime_l()
292 ret = match_string (&buf, _ctloc (am_pm), locale); in strptime_l()
293 if (ret < 0) in strptime_l()
298 timeptr->tm_hour = ret * 12; in strptime_l()
300 timeptr->tm_hour += ret * 12; in strptime_l()
303 ret = strtol_l (buf, &s, 10, locale); in strptime_l()
306 timeptr->tm_mon = (ret - 1)*3; in strptime_l()
343 ret = strtol_l (buf, &s, 10, locale); in strptime_l()
346 timeptr->tm_sec = ret; in strptime_l()
362 ret = strtol_l (buf, &s, 10, locale); in strptime_l()
365 timeptr->tm_wday = ret - 1; in strptime_l()
370 ret = strtol_l (buf, &s, 10, locale); in strptime_l()
373 timeptr->tm_wday = ret; in strptime_l()
378 ret = strtol_l (buf, &s, 10, locale); in strptime_l()
381 set_week_number_sun (timeptr, ret); in strptime_l()
386 ret = strtol_l (buf, &s, 10, locale); in strptime_l()
389 set_week_number_mon4 (timeptr, ret); in strptime_l()
394 ret = strtol_l (buf, &s, 10, locale); in strptime_l()
397 set_week_number_mon (timeptr, ret); in strptime_l()
415 ret = strtol_l (buf, &s, 10, locale); in strptime_l()
418 if (ret < 70) in strptime_l()
419 timeptr->tm_year = 100 + ret; in strptime_l()
421 timeptr->tm_year = ret; in strptime_l()
426 ret = strtol_l (buf, &s, 10, locale); in strptime_l()
429 timeptr->tm_year = ret - tm_year_base; in strptime_l()