/kernel/linux/linux-6.6/drivers/net/wireless/intel/ipw2x00/ |
H A D | libipw.h | 715 struct libipw_security sec; member 792 struct libipw_security * sec);
|
/kernel/liteos_m/testsuites/unittest/posix/src/time/ |
H A D | time_func_test_01.c | 60 #define INIT_TM(tmSt, year, mon, day, hour, min, sec, wday) \ 62 (tmSt).tm_sec = (sec); \
|
/third_party/curl/tests/ |
H A D | runner.pm | 465 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = 467 my $now = sprintf("%02d:%02d:%02d ", $hour, $min, $sec);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/ |
H A D | tlsv1_client_ocsp.c | 268 if ((unsigned long) now.sec < (unsigned long) update) { in tls_process_ocsp_single_response() 293 if ((unsigned long) now.sec > (unsigned long) update) { in tls_process_ocsp_single_response()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | wpa_debug.c | 80 fprintf(out_file, "%ld.%06u: ", (long) tv.sec, in wpa_debug_print_timestamp() 84 printf("%ld.%06u: ", (long) tv.sec, (unsigned int) tv.usec); in wpa_debug_print_timestamp()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | ap_rrm.c | 173 if (diff.sec > 0xffff) in hostapd_check_lci_age() 177 diff_l = diff.sec * 10 + diff.usec / 100000; in hostapd_check_lci_age()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | wpa_ctrl.c | 591 started_at.sec = 0; in wpa_ctrl_request() 602 if (started_at.sec == 0) in wpa_ctrl_request()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/ |
H A D | tlsv1_client_ocsp.c | 262 if ((unsigned long) now.sec < (unsigned long) update) { in tls_process_ocsp_single_response() 286 if ((unsigned long) now.sec > (unsigned long) update) { in tls_process_ocsp_single_response()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
H A D | wpa_ctrl.c | 553 started_at.sec = 0; in wpa_ctrl_request() 563 if (started_at.sec == 0) in wpa_ctrl_request()
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-integrity.c | 1753 sector_t sec = dm_target_offset(ti, bio->bi_iter.bi_sector); in dm_integrity_map() local 1755 sector_t start_boundary = sec >> log2_max_io_len; in dm_integrity_map() 1756 sector_t end_boundary = (sec + bio_sectors(bio) - 1) >> log2_max_io_len; in dm_integrity_map() 1758 sector_t len = ti->max_io_len - (sec & (ti->max_io_len - 1)); in dm_integrity_map() 2346 sector_t sec, area, offset; in do_journal_write() local 2355 sec = journal_entry_get_sector(je); in do_journal_write() 2357 if (unlikely(sec & (unsigned)(ic->sectors_per_block - 1))) { in do_journal_write() 2359 sec &= ~(sector_t)(ic->sectors_per_block - 1); in do_journal_write() 2361 if (unlikely(sec >= ic->provided_data_sectors)) { in do_journal_write() 2366 get_area_and_offset(ic, sec, in do_journal_write() [all...] |
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-integrity.c | 1940 sector_t sec = dm_target_offset(ti, bio->bi_iter.bi_sector); in dm_integrity_map() local 1942 sector_t start_boundary = sec >> log2_max_io_len; in dm_integrity_map() 1943 sector_t end_boundary = (sec + bio_sectors(bio) - 1) >> log2_max_io_len; in dm_integrity_map() 1946 sector_t len = ti->max_io_len - (sec & (ti->max_io_len - 1)); in dm_integrity_map() 2551 sector_t sec, area, offset; in do_journal_write() local 2560 sec = journal_entry_get_sector(je); in do_journal_write() 2562 if (unlikely(sec & (unsigned int)(ic->sectors_per_block - 1))) { in do_journal_write() 2564 sec &= ~(sector_t)(ic->sectors_per_block - 1); in do_journal_write() 2566 if (unlikely(sec >= ic->provided_data_sectors)) { in do_journal_write() 2571 get_area_and_offset(ic, sec, in do_journal_write() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/ |
H A D | p2p.c | 61 if (dev->last_seen.sec + P2P_PEER_EXPIRATION_AGE >= now.sec) in p2p_expire_peers() 204 void p2p_set_timeout(struct p2p_data *p2p, unsigned int sec, unsigned int usec) in p2p_set_timeout() argument 206 p2p_dbg(p2p, "Set timeout (state=%s): %u.%06u sec", in p2p_set_timeout() 207 p2p_state_txt(p2p->state), sec, usec); in p2p_set_timeout() 209 eloop_register_timeout(sec, usec, p2p_state_timeout, p2p, NULL); in p2p_set_timeout() 762 if (dev->last_seen.sec > 0 && in p2p_add_device() 769 (unsigned int) rx_time->sec, in p2p_add_device() 771 (unsigned int) dev->last_seen.sec, in p2p_add_device() 873 freq, (unsigned int) rx_time->sec, in p2p_add_device() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/ |
H A D | p2p.c | 111 if (dev->last_seen.sec + P2P_PEER_EXPIRATION_AGE >= now.sec) in p2p_expire_peers() 254 void p2p_set_timeout(struct p2p_data *p2p, unsigned int sec, unsigned int usec) in p2p_set_timeout() argument 256 p2p_dbg(p2p, "Set timeout (state=%s): %u.%06u sec", in p2p_set_timeout() 257 p2p_state_txt(p2p->state), sec, usec); in p2p_set_timeout() 259 eloop_register_timeout(sec, usec, p2p_state_timeout, p2p, NULL); in p2p_set_timeout() 826 if (dev->last_seen.sec > 0 && 833 (unsigned int) rx_time->sec, 835 (unsigned int) dev->last_seen.sec, 937 freq, (unsigned int) rx_time->sec, [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | calregts.cpp | 729 int32_t sec = cal->get(UCAL_SECOND, status); in test4083167() local 731 double firstMillisInDay = hr * 3600000 + min * 60000 + sec * 1000 + msec; in test4083167() 740 sec = cal->get(UCAL_SECOND, status); in test4083167() 742 double millisInDay = hr * 3600000.0 + min * 60000.0 + sec * 1000.0 + msec; in test4083167() 872 int32_t sec = 0, min = 0, hr = 0, day = 1, month = 10, year = 1997; in test4096231() local 908 cal3->set(year, month, day, hr, min, sec); in test4096231() 2751 int32_t hr, int32_t min, int32_t sec) in makeDate() 2765 if(sec != 0) cal->set(UCAL_SECOND, sec); in makeDate() 2750 makeDate(int32_t y, int32_t m, int32_t d, int32_t hr, int32_t min, int32_t sec) makeDate() argument
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/ |
H A D | duration_test.cc | 90 constexpr absl::Duration sec = absl::Seconds(1); in TEST() local 99 EXPECT_EQ(sec, absl::Milliseconds(1000)); in TEST() 177 const absl::Duration sec = absl::Seconds(N); in TestToConversion() local 178 EXPECT_EQ(N * 1000 * 1000 * 1000, absl::ToInt64Nanoseconds(sec)); in TestToConversion() 179 EXPECT_EQ(N * 1000 * 1000, absl::ToInt64Microseconds(sec)); in TestToConversion() 180 EXPECT_EQ(N * 1000, absl::ToInt64Milliseconds(sec)); in TestToConversion() 181 EXPECT_EQ(N, absl::ToInt64Seconds(sec)); in TestToConversion() 182 EXPECT_EQ(0, absl::ToInt64Minutes(sec)); in TestToConversion() 183 EXPECT_EQ(0, absl::ToInt64Hours(sec)); in TestToConversion() 1451 // as many values are tested from 1ns to 2ns as from 1sec t in TEST() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_ptp.c | 363 u32 sec, nsec_rem; in mlxsw_sp2_ptp_phc_settime() local 365 sec = div_u64_rem(nsec, NSEC_PER_SEC, &nsec_rem); in mlxsw_sp2_ptp_phc_settime() 368 0, sec, nsec_rem, 0); in mlxsw_sp2_ptp_phc_settime() 1409 WARN_ON_ONCE(!cb->cqe_ts.sec && !cb->cqe_ts.nsec); in mlxsw_sp2_ptp_hwtstamp_fill() 1418 ts_sec = mlxsw_ptp_utc_time_stamp_sec_get(mlxsw_core, cb->cqe_ts.sec); in mlxsw_sp2_ptp_hwtstamp_fill()
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_xmp.cpp | 414 char sec [32]; in EncodeGPSDateTime() local 416 sprintf (sec, in EncodeGPSDateTime() 420 TrimDecimal (sec); in EncodeGPSDateTime() 449 sec); in EncodeGPSDateTime() 460 sec); in EncodeGPSDateTime()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
H A D | eap_server_teap.c | 254 if (os_get_time(&now) < 0 || lifetime <= 0 || now.sec > lifetime) { in eap_teap_session_ticket_cb() 257 lifetime, now.sec); in eap_teap_session_ticket_cb() 267 } else if (lifetime - now.sec < data->pac_key_refresh_time) { in eap_teap_session_ticket_cb() 688 WPA_PUT_BE32(pos, now.sec + data->pac_key_lifetime); in eap_teap_build_pac() 758 wpabuf_put_be32(buf, now.sec + data->pac_key_lifetime); in eap_teap_build_pac()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
H A D | eap_server_teap.c | 260 if (os_get_time(&now) < 0 || lifetime <= 0 || now.sec > lifetime) { in eap_teap_session_ticket_cb() 263 lifetime, now.sec); in eap_teap_session_ticket_cb() 273 } else if (lifetime - now.sec < data->pac_key_refresh_time) { in eap_teap_session_ticket_cb() 750 WPA_PUT_BE32(pos, now.sec + data->pac_key_lifetime); in eap_teap_build_pac() 820 wpabuf_put_be32(buf, now.sec + data->pac_key_lifetime); in eap_teap_build_pac()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | wpa_supplicant.c | 237 * @sec: Number of seconds after which to time out authentication 244 int sec, int usec) in wpa_supplicant_req_auth_timeout() 250 wpa_dbg(wpa_s, MSG_DEBUG, "Setting authentication timeout: %d sec " in wpa_supplicant_req_auth_timeout() 251 "%d usec", sec, usec); in wpa_supplicant_req_auth_timeout() 253 wpa_s->last_auth_timeout_sec = sec; in wpa_supplicant_req_auth_timeout() 254 eloop_register_timeout(sec, usec, wpa_supplicant_timeout, wpa_s, NULL); in wpa_supplicant_req_auth_timeout() 269 "Authentication timeout restart: %d sec", new_sec); in wpas_auth_timeout_restart() 864 wpa_s->roam_start.sec = 0; in wpa_supplicant_set_state() 871 wpa_s->roam_start.sec = 0; in wpa_supplicant_set_state() 873 wpa_s->roam_time.sec in wpa_supplicant_set_state() 243 wpa_supplicant_req_auth_timeout(struct wpa_supplicant *wpa_s, int sec, int usec) wpa_supplicant_req_auth_timeout() argument 7481 wpa_bss_tmp_disallow(struct wpa_supplicant *wpa_s, const u8 *bssid, unsigned int sec, int rssi_threshold) global() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | wpa_supplicant.c | 281 * @sec: Number of seconds after which to time out authentication 288 int sec, int usec) in wpa_supplicant_req_auth_timeout() 294 wpa_dbg(wpa_s, MSG_DEBUG, "Setting authentication timeout: %d sec " in wpa_supplicant_req_auth_timeout() 295 "%d usec", sec, usec); in wpa_supplicant_req_auth_timeout() 297 wpa_s->last_auth_timeout_sec = sec; in wpa_supplicant_req_auth_timeout() 298 eloop_register_timeout(sec, usec, wpa_supplicant_timeout, wpa_s, NULL); in wpa_supplicant_req_auth_timeout() 313 "Authentication timeout restart: %d sec", new_sec); in wpas_auth_timeout_restart() 1002 wpa_s->roam_start.sec = 0; in wpa_supplicant_set_state() 1009 wpa_s->roam_start.sec = 0; in wpa_supplicant_set_state() 1011 wpa_s->roam_time.sec in wpa_supplicant_set_state() 287 wpa_supplicant_req_auth_timeout(struct wpa_supplicant *wpa_s, int sec, int usec) wpa_supplicant_req_auth_timeout() argument 8987 wpa_bss_tmp_disallow(struct wpa_supplicant *wpa_s, const u8 *bssid, unsigned int sec, int rssi_threshold) global() argument [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | fs.h | 1539 time64_t sec, long nsec) in inode_set_atime() 1541 struct timespec64 ts = { .tv_sec = sec, in inode_set_atime() 1569 time64_t sec, long nsec) in inode_set_mtime() 1571 struct timespec64 ts = { .tv_sec = sec, in inode_set_mtime() 1601 * @sec: tv_sec value to set 1604 * Set the ctime in @inode to { @sec, @nsec } 1607 time64_t sec, long nsec) in inode_set_ctime() 1609 struct timespec64 ts = { .tv_sec = sec, in inode_set_ctime() 1538 inode_set_atime(struct inode *inode, time64_t sec, long nsec) inode_set_atime() argument 1568 inode_set_mtime(struct inode *inode, time64_t sec, long nsec) inode_set_mtime() argument 1606 inode_set_ctime(struct inode *inode, time64_t sec, long nsec) inode_set_ctime() argument
|
/kernel/linux/linux-6.6/kernel/module/ |
H A D | main.c | 209 unsigned int sec = find_sec(info, name); in section_objs() local 212 *num = info->sechdrs[sec].sh_size / object_size; in section_objs() 213 return (void *)info->sechdrs[sec].sh_addr; in section_objs() 238 unsigned int sec = find_any_sec(info, name); in any_section_objs() local 241 *num = info->sechdrs[sec].sh_size / object_size; in any_section_objs() 242 return (void *)info->sechdrs[sec].sh_addr; in any_section_objs()
|
/third_party/node/deps/openssl/openssl/crypto/x509/ |
H A D | x509_vfy.c | 1074 int day, sec; in get_crl_sk() local 1076 if (ASN1_TIME_diff(&day, &sec, X509_CRL_get0_lastUpdate(best_crl), in get_crl_sk() 1081 * and |sec|. in get_crl_sk() 1083 if (day <= 0 && sec <= 0) in get_crl_sk() 1861 int i, day, sec, ret = 0; in X509_cmp_time() local 1912 if (ASN1_TIME_diff(&day, &sec, ctm, asn1_cmp_time) == 0) in X509_cmp_time() 1919 ret = (day >= 0 && sec >= 0) ? -1 : 1; in X509_cmp_time()
|
/third_party/openssl/crypto/x509/ |
H A D | x509_vfy.c | 1074 int day, sec; in get_crl_sk() local 1076 if (ASN1_TIME_diff(&day, &sec, X509_CRL_get0_lastUpdate(best_crl), in get_crl_sk() 1081 * and |sec|. in get_crl_sk() 1083 if (day <= 0 && sec <= 0) in get_crl_sk() 1863 int i, day, sec, ret = 0; in X509_cmp_time() local 1914 if (ASN1_TIME_diff(&day, &sec, ctm, asn1_cmp_time) == 0) in X509_cmp_time() 1921 ret = (day >= 0 && sec >= 0) ? -1 : 1; in X509_cmp_time()
|