Home
last modified time | relevance | path

Searched refs:ntps (Results 1 – 9 of 9) sorted by relevance

/netbsd/src/external/bsd/ntp/dist/libntp/
Dprettydate.c169 u_int32 ntps; in common_prettydate() local
180 ntps = ts->l_ui; in common_prettydate()
184 ntps++; in common_prettydate()
186 sec = ntpcal_ntp_to_time(ntps, NULL); in common_prettydate()
/netbsd/src/external/bsd/atf/dist/tools/
Dtest_program_test.cpp572 w.ntps(0); in ATF_TEST_CASE_BODY()
584 w.ntps(123); in ATF_TEST_CASE_BODY()
596 w.ntps(2); in ATF_TEST_CASE_BODY()
624 w.ntps(1); in ATF_TEST_CASE_BODY()
648 w.ntps(1); in ATF_TEST_CASE_BODY()
692 w.ntps(1); in ATF_TEST_CASE_BODY()
732 w.ntps(1); in ATF_TEST_CASE_BODY()
Datf-run.cpp506 size_t ntps = 0; in count_tps() local
521 ntps += count_tps(aux); in count_tps()
523 ntps++; in count_tps()
526 return ntps; in count_tps()
575 w.ntps(count_tps(tps)); in main()
Dreader.cpp158 impl::atf_tps_reader::got_ntps(size_t ntps __attribute__((__unused__))) in got_ntps() argument
415 size_t ntps = string_to_int< std::size_t >(t.text()); in read() local
416 ATF_PARSER_CALLBACK(p, got_ntps(ntps)); in read()
421 while (p.good() && i < ntps) { in read()
Datf-report.cpp209 write_ntps(size_t ntps) in write_ntps() argument
216 m_ntps = ntps; in write_ntps()
519 got_ntps(size_t ntps) in got_ntps() argument
523 (*iter)->write_ntps(ntps); in got_ntps()
Dreader_test.cpp53 got_ntps(size_t ntps) in got_ntps() argument
55 m_calls.push_back("got_ntps(" + tools::text::to_string(ntps) + ")"); in got_ntps()
Dtest-program.hpp116 void ntps(size_t);
Dtest-program.cpp586 impl::atf_tps_writer::ntps(size_t p_ntps) in ntps() function in impl::atf_tps_writer
/netbsd/src/external/cddl/osnet/dist/uts/common/dtrace/
Dfasttrap.c2141 uint32_t ntps; in fasttrap_meta_create_probe() local
2168 ntps = dhpb->dthpb_noffs + dhpb->dthpb_nenoffs; in fasttrap_meta_create_probe()
2169 ASSERT(ntps > 0); in fasttrap_meta_create_probe()
2171 atomic_add_32(&fasttrap_total, ntps); in fasttrap_meta_create_probe()
2174 atomic_add_32(&fasttrap_total, -ntps); in fasttrap_meta_create_probe()
2178 pp = kmem_zalloc(offsetof(fasttrap_probe_t, ftp_tps[ntps]), KM_SLEEP); in fasttrap_meta_create_probe()
2182 pp->ftp_ntps = ntps; in fasttrap_meta_create_probe()
2209 for (j = 0; i < ntps; i++, j++) { in fasttrap_meta_create_probe()