/third_party/openssl/test/ |
D | asn1_time_test.c | 114 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/gstreamer/gstplugins_bad/ext/avtp/ |
D | gstavtpbasedepayload.c | 208 GstClockTime ptime; in gst_avtp_base_depayload_tstamp_to_ptime() local 210 ptime = (ref & 0xFFFFFFFF00000000ULL) | tstamp; in gst_avtp_base_depayload_tstamp_to_ptime() 216 if (ptime < ref) in gst_avtp_base_depayload_tstamp_to_ptime() 217 ptime += (1ULL << 32); in gst_avtp_base_depayload_tstamp_to_ptime() 220 GST_TIME_ARGS (ptime)); in gst_avtp_base_depayload_tstamp_to_ptime() 221 return ptime; in gst_avtp_base_depayload_tstamp_to_ptime()
|
D | gstavtpaafdepay.c | 215 GstClockTime ptime; in gst_avtp_aaf_depay_chain() local 306 ptime = gst_avtp_base_depayload_tstamp_to_ptime (avtpbasedepayload, tstamp, in gst_avtp_aaf_depay_chain() 311 GST_BUFFER_PTS (subbuffer) = ptime; in gst_avtp_aaf_depay_chain() 312 GST_BUFFER_DTS (subbuffer) = ptime; in gst_avtp_aaf_depay_chain() 314 avtpbasedepayload->prev_ptime = ptime; in gst_avtp_aaf_depay_chain()
|
D | gstavtpaafpay.c | 270 GstClockTime ptime; in gst_avtp_aaf_pay_chain() local 275 ptime = gst_avtp_base_payload_calc_ptime (avtpbasepayload, buffer); in gst_avtp_aaf_pay_chain() 286 res = avtp_aaf_pdu_set (pdu, AVTP_AAF_FIELD_TIMESTAMP, ptime); in gst_avtp_aaf_pay_chain()
|
/third_party/gstreamer/gstplugins_good/gst/dtmf/ |
D | gstrtpdtmfsrc.c | 264 object->ptime = DEFAULT_PTIME; in gst_rtp_dtmf_src_init() 570 GST_BUFFER_DURATION (buf) = dtmfsrc->ptime * GST_MSECOND; in gst_rtp_dtmf_src_create_next_rtp_packet() 585 if (inter_digit_interval % dtmfsrc->ptime != 0) in gst_rtp_dtmf_src_create_next_rtp_packet() 586 inter_digit_interval += dtmfsrc->ptime - in gst_rtp_dtmf_src_create_next_rtp_packet() 587 (MIN_INTER_DIGIT_INTERVAL % dtmfsrc->ptime); in gst_rtp_dtmf_src_create_next_rtp_packet() 601 dtmfsrc->payload->duration += dtmfsrc->ptime * dtmfsrc->clock_rate / 1000; in gst_rtp_dtmf_src_create_next_rtp_packet() 694 dtmfsrc->ptime * dtmfsrc->clock_rate / 1000; in gst_rtp_dtmf_src_create() 966 dtmfsrc->ptime = g_value_get_uint (value); in gst_rtp_dtmf_src_negotiate() 967 GST_LOG_OBJECT (dtmfsrc, "using peer ptime %u", dtmfsrc->ptime); in gst_rtp_dtmf_src_negotiate() 970 dtmfsrc->ptime = g_value_get_uint (value); in gst_rtp_dtmf_src_negotiate() [all …]
|
D | gstrtpdtmfsrc.h | 93 guint16 ptime; member
|
/third_party/toybox/toys/pending/ |
D | crond.c | 586 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/gstreamer/gstplugins_good/gst/rtp/ |
D | gstrtpg729pay.c | 286 if (payload->ptime) { in gst_rtp_g729_pay_handle_buffer() 287 guint64 ptime = payload->ptime / GST_MSECOND; in gst_rtp_g729_pay_handle_buffer() local 289 (guint) (ptime / G729_FRAME_DURATION_MS); in gst_rtp_g729_pay_handle_buffer()
|
D | gstrtpamrdepay.h | 62 gint ptime; member
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtp/ |
D | README | 47 max-ptime="40000000" ! fakesink 53 max-ptime="60000000" ! fakesink 58 sizemax=150 datarate=8000 ! audio/x-mulaw ! rtppcmupay max-ptime="6000000" !
|
D | gstrtpbaseaudiopayload.c | 688 && priv->cached_ptime == basepayload->ptime in gst_rtp_base_audio_payload_get_lengths() 726 if (basepayload->ptime) { in gst_rtp_base_audio_payload_get_lengths() 728 basepayload->ptime); in gst_rtp_base_audio_payload_get_lengths() 739 priv->cached_ptime = basepayload->ptime; in gst_rtp_base_audio_payload_get_lengths()
|
D | gstrtpbasepayload.h | 106 guint64 ptime; /* in ns */ member
|
D | gstrtpbasepayload.c | 1076 payload->ptime = 0; in gst_rtp_base_payload_negotiate() 1108 guint max_ptime, ptime; in gst_rtp_base_payload_negotiate() local 1312 if (gst_structure_get_uint (s, "ptime", &ptime)) in gst_rtp_base_payload_negotiate() 1313 payload->ptime = ptime * GST_MSECOND; in gst_rtp_base_payload_negotiate()
|
/third_party/flutter/skia/third_party/externals/libpng/ |
D | png.c | 737 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 …]
|
D | pngwrite.c | 472 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()
|
D | png.h | 1034 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/skia/third_party/externals/libpng/ |
D | png.c | 737 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 …]
|
D | pngwrite.c | 472 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()
|
D | png.h | 1034 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/ |
D | test-trackpoint.c | 41 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()
|
D | test-touchpad-tap.c | 623 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/openssl/crypto/x509/ |
D | x509_vfy.c | 1007 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/gstreamer/gstplugins_bad/tests/check/elements/ |
D | avtpcrfbase.c | 537 const GstClockTimeDiff ptime = 50000000; in GST_START_TEST() local 543 const GstClockTime ptime_in_events = ptime / event_interval; in GST_START_TEST() 571 ptime); in GST_START_TEST()
|
/third_party/python/PC/ |
D | _msi.c | 232 FileTimeToDosDateTime(&filetime, pdate, ptime); in FNFCIGETOPENINFO()
|
/third_party/FreeBSD/sys/dev/usb/ |
D | usb_generic.c | 2116 uint32_t *ptime; in ugen_ioctl_post() member 2310 error = copyout((const void *)&f->udev->plugtime, u.ptime, sizeof(uint32_t)); in ugen_ioctl_post()
|