Searched refs:human_readable_duration (Results 1 – 15 of 15) sorted by relevance
/dports/converters/osm2pgsql/osm2pgsql-1.5.1/tests/ |
H A D | test-util.cpp | 73 REQUIRE(util::human_readable_duration(0) == "0s"); 74 REQUIRE(util::human_readable_duration(17) == "17s"); 75 REQUIRE(util::human_readable_duration(59) == "59s"); 76 REQUIRE(util::human_readable_duration(60) == "60s (1m 0s)"); 77 REQUIRE(util::human_readable_duration(66) == "66s (1m 6s)"); 78 REQUIRE(util::human_readable_duration(247) == "247s (4m 7s)"); 79 REQUIRE(util::human_readable_duration(3599) == "3599s (59m 59s)"); 80 REQUIRE(util::human_readable_duration(3600) == "3600s (1h 0m 0s)"); 81 REQUIRE(util::human_readable_duration(3723) == "3723s (1h 2m 3s)"); 82 REQUIRE(util::human_readable_duration(152592) == "152592s (42h 23m 12s)");
|
/dports/converters/osm2pgsql/osm2pgsql-1.5.1/src/ |
H A D | progress-display.cpp | 47 util::human_readable_duration(overall_time(now))); in print_summary() 51 util::human_readable_duration(nt), cps_display(m_node.count, nt)); in print_summary() 55 util::human_readable_duration(wt), cps_display(m_way.count, wt)); in print_summary() 59 util::human_readable_duration(rt), cps_display(m_rel.count, rt)); in print_summary()
|
H A D | util.cpp | 38 std::string human_readable_duration(uint64_t seconds) in human_readable_duration() function 53 std::string human_readable_duration(std::chrono::milliseconds ms) in human_readable_duration() function 55 return human_readable_duration(static_cast<uint64_t>( in human_readable_duration()
|
H A D | util.hpp | 126 std::string human_readable_duration(uint64_t seconds); 128 std::string human_readable_duration(std::chrono::milliseconds ms);
|
H A D | osm2pgsql.cpp | 87 util::human_readable_duration(timer_overall.stop())); in main()
|
H A D | middle-pgsql.cpp | 92 util::human_readable_duration(timer.stop())); in drop_table() 654 util::human_readable_duration(run_time)); in wait()
|
H A D | flex-table.cpp | 328 util::human_readable_duration(run_time)); in task_wait()
|
H A D | osmdata.cpp | 331 util::human_readable_duration(timer.elapsed()), in process_queue()
|
H A D | table.cpp | 379 util::human_readable_duration(run_time)); in task_wait()
|
H A D | output-flex.cpp | 1739 util::human_readable_duration(timer.stop()))); in reprocess_marked()
|
/dports/net/mosh/mosh-1.3.2/src/frontend/ |
H A D | terminaloverlay.cc | 176 static std::string human_readable_duration( int num_seconds, const std::string &seconds_abbr ) { in human_readable_duration() function 245 human_readable_duration( static_cast<int>( time_elapsed ), in apply() 252 human_readable_duration( static_cast<int>( time_elapsed ), in apply()
|
/dports/chinese/wordpress-zh_TW/wordpress/wp-includes/ |
H A D | functions.php | 487 function human_readable_duration( $duration = '' ) { function 525 $human_readable_duration = array(); 530 $human_readable_duration[] = sprintf( _n( '%s hour', '%s hours', $hour ), (int) $hour ); 536 $human_readable_duration[] = sprintf( _n( '%s minute', '%s minutes', $minute ), (int) $minute ); 542 $human_readable_duration[] = sprintf( _n( '%s second', '%s seconds', $second ), (int) $second ); 545 return implode( ', ', $human_readable_duration );
|
H A D | media.php | 4149 $response['fileLengthHumanReadable'] = human_readable_duration( $meta['length_formatted'] );
|
/dports/chinese/wordpress-zh_CN/wordpress/wp-includes/ |
H A D | functions.php | 487 function human_readable_duration( $duration = '' ) { function 525 $human_readable_duration = array(); 530 $human_readable_duration[] = sprintf( _n( '%s hour', '%s hours', $hour ), (int) $hour ); 536 $human_readable_duration[] = sprintf( _n( '%s minute', '%s minutes', $minute ), (int) $minute ); 542 $human_readable_duration[] = sprintf( _n( '%s second', '%s seconds', $second ), (int) $second ); 545 return implode( ', ', $human_readable_duration );
|
H A D | media.php | 4149 $response['fileLengthHumanReadable'] = human_readable_duration( $meta['length_formatted'] );
|