/foundation/window/window_manager/utils/include/ |
H A D | event_tracker.h | 71 auto time = std::chrono::system_clock::to_time_t(timePoint); in formatTimestamp() local 73 localtime_r(&time, &localTime); in formatTimestamp()
|
/foundation/window/window_manager/test/demo/ |
H A D | demo_snapshot_virtual_screen.cpp | 85 auto startTime = time(nullptr);
in main() 90 while (time(nullptr) - startTime < MAX_SNAPSHOT_COUNT) {
in main()
|
/foundation/communication/dsoftbus/tests/core/connection/br/ |
H A D | br_mock.cpp | 157 int32_t ConnBleKeepAlive(uint32_t connectionId, uint32_t requestId, uint32_t time)
in ConnBleKeepAlive() argument 159 return GetConnectionBrInterface()->ConnBleKeepAlive(connectionId, requestId, time);
in ConnBleKeepAlive()
|
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/common/mock/ |
H A D | trans_lane_pending_test_mock.cpp | 84 int32_t SoftBusCondWait(SoftBusCond *cond, SoftBusMutex *mutex, SoftBusSysTime *time) in SoftBusCondWait() argument 86 return GetTransLanePendingTestInterface()->SoftBusCondWait(cond, mutex, time); in SoftBusCondWait()
|
/foundation/communication/netstack/frameworks/native/http/http_client/ |
H A D | http_client_request.cpp | 178 void HttpClientRequest::SetRequestTime(const std::string &time) in SetRequestTime() argument 180 requestTime_ = time; in SetRequestTime()
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_toolkit/unittest/Mock/ |
H A D | mock_wifi_scan_config.h | 48 virtual void SetStaCurrentTime(time_t time) = 0; 74 MOCK_METHOD1(SetStaCurrentTime, void(time_t time));
|
/foundation/distributeddatamgr/data_share/frameworks/js/napi/dataShare/src/ |
H A D | napi_datashare_inner_observer.cpp | 69 auto time =
in OnChange() local 71 LOG_INFO("NAPIInnerObserver datashare callback start, times %{public}" PRIu64 ".", time);
in OnChange()
|
/foundation/distributeddatamgr/data_share/frameworks/native/provider/src/ |
H A D | datashare_uv_queue.cpp | 78 auto time = static_cast<uint64_t>(duration_cast<milliseconds>( in SyncCall() local 80 LOG_INFO("function ended successfully. times %{public}" PRIu64 ".", time); in SyncCall()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/kv/ |
H A D | generic_single_ver_kv_entry.h | 44 void SetTimestamp(Timestamp time) override; 48 void SetWriteTimestamp(Timestamp time) override;
|
/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/cycle_task/ |
H A D | cycle_task_runner.cpp | 46 setUpTime_ = std::time(nullptr); in CycleTaskRunner() 114 std::time_t currentTime = std::time(nullptr); in SetRunableBundleNames()
|
/foundation/distributedhardware/distributed_screen/services/common/decision_center/src/ |
H A D | screen_decision_center.cpp | 68 return difftime(time(nullptr), sendFullTime_) >= timethreshold; in LimitTime() 83 sendFullTime_ = time(nullptr); in InputBufferImage()
|
/test/testfwk/arkxtest/uitest/record/ |
H A D | keyevent_tracker.h | 38 void SetActionTime(int64_t time) in SetActionTime() argument 40 time_ = time; in SetActionTime()
|
/test/xts/acts/ability/ability_runtime/fa/faapplicationinfo/src/main/js/test/ |
H A D | ApplicationInfoJsunit.test.js | 56 "time":"11:00",
71 expect(formDataStrToObj2.time).assertEqual("11:00")
77 expect(formDataStrToObj.time).assertEqual("11:00")
|
/test/xts/acts/kernel_lite/utils/ |
H A D | utils.h | 25 #include <time.h> 26 #include <sys/time.h> 115 // keep current process run for a specific time, no sleep. 158 * desc: get current time, plus 'ms' 163 * desc: calculate time difference, in ms 164 * output: return time difference, unit is ms
|
/test/xts/acts/kernel_lite/ipc_posix/semaphore/ |
H A D | SemAbnormalTest.cpp | 106 * @tc.name sem_timedwait get semaphore, wait time abnormal, tv_nsec less than 0 117 ts.tv_sec = time(nullptr); in HWTEST_F() 133 * @tc.name sem_timedwait get semaphore, wait time abnormal 144 ts.tv_sec = time(nullptr); in HWTEST_F()
|
/test/xts/dcts/communication/softbus_standard/common/ |
H A D | socket_common.h | 21 #include <sys/time.h>
219 time(&timeSec); \
|
H A D | net_trans_common.h | 21 #include <sys/time.h>
176 time(&timeSec); \
|
/third_party/curl/tests/libtest/ |
H A D | lib677.c | 39 time_t start = time(NULL); in test() 54 while(time(NULL) - start < 5) { in test()
|
/third_party/ffmpeg/libavformat/ |
H A D | dash.c | 98 int64_t time) { in ff_dash_fill_tmpl_params() 137 n = snprintf(&dst[dst_pos], buffer_size - dst_pos, format_tag, time); in ff_dash_fill_tmpl_params() 95 ff_dash_fill_tmpl_params(char *dst, size_t buffer_size, const char *template, int rep_id, int number, int bit_rate, int64_t time) ff_dash_fill_tmpl_params() argument
|
/third_party/glfw/deps/ |
H A D | tinycthread.h | 77 #include <time.h> 81 #include <sys/time.h> 95 /* Workaround for missing TIME_UTC: If time.h doesn't provide TIME_UTC, 97 the only other supported time specifier: CLOCK_REALTIME (and if that fails, 152 * a compiler error), since compile-time TLS is not supported in the Mac OS X 173 #define thrd_timeout 2 /**< The time specified in the call was reached without acquiring the requested resource */ 269 * at the time of the call. If no threads are blocked on the condition variable 270 * at the time of the call, the function does nothing and return success. 279 * at the time of the call. If no threads are blocked on the condition variable 280 * at the time o [all...] |
/third_party/backends/sanei/ |
H A D | sanei_init_debug.c | 59 #include <time.h> 60 #include <sys/time.h>
|
/third_party/curl/docs/examples/ |
H A D | chkspeed.c | 31 * amount of downloaded bytes, the time used for the whole download, and 40 #include <time.h> 154 time_t t = time(NULL); in main() 186 /* check for total download time */ in main() 189 printf("Total download time: %lu.%06lu sec.\n", in main() 199 /* check for name resolution time */ in main() 202 printf("Name lookup time: %lu.%06lu sec.\n", in main() 205 /* check for connect time */ in main() 208 printf("Connect time: %lu.%06lu sec.\n", in main()
|
/third_party/benchmark/src/ |
H A D | cycleclock.h | 3 // A CycleClock tells you the current time in Cycles. The "time" 4 // is actually time since power-on. This is like time() but doesn't 46 #include <sys/time.h> 47 #include <time.h> 65 // architecture, to return the number of "mach time units" that in Now() 68 // macs to the number of mach time units per second, not actual in Now() 87 // This returns a time-base, which is not always precisely a cycle-count. in Now()
|
/third_party/icu/icu4c/source/samples/ufortune/ |
H A D | ufortune.c | 33 #include <time.h> 196 i = time(NULL) % numFortunes; /* Use time to pick a somewhat-random fortune. */ in main()
|
/third_party/icu/icu4c/source/test/compat/ |
H A D | tzdate.c | 18 #include <time.h> 60 /* format year for system time */ in main() 116 time(&now); in getSystemCurrentTime()
|