Home
last modified time | relevance | path

Searched refs:time_ms (Results 1 – 13 of 13) sorted by relevance

/AliOS-Things-master/components/posix/src/
A Dtime.c27 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 Dpwrmgmt_api.c90 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 Dpwrmgmt_api.h11 int pwrmgmt_cpu_minisleep_msec_set(uint32_t time_ms);
/AliOS-Things-master/components/uservice/src/
A Devent_svr.c286 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 Daiot_sysdep_api.h88 void (*core_sysdep_sleep)(uint64_t time_ms);
A Daiot_mqtt_api.c2702 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 Duvoice_ssl.c40 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 DHAL_OS_yoc.c192 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 Dspx_encoder.c49 int time_ms = os_current_time(); in spx_encode_process() local
A Dopus_encoder.c53 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 Ddwc_otg_common.h51 VOID (*RamTimerSche) (dwc_timer_t *timer, uint32_t time_ms);
/AliOS-Things-master/components/netmgr/src/
A Dnetmgr_wifi.c2146 …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 Daos_port.c155 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