/third_party/node/deps/openssl/openssl/ssl/ |
H A D | ssl_asn1.c | 25 int64_t time; member 56 ASN1_EXP_OPT_EMBED(SSL_SESSION_ASN1, time, ZINT64, 1), 166 as.time = (int64_t)in->time; 304 if (as->time != 0) 305 ret->time = (time_t)as->time; 307 ret->time = time(NULL);
|
/third_party/node/deps/uv/src/win/ |
H A D | core.c | 249 /* To prevent uninitialized memory access, loop->time must be initialized in uv_loop_init() 250 * to zero before calling uv_update_time for the first time. in uv_loop_init() 252 loop->time = 0; in uv_loop_init() 327 assert(new_time >= loop->time); in uv_update_time() 328 loop->time = new_time; in uv_update_time() 436 timeout_time = loop->time + timeout; in uv__poll_wine() 467 * the idle time will need to be updated. in uv__poll_wine() 476 /* Some time might have passed waiting for I/O, in uv__poll_wine() 477 * so update the loop time here. in uv__poll_wine() 485 * Make sure that the desired timeout target time i in uv__poll_wine() [all...] |
/third_party/openssl/ssl/ |
H A D | ssl_asn1.c | 25 int64_t time; member 56 ASN1_EXP_OPT_EMBED(SSL_SESSION_ASN1, time, ZINT64, 1), 166 as.time = (int64_t)in->time; 304 if (as->time != 0) 305 ret->time = (time_t)as->time; 307 ret->time = time(NULL);
|
/foundation/multimedia/av_session/frameworks/common/src/ |
H A D | avcontrol_command.cpp | 77 && parcel.WriteInt64(std::get<int64_t>(param_)), false, "write fast forward time failed"); in Marshalling() 81 && parcel.WriteInt64(std::get<int64_t>(param_)), false, "write rewind time failed"); in Marshalling() 85 && parcel.WriteInt64(std::get<int64_t>(param_)), false, "write seek time failed"); in Marshalling() 150 SLOGD("SetForwardTime with time %{public}jd", static_cast<int64_t>(forwardTime)); in SetForwardTime() 167 SLOGE("GetForwardTime with time %{public}jd", static_cast<int64_t>(forwardTime)); in GetForwardTime() 174 SLOGE("SetRewindTime with time %{public}jd", static_cast<int64_t>(rewindTime)); in SetRewindTime() 191 SLOGE("GetRewindTime with time %{public}jd", static_cast<int64_t>(rewindTime)); in GetRewindTime() 196 int32_t AVControlCommand::SetSeekTime(int64_t time) in SetSeekTime() argument 198 if (time < 0) { in SetSeekTime() 201 param_ = time; in SetSeekTime() [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | object_asset_machine_test.cpp | 190 auto time = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now()); in HWTEST_F() local 191 auto timestamp = std::to_string(time); in HWTEST_F() 207 .tokenId = time, in HWTEST_F() 210 .instanceId = time, in HWTEST_F() 211 .user = time, in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/ |
H A D | priority_queue.h | 98 auto [repeat, time] = updater(index->second->second.task_); in Update() 101 index->second = tasks_.emplace(time, std::move(matrix)); in Update() 108 auto [repeat, time] = updater((*running).second.task_); in Update() 151 auto [repeat, time] = updater_(it->second.task_); in Finish() 153 indexes_.emplace(id, tasks_.emplace(time, std::move(it->second))); in Finish()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/ |
H A D | kvstore_sync_manager.cpp | 112 ZLOGD("time %lld", expireTime.time_since_epoch().count()); in AddTimer() 116 [time = expireTime, this]() { in AddTimer() 117 Schedule(time); in AddTimer() 125 // the last processing time is less than priorSyncingTime in GetTimeoutSyncOps() 158 void KvStoreSyncManager::Schedule(const TimePoint &time) in Schedule() argument 160 ZLOGD("timeout %lld", time.time_since_epoch().count()); in Schedule() 162 bool delaySchedule = GetTimeoutSyncOps(time, syncOps); in Schedule()
|
H A D | upgrade.cpp | 100 auto time = system_clock::to_time_t(system_clock::now()); in UpdatePassword() local 101 secretKey.time = { reinterpret_cast<uint8_t *>(&time), reinterpret_cast<uint8_t *>(&time) + sizeof(time) }; in UpdatePassword()
|
/foundation/distributeddatamgr/preferences/frameworks/native/include/ |
H A D | priority_queue.h | 97 auto [updated, time] = updater(index->second->second.task_); in Update() 103 index->second = tasks_.emplace(time, std::move(matrix)); in Update() 110 auto [updated, time] = updater((*running).second.task_); in Update() 148 auto [repeat, time] = updater_(it->second.task_); in Finish() 150 indexes_.emplace(id, tasks_.emplace(time, std::move(it->second))); in Finish()
|
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/plugins/av_trans_output/output_control/include/ |
H A D | output_controller.h | 68 void SetBufferTime(const uint32_t time); 93 void SetVideoFrontTime(const int64_t time); 94 void SetVideoBackTime(const int64_t time); 95 void SetAudioFrontTime(const int64_t time); 96 void SetAudioBackTime(const int64_t time);
|
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
H A D | map_perf_ring.c | 16 #include <time.h> 42 __u64 time; member 87 jsonw_uint(json_wtr, e->time); in print_bpf_output() 103 e->time / 1000000000ULL, e->time % 1000000000ULL, in print_bpf_output()
|
/kernel/linux/linux-5.10/fs/exfat/ |
H A D | misc.c | 9 #include <linux/time.h> 76 /* Convert a EXFAT time/date pair to a UNIX date (seconds since 1 1 70). */ 78 u8 tz, __le16 time, __le16 date, u8 time_cs) in exfat_get_entry_time() 80 u16 t = le16_to_cpu(time); in exfat_get_entry_time() 98 /* Convert from local time to UTC using time_offset. */ in exfat_get_entry_time() 102 /* Convert linear UNIX date to a EXFAT time/date pair. */ 104 u8 *tz, __le16 *time, __le16 *date, u8 *time_cs) in exfat_set_entry_time() 113 *time = cpu_to_le16(t); in exfat_set_entry_time() 123 * to indicate that local time and UTC are the same. in exfat_set_entry_time() 77 exfat_get_entry_time(struct exfat_sb_info *sbi, struct timespec64 *ts, u8 tz, __le16 time, __le16 date, u8 time_cs) exfat_get_entry_time() argument 103 exfat_set_entry_time(struct exfat_sb_info *sbi, struct timespec64 *ts, u8 *tz, __le16 *time, __le16 *date, u8 *time_cs) exfat_set_entry_time() argument
|
/kernel/linux/linux-6.6/fs/exfat/ |
H A D | misc.c | 9 #include <linux/time.h> 67 /* Convert a EXFAT time/date pair to a UNIX date (seconds since 1 1 70). */ 69 u8 tz, __le16 time, __le16 date, u8 time_cs) in exfat_get_entry_time() 71 u16 t = le16_to_cpu(time); in exfat_get_entry_time() 92 /* Convert linear UNIX date to a EXFAT time/date pair. */ 94 u8 *tz, __le16 *time, __le16 *date, u8 *time_cs) in exfat_set_entry_time() 103 *time = cpu_to_le16(t); in exfat_set_entry_time() 113 * to indicate that local time and UTC are the same. in exfat_set_entry_time() 68 exfat_get_entry_time(struct exfat_sb_info *sbi, struct timespec64 *ts, u8 tz, __le16 time, __le16 date, u8 time_cs) exfat_get_entry_time() argument 93 exfat_set_entry_time(struct exfat_sb_info *sbi, struct timespec64 *ts, u8 *tz, __le16 *time, __le16 *date, u8 *time_cs) exfat_set_entry_time() argument
|
/kernel/linux/linux-6.6/drivers/watchdog/ |
H A D | sa1100_wdt.c | 121 int time; in sa1100dog_ioctl() local 145 ret = get_user(time, p); in sa1100dog_ioctl() 149 if (time <= 0 || (oscr_freq * (long long)time >= 0xffffffff)) { in sa1100dog_ioctl() 154 pre_margin = oscr_freq * time; in sa1100dog_ioctl()
|
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-ds2404.c | 159 unsigned long time = 0; in ds2404_read_time() local 163 time = le32_to_cpu(hw_time); in ds2404_read_time() 165 rtc_time64_to_tm(time, dt); in ds2404_read_time() 172 u32 time = cpu_to_le32(rtc_tm_to_time64(dt)); in ds2404_set_time() local 173 ds2404_write_memory(chip, 0x203, 4, (u8 *)&time); in ds2404_set_time()
|
/kernel/linux/linux-6.6/tools/bpf/bpftool/ |
H A D | map_perf_ring.c | 16 #include <time.h> 34 __u64 time; member 79 jsonw_uint(json_wtr, e->time); in print_bpf_output() 95 e->time / 1000000000ULL, e->time % 1000000000ULL, in print_bpf_output()
|
/test/testfwk/xdevice/plugins/devicetest/utils/ |
H A D | img_util.py | 20 import time namespace 201 starttime = time.time() 206 if time.time() <= endtime:
|
/third_party/curl/tests/libtest/ |
H A D | lib670.c | 31 #include <time.h> 60 pooh->origin = time(NULL); in read_callback() 63 delta = time(NULL) - pooh->origin; in read_callback() 85 time_t delta = time(NULL) - pooh->origin; in xferinfo() 198 time_t delta = time(NULL) - pooh.origin; in test()
|
/third_party/googletest/googletest/scripts/ |
H A D | gen_gtest_pred_impl.py | 53 import time namespace 74 'today' : time.strftime('%m/%d/%Y'), 75 'year' : time.strftime('%Y'), 334 'today' : time.strftime('%m/%d/%Y'), 335 'year' : time.strftime('%Y'), 386 // time to finish, we should consider separating this file into a
|
/third_party/mesa3d/.gitlab-ci/bin/ |
H A D | ci_run_n_monitor.py | 21 import time namespace 80 time.sleep(1) 119 time.sleep(1) 274 t_start = time.perf_counter() 297 t_end = time.perf_counter()
|
/third_party/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/ |
H A D | pvr_srv_sync.c | 115 struct timespec time; in pvr_get_remaining_time() local 117 clock_gettime(CLOCK_MONOTONIC, &time); in pvr_get_remaining_time() 118 timespec_sub(&time, timeout, &time); in pvr_get_remaining_time() 120 return time; in pvr_get_remaining_time()
|
/third_party/skia/third_party/externals/microhttpd/src/testcurl/ |
H A D | test_get_response_cleanup.c | 34 #include <time.h> 245 start = time (NULL); in testExternalGet() 246 while ((time (NULL) - start < 2)) in testExternalGet() 263 start = time (NULL); in testExternalGet() 264 while ((time (NULL) - start < 2)) in testExternalGet()
|
/third_party/python/Lib/test/ |
H A D | test_unicode_file.py | 4 import os, glob, time, shutil namespace 40 os.utime(filename, (time.time(), time.time()))
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/ |
H A D | format.cc | 22 #include "absl/time/internal/cctz/include/cctz/time_zone.h" 23 #include "absl/time/time.h" 92 absl::Time* time, std::string* err) { in ParseTime() 93 return absl::ParseTime(format, input, absl::UTCTimeZone(), time, err); in ParseTime() 99 absl::TimeZone tz, absl::Time* time, std::string* err) { in ParseTime() 124 *time = lit.value; in ParseTime() 136 *time = Join(parts); in ParseTime() 91 ParseTime(absl::string_view format, absl::string_view input, absl::Time* time, std::string* err) ParseTime() argument 98 ParseTime(absl::string_view format, absl::string_view input, absl::TimeZone tz, absl::Time* time, std::string* err) ParseTime() argument
|
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-rv8803.c | 294 alrm->time.tm_sec = 0; in rv8803_get_alarm() 295 alrm->time.tm_min = bcd2bin(alarmvals[0] & 0x7f); in rv8803_get_alarm() 296 alrm->time.tm_hour = bcd2bin(alarmvals[1] & 0x3f); in rv8803_get_alarm() 297 alrm->time.tm_mday = bcd2bin(alarmvals[2] & 0x3f); in rv8803_get_alarm() 314 if (alrm->time.tm_sec) { in rv8803_set_alarm() 315 time64_t alarm_time = rtc_tm_to_time64(&alrm->time); in rv8803_set_alarm() 317 alarm_time += 60 - alrm->time.tm_sec; in rv8803_set_alarm() 318 rtc_time64_to_tm(alarm_time, &alrm->time); in rv8803_set_alarm() 329 alarmvals[0] = bin2bcd(alrm->time.tm_min); in rv8803_set_alarm() 330 alarmvals[1] = bin2bcd(alrm->time in rv8803_set_alarm() [all...] |