/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/ |
H A D | sntp_opts.h | 100 * Define SNTP_SET_SYSTEM_TIME_US(sec, us) to set the time in microseconds instead of this one 105 #define SNTP_SET_SYSTEM_TIME(sec) (void)stime(&sec) 113 #define SNTP_SET_SYSTEM_TIME_US(sec, us) 203 #define SNTP_GET_SYSTEM_TIME(sec, us) do { (sec) = 0; (us) = 0; } while (0)
|
/foundation/ai/ai_engine/services/common/platform/time/source/ |
H A D | time.cpp | 28 std::chrono::seconds sec = std::chrono::duration_cast<std::chrono::seconds>(d); in GetCurTimeSec() local 29 return sec.count(); in GetCurTimeSec() 35 std::chrono::milliseconds sec = std::chrono::duration_cast<std::chrono::milliseconds>(d); in GetCurTimeMillSec() local 36 return sec.count(); in GetCurTimeMillSec()
|
/foundation/multimedia/media_foundation/engine/include/plugin/common/ |
H A D | plugin_time.h | 73 inline bool Sec2HstTime (int64_t sec, int64_t& hTime) in Sec2HstTime() argument 75 if (INT64_MAX / HST_SECOND < sec || INT64_MIN / HST_SECOND > sec) { // overflow in Sec2HstTime() 78 hTime = sec * HST_SECOND; in Sec2HstTime()
|
/foundation/multimedia/media_foundation/src/common/ |
H A D | plugin_time.h | 73 inline bool Sec2HstTime (int64_t sec, int64_t& hTime) in Sec2HstTime() argument 75 if (INT64_MAX / HST_SECOND < sec || INT64_MIN / HST_SECOND > sec) { // overflow in Sec2HstTime() 78 hTime = sec * HST_SECOND; in Sec2HstTime()
|
/foundation/multimedia/media_foundation/interface/inner_api/plugin/ |
H A D | plugin_time.h | 82 inline bool Sec2HstTime (int64_t sec, int64_t& hTime) in Sec2HstTime() argument 84 if (INT64_MAX / HST_SECOND < sec || INT64_MIN / HST_SECOND > sec) { // overflow in Sec2HstTime() 87 hTime = sec * HST_SECOND; in Sec2HstTime()
|
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/ |
H A D | flash_vendor_storage.h | 8 int flash_vendor_dev_ops_register(int (*read)(u32 sec, 11 int (*write)(u32 sec,
|
/foundation/communication/dsoftbus/core/transmission/common/src/ |
H A D | trans_pending_pkt.c | 88 return (now.sec < inputTime->sec || (now.sec == inputTime->sec && now.usec < inputTime->usec)); in TimeBefore() 120 outTime->sec = (type == PENDING_TYPE_UDP) ? now.sec : now.sec + MSG_TIMEOUT_S; in FormalizeTimeFormat() 125 outTime->sec += 1; in FormalizeTimeFormat() 127 "us over limit, after formalize, us=%{public}" PRId64 "sec=%{public}" PRId64, outTime->usec, outTime->sec); in FormalizeTimeFormat() [all...] |
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/proxy/src/ |
H A D | client_trans_pending.c | 138 int64_t time = now.sec * USECTONSEC * USECTONSEC + now.usec + (int64_t)waitMillis * USECTONSEC; in ComputeWaitPendTime() 139 outtime->sec = time / USECTONSEC / USECTONSEC; in ComputeWaitPendTime() 161 if (now.sec > outtime.sec || (now.sec == outtime.sec && now.usec >= outtime.usec)) { in TransPendWaitTime()
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/ |
H A D | hi_time.c | 81 hi_u32 hi_set_real_time(hi_u32 sec) in hi_set_real_time() argument 86 tp.tv_sec = (int)sec; in hi_set_real_time()
|
/device/soc/rockchip/rk3568/hardware/omx_il/osal/ |
H A D | Rockchip_OSAL_ETC.c | 163 unsigned long sec, usec, time; in MeasureTime() local 165 sec = stop->tv_sec - start->tv_sec; in MeasureTime() 170 sec--; in MeasureTime() 173 time = sec * 1000000 + (usec); // 1000000:time shift in MeasureTime()
|
/foundation/ai/intelligent_voice_framework/utils/ |
H A D | time_util.h | 87 long sec = secs % MIN_PER_S; in TimeElapse() local 89 std::cout << hour << ":" << min << ":" << sec << std::endl; in TimeElapse()
|
/foundation/arkui/ace_engine/frameworks/core/components/picker/ |
H A D | toss_animation_controller.cpp | 119 double sec = static_cast<double>(tv.tv_sec); in GetCurrentTime() local 121 return (sec * 1000 + msec); // sec * 1000 is msec in GetCurrentTime()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/mock/src/ |
H A D | rdb_fault_hiview_reporter.cpp | 56 std::string RdbFaultHiViewReporter::GetTimeWithMilliseconds(time_t sec, int64_t nsec) in GetTimeWithMilliseconds() argument 58 (void)sec; in GetTimeWithMilliseconds()
|
/foundation/communication/dsoftbus/adapter/common/kernel/liteos_m/ |
H A D | softbus_adapter_timer.c | 98 sysTime->sec = time.tv_sec; in SoftBusGetTime() 111 sysTime->sec = time.tv_sec; in SoftBusGetRealTime()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/ |
H A D | hi_systick.h | 103 hi_void hi_systick_set_real_time(hi_u32 sec);
|
/foundation/communication/dsoftbus/adapter/common/include/ |
H A D | softbus_adapter_timer.h | 26 int64_t sec; member
|
/applications/standard/app_samples/code/SuperFeature/DistributedAppDev/JsDistributedMusicPlayer/entry/src/main/js/MainAbility/pages/index/ |
H A D | index.js | 24 var sec = seconds % 60 25 var min = (seconds - sec) / 60 26 if (sec < 10) { 27 sec = '0' + sec 32 return min + ':' + sec
|
/foundation/resourceschedule/ffrt/src/dfx/log/linux/ |
H A D | log_base.cpp | 42 auto sec = std::to_string(curtime.tm_sec); in GetCurrentTime() local 45 return year + "-" + mon + "-" + day + " " + hour + ":" + min + ":" + sec + "." + ms; in GetCurrentTime()
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/ |
H A D | log.h | 40 time_t sec = (time_t)tv->tv_sec; in FillpLogGetNowTime() local 41 (void)localtime_r(&sec, nowTime); in FillpLogGetNowTime()
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | bcm_app_utils.c | 66 int sec; in cca_per_chan_summary() local 75 for (sec = 0; sec < input->num_secs; sec++) { in cca_per_chan_summary() 76 if (input->secs[sec].duration) { in cca_per_chan_summary() 77 totals.duration += input->secs[sec].duration; in cca_per_chan_summary() 78 totals.congest_ibss += input->secs[sec].congest_ibss; in cca_per_chan_summary() 79 totals.congest_obss += input->secs[sec].congest_obss; in cca_per_chan_summary() 80 totals.interference += input->secs[sec].interference; in cca_per_chan_summary()
|
H A D | dhd_linux_pktdump.c | 327 bool pair, ack, mic, kerr, req, sec, install; in dhd_is_4way_msg() local 347 sec = !!(key_info & KEYINFO_SECURE_MASK); in dhd_is_4way_msg() 351 if (pair && !install && ack && !mic && !sec && !kerr && !req) { in dhd_is_4way_msg() 353 } else if (pair && !install && !ack && mic && !sec && !kerr && !req) { in dhd_is_4way_msg() 355 } else if (pair && ack && mic && sec && !kerr && !req) { in dhd_is_4way_msg() 357 } else if (pair && !install && !ack && mic && sec && !req && !kerr) { in dhd_is_4way_msg() 359 } else if (!pair && !install && ack && mic && sec && !req && !kerr) { in dhd_is_4way_msg() 361 } else if (!pair && !install && !ack && mic && sec && !req && !kerr) { in dhd_is_4way_msg() 366 printf("WPA2: key_info=0x%x, pair=%d, ack=%d, mic=%d, sec=%d, kerr=%d, req=%d\n", in dhd_is_4way_msg() 367 key_info, pair, ack, mic, sec, ker in dhd_is_4way_msg() [all...] |
/foundation/communication/dsoftbus/adapter/common/kernel/posix/ |
H A D | softbus_adapter_timer.c | 137 sysTime->sec = time.tv_sec; in SoftBusGetTime() 150 sysTime->sec = time.tv_sec; in SoftBusGetRealTime()
|
/device/soc/rockchip/common/sdk_linux/net/bluetooth/ |
H A D | l2cap_sock.c | 576 struct bt_security sec; in l2cap_sock_getsockopt() local 605 memset(&sec, 0, sizeof(sec)); in l2cap_sock_getsockopt() 607 sec.level = chan->conn->hcon->sec_level; in l2cap_sock_getsockopt() 610 sec.key_size = chan->conn->hcon->enc_key_size; in l2cap_sock_getsockopt() 613 sec.level = chan->sec_level; in l2cap_sock_getsockopt() 616 len = min_t(unsigned int, len, sizeof(sec)); in l2cap_sock_getsockopt() 617 if (copy_to_user(optval, (char *)&sec, len)) { in l2cap_sock_getsockopt() 923 struct bt_security sec; in l2cap_sock_setsockopt() local 951 sec in l2cap_sock_setsockopt() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_datepicker_ffi.h | 36 int64_t sec; member
|
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/include/ |
H A D | kv_hiview_reporter.h | 59 static std::string GetTimeWithMilliseconds(time_t sec, int64_t nsec);
|