Home
last modified time | relevance | path

Searched refs:timeval (Results 1 – 25 of 88) sorted by relevance

1234

/AliOS-Things-master/components/mqtt/MQTTClient-C/
A DMQTTLinux.c22 timer->end_time = (struct timeval){0, 0}; in TimerInit()
27 struct timeval now, res; in TimerIsExpired()
36 struct timeval now; in TimerCountdownMS()
38 struct timeval interval = {timeout / 1000, (timeout % 1000) * 1000}; in TimerCountdownMS()
45 struct timeval now; in TimerCountdown()
47 struct timeval interval = {timeout, 0}; in TimerCountdown()
54 struct timeval now, res; in TimerLeftMS()
64 struct timeval interval = {timeout_ms / 1000, (timeout_ms % 1000) * 1000}; in linux_read()
71 setsockopt(n->my_socket, SOL_SOCKET, SO_RCVTIMEO, (char *)&interval, sizeof(struct timeval)); in linux_read()
97 struct timeval tv; in linux_write()
[all …]
A DMQTTLinux.h51 struct timeval end_time;
/AliOS-Things-master/components/sntp/src/
A Dsntp.c157 struct timeval local_time; in sntp_init_request_packet()
166 static int sntp_process_time(ntp_packet *packet, struct timeval *time) in sntp_process_time()
168 struct timeval local_time; in sntp_process_time()
208 static int sntp_query_server(sntp_arg *arg, struct timeval *ntp_time) in sntp_query_server()
216 struct timeval timeout_val; in sntp_query_server()
271 if (setsockopt(sockfd, SOL_SOCKET, SO_RCVTIMEO, &timeout_val, sizeof(struct timeval)) != 0) { in sntp_query_server()
341 int sntp_get_time(sntp_arg *arg, struct timeval *ntp_time) in sntp_get_time()
366 struct timeval ntp_time; in sntp_request()
/AliOS-Things-master/components/libc_stub/compilers/armlibc/sys/
A Dtime.h21 struct timeval { struct
43 int gettimeofday(struct timeval *tp, void *ignore);
/AliOS-Things-master/components/libc_stub/compilers/iar/sys/
A Dtime.h21 struct timeval { struct
43 int gettimeofday(struct timeval *tp, void *ignore);
/AliOS-Things-master/components/posix/src/
A Dselect.c8 struct timeval *timeout);
11 struct timeval *timeout) in select()
/AliOS-Things-master/components/SDL2/src/timer/unix/
A DSDL_systimer.c74 static struct timeval start_tv;
129 struct timeval now; in SDL_GetTicks()
160 struct timeval now; in SDL_GetPerformanceCounter()
206 struct timeval tv; in SDL_Delay()
/AliOS-Things-master/components/uservice/src/
A Dselect.c11 struct timeval *timeout, void *semaphore) in select2()
33 struct timeval *timeout) in select()
/AliOS-Things-master/components/SDL2/src/timer/psp/
A DSDL_systimer.c34 static struct timeval start;
60 struct timeval now; in SDL_GetTicks()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/examples/
A Dstopwatch.h45 typedef struct timeval Stopwatch;
52 struct timeval old_value; in StopwatchReadAndReset()
/AliOS-Things-master/components/py_engine/modules/sntp/
A Dmodsntp.c40 static bool sntp_gettime(struct timeval *ntp_time) in sntp_gettime()
81 struct timeval ntp_time = { 0 }; in mp_sntp_settime()
/AliOS-Things-master/components/mbedtls/library/
A Dtiming.c75 struct timeval start;
228 static struct timeval tv_init;
232 struct timeval tv_cur; in mbedtls_timing_hardclock()
312 struct timeval now; in mbedtls_timing_get_timer()
/AliOS-Things-master/components/select/select/
A Dselect.c49 struct poll_arg *parg, struct timeval *timeout) in wait_io()
65 struct timeval *timeout);
95 struct poll_arg *parg, struct timeval *timeout) in wait_io()
241 struct timeval *timeout) in aos_select()
/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmodutime.c47 struct timeval tv; in time_localtime()
92 struct timeval tv; in time_time()
/AliOS-Things-master/components/py_engine/adapter/haas510/
A Dmodutime.c46 struct timeval tv; in time_localtime()
84 struct timeval tv; in time_time()
/AliOS-Things-master/components/py_engine/adapter/haas600/
A Dmodutime.c46 struct timeval tv; in time_localtime()
84 struct timeval tv; in time_time()
/AliOS-Things-master/components/SDL2/src/audio/nas/
A DSDL_nasaudio.h51 struct timeval last_tv;
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/sys_time/
A Dsys_time.h20 int gettimeofday(struct timeval *__restrict __p, void *__restrict __tz);
/AliOS-Things-master/components/select/include/
A Dselect.h19 struct timeval *timeout);
/AliOS-Things-master/components/mbedtls/example/
A Dtls_example.c89 struct timeval time; in tls_example_random()
91 memset(&time, 0, sizeof(struct timeval)); in tls_example_random()
/AliOS-Things-master/components/posix/include/sys/
A Dselect.h29 struct timeval *timeout);
/AliOS-Things-master/components/sntp/include/sntp/
A Dsntp.h76 int sntp_get_time(sntp_arg *arg, struct timeval *ntp_time);
/AliOS-Things-master/components/linksdk/portfiles/aiot_port/
A Daos_port.c147 struct timeval time; in core_sysdep_time()
149 memset(&time, 0, sizeof(struct timeval)); in core_sysdep_time()
309 struct timeval timeselect; in _core_sysdep_network_connect()
698 struct timeval timestart, timenow, timeselect; in _core_sysdep_network_tcp_recv()
763 struct timeval timeout = {timeout_ms / 1000, (timeout_ms % 1000) * 1000}; in _core_sysdep_network_udp_recv()
892 struct timeval timestart, timenow, timeselect; in _core_sysdep_network_tcp_send()
955 struct timeval timeout = {timeout_ms / 1000, (timeout_ms % 1000) * 1000}; in _core_sysdep_network_udp_send()
1001 struct timeval timestart, timenow, timeout; in _core_sysdep_network_mbedtls_send()
1181 struct timeval time; in core_sysdep_rand()
1183 memset(&time, 0, sizeof(struct timeval)); in core_sysdep_rand()
/AliOS-Things-master/components/amp_adapter/platform/linux/
A Daos_system.c432 static struct timeval sys_start_time;
435 struct timeval tv; in aos_now()
445 struct timeval tv; in aos_now_ms()
456 struct timeval curTime; in aos_now_time_str()
/AliOS-Things-master/components/amp_adapter/platform/aos/network/
A Daos_tcp.c138 struct timeval timeout; in aos_tcp_write()
198 struct timeval timestart, timenow, timeselect; in aos_tcp_read()

Completed in 28 milliseconds

1234