/third_party/rust/crates/nix/test/sys/ |
H A D | test_select.rs | 3 use nix::sys::time::{TimeSpec, TimeValLike};
|
/third_party/rust/crates/nix/src/sys/ |
H A D | sysinfo.rs | 2 use std::time::Duration; 22 /// The returned values represent the load average over time intervals of 32 /// Returns the time since system boot.
|
/third_party/rust/crates/rustix/src/fs/ |
H A D | at.rs | 25 use backend::time::types::Nsecs;
|
/third_party/spirv-tools/source/util/ |
H A D | timer.cpp | 20 #include <sys/time.h> 30 *out << std::setw(30) << "PASS name" << std::setw(12) << "CPU time" in PrintTimerDescription() 31 << std::setw(12) << "WALL time" << std::setw(12) << "USR time" in PrintTimerDescription() 32 << std::setw(12) << "SYS time"; in PrintTimerDescription() 41 // time correct as much as possible. Calling functions to get CPU/Wall time must
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/examples/ |
H A D | wpas-dbus-new-wps.py | 5 import time namespace
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/examples/ |
H A D | wpas-dbus-new-wps.py | 5 import time namespace
|
/third_party/zlib/contrib/minizip/ |
H A D | crypt.h | 102 static unsigned calls = 0; /* ensure different random header each time */ in crypthead() 113 srand((unsigned)(time(NULL) ^ ZCR_SEED2)); in crypthead()
|
/vendor/hisilicon/hispark_taurus/hals/utils/sys_param/ |
H A D | hal_sys_param.c | 22 #include <sys/time.h>
|
/vendor/hisilicon/hispark_taurus_mini_system/hals/utils/sys_param/ |
H A D | hal_sys_param.c | 22 #include <sys/time.h>
|
/base/hiviewdfx/hiview/plugins/reliability/leak_detectors/native_leak/ |
H A D | native_leak_detector.cpp | 172 time_t now = time(nullptr); in RemoveInvalidUserInfo() 200 int64_t now = time(nullptr); in UpdateProcessedPidsList() 327 time_t now = time(nullptr); in ExeNextStateProcess()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/ |
H A D | dfx_signal_handler.c | 33 #include <sys/time.h> 37 #include <time.h> 278 exception.time = (int64_t)(GetTimeMilliseconds()); in FillCrashExceptionAndReport()
|
/base/hiviewdfx/hicollie/frameworks/native/ |
H A D | xcollie_utils.cpp | 265 // 5: wait time, s in ParsePeerBinderPid() 338 std::string time = GetFormatDate(); in WriteStackToFd() local 344 path = realPath + "/" + eventName + "_" + time.c_str() + "_" + in WriteStackToFd() 370 time_t t = time(nullptr); in GetFormatDate()
|
/base/powermgr/battery_statistics/test/unittest/src/servicetest/ |
H A D | stats_service_core_test.cpp | 99 int64_t time = 100; in HWTEST_F() local 101 statsCore->UpdateStats(StatsUtils::STATS_TYPE_WIFI_SCAN, time, data); in HWTEST_F() 102 statsCore->UpdateStats(StatsUtils::STATS_TYPE_WAKELOCK_HOLD, time, data); in HWTEST_F()
|
/base/powermgr/power_manager/services/native/include/ |
H A D | power_state_machine.h | 46 // record the last time when get wakeup event from A side 48 // record the last time when calling func RefreshActivityInner 50 // record the last time when calling func WakeupDeviceInner 52 // record the last time when calling func SuspendDeviceInner 204 void SetDisplayOffTime(int64_t time, bool needUpdateSetting = true); 205 void SetSleepTime(int64_t time); 325 void AppendDumpInfo(std::string& result, std::string& reason, std::string& time);
|
/base/powermgr/battery_manager/services/zidl/src/ |
H A D | battery_srv_proxy.cpp | 275 int64_t time = INVALID_REMAINING_CHARGE_TIME_VALUE; in GetRemainingChargeTime() local 276 RETURN_IF_READ_PARCEL_FAILED_WITH_RET(reply, Int64, time, INVALID_REMAINING_CHARGE_TIME_VALUE); in GetRemainingChargeTime() 277 return time; in GetRemainingChargeTime()
|
/base/powermgr/battery_statistics/services/zidl/src/ |
H A D | battery_stats_proxy.cpp | 78 uint64_t time = StatsUtils::DEFAULT_VALUE;
in GetTotalTimeSecond() local 90 STATS_RETURN_IF_READ_PARCEL_FAILED_WITH_RET(COMP_FWK, reply, Uint64, time, StatsUtils::DEFAULT_VALUE);
in GetTotalTimeSecond() 91 return time;
in GetTotalTimeSecond()
|
/base/powermgr/power_manager/test/unittest/src/ |
H A D | power_mgr_service_native_test.cpp | 346 static_cast<int64_t>(time(nullptr)), WakeupDeviceType::WAKEUP_DEVICE_SWITCH, "PowerMgrServiceNative014"); in HWTEST_F() 398 static_cast<int64_t>(time(nullptr)), WakeupDeviceType::WAKEUP_DEVICE_SWITCH, "PowerMgrServiceNative015"); in HWTEST_F() 417 static_cast<int64_t>(time(nullptr)), WakeupDeviceType::WAKEUP_DEVICE_SWITCH, "PowerMgrServiceNative015"); in HWTEST_F()
|
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_test.cpp | 146 int64_t time = 10;
in HWTEST_F() local 149 rrc->SetPostTime(time);
in HWTEST_F() 150 EXPECT_EQ(rrc->GetPostTime(), time);
in HWTEST_F()
|
/base/request/request/services/src/manage/ |
H A D | mod.rs | 34 use std::time::Duration; 178 ylong_runtime::time::sleep(Duration::from_millis(500)).await; in ut_manager_task_state_and_reason() 184 ylong_runtime::time::sleep(Duration::from_secs(10)).await; in ut_manager_task_state_and_reason()
|
/base/security/certificate_framework/frameworks/adapter/v1.0/src/ |
H A D | x509_crl_entry_openssl.c | 159 const ASN1_TIME *time = X509_REVOKED_get0_revocationDate(rev); in GetRevocationDate() local 160 if (time == NULL) { in GetRevocationDate() 165 const char *revTime = (const char *)(time->data); in GetRevocationDate()
|
/base/update/updater/interfaces/kits/packages/ |
H A D | package.cpp | 50 if (pkgInfoExt->time != nullptr) {
in GetUpgradePkgInfo() 51 upgradePackageInfo->time = pkgInfoExt->time;
in GetUpgradePkgInfo()
|
/foundation/arkui/ace_engine/frameworks/core/common/ |
H A D | container.h | 219 void SetCreateTime(std::chrono::time_point<std::chrono::high_resolution_clock> time) in SetCreateTime() argument 221 createTime_ = time; in SetCreateTime() 314 virtual void SetViewFirstUpdating(std::chrono::time_point<std::chrono::high_resolution_clock> time) {} in SetViewFirstUpdating() argument
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_base_node.cpp | 281 TimeStamp time(nanoseconds); in InitTouchEvent() 282 touchEvent.time = time; in InitTouchEvent()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/include/ |
H A D | media_file_utils.h | 156 EXPORT static std::string StrCreateTime(const std::string &format, int64_t time); 157 EXPORT static std::string StrCreateTimeByMilliseconds(const std::string &format, int64_t time); 160 EXPORT static int64_t Timespec2Millisecond(const struct timespec &time);
|
/foundation/multimedia/av_session/services/session/server/test/ |
H A D | avsession_proxy_test.cpp | 77 void OnFastForward(int64_t time) override {}; 78 void OnRewind(int64_t time) override {}; 79 void OnSeek(int64_t time) override {};
|