| /lib/lwip/lwip/src/apps/sntp/ |
| A D | sntp.c | 179 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 D | sntp_opts.h | 56 #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 D | efi_image_loader.c | 814 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 = §ions[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 D | cc.h | 47 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 D | sntp_example.c | 38 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 D | sntp_example.h | 39 void sntp_set_system_time(u32_t sec);
|
| /lib/ |
| A D | date.c | 97 const unsigned int min, const unsigned int sec) in mktime64() argument 106 time.tm_sec = sec; in mktime64()
|
| /lib/mbedtls/ |
| A D | x509_cert_parser.c | 52 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 D | x509_cert_parser.c | 552 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 D | pkcs7.asn1 | 92 -- RFC5652 sec 5.3
|
| /lib/mbedtls/external/mbedtls/library/ |
| A D | x509_crl.c | 618 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 D | x509.c | 592 (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 D | x509_crt.c | 1791 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 D | sys_arch.c | 94 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 D | x509.h | 248 int hour, min, sec; /**< Time. */ member
|
| /lib/mbedtls/external/mbedtls/tests/suites/ |
| A D | test_suite_x509parse.function | 1587 int day, int hour, int min, int sec) 1610 TEST_EQUAL(sec, time.sec);
|
| A D | test_suite_x509parse.data | 3202 X509 Get time (UTC invalid sec) 3262 X509 Get time (UTC invalid character in sec)
|