/kernel/linux/linux-6.6/tools/testing/selftests/timers/ |
H A D | valid-adjtimex.c | 224 printf("(sec: %ld usec: %ld) ", tmx.time.tv_sec, tmx.time.tv_usec); in set_offset() 231 int set_bad_offset(long sec, long usec, int use_nano) in set_bad_offset() argument 240 tmx.time.tv_sec = sec; in set_bad_offset() 244 printf("Invalid (sec: %ld usec: %ld) did not fail! ", tmx.time.tv_sec, tmx.time.tv_usec); in set_bad_offset()
|
/test/testfwk/xdevice/src/xdevice/_core/ |
H A D | constants.py | 64 sec = "security" variable in TestType 88 "SEC": TestType.sec,
|
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | nameserndk.cpp | 160 ns_sect sec = ns_s_qd;
in NsSkiPrr() local 161 ret = ns_skiprr(ptr, eom, sec, PARAM_1);
in NsSkiPrr()
|
/third_party/mesa3d/.gitlab-ci/bin/ |
H A D | ci_run_n_monitor.py | 115 def pretty_wait(sec: int) -> None: 117 for val in range(sec, 0, -1):
|
/third_party/node/deps/openssl/openssl/apps/include/ |
H A D | opt.h | 353 #define OPT_SECTION(sec) { OPT_SECTION_STR, 1, '-', sec " options:\n" }
|
/third_party/openssl/apps/include/ |
H A D | opt.h | 353 #define OPT_SECTION(sec) { OPT_SECTION_STR, 1, '-', sec " options:\n" }
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A D | TimeValue.h | 281 /// The seconds component of the TimeValue is set to \p sec without 285 void seconds (SecondsType sec ) { in seconds() 286 this->seconds_ = sec; in seconds()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/base/ |
H A D | js_fwk_common.cpp | 390 static size_t AppendTwoPath(char * const first, uint8_t startIndex, const char * const sec, const uint16_t destSize) in AppendTwoPath() argument 392 if ((first == nullptr) || (sec == nullptr) || (strlen(sec) == 0)) { in AppendTwoPath() 396 size_t secLength = strlen(sec); in AppendTwoPath() 404 if (memcpy_s(first, destSize, sec, secLength) != 0) { in AppendTwoPath() 420 if (sec[0] == PATH_SEPARATOR) { in AppendTwoPath() 422 if (memcpy_s(first + startIndex, (destSize - startIndex), (sec + 1), (secLength - 1)) != 0) { in AppendTwoPath() 431 // sec string do not have '/' in AppendTwoPath() 432 if (memcpy_s(first + startIndex, (destSize - startIndex), sec, secLength) != 0) { in AppendTwoPath()
|
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | netmisc.c | 975 time64_t sec, days; in cnvrtDosUnixTm() local 984 sec = 2 * st->TwoSeconds; in cnvrtDosUnixTm() 986 if ((sec > 59) || (min > 59)) in cnvrtDosUnixTm() 987 cifs_dbg(VFS, "Invalid time min %d sec %lld\n", min, sec); in cnvrtDosUnixTm() 988 sec += (min * 60); in cnvrtDosUnixTm() 989 sec += 60 * 60 * st->Hours; in cnvrtDosUnixTm() 1017 sec += 24 * 60 * 60 * days; in cnvrtDosUnixTm() 1019 ts.tv_sec = sec + offset; in cnvrtDosUnixTm() 1021 /* cifs_dbg(FYI, "sec afte in cnvrtDosUnixTm() [all...] |
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | netmisc.c | 971 time64_t sec, days; in cnvrtDosUnixTm() local 980 sec = 2 * st->TwoSeconds; in cnvrtDosUnixTm() 982 if ((sec > 59) || (min > 59)) in cnvrtDosUnixTm() 983 cifs_dbg(VFS, "Invalid time min %d sec %lld\n", min, sec); in cnvrtDosUnixTm() 984 sec += (min * 60); in cnvrtDosUnixTm() 985 sec += 60 * 60 * st->Hours; in cnvrtDosUnixTm() 1013 sec += 24 * 60 * 60 * days; in cnvrtDosUnixTm() 1015 ts.tv_sec = sec + offset; in cnvrtDosUnixTm() 1017 /* cifs_dbg(FYI, "sec afte in cnvrtDosUnixTm() [all...] |
/kernel/linux/linux-6.6/tools/tracing/latency/ |
H A D | latency-collector.c | 624 * We try the print_mtx for 1 sec in order to avoid garbled in cleanup_exit() 1079 long us, sec; in __print_skipmessage() local 1082 sec = timestamp->tv_sec; in __print_skipmessage() 1095 sec, us, req->ticket, str); in __print_skipmessage() 1098 sec, us, req->ticket); in __print_skipmessage() 1137 long us, sec; in print_tracefile() local 1159 sec = timestamp->tv_sec; in print_tracefile() 1166 sec, us, req->ticket, slept_ms); in print_tracefile() 1169 "%ld.%06ld Latency %d immediate print\n", sec, in print_tracefile()
|
/third_party/lzma/CPP/7zip/UI/Console/ |
H A D | Main.cpp | 504 UInt64 sec = val / kFreq;
in PrintTime() local 505 PrintNum(sec, 6);
in PrintTime() 507 UInt32 ms = (UInt32)(val - (sec * kFreq)) / (kFreq / 1000);
in PrintTime() 676 UInt64 sec, ms;
680 sec = val / 1000000;
685 sec = val / kFreq;
686 ms = (UInt32)((val - (sec * kFreq)) * 1000 / kFreq);
689 PrintNum(sec, 6);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | bss.c | 282 update_time->sec = fetch_time->sec; in calculate_update_time() 284 update_time->sec -= age_ms / 1000; in calculate_update_time() 287 update_time->sec--; in calculate_update_time() 626 (unsigned int) bss->last_update.sec, in wpa_bss_update() 631 (unsigned int) update_time.sec, in wpa_bss_update() 756 (unsigned int) age.sec, in wpa_bss_update_scan_res() 930 t.sec -= age; in wpa_bss_flush_by_age()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | bss.c | 273 update_time->sec = fetch_time->sec; in calculate_update_time() 275 update_time->sec -= age_ms / 1000; in calculate_update_time() 278 update_time->sec--; in calculate_update_time() 691 (unsigned int) bss->last_update.sec, in wpa_bss_update() 696 (unsigned int) update_time.sec, in wpa_bss_update() 851 (unsigned int) age.sec, in wpa_bss_update_scan_res() 1044 t.sec -= age; in wpa_bss_flush_by_age()
|
/kernel/linux/linux-5.10/drivers/block/ |
H A D | amiflop.c | 985 sec, /* 0-...*/ member 1163 do { /* search for the right sync of each sec-hdr */ in dos_read() 1180 hdr.sec, hdr.len_desc, hdr.crc); in dos_read() 1213 unit[drive].track, drive, scnt, hdr.sec); in dos_read() 1223 hdr.track,hdr.side,hdr.sec,hdr.len_desc,scnt); in dos_read() 1228 raw = dos_decode((unsigned char *)(unit[drive].trackbuf + (hdr.sec - 1) * 512), (ushort *) raw, 512); in dos_read() 1230 crc = dos_data_crc(unit[drive].trackbuf + (hdr.sec - 1) * 512); in dos_read() 1235 hdr.sec, hdr.len_desc, scnt,data_crc[0], crc); in dos_read() 1237 ((ulong *)(unit[drive].trackbuf+(hdr.sec-1)*512))[0], in dos_read() 1238 ((ulong *)(unit[drive].trackbuf+(hdr.sec in dos_read() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
H A D | hw_atl_b0.c | 1399 __be64 sec; in hw_atl_b0_rx_extract_ts() local 1409 * uint64_t sec; in hw_atl_b0_rx_extract_ts() 1415 memcpy(&sec, ptr, sizeof(sec)); in hw_atl_b0_rx_extract_ts() 1416 ptr += sizeof(sec); in hw_atl_b0_rx_extract_ts() 1419 *timestamp = (be64_to_cpu(sec) & 0xffffffffffffllu) * NSEC_PER_SEC + in hw_atl_b0_rx_extract_ts() 1431 u64 tmp, sec, ns; in hw_atl_b0_extract_hwts() local 1433 sec = 0; in hw_atl_b0_extract_hwts() 1435 sec += tmp; in hw_atl_b0_extract_hwts() 1437 sec in hw_atl_b0_extract_hwts() [all...] |
/kernel/linux/linux-5.10/drivers/net/ieee802154/ |
H A D | ca8210.c | 1832 hdr.sec.level = data_ind[29 + msdulen]; in ca8210_skb_rx() 1833 dev_dbg(&priv->spi->dev, "security level: %#03x\n", hdr.sec.level); in ca8210_skb_rx() 1834 if (hdr.sec.level > 0) { in ca8210_skb_rx() 1835 hdr.sec.key_id_mode = data_ind[30 + msdulen]; in ca8210_skb_rx() 1836 memcpy(&hdr.sec.extended_src, &data_ind[31 + msdulen], 8); in ca8210_skb_rx() 1837 hdr.sec.key_id = data_ind[39 + msdulen]; in ca8210_skb_rx() 1852 if (hdr.sec.level) in ca8210_skb_rx() 1961 secspec.security_level = header.sec.level; in ca8210_skb_tx() 1962 secspec.key_id_mode = header.sec.key_id_mode; in ca8210_skb_tx() 1964 memcpy(secspec.key_source, &header.sec in ca8210_skb_tx() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
H A D | hw_atl_b0.c | 1399 __be64 sec; in hw_atl_b0_rx_extract_ts() local 1409 * uint64_t sec; in hw_atl_b0_rx_extract_ts() 1415 memcpy(&sec, ptr, sizeof(sec)); in hw_atl_b0_rx_extract_ts() 1416 ptr += sizeof(sec); in hw_atl_b0_rx_extract_ts() 1419 *timestamp = (be64_to_cpu(sec) & 0xffffffffffffllu) * NSEC_PER_SEC + in hw_atl_b0_rx_extract_ts() 1431 u64 tmp, sec, ns; in hw_atl_b0_extract_hwts() local 1433 sec = 0; in hw_atl_b0_extract_hwts() 1435 sec += tmp; in hw_atl_b0_extract_hwts() 1437 sec in hw_atl_b0_extract_hwts() [all...] |
/kernel/linux/linux-6.6/drivers/block/ |
H A D | amiflop.c | 985 sec, /* 0-...*/ member 1163 do { /* search for the right sync of each sec-hdr */ in dos_read() 1180 hdr.sec, hdr.len_desc, hdr.crc); in dos_read() 1213 unit[drive].track, drive, scnt, hdr.sec); in dos_read() 1223 hdr.track,hdr.side,hdr.sec,hdr.len_desc,scnt); in dos_read() 1228 raw = dos_decode((unsigned char *)(unit[drive].trackbuf + (hdr.sec - 1) * 512), (ushort *) raw, 512); in dos_read() 1230 crc = dos_data_crc(unit[drive].trackbuf + (hdr.sec - 1) * 512); in dos_read() 1235 hdr.sec, hdr.len_desc, scnt,data_crc[0], crc); in dos_read() 1237 ((ulong *)(unit[drive].trackbuf+(hdr.sec-1)*512))[0], in dos_read() 1238 ((ulong *)(unit[drive].trackbuf+(hdr.sec in dos_read() [all...] |
/kernel/linux/linux-6.6/drivers/net/ieee802154/ |
H A D | ca8210.c | 1789 hdr.sec.level = data_ind[29 + msdulen]; in ca8210_skb_rx() 1790 dev_dbg(&priv->spi->dev, "security level: %#03x\n", hdr.sec.level); in ca8210_skb_rx() 1791 if (hdr.sec.level > 0) { in ca8210_skb_rx() 1792 hdr.sec.key_id_mode = data_ind[30 + msdulen]; in ca8210_skb_rx() 1793 memcpy(&hdr.sec.extended_src, &data_ind[31 + msdulen], 8); in ca8210_skb_rx() 1794 hdr.sec.key_id = data_ind[39 + msdulen]; in ca8210_skb_rx() 1809 if (hdr.sec.level) in ca8210_skb_rx() 1918 secspec.security_level = header.sec.level; in ca8210_skb_tx() 1919 secspec.key_id_mode = header.sec.key_id_mode; in ca8210_skb_tx() 1921 memcpy(secspec.key_source, &header.sec in ca8210_skb_tx() [all...] |
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | libbpf.c | 376 char *sec; member 753 pr_warn("sec '%s': corrupted program '%s', offset %zu, size %zu\n", in bpf_object__init_prog() 802 pr_warn("sec '%s': failed to allocate memory for prog '%s'\n", sec_name, name); in bpf_object__init_prog() 836 pr_warn("sec '%s': failed to get symbol name for offset %zu\n", in bpf_object__add_programs() 842 pr_warn("sec '%s': program at offset %zu crosses section boundary\n", in bpf_object__add_programs() 848 pr_warn("sec '%s': program '%s' is static and not supported\n", sec_name, name); in bpf_object__add_programs() 852 pr_debug("sec '%s': found program '%s' at insn offset %zu (%zu bytes), code size %zu insns (%zu bytes)\n", in bpf_object__add_programs() 862 pr_warn("sec '%s': failed to alloc memory for new program '%s'\n", in bpf_object__add_programs() 2516 const struct btf_type *sec, in bpf_object__init_user_btf_map() 2529 vi = btf_var_secinfos(sec) in bpf_object__init_user_btf_map() 2515 bpf_object__init_user_btf_map(struct bpf_object *obj, const struct btf_type *sec, int var_idx, int sec_idx, const Elf_Data *data, bool strict, const char *pin_root_path) bpf_object__init_user_btf_map() argument 2618 const struct btf_type *sec = NULL; bpf_object__init_user_btf_maps() local 2864 const struct btf_ext_info_sec *sec; bpf_object__init_btf() local 3737 const struct btf_type *sec; add_dummy_ksym_var() local 3774 struct btf_type *sec, *kcfg_sec = NULL, *ksym_sec = NULL; bpf_object__collect_externs() local 5785 const struct btf_ext_info_sec *sec; bpf_object__relocate_core() local 6064 const struct btf_ext_info_sec *sec; adjust_prog_btf_ext_info() local 6605 const struct btf_type *sec, *var, *def; bpf_object__collect_map_relos() local 8869 libbpf_register_prog_handler(const char *sec, enum bpf_prog_type prog_type, enum bpf_attach_type exp_attach_type, const struct libbpf_prog_handler_opts *opts) libbpf_register_prog_handler() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76_connac_mcu.c | 2700 struct sta_rec_sec *sec; in mt76_connac_mcu_sta_key_tlv() local 2701 u32 len = sizeof(*sec); in mt76_connac_mcu_sta_key_tlv() 2704 tlv = mt76_connac_mcu_add_tlv(skb, STA_REC_KEY_V2, sizeof(*sec)); in mt76_connac_mcu_sta_key_tlv() 2705 sec = (struct sta_rec_sec *)tlv; in mt76_connac_mcu_sta_key_tlv() 2706 sec->add = cmd; in mt76_connac_mcu_sta_key_tlv() 2716 sec_key = &sec->key[0]; in mt76_connac_mcu_sta_key_tlv() 2725 sec_key = &sec->key[1]; in mt76_connac_mcu_sta_key_tlv() 2730 sec->n_cipher = 2; in mt76_connac_mcu_sta_key_tlv() 2750 sec->n_cipher = 1; in mt76_connac_mcu_sta_key_tlv() 2753 len -= sizeof(sec in mt76_connac_mcu_sta_key_tlv() 3128 struct mt76_connac2_patch_sec *sec; mt76_connac2_load_patch() local [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);
|
/kernel/linux/linux-5.10/drivers/mtd/ |
H A D | sm_ftl.h | 65 unsigned char sec; member
|