Home
last modified time | relevance | path

Searched refs:hour (Results 1 – 25 of 40) sorted by relevance

12

/AliOS-Things-master/components/py_engine/modules/aliyunIoT/
A Dmodule_aiot_ntp.c25 uint32_t hour; member
45 mp_obj_new_int(param->hour)); in aiot_device_ntp_notify()
76 packet->data.local_time.hour, in aiot_app_ntp_recv_handler()
91 ntp_params->hour = packet->data.local_time.hour; in aiot_app_ntp_recv_handler()
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/advanced/aiot/
A Dmodule_aiot_ntp.c26 uint32_t hour; member
42 JS_SetPropertyStr(ctx, obj, "hour", JS_NewInt32(ctx, param->hour)); in aiot_device_ntp_notify()
70 packet->data.local_time.hour, in aiot_app_ntp_recv_handler()
85 ntp_params->hour = packet->data.local_time.hour; in aiot_app_ntp_recv_handler()
/AliOS-Things-master/components/py_engine/engine/shared/timeutils/
A Dtimeutils.h60 mp_uint_t date, mp_uint_t hour, mp_uint_t minute, mp_uint_t second);
78 mp_uint_t date, mp_uint_t hour, mp_uint_t minute, mp_uint_t second) { in timeutils_seconds_since_epoch() argument
79 …return timeutils_seconds_since_2000(year, month, date, hour, minute, second) + TIMEUTILS_SECONDS_1… in timeutils_seconds_since_epoch()
A Dtimeutils.c148 mp_uint_t date, mp_uint_t hour, mp_uint_t minute, mp_uint_t second) { in timeutils_seconds_since_2000() argument
152 + hour * 3600 in timeutils_seconds_since_2000()
/AliOS-Things-master/components/amp/jslib/src/
A Drtc.js20 hour: time.getHours(), property in setTime.date
30 …ime.year) + 1900, parseInt(time.month), parseInt(time.day), parseInt(time.hour), parseInt(time.min…
/AliOS-Things-master/components/amp/libjs/lib/
A Drtc.js20 hour: time.getHours(), property in setTime.date
30 …ime.year) + 1900, parseInt(time.month), parseInt(time.day), parseInt(time.hour), parseInt(time.min…
/AliOS-Things-master/components/genie_service/core/src/
A Dgenie_time.c194 utc.hour = 0; in genie_time_periodic_start()
731 int hour; in unix2UTC() local
743 hour = epoch / HOUR; in unix2UTC()
744 epoch -= HOUR * hour; in unix2UTC()
880 utc.hour = hour; in unix2UTC()
951 local_time.hour++; in hours_update()
953 if (local_time.hour == 24) in hours_update()
955 local_time.hour = 0; in hours_update()
1151 utc_time.hour, utc_time.minutes, utc_time.seconds, in genie_time_utc_start()
1161 local_time.hour, local_time.minutes, local_time.seconds, in genie_time_local_time_show()
[all …]
/AliOS-Things-master/components/mbedtls/library/
A Dx509.c493 CHECK_RANGE( 0, 23, t->hour ); in x509_date_is_valid()
550 CHECK( x509_parse_int( p, 2, &tm->hour ) ); in x509_parse_time()
910 now->hour = lt->tm_hour; in x509_get_current_time()
938 before->hour > after->hour ) in x509_check_time()
944 before->hour == after->hour && in x509_check_time()
951 before->hour == after->hour && in x509_check_time()
A Dx509_crl.c653 crl->this_update.day, crl->this_update.hour, in mbedtls_x509_crl_info()
660 crl->next_update.day, crl->next_update.hour, in mbedtls_x509_crl_info()
682 entry->revocation_date.day, entry->revocation_date.hour, in mbedtls_x509_crl_info()
/AliOS-Things-master/components/sensor/include/
A Dgps_parse.h112 res->hour = gps_atoi(str_tmp,GPS_UTC_HOUR_LEN,10); in gps_utc_get()
124 res->hour = gps_atoi(str_tmp,GPS_UTC_HOUR_LEN,10); in gps_utc_get()
/AliOS-Things-master/components/sntp/example/
A Dsntp_example.c24 sntp_time_get->hour, in sntp_comp_example()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/mbed/hal/
A Drtc_api.h50 uint32_t hour; member
/AliOS-Things-master/components/sntp/include/sntp/
A Dsntp.h66 uint8_t hour; /**< Hours after the midnight - [0,23] */ member
/AliOS-Things-master/components/linksdk/components/ntp/
A Daiot_ntp_api.h65 uint32_t hour; member
A Daiot_ntp_api.c68 recv.data.local_time.hour = date.hour; in _ntp_recv_handler()
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/ble_stack/hl/api/
A Dprf_types.h108 uint8_t hour; member
/AliOS-Things-master/components/linksdk/core/utils/
A Dcore_string.h16 uint32_t hour; member
A Dcore_string.c276 date->hour = day_sec / 3600; in core_utc2date()
/AliOS-Things-master/components/sensor/hal/
A Dgps_parse.c147 pgpsdata->utc.hour = result->utc.hour; in gps_gpgga_data_get()
/AliOS-Things-master/components/genie_service/core/inc/
A Dgenie_time.h94 uint8_t hour; // 0-23 member
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/api/wifi/rtw_wpa_supplicant/src/utils/
A Dos.h80 int os_mktime(int year, int month, int day, int hour, int min, int sec,
86 int hour; /* 0..23 */ member
/AliOS-Things-master/components/mbedtls/include/mbedtls/
A Dx509.h211 int hour, min, sec; /**< Time. */ member
/AliOS-Things-master/components/sensor/drv/
A Ddrv_gps_simcom_sim868.c221 pgpsdata->utc.hour = result->utc.hour; in drv_gps_simcom_sim868_data_get()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/
A Drtc_api.c360 RTC_AlarmStruct_temp.RTC_AlarmTime.RTC_Hours = alrm->hour; in rtc_set_alarm()
/AliOS-Things-master/components/sntp/src/
A Dsntp.c383 g_time.hour = gt->tm_hour + 8; in sntp_request()

Completed in 24 milliseconds

12