Searched refs:time_ms (Results 1 – 13 of 13) sorted by relevance
/AliOS-Things-master/components/posix/src/ |
A D | time.c | 27 uint64_t time_ms = 0; in clock_gettime() local 35 time_ms = aos_now_ms(); in clock_gettime() 36 tp->tv_sec = time_ms / 1000; in clock_gettime() 40 tp->tv_sec = time_ms / 1000; in clock_gettime() 52 uint64_t time_ms = 0; in clock_settime() local 62 aos_calendar_time_set(time_ms); in clock_settime() 71 int64_t time_ms = 0; in clock_nanosleep() local 93 if (time_ms <= 0) { in clock_nanosleep() 103 aos_msleep(time_ms); in clock_nanosleep() 111 uint64_t time_ms = 0; in nanosleep() local [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/hal/pwrmgmt_hal/ |
A D | pwrmgmt_api.c | 90 int pwrmgmt_cpu_minisleep_msec_set(uint32_t time_ms) in pwrmgmt_cpu_minisleep_msec_set() argument 92 cpu_pwr_minisleep_msec_set(time_ms); in pwrmgmt_cpu_minisleep_msec_set()
|
A D | pwrmgmt_api.h | 11 int pwrmgmt_cpu_minisleep_msec_set(uint32_t time_ms);
|
/AliOS-Things-master/components/uservice/src/ |
A D | event_svr.c | 286 int time_ms = do_time_event(); in select_task_entry() 290 timeout.tv_sec = time_ms / 1000; in select_task_entry() 291 timeout.tv_usec = (time_ms % 1000) * 1000; in select_task_entry() 292 …int ret = select2(max_fd + 1, &readfds, NULL, NULL, time_ms == -1 ? NULL : &timeout, &ev_service.s… in select_task_entry()
|
/AliOS-Things-master/components/linksdk/core/ |
A D | aiot_sysdep_api.h | 88 void (*core_sysdep_sleep)(uint64_t time_ms);
|
A D | aiot_mqtt_api.c | 2702 uint64_t time_ms = mqtt_handle->sysdep->core_sysdep_time(); in _mqtt_connect_with_prop() local 2703 uint32_t time_delta = (uint32_t)(time_ms - time_ent_ms); in _mqtt_connect_with_prop()
|
/AliOS-Things-master/components/uvoice/stream/ |
A D | uvoice_ssl.c | 40 uint64_t time_ms; in _avRandom() local 42 time_ms = aos_now_ms(); in _avRandom() 43 srandom((unsigned int)time_ms); in _avRandom()
|
/AliOS-Things-master/components/linkkit/wrappers/platform/os/ |
A D | HAL_OS_yoc.c | 192 uint64_t time_ms; in HAL_UptimeMs() local 196 time_ms = tv.tv_sec * 1000 + tv.tv_nsec / 1000000; in HAL_UptimeMs() 198 return time_ms; in HAL_UptimeMs()
|
/AliOS-Things-master/components/uvoice/codec/ |
A D | spx_encoder.c | 49 int time_ms = os_current_time(); in spx_encode_process() local
|
A D | opus_encoder.c | 53 int time_ms = os_current_time(); in opus_encode_process() local
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/ |
A D | dwc_otg_common.h | 51 VOID (*RamTimerSche) (dwc_timer_t *timer, uint32_t time_ms);
|
/AliOS-Things-master/components/netmgr/src/ |
A D | netmgr_wifi.c | 2146 …t8_t *password, uint8_t channel, const uint8_t *bssid, const wifi_sec_type_t sec_type, int time_ms) in wifi_start_sta() argument 2300 int time_ms; in netmgr_wifi_connect() local 2333 time_ms = wifi_params->timeout; in netmgr_wifi_connect() 2391 NETMGR_WIFI_LOGI("%s:%d time_ms=%d\n", __func__, __LINE__, time_ms); in netmgr_wifi_connect() 2392 if(time_ms != 0) { in netmgr_wifi_connect() 2393 expire_time = (int) aos_now_ms() + time_ms; in netmgr_wifi_connect() 2442 || ((time_ms != 0) &&((int)aos_now_ms() > expire_time))) { in netmgr_wifi_connect() 2551 time_ms); in netmgr_wifi_connect() 2558 time_ms); in netmgr_wifi_connect() 2575 if(time_ms != 0) { in netmgr_wifi_connect()
|
/AliOS-Things-master/components/linksdk/portfiles/aiot_port/ |
A D | aos_port.c | 155 void core_sysdep_sleep(uint64_t time_ms) in core_sysdep_sleep() argument 157 aos_msleep(time_ms); in core_sysdep_sleep()
|
Completed in 33 milliseconds