Home
last modified time | relevance | path

Searched refs:tm (Results 1 – 10 of 10) sorted by relevance

/hal_espressif-3.7.0/components/newlib/test_apps/newlib/main/
Dtest_newlib.c76 struct tm *tm_utc = gmtime(&now);
86 struct tm *tm_local = localtime(&now);
102 struct tm tm = { 0 }; variable
103 tm.tm_year = 2016 - 1900;
104 tm.tm_mon = 0;
105 tm.tm_mday = 10;
106 tm.tm_hour = 16;
107 tm.tm_min = 30;
108 tm.tm_sec = 0;
109 time_t t = mktime(&tm);
[all …]
Dtest_time.c458 struct tm* tm_info = localtime(&timestamp.tv_sec); in get_time()
475 struct tm tm = {4, 14, 3, 19, 0, 138, 0, 0, 0}; variable
476 struct timeval timestamp = { mktime(&tm), 0 };
499 struct tm tm = {0, 14, 3, 19, 0, year - 1900, 0, 0, 0}; variable
500 time_t t = mktime(&tm);
508 struct tm timeinfo = { 0 };
526 struct tm *tm2 = localtime(&now);
532 struct tm *gm = gmtime(&now);
/hal_espressif-3.7.0/components/wpa_supplicant/src/utils/
Dcommon.c17 extern time_t mktime(struct tm*);
483 int os_gmtime(os_time_t t, struct os_tm *tm) in os_gmtime() argument
485 struct tm *tm2; in os_gmtime()
491 tm->sec = tm2->tm_sec; in os_gmtime()
492 tm->min = tm2->tm_min; in os_gmtime()
493 tm->hour = tm2->tm_hour; in os_gmtime()
494 tm->day = tm2->tm_mday; in os_gmtime()
495 tm->month = tm2->tm_mon + 1; in os_gmtime()
496 tm->year = tm2->tm_year + 1900; in os_gmtime()
503 struct tm tm; in os_mktime() local
[all …]
/hal_espressif-3.7.0/components/log/
Dlog_freertos.c81 struct tm timeinfo; in esp_log_system_timestamp()
/hal_espressif-3.7.0/tools/esptool_py/flasher_stub/
Dminiz.c3309 struct tm tm; in mz_zip_dos_to_time_t() local
3310 memset(&tm, 0, sizeof(tm)); in mz_zip_dos_to_time_t()
3311 tm.tm_isdst = -1; in mz_zip_dos_to_time_t()
3312 tm.tm_year = ((dos_date >> 9) & 127) + 1980 - 1900; in mz_zip_dos_to_time_t()
3313 tm.tm_mon = ((dos_date >> 5) & 15) - 1; in mz_zip_dos_to_time_t()
3314 tm.tm_mday = dos_date & 31; in mz_zip_dos_to_time_t()
3315 tm.tm_hour = (dos_time >> 11) & 31; in mz_zip_dos_to_time_t()
3316 tm.tm_min = (dos_time >> 5) & 63; in mz_zip_dos_to_time_t()
3317 tm.tm_sec = (dos_time << 1) & 62; in mz_zip_dos_to_time_t()
3318 return mktime(&tm); in mz_zip_dos_to_time_t()
[all …]
/hal_espressif-3.7.0/components/wpa_supplicant/port/include/
Dos.h103 int os_gmtime(os_time_t t, struct os_tm *tm);
/hal_espressif-3.7.0/components/wpa_supplicant/src/common/
Ddpp.c4062 struct os_tm tm; in dpp_build_conf_obj_dpp() local
4065 if (os_gmtime(conf->netaccesskey_expiry, &tm) < 0) { in dpp_build_conf_obj_dpp()
4072 tm.year, tm.month, tm.day, in dpp_build_conf_obj_dpp()
4073 tm.hour, tm.min, tm.sec); in dpp_build_conf_obj_dpp()
/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/dm/include/
Dbta_dm_int.h533 tBTA_SERVICE_MASK tm; member
/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/dm/
Dbta_dm_act.c1077 while (p_dev->tm && (index < BTA_MAX_SERVICE_ID)) { in bta_dm_add_device()
1078 if (p_dev->tm & (UINT32)(1 << index)) { in bta_dm_add_device()
1083 p_dev->tm &= (UINT32)(~(1 << index)); in bta_dm_add_device()
Dbta_dm_api.c820 p_msg->tm = trusted_mask; in BTA_DmAddDevice()