Lines Matching refs:tens
75 const char * const tens = datestrs; in http_date_parse_RFC_850() local
77 const char *p = tens + 10; in http_date_parse_RFC_850()
90 tm->tm_mday = tens[(s[2]-'0')] + (s[3]-'0'); in http_date_parse_RFC_850()
93 p = tens + 10 + sizeof("SunMonTueWedThuFriSat")-1; in http_date_parse_RFC_850()
102 tm->tm_year = tens[(s[9]-'0')] + (s[10]-'0') + tm_year_base; in http_date_parse_RFC_850()
107 tm->tm_hour = tens[(s[12]-'0')] + (s[13]-'0'); in http_date_parse_RFC_850()
111 tm->tm_min = tens[(s[15]-'0')] + (s[16]-'0'); in http_date_parse_RFC_850()
115 tm->tm_sec = tens[(s[18]-'0')] + (s[19]-'0'); in http_date_parse_RFC_850()
136 const char * const tens = datestrs; in http_date_parse_asctime() local
138 const char *p = tens + 10; in http_date_parse_asctime()
146 p = tens + 10 + sizeof("SunMonTueWedThuFriSat")-1; in http_date_parse_asctime()
156 tm->tm_mday = (s[8] == ' ' ? 0 : tens[(s[8]-'0')]) + (s[9]-'0'); in http_date_parse_asctime()
160 tm->tm_hour = tens[(s[11]-'0')] + (s[12]-'0'); in http_date_parse_asctime()
164 tm->tm_min = tens[(s[14]-'0')] + (s[15]-'0'); in http_date_parse_asctime()
168 tm->tm_sec = tens[(s[17]-'0')] + (s[18]-'0'); in http_date_parse_asctime()
172 tm->tm_year =(tens[(s[20]-'0')] + (s[21]-'0'))*100 in http_date_parse_asctime()
173 + tens[(s[22]-'0')] + (s[23]-'0') - 1900; in http_date_parse_asctime()
190 const char * const tens = datestrs; in http_date_parse_IMF_fixdate() local
192 const char *p = tens + 10; in http_date_parse_IMF_fixdate()
202 tm->tm_mday = tens[(s[5]-'0')] + (s[6]-'0'); in http_date_parse_IMF_fixdate()
205 p = tens + 10 + sizeof("SunMonTueWedThuFriSat")-1; in http_date_parse_IMF_fixdate()
214 tm->tm_year =(tens[(s[12]-'0')] + (s[13]-'0'))*100 in http_date_parse_IMF_fixdate()
215 + tens[(s[14]-'0')] + (s[15]-'0') - 1900; in http_date_parse_IMF_fixdate()
219 tm->tm_hour = tens[(s[17]-'0')] + (s[18]-'0'); in http_date_parse_IMF_fixdate()
223 tm->tm_min = tens[(s[20]-'0')] + (s[21]-'0'); in http_date_parse_IMF_fixdate()
227 tm->tm_sec = tens[(s[23]-'0')] + (s[24]-'0'); in http_date_parse_IMF_fixdate()