/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
D | condition_variable.cpp | 58 timespec ts; in __do_timed_wait() local 60 typedef decltype(ts.tv_sec) ts_sec; in __do_timed_wait() 64 ts.tv_sec = static_cast<ts_sec>(s.count()); in __do_timed_wait() 65 ts.tv_nsec = static_cast<decltype(ts.tv_nsec)>((d - s).count()); in __do_timed_wait() 69 ts.tv_sec = ts_sec_max; in __do_timed_wait() 70 ts.tv_nsec = giga::num - 1; in __do_timed_wait() 72 int ec = pthread_cond_timedwait(&__cv_, lk.mutex()->native_handle(), &ts); in __do_timed_wait()
|
D | thread.cpp | 113 timespec ts; in sleep_for() local 114 typedef decltype(ts.tv_sec) ts_sec; in sleep_for() 118 ts.tv_sec = static_cast<ts_sec>(s.count()); in sleep_for() 119 ts.tv_nsec = static_cast<decltype(ts.tv_nsec)>((ns-s).count()); in sleep_for() 123 ts.tv_sec = ts_sec_max; in sleep_for() 124 ts.tv_nsec = giga::num - 1; in sleep_for() 127 while (nanosleep(&ts, &ts) == -1 && errno == EINTR) in sleep_for()
|
/ndk/sources/host-tools/make-3.81/ |
D | filedef.h | 132 #define FILE_TIMESTAMP_S(ts) (((ts) - ORDINARY_MTIME_MIN) \ argument 134 #define FILE_TIMESTAMP_NS(ts) ((int) (((ts) - ORDINARY_MTIME_MIN) \ argument 158 extern void file_timestamp_sprintf PARAMS ((char *p, FILE_TIMESTAMP ts));
|
D | file.c | 773 FILE_TIMESTAMP ts = product + offset; in file_timestamp_cons() local 776 && product <= ts && ts <= ORDINARY_MTIME_MAX)) in file_timestamp_cons() 779 ts = s <= OLD_MTIME ? ORDINARY_MTIME_MIN : ORDINARY_MTIME_MAX; in file_timestamp_cons() 780 file_timestamp_sprintf (buf, ts); in file_timestamp_cons() 785 return ts; in file_timestamp_cons() 841 file_timestamp_sprintf (char *p, FILE_TIMESTAMP ts) in file_timestamp_sprintf() argument 843 time_t t = FILE_TIMESTAMP_S (ts); in file_timestamp_sprintf() 861 sprintf (p, ".%09d", FILE_TIMESTAMP_NS (ts)); in file_timestamp_sprintf()
|
/ndk/sources/android/crazy_linker/tests/ |
D | bench_load_library.cpp | 30 struct timespec ts; in now_ms() local 31 clock_gettime(CLOCK_MONOTONIC, &ts); in now_ms() 32 return (ts.tv_sec * 1000.) + (ts.tv_nsec / 1000000.); in now_ms()
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/impl/ |
D | results_reporter.ipp | 67 bool test_suite_start( test_suite const& ts ) 69 m_formatter->test_unit_report_start( ts, *m_output ); 71 if( m_report_level == DETAILED_REPORT && !results_collector.results( ts.p_id ).p_skipped ) 74 m_formatter->test_unit_report_finish( ts, *m_output ); 77 void test_suite_finish( test_suite const& ts ) 79 m_formatter->test_unit_report_finish( ts, *m_output );
|
D | framework.ipp | 174 bool test_suite_start( test_suite const& ts ) 176 if( !ts.check_dependencies() ) { 178 to->test_unit_skipped( ts ); 184 to->test_unit_start( ts ); 189 void test_suite_finish( test_suite const& ts ) 192 to->test_unit_finish( ts, 0 ); 307 register_test_unit( test_suite* ts ) 309 …BOOST_TEST_SETUP_ASSERT( ts->p_id == INV_TEST_UNIT_ID, BOOST_TEST_L( "test suite already registere… 316 s_frk_impl().m_test_units.insert( map_value_type( new_id, ts ) ); 319 s_frk_impl().set_tu_id( *ts, new_id );
|
D | unit_test_suite.ipp | 283 test_suite* ts; 286 ts = &framework::get<test_suite>( id ); // !! test for invalid tu type 287 BOOST_ASSERT( ts->p_parent_id == curr_ts_store().back()->p_id ); 290 ts = new test_suite( ts_name ); 291 curr_ts_store().back()->add( ts ); 294 curr_ts_store().push_back( ts );
|
D | results_collector.ipp | 168 …explicit results_collect_helper( test_results& tr, test_unit const& ts ) : m_tr( tr ), m_ts( ts ) … 185 bool test_suite_start( test_suite const& ts ) 187 if( m_ts.p_id == ts.p_id ) 190 m_tr += results_collector.results( ts.p_id );
|
D | unit_test_main.ipp | 151 virtual bool test_suite_start( test_suite const& ts ) 153 filter_unit( ts ); 155 if( !ts.p_enabled ) 158 return ts.p_enabled;
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/ |
D | framework.hpp | 56 BOOST_TEST_DECL void register_test_unit( test_suite* ts );
|
D | unit_test_suite_impl.hpp | 218 virtual bool test_suite_start( test_suite const& ts ) { return ts.p_enabled; } in test_suite_start() argument
|
/ndk/sources/cxx-stl/gabi++/tests/ |
D | dynamic_cast5.cpp | 1305 struct timespec ts; in now_us() local 1306 clock_gettime(CLOCK_MONOTONIC, &ts); in now_us() 1307 return ts.tv_sec * 1e3 + ts.tv_nsec * 1e-6; in now_us()
|
D | dynamic_cast3.cpp | 2413 struct timespec ts; in now_us() local 2414 clock_gettime(CLOCK_MONOTONIC, &ts); in now_us() 2415 return ts.tv_sec * 1e3 + ts.tv_nsec * 1e-6; in now_us()
|
/ndk/sources/cxx-stl/llvm-libc++/patches.android/ |
D | 0013-temp-collective-ndk-hackathon-fixes.patch | 718 ts.tv_sec = ts_sec_max; 719 ts.tv_nsec = giga::num - 1; 722 nanosleep(&ts, 0);
|