Lines Matching refs:atime
164 ASN1_TIME atime; in test_table() local
169 atime.data = (unsigned char*)td->data; in test_table()
170 atime.length = strlen((char*)atime.data); in test_table()
171 atime.type = td->type; in test_table()
172 atime.flags = 0; in test_table()
174 if (!TEST_int_eq(ASN1_TIME_check(&atime), td->check_result)) { in test_table()
175 TEST_info("ASN1_TIME_check(%s) unexpected result", atime.data); in test_table()
181 if (!TEST_int_eq(ASN1_TIME_cmp_time_t(&atime, td->t), 0)) { in test_table()
182 TEST_info("ASN1_TIME_cmp_time_t(%s vs %ld) compare failed", atime.data, (long)td->t); in test_table()
186 if (!TEST_true(ASN1_TIME_diff(&day, &sec, &atime, &atime))) { in test_table()
187 TEST_info("ASN1_TIME_diff(%s) to self failed", atime.data); in test_table()
191 TEST_info("ASN1_TIME_diff(%s) to self not equal", atime.data); in test_table()
195 if (!TEST_true(ASN1_TIME_diff(&day, &sec, >ime, &atime))) { in test_table()
196 TEST_info("ASN1_TIME_diff(%s) to baseline failed", atime.data); in test_table()
201 TEST_info("ASN1_TIME_diff(%s) to baseline bad comparison", atime.data); in test_table()
205 if (!TEST_int_eq(ASN1_TIME_cmp_time_t(&atime, gtime_t), td->cmp_result)) { in test_table()
206 TEST_info("ASN1_TIME_cmp_time_t(%s) to baseline bad comparison", atime.data); in test_table()
249 …if (!TEST_true(ASN1_TIME_diff(&day, &sec, ptime, &atime)) || !TEST_int_eq(day, 0) || !TEST_int_eq(… in test_table()
273 …if (!TEST_true(ASN1_TIME_diff(&day, &sec, ptime, &atime)) || !TEST_int_eq(day, 0) || !TEST_int_eq(… in test_table()
287 ptime = ASN1_TIME_to_generalizedtime(&atime, NULL); in test_table()
289 TEST_info("ASN1_TIME_to_generalizedtime(%s) failed", atime.data); in test_table()
292 TEST_info("ASN1_TIME_to_generalizedtime(%s) should have failed", atime.data); in test_table()
296 TEST_info("ASN1_TIME_to_generalizedtime(%s->%s) bad result", atime.data, ptime->data); in test_table()
304 TEST_error("atime=%s", atime.data); in test_table()