/third_party/boost/boost/numeric/odeint/integrate/detail/ |
D | integrate_times.hpp | 60 Time current_time = *start_time++; in integrate_times() local 61 obs( start_state , current_time ); in integrate_times() 64 while( less_with_sign( current_time , static_cast<time_type>(*start_time) , current_dt ) ) in integrate_times() 66 current_dt = min_abs( dt , *start_time - current_time ); in integrate_times() 67 st.do_step( system , start_state , current_time , current_dt ); in integrate_times() 68 current_time += current_dt; in integrate_times() 93 Time current_time = *start_time++; in integrate_times() local 94 obs( start_state , current_time ); in integrate_times() 97 while( less_with_sign( current_time , static_cast<time_type>(*start_time) , dt ) ) in integrate_times() 100 Time current_dt = min_abs( dt , *start_time - current_time ); in integrate_times() [all …]
|
D | integrate_n_steps.hpp | 115 while( less_with_sign( time , st.current_time() , st.current_time_step() ) ) in integrate_n_steps() 126 if( less_with_sign( static_cast<Time>(st.current_time()+st.current_time_step()) , in integrate_n_steps() 132 else if( less_with_sign( st.current_time() , end_time , st.current_time_step() ) ) in integrate_n_steps() 134 …st.initialize( st.current_state() , st.current_time() , static_cast<Time>(end_time - st.current_ti… in integrate_n_steps() 140 while( st.current_time() < end_time ) in integrate_n_steps() 143 static_cast<Time>(st.current_time()+st.current_time_step()) , in integrate_n_steps() 145 …st.initialize( st.current_state() , st.current_time() , static_cast<Time>(end_time - st.current_ti… in integrate_n_steps()
|
D | integrate_adaptive.hpp | 133 while( less_with_sign( st.current_time() , end_time , st.current_time_step() ) ) in integrate_adaptive() 135 while( less_eq_with_sign( static_cast<Time>(st.current_time() + st.current_time_step()) , in integrate_adaptive() 139 obs( st.current_state() , st.current_time() ); in integrate_adaptive() 144 …st.initialize( st.current_state() , st.current_time() , static_cast<Time>(end_time - st.current_ti… in integrate_adaptive() 146 obs( st.current_state() , st.current_time() ); in integrate_adaptive()
|
D | integrate_const.hpp | 125 while( less_eq_with_sign( time , st.current_time() , dt ) ) in integrate_const() 135 if( less_with_sign( static_cast<Time>(st.current_time()+st.current_time_step()) , in integrate_const() 139 while( less_eq_with_sign( st.current_time() , time , dt ) ) in integrate_const() 145 else if( less_with_sign( st.current_time() , end_time , st.current_time_step() ) ) in integrate_const() 147 st.initialize( st.current_state() , st.current_time() , end_time - st.current_time() ); in integrate_const()
|
/third_party/boost/libs/timer/test/ |
D | cpu_timer_info.cpp | 38 cpu_times current_time; in cpp_main() local 48 current_time.user = start_time.user; in cpp_main() 49 while (current_time.user == start_time.user) in cpp_main() 51 current_time = cpu.elapsed(); in cpp_main() 53 cout << current_time.user - start_time.user << "ns\n"; in cpp_main() 65 current_time.wall = start_time.wall; in cpp_main() 66 while (current_time.wall == start_time.wall) in cpp_main() 68 current_time.wall = cpu.elapsed().wall; in cpp_main() 70 cout << current_time.wall - start_time.wall << "ns "; in cpp_main()
|
/third_party/toybox/toys/pending/ |
D | dumpleases.c | 41 int64_t written_time , current_time, exp; in dumpleases_main() local 48 current_time = time(NULL); in dumpleases_main() 50 if(current_time < written_time) written_time = current_time; in dumpleases_main() 60 if (exp <= current_time) { in dumpleases_main() 66 unsigned expires = exp - current_time; in dumpleases_main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/time/ |
D | 1-1.c | 21 time_t current_time; in main() local 23 current_time = time(NULL); in main() 24 printf("%ju secs since the Epoch\n", (uintmax_t) current_time); in main() 26 if (current_time != -1) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/ctime/ |
D | 1-1.c | 19 time_t current_time; in main() local 22 time(¤t_time); in main() 23 result = ctime(¤t_time); in main() 30 ctime(¤t_time)); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/localtime/ |
D | 1-1.c | 19 time_t current_time; in main() local 22 current_time = time(NULL); in main() 24 timeptr = localtime(¤t_time); in main() 27 printf("date: %s, ", (asctime(localtime((¤t_time))))); in main()
|
/third_party/gstreamer/gstplugins_good/gst/rtpmanager/ |
D | rtpsession.c | 140 guint32 ssrc, gboolean * created, GstClockTime current_time); 142 GstClockTime current_time); 1615 GSocketAddress * address, GstClockTime current_time) in rtp_session_have_conflict() argument 1620 rtp_session_add_conflicting_address (sess, address, current_time); in rtp_session_have_conflict() 1632 rtp_session_schedule_bye_locked (sess, current_time); in rtp_session_have_conflict() 1666 pinfo->address, pinfo->current_time)) { in check_collision() 1682 pinfo->current_time); in check_collision() 1721 pinfo->current_time)) { in check_collision() 1731 pinfo->current_time); in check_collision() 1901 source->last_activity = pinfo->current_time; in obtain_source() [all …]
|
D | rtpsession.h | 404 GstClockTime current_time, 408 GstClockTime current_time, 415 … GstClockTime current_time, GstClockTime running_time); 419 GstFlowReturn rtp_session_schedule_bye (RTPSession *sess, GstClockTime current_time); 422 GstClockTime rtp_session_next_timeout (RTPSession *sess, GstClockTime current_time); 423 GstFlowReturn rtp_session_on_timeout (RTPSession *sess, GstClockTime current_time, 427 gboolean rtp_session_request_early_rtcp (RTPSession * sess, GstClockTime current_time,
|
/third_party/boost/libs/numeric/odeint/test/ |
D | bulirsch_stoer.cpp | 107 …std::cout << "one step successful, new time: " << bs_do.current_time() << " (" << t << ")" << std:… in BOOST_AUTO_TEST_CASE() 110 …std::cout << "x( " << bs_do.current_time() << " ) = [ " << x[0] << " , " << x[1] << " , " << x[2] … in BOOST_AUTO_TEST_CASE() 112 bs_do.calc_state( bs_do.current_time()/3 , x ); in BOOST_AUTO_TEST_CASE() 113 …std::cout << "x( " << bs_do.current_time()/3 << " ) = [ " << x[0] << " , " << x[1] << " , " << x[2… in BOOST_AUTO_TEST_CASE() 122 …std::cout << "x( " << bs_do.current_time() << " ) = [ " << x[0] << " , " << x[1] << " , " << x[2] … in BOOST_AUTO_TEST_CASE() 134 …std::cout << "x( " << bs_do.current_time() << " ) = [ " << x[0] << " , " << x[1] << " , " << x[2] … in BOOST_AUTO_TEST_CASE()
|
/third_party/glib/glib/tests/ |
D | timeout.c | 149 gint64 current_time; in test_func() local 151 current_time = g_get_monotonic_time (); in test_func() 159 g_assert_cmpint (current_time / 1000 - last_time / 1000, <=, 2500); in test_func() 161 g_assert_cmpint (current_time / 1000 - last_time / 1000, <=, 1500); in test_func() 163 last_time = current_time; in test_func()
|
/third_party/flutter/glfw/tests/ |
D | tearing.c | 121 double last_time, current_time; in main() local 201 current_time = glfwGetTime(); in main() 202 if (current_time - last_time > 1.0) in main() 204 frame_rate = frame_count / (current_time - last_time); in main() 206 last_time = current_time; in main()
|
/third_party/grpc/src/php/tests/interop/ |
D | stress_client.php | 45 $current_time = microtime(true); 46 if ($deadline && $current_time > $deadline) { 52 $qps = round($count / ($current_time - $start_time));
|
/third_party/ltp/testcases/kernel/controllers/cpuctl/ |
D | cpuctl_def_task01.c | 100 time_t current_time, prev_time, delta_time; in main() local 189 current_time = time(NULL); in main() 191 delta_time = current_time - prev_time; in main() 202 prev_time = current_time; in main()
|
D | cpuctl_test03.c | 100 time_t current_time, prev_time, delta_time; in main() local 192 current_time = time(NULL); in main() 193 delta_time = current_time - prev_time; /* Duration in case its not exact TIME_INTERVAL */ in main() 201 prev_time = current_time; in main()
|
D | cpuctl_def_task04.c | 100 time_t current_time, prev_time, delta_time; in main() local 206 current_time = time(NULL); in main() 208 delta_time = current_time - prev_time; in main() 219 prev_time = current_time; in main()
|
D | cpuctl_def_task03.c | 98 time_t current_time, prev_time, delta_time; in main() local 196 current_time = time(NULL); in main() 198 delta_time = current_time - prev_time; in main() 209 prev_time = current_time; in main()
|
D | cpuctl_test04.c | 101 time_t current_time, prev_time, delta_time; in main() local 203 current_time = time(NULL); in main() 204 delta_time = current_time - prev_time; /* Duration in case its not exact TIME_INTERVAL */ in main() 212 prev_time = current_time; in main()
|
D | cpuctl_test01.c | 100 time_t current_time, prev_time, delta_time; in main() local 185 current_time = time(NULL); in main() 186 delta_time = current_time - prev_time; /* Duration in case its not exact TIME_INTERVAL */ in main() 194 prev_time = current_time; in main()
|
D | cpuctl_def_task02.c | 102 time_t current_time, prev_time, delta_time; in main() local 200 current_time = time(NULL); in main() 202 delta_time = current_time - prev_time; in main() 213 prev_time = current_time; in main()
|
D | cpuctl_test02.c | 105 time_t current_time, prev_time, delta_time; in main() local 197 current_time = time(NULL); in main() 198 delta_time = current_time - prev_time; /* Duration in case its not exact TIME_INTERVAL */ in main() 206 prev_time = current_time; in main()
|
/third_party/mbedtls/library/ |
D | ssl_ticket.c | 106 uint32_t current_time = (uint32_t) mbedtls_time( NULL ); in ssl_ticket_update_keys() 109 if( current_time >= key_time && in ssl_ticket_update_keys() 110 current_time - key_time < ctx->ticket_lifetime ) in ssl_ticket_update_keys() 367 mbedtls_time_t current_time = mbedtls_time( NULL ); in mbedtls_ssl_ticket_parse() local 369 if( current_time < session->start || in mbedtls_ssl_ticket_parse() 370 (uint32_t)( current_time - session->start ) > ctx->ticket_lifetime ) in mbedtls_ssl_ticket_parse()
|
/third_party/boost/libs/test/doc/examples/ |
D | example21.run.cpp | 14 int current_time = 0; // real call is required here in BOOST_AUTO_TEST_CASE() local 17 BOOST_TEST_MESSAGE( "Current time:" << current_time ); in BOOST_AUTO_TEST_CASE()
|