Home
last modified time | relevance | path

Searched refs:ptime (Results 1 – 15 of 15) sorted by relevance

/third_party/openssl/test/
Dasn1_time_test.c114 ASN1_TIME *ptime; in test_table() local
159 ptime = ASN1_TIME_set(NULL, td->t); in test_table()
160 if (!TEST_ptr(ptime)) { in test_table()
165 if (!TEST_int_eq(ASN1_TIME_cmp_time_t(ptime, td->t), 0)) { in test_table()
167 (long)td->t, td->data, ptime->data); in test_table()
170 if (!TEST_int_eq(ptime->type, td->expected_type)) { in test_table()
175 TEST_info("ASN1_TIME_set() = %*s", ptime->length, ptime->data); in test_table()
176 ASN1_TIME_free(ptime); in test_table()
179 ptime = ASN1_TIME_new(); in test_table()
180 if (!TEST_ptr(ptime)) { in test_table()
[all …]
/third_party/toybox/toys/pending/
Dcrond.c586 static void schedule_jobs(time_t ctime, time_t ptime) in schedule_jobs() argument
588 time_t tm = ptime-ptime%60; in schedule_jobs()
595 if (tm <= ptime) continue; in schedule_jobs()
630 time_t ctime, ptime; in crond_main() local
664 ptime = ctime; in crond_main()
665 sleep(sleepfor - (ptime%sleepfor) +1); in crond_main()
666 tdiff =(long) ((ctime = time(NULL)) - ptime); in crond_main()
678 schedule_jobs(ctime, ptime); in crond_main()
/third_party/libpng/
Dbackport-libpng-1.6.37-enable-valid.patch174 @@ -489,16 +489,6 @@ png_convert_from_time_t(png_timep ptime, time_t ttime)
184 - memset(ptime, 0, sizeof(*ptime));
188 png_convert_from_struct_tm(ptime, tbuf);
/third_party/skia/third_party/externals/libpng/
Dpng.c737 png_convert_to_rfc1123_buffer(char out[29], png_const_timep ptime) in png_convert_to_rfc1123_buffer() argument
746 if (ptime->year > 9999 /* RFC1123 limitation */ || in png_convert_to_rfc1123_buffer()
747 ptime->month == 0 || ptime->month > 12 || in png_convert_to_rfc1123_buffer()
748 ptime->day == 0 || ptime->day > 31 || in png_convert_to_rfc1123_buffer()
749 ptime->hour > 23 || ptime->minute > 59 || in png_convert_to_rfc1123_buffer()
750 ptime->second > 60) in png_convert_to_rfc1123_buffer()
762 APPEND_NUMBER(PNG_NUMBER_FORMAT_u, (unsigned)ptime->day); in png_convert_to_rfc1123_buffer()
764 APPEND_STRING(short_months[(ptime->month - 1)]); in png_convert_to_rfc1123_buffer()
766 APPEND_NUMBER(PNG_NUMBER_FORMAT_u, ptime->year); in png_convert_to_rfc1123_buffer()
768 APPEND_NUMBER(PNG_NUMBER_FORMAT_02u, (unsigned)ptime->hour); in png_convert_to_rfc1123_buffer()
[all …]
Dpngwrite.c472 png_convert_from_struct_tm(png_timep ptime, const struct tm * ttime) in png_convert_from_struct_tm() argument
476 ptime->year = (png_uint_16)(1900 + ttime->tm_year); in png_convert_from_struct_tm()
477 ptime->month = (png_byte)(ttime->tm_mon + 1); in png_convert_from_struct_tm()
478 ptime->day = (png_byte)ttime->tm_mday; in png_convert_from_struct_tm()
479 ptime->hour = (png_byte)ttime->tm_hour; in png_convert_from_struct_tm()
480 ptime->minute = (png_byte)ttime->tm_min; in png_convert_from_struct_tm()
481 ptime->second = (png_byte)ttime->tm_sec; in png_convert_from_struct_tm()
485 png_convert_from_time_t(png_timep ptime, time_t ttime) in png_convert_from_time_t() argument
492 png_convert_from_struct_tm(ptime, tbuf); in png_convert_from_time_t()
Dpng.h1034 png_const_timep ptime),PNG_DEPRECATED);
1037 png_const_timep ptime));
1042 PNG_EXPORT(24, void, png_convert_from_struct_tm, (png_timep ptime,
1046 PNG_EXPORT(25, void, png_convert_from_time_t, (png_timep ptime, time_t ttime));
/third_party/libinput/test/
Dtest-trackpoint.c41 uint64_t ptime, rtime; in START_TEST() local
56 ptime = libinput_event_pointer_get_time(ptrev); in START_TEST()
66 ck_assert_int_lt(ptime, rtime); in START_TEST()
Dtest-touchpad-tap.c623 uint32_t ptime, rtime; in START_TEST() local
690 ptime = libinput_event_pointer_get_time(ptrev); in START_TEST()
699 ck_assert_int_lt(ptime, rtime); in START_TEST()
2213 uint64_t ptime, rtime; in START_TEST() local
2245 ptime = libinput_event_pointer_get_time_usec(ptrev); in START_TEST()
2254 ck_assert_int_lt(ptime, rtime); in START_TEST()
2268 uint64_t ptime, rtime; in START_TEST() local
2300 ptime = libinput_event_pointer_get_time_usec(ptrev); in START_TEST()
2309 ck_assert_int_lt(ptime, rtime); in START_TEST()
2819 uint64_t ptime, rtime; in START_TEST() local
[all …]
/third_party/littlefs/scripts/
Dwatch.py209 ptime = time.time()
213 time.sleep(max(0, (sleep or 0.1) - (time.time()-ptime)))
Dplot.py1361 ptime = time.time()
1365 time.sleep(max(0, (sleep or 0.01) - (time.time()-ptime)))
/third_party/openssl/crypto/x509/
Dx509_vfy.c1007 time_t *ptime; in check_crl_time() local
1011 ptime = &ctx->param->check_time; in check_crl_time()
1015 ptime = NULL; in check_crl_time()
1019 i = X509_cmp_time(X509_CRL_get0_lastUpdate(crl), ptime); in check_crl_time()
1035 i = X509_cmp_time(X509_CRL_get0_nextUpdate(crl), ptime); in check_crl_time()
1715 time_t *ptime; in ossl_x509_check_cert_time() local
1719 ptime = &ctx->param->check_time; in ossl_x509_check_cert_time()
1723 ptime = NULL; in ossl_x509_check_cert_time()
1725 i = X509_cmp_time(X509_get0_notBefore(x), ptime); in ossl_x509_check_cert_time()
1731 i = X509_cmp_time(X509_get0_notAfter(x), ptime); in ossl_x509_check_cert_time()
/third_party/node/deps/openssl/openssl/crypto/x509/
Dx509_vfy.c1007 time_t *ptime; in check_crl_time() local
1011 ptime = &ctx->param->check_time; in check_crl_time()
1015 ptime = NULL; in check_crl_time()
1019 i = X509_cmp_time(X509_CRL_get0_lastUpdate(crl), ptime); in check_crl_time()
1035 i = X509_cmp_time(X509_CRL_get0_nextUpdate(crl), ptime); in check_crl_time()
1715 time_t *ptime; in ossl_x509_check_cert_time() local
1719 ptime = &ctx->param->check_time; in ossl_x509_check_cert_time()
1723 ptime = NULL; in ossl_x509_check_cert_time()
1725 i = X509_cmp_time(X509_get0_notBefore(x), ptime); in ossl_x509_check_cert_time()
1731 i = X509_cmp_time(X509_get0_notAfter(x), ptime); in ossl_x509_check_cert_time()
/third_party/python/PC/
D_msi.c232 FileTimeToDosDateTime(&filetime, pdate, ptime); in FNFCIGETOPENINFO()
/third_party/FreeBSD/sys/dev/usb/
Dusb_generic.c2115 uint32_t *ptime; in ugen_ioctl_post() member
2309 error = copyout((const void *)&f->udev->plugtime, u.ptime, sizeof(uint32_t)); in ugen_ioctl_post()
/third_party/pulseaudio/src/modules/rtp/
Drfc2327.txt1230 the "ptime" attribute is used as given below.
1278 a=ptime:<packet time>
1281 data. It should not be necessary to know ptime to decode RTP or