/third_party/mesa3d/src/gtest/include/gtest/internal/ |
H A D | gtest-port.h | 426 // Sun Pro CC supports exceptions. However, there is no compile-time way of 484 // -frtti -fno-exceptions, the build fails at link time with undefined 549 # include <time.h> // NOLINT 701 // MS C++ compiler emits warning when a conditional expression is compile time 849 // time expression is true (in new code, use static_assert instead). For 1076 // for compile-time type checking, and has no overhead in an in DownCast_() 1077 // optimized build at run-time, as it will be optimized away in DownCast_() 1153 const timespec time = { in SleepMilliseconds() local 1157 nanosleep(&time, nullptr); in SleepMilliseconds() 1657 // must be able to initialize a static mutex object at link time [all...] |
/third_party/littlefs/scripts/ |
H A D | tracebd.py | 21 import time namespace 830 time.sleep(sleep or 0.01) 854 time.sleep(sleep or 0.1)
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_dump_state.c | 81 util_dump_ns(FILE *f, uint64_t time) in util_dump_ns() argument 83 uint64_t secs = time / (1000*1000*1000); in util_dump_ns() 84 unsigned usecs = (time % (1000*1000*1000)) / 1000; in util_dump_ns()
|
/third_party/python/Lib/test/test_capi/ |
H A D | test_misc.py | 16 import time namespace 923 time.sleep(random.random()*0.02) #0.01 secs on average 1094 time.sleep(1)
|
/third_party/python/Lib/multiprocessing/ |
H A D | managers.py | 22 import time namespace 1074 endtime = time.monotonic() + timeout 1080 waittime = endtime - time.monotonic()
|
/third_party/python/Lib/test/ |
H A D | test_gc.py | 15 import time namespace 446 time.sleep(0.000001) 488 time.sleep(1.0) 538 # cycle until the second time gc checks for __del__. As of 2.3b1, 539 # there isn't a second time, so this simply cleans up the trash cycle. 706 # so over time chances are good this test won't really be testing much
|
H A D | test_uuid.py | 46 time, clock_seq, variant, version) in [ 195 equal(u.time, time) 588 mock.patch('time.time_ns', return_value=1545052026752910643), \ 596 mock.patch('time.time_ns', return_value=1545052026752910643):
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/ |
H A D | time.h | 16 // File: time.h 20 // in time, durations of time, and formatting and parsing time within a given 21 // time zone. The following abstractions are defined: 23 // * `absl::Time` defines an absolute, specific instance in time 24 // * `absl::Duration` defines a signed, fixed-length span of time 25 // * `absl::TimeZone` defines geopolitical time zone regions (as collected 26 // within the IANA Time Zone database (https://www.iana.org/time-zones)). 29 // human-scale time commonl [all...] |
/third_party/rust/crates/nix/test/ |
H A D | test_unistd.rs | 618 use std::{thread, time}; in test_acct() 635 thread::sleep(time::Duration::from_millis(10)); in test_acct() 816 time::{Duration, Instant}, in test_alarm()
|
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/ |
H A D | ssl.rs | 22 time: time_t, 48 time: time_t, 91 time: c_long,
|
/foundation/multimedia/player_framework/frameworks/native/player/test/unittest/src/ |
H A D | player_unit_test.cpp | 64 int32_t time;
in PlayFunTest() local 65 EXPECT_EQ(MSERR_OK, player_->GetCurrentTime(time));
in PlayFunTest() 100 int32_t time;
in NoRunPlayFunTest() local 101 EXPECT_NE(MSERR_OK, player_->GetCurrentTime(time));
in NoRunPlayFunTest() 132 int32_t time = 0;
in GetSetParaFunTest() local 138 player_->GetCurrentTime(time);
in GetSetParaFunTest() 281 int32_t time = 0;
in HWTEST_F() local 306 EXPECT_NE(MSERR_OK, player_->GetCurrentTime(time));
in HWTEST_F() 1157 int32_t time = 0;
in HWTEST_F() local 1158 EXPECT_EQ(MSERR_OK, player_->GetCurrentTime(time));
in HWTEST_F() [all...] |
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
H A D | dib8000.c | 1050 /* always leave the VBG voltage on - it consumes almost nothing but takes a long time to start */ in dib8000_reset() 1312 // wait AGC rough lock time in dib8000_agc_startup() 1318 // wait AGC accurate lock time in dib8000_agc_startup() 1322 // wait only AGC rough lock time in dib8000_agc_startup() 2494 u32 value = 0; /* P_search_end0 wait time */ in dib8000_wait_lock() 2536 value = dib8000_wait_lock(state, internal, 10, 10, 10); /* time in ms configure P_search_end0 P_search_end1 P_search_end2 */ in dib8000_autosearch_start() 2538 value = dib8000_wait_lock(state, internal, 20, 20, 20); /* time in ms configure P_search_end0 P_search_end1 P_search_end2 */ in dib8000_autosearch_start() 2583 /* set lock_mask wait time values */ in dib8000_autosearch_start() 2585 dib8000_wait_lock(state, internal, 50, 100, 1000); /* time in ms configure P_search_end0 P_search_end1 P_search_end2 */ in dib8000_autosearch_start() 2587 dib8000_wait_lock(state, internal, 50, 200, 1000); /* time i in dib8000_autosearch_start() 3604 int l, i, active, time, time_slave = 0; dib8000_set_frontend() local [all...] |
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | dib8000.c | 1050 /* always leave the VBG voltage on - it consumes almost nothing but takes a long time to start */ in dib8000_reset() 1312 // wait AGC rough lock time in dib8000_agc_startup() 1318 // wait AGC accurate lock time in dib8000_agc_startup() 1322 // wait only AGC rough lock time in dib8000_agc_startup() 2494 u32 value = 0; /* P_search_end0 wait time */ in dib8000_wait_lock() 2536 value = dib8000_wait_lock(state, internal, 10, 10, 10); /* time in ms configure P_search_end0 P_search_end1 P_search_end2 */ in dib8000_autosearch_start() 2538 value = dib8000_wait_lock(state, internal, 20, 20, 20); /* time in ms configure P_search_end0 P_search_end1 P_search_end2 */ in dib8000_autosearch_start() 2583 /* set lock_mask wait time values */ in dib8000_autosearch_start() 2585 dib8000_wait_lock(state, internal, 50, 100, 1000); /* time in ms configure P_search_end0 P_search_end1 P_search_end2 */ in dib8000_autosearch_start() 2587 dib8000_wait_lock(state, internal, 50, 200, 1000); /* time i in dib8000_autosearch_start() 3604 int l, i, active, time, time_slave = 0; dib8000_set_frontend() local [all...] |
/kernel/linux/linux-5.10/kernel/events/ |
H A D | core.c | 492 * If they take too much CPU time, the system can lock up and not 597 * The basic idea is to use event->state to determine which (if any) time 611 * NOTE: perf_event_time() is based on the (cgroup) context time, and thus we 612 * need to make sure the relevant context time is updated before we try and 735 return t->time; in perf_cgroup_event_time() 744 return t->time; in perf_cgroup_event_time_now() 752 info->time += now - info->timestamp; in __update_cgrp_time() 757 WRITE_ONCE(info->timeoffset, info->time - info->timestamp); in __update_cgrp_time() 794 * Do not update time when cgroup is not active in update_cgrp_time_from_event() 1009 * to only one perf cgroup at a time in perf_cgroup_connect() 7702 u64 time; global() member 8638 u64 time; perf_log_throttle() member 10658 u64 time = event->ctx->time + delta; task_clock_event_read() local [all...] |
/kernel/linux/linux-6.6/kernel/events/ |
H A D | core.c | 499 * If they take too much CPU time, the system can lock up and not 592 * The basic idea is to use event->state to determine which (if any) time 606 * NOTE: perf_event_time() is based on the (cgroup) context time, and thus we 607 * need to make sure the relevant context time is updated before we try and 754 return t->time; in perf_cgroup_event_time() 763 return t->time; in perf_cgroup_event_time_now() 771 info->time += now - info->timestamp; in __update_cgrp_time() 776 WRITE_ONCE(info->timeoffset, info->time - info->timestamp); in __update_cgrp_time() 812 * Do not update time when cgroup is not active in update_cgrp_time_from_event() 956 * to only one perf cgroup at a time in perf_cgroup_connect() 8159 u64 time; global() member 9092 u64 time; perf_log_throttle() member 11236 u64 time = event->ctx->time + delta; task_clock_event_read() local [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | mov.c | 1485 static void mov_metadata_creation_time(AVDictionary **metadata, int64_t time, void *logctx) in mov_metadata_creation_time() argument 1487 if (time) { in mov_metadata_creation_time() 1488 if (time >= 2082844800) in mov_metadata_creation_time() 1489 time -= 2082844800; /* seconds between 1904-01-01 and Epoch */ in mov_metadata_creation_time() 1491 if ((int64_t)(time * 1000000ULL) / 1000000 != time) { in mov_metadata_creation_time() 1496 avpriv_dict_set_timestamp(metadata, "creation_time", time * 1000000); in mov_metadata_creation_time() 1530 avio_rb32(pb); /* modification time */ in mov_read_mdhd() 1536 av_log(c->fc, AV_LOG_ERROR, "Invalid mdhd time scale %d, defaulting to 1\n", sc->time_scale); in mov_read_mdhd() 1565 avio_rb32(pb); /* modification time */ in mov_read_mvhd() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | ui_node.h | 192 // the corresponding LayoutWrapper tree node at this time like add self wrapper to wrapper tree. 465 // performance check get child count, depth, flex layout times and layout time 467 void SetLayoutTime(int64_t time) in SetLayoutTime() argument 470 nodeInfo_->layoutTime = time; in SetLayoutTime()
|
/foundation/arkui/ace_engine/frameworks/core/components/picker/ |
H A D | render_picker_base.cpp | 97 auto time = AceType::DynamicCast<PickerTimeComponent>(component); in Update() local 98 if (time) { in Update()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/layout/ |
H A D | layout_wrapper.cpp | 638 void LayoutWrapper::AddNodeLayoutTime(int64_t time) in AddNodeLayoutTime() argument 645 host->SetLayoutTime(time); in AddNodeLayoutTime()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/button/ |
H A D | button_pattern.cpp | 486 TimeStamp time(microseconds); in SetButtonPress() 487 info.SetTimeStamp(time); in SetButtonPress()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_node.h | 901 double time, const std::string& typeValue, RefPtr<KeyframeAnimation<float>>& transformKeyframes); 902 static void AddKeyframe(double time, double typeValue, RefPtr<KeyframeAnimation<float>>& transformKeyframes);
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/irregular/ |
H A D | grid_layout_range_solver_test.cpp | 633 const int64_t time = GetSysTimestamp(); in HWTEST_F() local 634 PipelineContext::GetCurrentContext()->OnIdle(time - 1); in HWTEST_F() 635 // no time to execute in HWTEST_F()
|
/foundation/arkui/ace_engine/interfaces/native/event/ |
H A D | ui_input_event.cpp | 172 return uiEvent->time.time_since_epoch().count(); in OH_ArkUI_UIInputEvent_GetEventTime() 180 return uiEvent->time.time_since_epoch().count(); in OH_ArkUI_UIInputEvent_GetEventTime()
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/ |
H A D | bundle_util.cpp | 26 #include <time.h> 624 srand(time(NULL)); in CreateRandStr()
|
/foundation/multimedia/audio_framework/frameworks/native/ohaudio/ |
H A D | OHAudioRenderer.cpp | 213 *timestamp = stamp.time.tv_sec * SECOND_TO_NANOSECOND + stamp.time.tv_nsec; in OH_AudioRenderer_GetTimestamp()
|