/hal_espressif-3.6.0/components/newlib/test/ |
D | test_newlib.c | 70 struct tm *tm_utc = gmtime(&now); 80 struct tm *tm_local = localtime(&now); 96 struct tm tm = { 0 }; variable 97 tm.tm_year = 2016 - 1900; 98 tm.tm_mon = 0; 99 tm.tm_mday = 10; 100 tm.tm_hour = 16; 101 tm.tm_min = 30; 102 tm.tm_sec = 0; 103 time_t t = mktime(&tm); [all …]
|
D | test_time.c | 458 struct tm* tm_info = localtime(×tamp.tv_sec); in get_time() 470 struct tm tm = {4, 14, 3, 19, 0, 138, 0, 0, 0}; variable 471 struct timeval timestamp = { mktime(&tm), 0 }; 489 struct tm tm = {0, 14, 3, 19, 0, year - 1900, 0, 0, 0}; variable 490 time_t t = mktime(&tm); 498 struct tm timeinfo = { 0 }; 514 struct tm *tm2 = localtime(&now); 520 struct tm *gm = gmtime(&now);
|
/hal_espressif-3.6.0/components/wpa_supplicant/src/utils/ |
D | common.c | 14 extern time_t mktime(struct tm*); 396 int os_gmtime(os_time_t t, struct os_tm *tm) in os_gmtime() argument 398 struct tm *tm2; in os_gmtime() 404 tm->sec = tm2->tm_sec; in os_gmtime() 405 tm->min = tm2->tm_min; in os_gmtime() 406 tm->hour = tm2->tm_hour; in os_gmtime() 407 tm->day = tm2->tm_mday; in os_gmtime() 408 tm->month = tm2->tm_mon + 1; in os_gmtime() 409 tm->year = tm2->tm_year + 1900; in os_gmtime() 416 struct tm tm; in os_mktime() local [all …]
|
/hal_espressif-3.6.0/components/fatfs/test/ |
D | test_fatfs_rawflash.c | 127 struct tm tm; variable 128 tm.tm_year = 2018 - 1900; 129 tm.tm_mon = 5; // Note: month can be 0-11 & not 1-12 130 tm.tm_mday = 13; 131 tm.tm_hour = 11; 132 tm.tm_min = 2; 133 tm.tm_sec = 10; 134 time_t t = mktime(&tm); 135 printf("Reference time: %s", asctime(&tm)); 141 struct tm mtm;
|
D | test_fatfs_common.c | 320 struct tm tm; in test_fatfs_stat() local 321 tm.tm_year = 2017 - 1900; in test_fatfs_stat() 322 tm.tm_mon = 11; in test_fatfs_stat() 323 tm.tm_mday = 8; in test_fatfs_stat() 324 tm.tm_hour = 19; in test_fatfs_stat() 325 tm.tm_min = 51; in test_fatfs_stat() 326 tm.tm_sec = 10; in test_fatfs_stat() 327 time_t t = mktime(&tm); in test_fatfs_stat() 328 printf("Setting time: %s", asctime(&tm)); in test_fatfs_stat() 337 struct tm mtm; in test_fatfs_stat() [all …]
|
/hal_espressif-3.6.0/components/console/argtable3/ |
D | argtable3.c | 845 char * arg_strptime(const char *buf, const char *fmt, struct tm *tm); 871 struct tm tm = parent->tmval[parent->count]; in arg_date_scanfn() local 874 pend = arg_strptime(argval, parent->format, &tm); in arg_date_scanfn() 876 parent->tmval[parent->count++] = tm; in arg_date_scanfn() 924 struct tm tm; in arg_date_errorfn() local 928 memset(&tm, 0, sizeof(tm)); in arg_date_errorfn() 929 arg_strptime("1999-12-31 23:59:59", "%F %H:%M:%S", &tm); in arg_date_errorfn() 930 strftime(buff, sizeof(buff), parent->format, &tm); in arg_date_errorfn() 980 + maxcount * sizeof(struct tm); /* storage for tmval[maxcount] array */ in arg_daten() 1002 result->tmval = (struct tm *)(result + 1); in arg_daten() [all …]
|
D | argtable3.h | 144 struct tm *tmval; /* Array of parsed time values */
|
/hal_espressif-3.6.0/examples/protocols/sntp/main/ |
D | sntp_example_main.c | 55 struct tm timeinfo; in app_main() 143 struct tm timeinfo = { 0 }; in obtain_time()
|
/hal_espressif-3.6.0/components/log/ |
D | log_freertos.c | 81 struct tm timeinfo; in esp_log_system_timestamp()
|
/hal_espressif-3.6.0/components/fatfs/diskio/ |
D | diskio.c | 84 struct tm tmr; in get_fattime()
|
/hal_espressif-3.6.0/examples/storage/spiffsgen/spiffs_image/sub/ |
D | alice.txt | 3394 copying and distributing Project Gutenberg-tm electronic works to 3395 protect the PROJECT GUTENBERG-tm concept and trademark. Project 3413 To protect the Project Gutenberg-tm mission of promoting the free 3417 Gutenberg-tm License (available with this file or online at 3421 Section 1. General Terms of Use and Redistributing Project Gutenberg-tm 3424 1.A. By reading or using any part of this Project Gutenberg-tm 3429 all copies of Project Gutenberg-tm electronic works in your possession. 3431 Gutenberg-tm electronic work and you do not agree to be bound by the 3438 things that you can do with most Project Gutenberg-tm electronic works 3441 Gutenberg-tm electronic works if you follow the terms of this agreement [all …]
|
/hal_espressif-3.6.0/components/fatfs/vfs/ |
D | vfs_fat.c | 600 struct tm tm = { in vfs_fat_stat() local 608 st->st_mtime = mktime(&tm); in vfs_fat_stat() 968 struct tm tm_time; in vfs_fat_utime()
|
/hal_espressif-3.6.0/components/pthread/test/ |
D | test_pthread_cxx.cpp | 62 struct std::tm *ptm = std::localtime(&tt); in thread_main()
|
/hal_espressif-3.6.0/components/esptool_py/esptool/flasher_stub/ |
D | miniz.c | 3309 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.6.0/components/wpa_supplicant/port/include/ |
D | os.h | 93 int os_gmtime(os_time_t t, struct os_tm *tm);
|
/hal_espressif-3.6.0/components/spiffs/test/ |
D | test_spiffs.c | 658 struct tm desired_tm; 664 memset(&desired_tm, 0, sizeof(struct tm));
|
/hal_espressif-3.6.0/docs/en/api-reference/system/ |
D | system_time.rst | 73 struct tm timeinfo;
|
/hal_espressif-3.6.0/components/fatfs/src/ |
D | ff.c | 3964 DWORD tm; local 3978 tm = GET_FATTIME(); /* Modified time */ 3997 st_dword(fs->dirbuf + XDIR_ModTime, tm); /* Update modified time */ 4017 st_dword(dir + DIR_ModTime, tm); /* Update modified time */ 4875 DWORD dcl, pcl, tm; local 4895 tm = GET_FATTIME(); 4903 st_dword(fs->win + DIR_ModTime, tm); 4916 st_dword(fs->dirbuf + XDIR_ModTime, tm); /* Created time */ 4926 st_dword(dj.dir + DIR_ModTime, tm); /* Created time */
|
/hal_espressif-3.6.0/components/wpa_supplicant/src/common/ |
D | dpp.c | 4062 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.6.0/components/bt/host/bluedroid/bta/dm/include/ |
D | bta_dm_int.h | 510 tBTA_SERVICE_MASK tm; member
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/dm/ |
D | bta_dm_act.c | 1058 while (p_dev->tm && (index < BTA_MAX_SERVICE_ID)) { in bta_dm_add_device() 1059 if (p_dev->tm & (UINT32)(1 << index)) { in bta_dm_add_device() 1064 p_dev->tm &= (UINT32)(~(1 << index)); in bta_dm_add_device()
|
D | bta_dm_api.c | 749 p_msg->tm = trusted_mask; in BTA_DmAddDevice()
|