Home
last modified time | relevance | path

Searched refs:mon (Results 1 – 23 of 23) sorted by relevance

/AliOS-Things-master/components/linksdk/core/utils/
A Dcore_string.c266 #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 Dcore_string.h14 uint32_t mon; member
A Dcore_log.c54 core_uint2str(date.mon, date_str[1], NULL); in _core_log_append_date()
/AliOS-Things-master/components/mbedtls/library/
A Dx509.c497 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 Dx509_crl.c652 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 Dx509_crt.c1718 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 Drtc_api.c79 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 Drtc.c51 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 Dsntp_example.c21 sntp_time_get->mon, in sntp_comp_example()
/AliOS-Things-master/components/sntp/include/sntp/
A Dsntp.h68 uint8_t mon; /**< Months - [1,12] */ member
/AliOS-Things-master/components/linksdk/components/ntp/
A Daiot_ntp_api.h63 uint32_t mon; member
A Daiot_ntp_api.c66 recv.data.local_time.mon = date.mon; in _ntp_recv_handler()
/AliOS-Things-master/components/py_engine/modules/aliyunIoT/
A Dmodule_aiot_ntp.c74 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 Dmodule_aiot_ntp.c68 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 Dgps_parse.c145 pgpsdata->utc.mon = result->utc.mon; in gps_gpgga_data_get()
/AliOS-Things-master/components/sensor/include/
A Dgps_parse.h107 res->mon = gps_atoi(str_tmp,GPS_UTC_MON_LEN,10); in gps_utc_get()
/AliOS-Things-master/components/mbedtls/include/mbedtls/
A Dx509.h210 int year, mon, day; /**< Date. */ member
/AliOS-Things-master/components/sensor/drv/
A Ddrv_gps_simcom_sim868.c219 pgpsdata->utc.mon = result->utc.mon; in drv_gps_simcom_sim868_data_get()
/AliOS-Things-master/components/sntp/src/
A Dsntp.c380 g_time.mon = gt->tm_mon + 1; in sntp_request()
/AliOS-Things-master/components/sensor/include/sensor/
A Dsensor.h458 int mon; member
/AliOS-Things-master/documentation/coding/
A Dcoding_style.md443 unsigned int mon;
/AliOS-Things-master/components/py_engine/external/app_mgr/
A Dapp_message.c294 … 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 Dquickjs.c47436 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()

Completed in 152 milliseconds