/AliOS-Things-master/components/linksdk/core/utils/ |
A D | core_string.c | 266 #define DAYS_IN_MONTH(lpyr, mon) ((mon == 1)?(28 + lpyr):((mon > 6)?(((mon - 1) & 1)?(30):(31)):((… in core_utc2date() argument 284 date->mon = 0; in core_utc2date() 285 while (day_num >= DAYS_IN_MONTH(IS_LEAP_YEAR(date->year), date->mon)) { in core_utc2date() 286 day_num -= DAYS_IN_MONTH(IS_LEAP_YEAR(date->year), date->mon); in core_utc2date() 287 date->mon++; in core_utc2date() 289 date->mon++; in core_utc2date()
|
A D | core_string.h | 14 uint32_t mon; member
|
A D | core_log.c | 54 core_uint2str(date.mon, date_str[1], NULL); in _core_log_append_date()
|
/AliOS-Things-master/components/mbedtls/library/ |
A D | x509.c | 497 switch( t->mon ) in x509_date_is_valid() 548 CHECK( x509_parse_int( p, 2, &tm->mon ) ); in x509_parse_time() 908 now->mon = lt->tm_mon + 1; in x509_get_current_time() 927 before->mon > after->mon ) in x509_check_time() 931 before->mon == after->mon && in x509_check_time() 936 before->mon == after->mon && in x509_check_time() 942 before->mon == after->mon && in x509_check_time() 949 before->mon == after->mon && in x509_check_time()
|
A D | x509_crl.c | 652 crl->this_update.year, crl->this_update.mon, in mbedtls_x509_crl_info() 659 crl->next_update.year, crl->next_update.mon, in mbedtls_x509_crl_info() 681 entry->revocation_date.year, entry->revocation_date.mon, in mbedtls_x509_crl_info()
|
A D | x509_crt.c | 1718 crt->valid_from.year, crt->valid_from.mon, in mbedtls_x509_crt_info() 1725 crt->valid_to.year, crt->valid_to.mon, in mbedtls_x509_crt_info()
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/ |
A D | rtc_api.c | 79 static void rtc_calculate_mday(int year, int yday, int* mon, int* mday) in rtc_calculate_mday() argument 88 *mon = t_mon; in rtc_calculate_mday() 100 static void rtc_calculate_wday(int year, int mon, int mday, int* wday) in rtc_calculate_wday() argument 102 int t_year = year + 1900, t_mon = mon + 1; in rtc_calculate_wday()
|
/AliOS-Things-master/hardware/chip/rtl872xd/hal/ |
A D | rtc.c | 51 static void rtc_calculate_mday(int year, int yday, int* mon, int* mday) in rtc_calculate_mday() argument 60 *mon = t_mon; in rtc_calculate_mday() 72 static void rtc_calculate_wday(int year, int mon, int mday, int* wday) in rtc_calculate_wday() argument 74 int t_year = year + 1900, t_mon = mon + 1; in rtc_calculate_wday()
|
/AliOS-Things-master/components/sntp/example/ |
A D | sntp_example.c | 21 sntp_time_get->mon, in sntp_comp_example()
|
/AliOS-Things-master/components/sntp/include/sntp/ |
A D | sntp.h | 68 uint8_t mon; /**< Months - [1,12] */ member
|
/AliOS-Things-master/components/linksdk/components/ntp/ |
A D | aiot_ntp_api.h | 63 uint32_t mon; member
|
A D | aiot_ntp_api.c | 66 recv.data.local_time.mon = date.mon; in _ntp_recv_handler()
|
/AliOS-Things-master/components/py_engine/modules/aliyunIoT/ |
A D | module_aiot_ntp.c | 74 packet->data.local_time.mon, in aiot_app_ntp_recv_handler() 89 ntp_params->month = packet->data.local_time.mon; in aiot_app_ntp_recv_handler()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/advanced/aiot/ |
A D | module_aiot_ntp.c | 68 packet->data.local_time.mon, in aiot_app_ntp_recv_handler() 83 ntp_params->month = packet->data.local_time.mon; in aiot_app_ntp_recv_handler()
|
/AliOS-Things-master/components/sensor/hal/ |
A D | gps_parse.c | 145 pgpsdata->utc.mon = result->utc.mon; in gps_gpgga_data_get()
|
/AliOS-Things-master/components/sensor/include/ |
A D | gps_parse.h | 107 res->mon = gps_atoi(str_tmp,GPS_UTC_MON_LEN,10); in gps_utc_get()
|
/AliOS-Things-master/components/mbedtls/include/mbedtls/ |
A D | x509.h | 210 int year, mon, day; /**< Date. */ member
|
/AliOS-Things-master/components/sensor/drv/ |
A D | drv_gps_simcom_sim868.c | 219 pgpsdata->utc.mon = result->utc.mon; in drv_gps_simcom_sim868_data_get()
|
/AliOS-Things-master/components/sntp/src/ |
A D | sntp.c | 380 g_time.mon = gt->tm_mon + 1; in sntp_request()
|
/AliOS-Things-master/components/sensor/include/sensor/ |
A D | sensor.h | 458 int mon; member
|
/AliOS-Things-master/documentation/coding/ |
A D | coding_style.md | 443 unsigned int mon;
|
/AliOS-Things-master/components/py_engine/external/app_mgr/ |
A D | app_message.c | 294 … packet->data.local_time.year, packet->data.local_time.mon, packet->data.local_time.day, in aiot_ntp_recv_handler()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/ |
A D | quickjs.c | 47436 int y, mon, d, h, m, s, ms, wd, tz; in get_date_string() local 47452 mon = fields[1]; in get_date_string() 47469 month_names + mon * 3, 4 + (y < 0), y); in get_date_string() 47475 month_names + mon * 3, d, 4 + (y < 0), y); in get_date_string() 47489 "-%02d-%02dT", mon + 1, d); in get_date_string() 47493 "%02d/%02d/%0*d", mon + 1, d, 4 + (y < 0), y); in get_date_string()
|