/AliOS-Things-master/components/mqtt/MQTTClient-C/ |
A D | MQTTLinux.c | 22 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 D | MQTTLinux.h | 51 struct timeval end_time;
|
/AliOS-Things-master/components/sntp/src/ |
A D | sntp.c | 157 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 D | time.h | 21 struct timeval { struct 43 int gettimeofday(struct timeval *tp, void *ignore);
|
/AliOS-Things-master/components/libc_stub/compilers/iar/sys/ |
A D | time.h | 21 struct timeval { struct 43 int gettimeofday(struct timeval *tp, void *ignore);
|
/AliOS-Things-master/components/posix/src/ |
A D | select.c | 8 struct timeval *timeout); 11 struct timeval *timeout) in select()
|
/AliOS-Things-master/components/SDL2/src/timer/unix/ |
A D | SDL_systimer.c | 74 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 D | select.c | 11 struct timeval *timeout, void *semaphore) in select2() 33 struct timeval *timeout) in select()
|
/AliOS-Things-master/components/SDL2/src/timer/psp/ |
A D | SDL_systimer.c | 34 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 D | stopwatch.h | 45 typedef struct timeval Stopwatch; 52 struct timeval old_value; in StopwatchReadAndReset()
|
/AliOS-Things-master/components/py_engine/modules/sntp/ |
A D | modsntp.c | 40 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 D | timing.c | 75 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 D | select.c | 49 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 D | modutime.c | 47 struct timeval tv; in time_localtime() 92 struct timeval tv; in time_time()
|
/AliOS-Things-master/components/py_engine/adapter/haas510/ |
A D | modutime.c | 46 struct timeval tv; in time_localtime() 84 struct timeval tv; in time_time()
|
/AliOS-Things-master/components/py_engine/adapter/haas600/ |
A D | modutime.c | 46 struct timeval tv; in time_localtime() 84 struct timeval tv; in time_time()
|
/AliOS-Things-master/components/SDL2/src/audio/nas/ |
A D | SDL_nasaudio.h | 51 struct timeval last_tv;
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/sys_time/ |
A D | sys_time.h | 20 int gettimeofday(struct timeval *__restrict __p, void *__restrict __tz);
|
/AliOS-Things-master/components/select/include/ |
A D | select.h | 19 struct timeval *timeout);
|
/AliOS-Things-master/components/mbedtls/example/ |
A D | tls_example.c | 89 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 D | select.h | 29 struct timeval *timeout);
|
/AliOS-Things-master/components/sntp/include/sntp/ |
A D | sntp.h | 76 int sntp_get_time(sntp_arg *arg, struct timeval *ntp_time);
|
/AliOS-Things-master/components/linksdk/portfiles/aiot_port/ |
A D | aos_port.c | 147 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 D | aos_system.c | 432 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 D | aos_tcp.c | 138 struct timeval timeout; in aos_tcp_write() 198 struct timeval timestart, timenow, timeselect; in aos_tcp_read()
|