Searched refs:c2i (Results 1 – 2 of 2) sorted by relevance
259 #define c2i(c) ((c) - '0') in k5_asn1_decode_generaltime() macro261 if ((uint8_t)c2i(s[i]) > 9) in k5_asn1_decode_generaltime()264 ts.tm_year = 1000 * c2i(s[0]) + 100 * c2i(s[1]) + 10 * c2i(s[2]) + in k5_asn1_decode_generaltime()265 c2i(s[3]) - 1900; in k5_asn1_decode_generaltime()266 ts.tm_mon = 10 * c2i(s[4]) + c2i(s[5]) - 1; in k5_asn1_decode_generaltime()267 ts.tm_mday = 10 * c2i(s[6]) + c2i(s[7]); in k5_asn1_decode_generaltime()268 ts.tm_hour = 10 * c2i(s[8]) + c2i(s[9]); in k5_asn1_decode_generaltime()269 ts.tm_min = 10 * c2i(s[10]) + c2i(s[11]); in k5_asn1_decode_generaltime()270 ts.tm_sec = 10 * c2i(s[12]) + c2i(s[13]); in k5_asn1_decode_generaltime()
13166 * Constify all or almost all d2i, c2i, s2i and r2i functions, along with