Home
last modified time | relevance | path

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

/netbsd-src/crypto/external/bsd/openssl.old/dist/test/
H A 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 …]
/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A 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 …]
/netbsd-src/sys/fs/cd9660/
H A Dcd9660_rrip.c340 u_char *ptime; in cd9660_rrip_tstamp() local
342 ptime = p->time; in cd9660_rrip_tstamp()
347 ptime += 7; in cd9660_rrip_tstamp()
350 cd9660_tstamp_conv7(ptime, &ana->inop->inode.iso_mtime); in cd9660_rrip_tstamp()
351 ptime += 7; in cd9660_rrip_tstamp()
356 cd9660_tstamp_conv7(ptime, &ana->inop->inode.iso_atime); in cd9660_rrip_tstamp()
357 ptime += 7; in cd9660_rrip_tstamp()
362 cd9660_tstamp_conv7(ptime, &ana->inop->inode.iso_ctime); in cd9660_rrip_tstamp()
368 ptime += 17; in cd9660_rrip_tstamp()
371 cd9660_tstamp_conv17(ptime, &ana->inop->inode.iso_mtime); in cd9660_rrip_tstamp()
[all …]
/netbsd-src/sys/arch/mvme68k/stand/libbug/
H A Drtc_rd.c13 mvmeprom_rtc_rd(struct mvmeprom_time *ptime) in mvmeprom_rtc_rd() argument
16 MVMEPROM_ARG1(ptime); in mvmeprom_rtc_rd()
/netbsd-src/crypto/external/bsd/netpgp/dist/src/netpgpverify/
H A Dmain.c40 ptime(int64_t secs) in ptime() function
119 ptime(pgpv_get_cursor_num(cursor, "sigtime")); in verify_data()
/netbsd-src/usr.sbin/altq/libaltq/
H A Dqop_cbq.c775 lofftime, psPerByte, ptime, cptime; in cbq_class_spec() local
800 ptime = (double) av_pkt_size * (double)cbq_ifinfo->psPerByte; in cbq_class_spec()
801 cptime = ptime * (1.0 - f) / f; in cbq_class_spec()
838 maxidle = ptime * maxidle; in cbq_class_spec()
840 maxidle = ptime * maxidle_s; in cbq_class_spec()
/netbsd-src/usr.bin/pmap/
H A DTODO10 much covered by our fstat), pwait, ptree, and ptime) would be nice
/netbsd-src/dist/pf/sbin/pfctl/
H A Dpfctl_altq.c430 double offtime, nsPerByte, ifnsPerByte, ptime, cptime; in cbq_compute_idletime() local
445 ptime = (double)opts->pktsize * ifnsPerByte; in cbq_compute_idletime()
446 cptime = ptime * (1.0 - f) / f; in cbq_compute_idletime()
481 maxidle = ptime * maxidle; in cbq_compute_idletime()
483 maxidle = ptime * maxidle_s; in cbq_compute_idletime()
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/x509/
H A 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()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/x509/
H A Dx509_vfy.c973 time_t *ptime; in check_crl_time() local
977 ptime = &ctx->param->check_time; in check_crl_time()
981 ptime = NULL; in check_crl_time()
985 i = X509_cmp_time(X509_CRL_get0_lastUpdate(crl), ptime); in check_crl_time()
1001 i = X509_cmp_time(X509_CRL_get0_nextUpdate(crl), ptime); in check_crl_time()
1700 time_t *ptime; in x509_check_cert_time() local
1704 ptime = &ctx->param->check_time; in x509_check_cert_time()
1708 ptime = NULL; in x509_check_cert_time()
1710 i = X509_cmp_time(X509_get0_notBefore(x), ptime); in x509_check_cert_time()
1719 i = X509_cmp_time(X509_get0_notAfter(x), ptime); in x509_check_cert_time()
/netbsd-src/sys/arch/atari/dev/
H A Dzs.c724 zsoverrun(int unit, long *ptime, const char *what) in zsoverrun() argument
728 if (*ptime != cur_sec) { in zsoverrun()
729 *ptime = cur_sec; in zsoverrun()
/netbsd-src/sys/arch/sgimips/dev/
H A Dscn.c1267 scnoverrun(int unit, long *ptime, const char *what) in scnoverrun() argument
1270 if (*ptime != time_second) { in scnoverrun()
1271 *ptime = time_second; in scnoverrun()
/netbsd-src/external/cddl/dtracetoolkit/dist/Docs/Examples/
H A Dkstat_types_example.txt1324 # ptime vmstat 1 6
1341 # ptime sar -u 1 5
/netbsd-src/external/cddl/dtracetoolkit/dist/Examples/
H A Dkstat_types_example.txt1324 # ptime vmstat 1 6
1341 # ptime sar -u 1 5
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dsel-sched.c7384 calculate_new_fences (flist_t fences, int orig_max_seqno, int *ptime) in calculate_new_fences() argument
7421 *ptime = max_time; in calculate_new_fences()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dsel-sched.cc7384 calculate_new_fences (flist_t fences, int orig_max_seqno, int *ptime) in calculate_new_fences() argument
7421 *ptime = max_time; in calculate_new_fences()
H A DChangeLog-201445371 * sel-sched.c (calculate_new_fences): New parameter ptime.