Home
last modified time | relevance | path

Searched refs:sec (Results 1 – 17 of 17) sorted by relevance

/lib/lwip/lwip/src/apps/sntp/
A Dsntp.c179 u32_t sec; member
279 sntp_format_time(s32_t sec) in sntp_format_time() argument
293 s32_t sec; in sntp_process() local
296 sec = (s32_t)lwip_ntohl(timestamps->xmit.sec); in sntp_process()
311 step_sec = (dest_sec < sec) ? ((u32_t)sec - (u32_t)dest_sec) in sntp_process()
325 sec = (s32_t)((u64_t)t4 >> 32); in sntp_process()
349 u32_t sec, frac; in sntp_initialize_request() local
352 sec = lwip_htonl((u32_t)secs); in sntp_initialize_request()
356 sntp_last_timestamp_sent.sec = sec; in sntp_initialize_request()
359 req->transmit_timestamp[0] = sec; in sntp_initialize_request()
[all …]
/lib/lwip/lwip/src/include/lwip/apps/
A Dsntp_opts.h56 #define SNTP_SET_SYSTEM_TIME(sec) LWIP_UNUSED_ARG(sec) argument
181 #define SNTP_GET_SYSTEM_TIME(sec, us) do { (sec) = 0; (us) = 0; } while(0) argument
/lib/efi_loader/
A Defi_image_loader.c814 if (sec->Misc.VirtualSize) in section_size()
815 return sec->Misc.VirtualSize; in section_size()
817 return sec->SizeOfRawData; in section_size()
888 IMAGE_SECTION_HEADER *sec = &sections[i]; in efi_load_pe() local
891 sec->VirtualAddress + section_size(sec)); in efi_load_pe()
959 u32 copy_size = section_size(sec); in efi_load_pe()
961 if (copy_size > sec->SizeOfRawData) { in efi_load_pe()
962 copy_size = sec->SizeOfRawData; in efi_load_pe()
964 sec->Misc.VirtualSize); in efi_load_pe()
966 memcpy(efi_reloc + sec->VirtualAddress, in efi_load_pe()
[all …]
/lib/lwip/u-boot/arch/
A Dcc.h47 void sntp_set_system_time(uint32_t sec);
48 #define SNTP_SET_SYSTEM_TIME(sec) sntp_set_system_time(sec) argument
/lib/lwip/lwip/contrib/examples/sntp/
A Dsntp_example.c38 sntp_set_system_time(u32_t sec) in sntp_set_system_time() argument
42 time_t current_time = (time_t)sec; in sntp_set_system_time()
A Dsntp_example.h39 void sntp_set_system_time(u32_t sec);
/lib/
A Ddate.c97 const unsigned int min, const unsigned int sec) in mktime64() argument
106 time.tm_sec = sec; in mktime64()
/lib/mbedtls/
A Dx509_cert_parser.c52 unsigned int year, mon, day, hour, min, sec; in x509_get_timestamp() local
61 sec = x509_time->sec; in x509_get_timestamp()
63 return (time64_t)mktime64(year, mon, day, hour, min, sec); in x509_get_timestamp()
/lib/crypto/
A Dx509_cert_parser.c552 unsigned year, mon, day, hour, min, sec, mon_len; in x509_decode_time() local
581 sec = DD2bin(p); in x509_decode_time()
605 sec > 60) /* ISO 8601 permits leap seconds [X.680 46.3] */ in x509_decode_time()
608 *_t = mktime64(year, mon, day, hour, min, sec); in x509_decode_time()
A Dpkcs7.asn192 -- RFC5652 sec 5.3
/lib/mbedtls/external/mbedtls/library/
A Dx509_crl.c618 crl->this_update.min, crl->this_update.sec); in mbedtls_x509_crl_info()
625 crl->next_update.min, crl->next_update.sec); in mbedtls_x509_crl_info()
646 entry->revocation_date.min, entry->revocation_date.sec); in mbedtls_x509_crl_info()
A Dx509.c592 (unsigned int) t->sec > 59) { /* (0 - 59) */ in x509_date_is_valid()
639 tm->sec = x509_parse2_int(p + 10); in x509_parse_time()
1047 x = (((t1->hour << 12) | (t1->min << 6) | (t1->sec)) - in mbedtls_x509_time_cmp()
1048 ((t2->hour << 12) | (t2->min << 6) | (t2->sec))); in mbedtls_x509_time_cmp()
1066 now->sec = tm.tm_sec; in mbedtls_x509_time_gmtime()
A Dx509_crt.c1791 crt->valid_from.min, crt->valid_from.sec); in mbedtls_x509_crt_info()
1798 crt->valid_to.min, crt->valid_to.sec); in mbedtls_x509_crt_info()
/lib/lwip/lwip/contrib/ports/unix/port/
A Dsys_arch.c94 u64_t sec = nano/1000000000L; in get_monotonic_time() local
95 nano -= sec * 1000000000L; in get_monotonic_time()
96 ts->tv_sec = sec; in get_monotonic_time()
/lib/mbedtls/external/mbedtls/include/mbedtls/
A Dx509.h248 int hour, min, sec; /**< Time. */ member
/lib/mbedtls/external/mbedtls/tests/suites/
A Dtest_suite_x509parse.function1587 int day, int hour, int min, int sec)
1610 TEST_EQUAL(sec, time.sec);
A Dtest_suite_x509parse.data3202 X509 Get time (UTC invalid sec)
3262 X509 Get time (UTC invalid character in sec)

Completed in 45 milliseconds