/foundation/communication/netstack/frameworks/cj/http/include/ |
H A D | net_http_cache_entity.h | 37 [[nodiscard]] time_t GetIfModifiedSince() const; 39 [[nodiscard]] time_t GetRequestTime() const; 41 [[nodiscard]] time_t GetMaxAgeSeconds() const; 43 [[nodiscard]] time_t GetMaxStaleSeconds() const; 45 [[nodiscard]] time_t GetMinFreshSeconds() const; 84 [[nodiscard]] time_t GetDate() const; 86 [[nodiscard]] time_t GetExpires() const; 88 [[nodiscard]] time_t GetLastModified() const; 98 [[nodiscard]] time_t GetAgeSeconds() const; 100 [[nodiscard]] time_t GetResponseTim [all...] |
H A D | net_http_utils.h | 38 void Start(time_t time); 44 time_t startTime_{0}; 45 time_t endTime_{0}; 58 static time_t GetNowTimeMicroseconds(); 60 static double Microseconds2Milliseconds(time_t microseconds); 63 time_t StrTimeToTimestamp(const std::string &time_str); 65 time_t GetNowTimeSeconds();
|
/foundation/communication/netstack/frameworks/js/napi/http/cache/cache_strategy/include/ |
H A D | http_cache_response.h | 35 [[nodiscard]] time_t GetDate() const; 37 [[nodiscard]] time_t GetExpires() const; 39 [[nodiscard]] time_t GetLastModified() const; 49 [[nodiscard]] time_t GetAgeSeconds() const; 51 [[nodiscard]] time_t GetResponseTime() const; 67 [[nodiscard]] time_t GetMaxAgeSeconds() const; 69 [[nodiscard]] time_t GetSMaxAgeSeconds() const; 79 [[nodiscard]] time_t GetRequestTime() const;
|
H A D | http_cache_request.h | 36 [[nodiscard]] time_t GetIfModifiedSince() const; 38 [[nodiscard]] time_t GetRequestTime() const; 40 [[nodiscard]] time_t GetMaxAgeSeconds() const; 42 [[nodiscard]] time_t GetMaxStaleSeconds() const; 44 [[nodiscard]] time_t GetMinFreshSeconds() const;
|
H A D | http_time.h | 25 static time_t StrTimeToTimestamp(const std::string &time_str); 27 static time_t GetNowTimeSeconds();
|
/foundation/communication/netstack/utils/napi_utils/include/ |
H A D | timing.h | 27 void Start(time_t time); 33 time_t startTime_ = 0; 34 time_t endTime_ = 0; 47 static time_t GetNowTimeMicroseconds(); 49 static double Microseconds2Milliseconds(time_t microseconds);
|
/foundation/ai/ai_engine/test/performance/delay/async_process/ |
H A D | async_process_delay_test.cpp | 64 std::time_t g_processStartTime; 80 std::time_t processEndTime = GetCurTimeMillSec(); 239 std::time_t initStartTime = GetCurTimeMillSec(); in HWTEST_F() 245 std::time_t initEndTime = GetCurTimeMillSec(); in HWTEST_F() 257 std::time_t prepareStartTime = GetCurTimeMillSec(); in HWTEST_F() 260 std::time_t prepareEndTime = GetCurTimeMillSec(); in HWTEST_F() 269 std::time_t setOptionStartTime = GetCurTimeMillSec(); in HWTEST_F() 272 std::time_t setOptionEndTime = GetCurTimeMillSec(); in HWTEST_F() 279 std::time_t getOptionStartTime = GetCurTimeMillSec(); in HWTEST_F() 282 std::time_t getOptionEndTim in HWTEST_F() [all...] |
/foundation/communication/dhcp/services/dhcp_client/include/ |
H A D | dhcp_client_state_machine.h | 59 void SendReboot(uint32_t targetIp, time_t timestamp); 61 void DhcpResponseHandle(time_t timestamp); 62 void DhcpAckOrNakPacketHandle(uint8_t type, struct DhcpPacket *packet, time_t timestamp); 63 void ParseDhcpAckPacket(const struct DhcpPacket *packet, time_t timestamp); 64 void ParseDhcpNakPacket(const struct DhcpPacket *packet, time_t timestamp); 74 void DhcpOfferPacketHandle(uint8_t type, const struct DhcpPacket *packet, time_t timestamp); 75 void DhcpRequestHandle(time_t timestamp); 76 void Rebinding(time_t timestamp); 77 void Requesting(time_t timestamp); 78 void Renewing(time_t timestam [all...] |
/foundation/communication/netstack/frameworks/cj/http/src/ |
H A D | net_http_cache_entity.cpp | 75 time_t HttpCacheRequest::GetIfModifiedSince() const in GetIfModifiedSince() 83 time_t HttpCacheRequest::GetRequestTime() const in GetRequestTime() 91 time_t HttpCacheRequest::GetMaxAgeSeconds() const in GetMaxAgeSeconds() 100 time_t HttpCacheRequest::GetMaxStaleSeconds() const in GetMaxStaleSeconds() 109 time_t HttpCacheRequest::GetMinFreshSeconds() const in GetMinFreshSeconds() 204 time_t HttpCacheResponse::GetDate() const in GetDate() 213 time_t HttpCacheResponse::GetExpires() const in GetExpires() 222 time_t HttpCacheResponse::GetLastModified() const in GetLastModified() 251 time_t HttpCacheResponse::GetAgeSeconds() const in GetAgeSeconds() 259 time_t HttpCacheRespons [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/common/ |
H A D | rs_thread_looper_impl.h | 53 using time_t = std::chrono::time_point<clock_t>; 56 using delayed_queue_element_t = std::tuple<time_t, message_t, int>; 62 if (std::get<time_t>(a) != std::get<time_t>(b)) { in operator ()() 63 return std::get<time_t>(a) < std::get<time_t>(b); in operator ()()
|
/foundation/filemanagement/storage_service/services/storage_daemon/mtpfs/include/ |
H A D | mtpfs_type_file.h | 26 time_t modifyDate); 34 time_t ModificationDate() const in ModificationDate() 43 void SetModificationDate(time_t modifyDate) in SetModificationDate() 70 time_t modifyDate_;
|
/foundation/communication/netstack/frameworks/js/napi/http/cache/cache_strategy/src/ |
H A D | http_cache_response.cpp | 80 time_t HttpCacheResponse::GetDate() const in GetDate() 89 time_t HttpCacheResponse::GetExpires() const in GetExpires() 98 time_t HttpCacheResponse::GetLastModified() const in GetLastModified() 127 time_t HttpCacheResponse::GetAgeSeconds() const in GetAgeSeconds() 135 time_t HttpCacheResponse::GetMaxAgeSeconds() const in GetMaxAgeSeconds() 143 time_t HttpCacheResponse::GetSMaxAgeSeconds() const in GetSMaxAgeSeconds() 151 time_t HttpCacheResponse::GetResponseTime() const in GetResponseTime() 214 time_t HttpCacheResponse::GetRequestTime() const in GetRequestTime()
|
H A D | http_cache_request.cpp | 75 time_t HttpCacheRequest::GetIfModifiedSince() const in GetIfModifiedSince() 83 time_t HttpCacheRequest::GetRequestTime() const in GetRequestTime() 91 time_t HttpCacheRequest::GetMaxAgeSeconds() const in GetMaxAgeSeconds() 100 time_t HttpCacheRequest::GetMaxStaleSeconds() const in GetMaxStaleSeconds() 109 time_t HttpCacheRequest::GetMinFreshSeconds() const in GetMinFreshSeconds()
|
H A D | http_time.cpp | 28 time_t HttpTime::StrTimeToTimestamp(const std::string &time_str) in StrTimeToTimestamp() 41 time_t HttpTime::GetNowTimeSeconds() in GetNowTimeSeconds() 50 time_t timeSeconds = std::chrono::duration_cast<std::chrono::seconds>(now.time_since_epoch()).count(); in GetNowTimeGMT()
|
/foundation/ability/ability_runtime/services/abilitymgr/include/ |
H A D | restart_app_manager.h | 36 bool IsRestartAppFrequent(int32_t uid, time_t time); 37 void AddRestartAppHistory(int32_t uid, time_t time); 45 std::unordered_map<int32_t, time_t> restartAppHistory_; // RestartAppKey:time
|
/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/cycle_task/ |
H A D | cycle_task.cpp | 51 void CycleTask::SetLastRunTime(std::time_t time) in SetLastRunTime() 60 void CycleTask::GetLastRunTime(std::time_t &time) in GetLastRunTime() 70 bool CycleTask::IsEligibleToRun(std::time_t currentTime, std::string bundleName) in IsEligibleToRun() 72 std::time_t lastRuntime; in IsEligibleToRun() 93 std::time_t currentTime = std::time(nullptr); in RunTask()
|
/foundation/ability/ability_runtime/utils/global/time/include/ |
H A D | time_util.h | 47 std::time_t tt = static_cast<std::time_t>(timestamp / SEC_TO_MILLISEC); in FormatTime() 59 std::time_t tt = static_cast<std::time_t>(timestamp / SEC_TO_MILLISEC); in DefaultCurrentTimeStr()
|
/foundation/multimedia/av_codec/test/nativedemo/avmuxer/ |
H A D | avmuxer_demo_runner.cpp | 32 time_t startTime = 0; in RunLoopNativeMuxer() 33 time_t curTime = 0; in RunLoopNativeMuxer() 77 time_t startTime = 0; in RunLoopEngineMuxer() 78 time_t curTime = 0; in RunLoopEngineMuxer()
|
/foundation/ai/ai_engine/services/common/platform/time/include/ |
H A D | time.h | 25 time_t GetCurTimeSec(); 26 time_t GetCurTimeMillSec();
|
/foundation/communication/netstack/frameworks/native/http/http_client/include/ |
H A D | http_client_time.h | 30 static time_t GetNowTimeSeconds(); 32 static time_t StrTimeToTimestamp(const std::string &time_str);
|
/foundation/communication/netstack/frameworks/native/http/http_client/ |
H A D | http_client_time.cpp | 32 time_t timeSeconds = std::chrono::duration_cast<std::chrono::seconds>(now.time_since_epoch()).count(); in GetNowTimeGMT() 48 time_t HttpTime::GetNowTimeSeconds() in GetNowTimeGMT() 54 time_t HttpTime::StrTimeToTimestamp(const std::string &time_str) in GetNowTimeGMT()
|
/foundation/communication/netstack/utils/napi_utils/src/ |
H A D | timing.cpp | 43 void Timer::Start(time_t time) in Start() 63 time_t TimeUtils::GetNowTimeMicroseconds() in GetNowTimeMicroseconds() 69 double TimeUtils::Microseconds2Milliseconds(time_t microseconds) in Microseconds2Milliseconds()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_scan/ |
H A D | scan_service.h | 244 virtual void HandleGetCustomSceneState(std::map<int, time_t>& sceneMap) const; 316 time_t customCurrentTime; /* Indicates the time when the STA enters the Customer-defined scenario */ 325 std::map<int, time_t> customSceneTimeMap; /* Record the time when a scene is entered. */ 658 bool AllowScanByForbidMap(int scanScene, ScanMode scanMode, time_t currentTime); 725 bool PnoScanByInterval(int &fixedScanCount, time_t &fixedScanTime, int interval, int count); 763 bool AllowScanByIntervalFixed(int &fixedScanCount, time_t &fixedScanTime, int &interval, int &count); 784 bool AllowScanByIntervalContinue(time_t &continueScanTime, int &lessThanIntervalCount, int &interval, int &count); 797 int appId, time_t &blockListScanTime, int &lessThanIntervalCount, int &interval, int &count); 835 bool AllowCustomSceneCheck(const std::map<int, time_t>::const_iterator &customIter, ScanMode scanMode);
|
/foundation/ai/ai_engine/test/common/time/ |
H A D | time_test.cpp | 53 time_t firstTime = GetCurTimeSec(); in HWTEST_F() 56 time_t curTime = GetCurTimeSec(); in HWTEST_F()
|
/foundation/ai/ai_engine/test/performance/reliability/aie_client/ |
H A D | aie_client_reliability_test.cpp | 44 const time_t TIME_TEST = 20; 92 time_t asyncStart = GetCurTimeSec(); in HWTEST_F() 147 time_t currentTime = GetCurTimeSec(); in HWTEST_F() 164 time_t asyncStart = GetCurTimeSec(); in HWTEST_F() 220 time_t currentTime = GetCurTimeSec(); in HWTEST_F()
|