| /components/drivers/rtc/ |
| A D | dev_alarm.c | 104 sec_now = alarm_mkdaysec(now); in alarm_wakeup() 114 sec_now = mktime(now); in alarm_wakeup() 117 sec_now = timegm(now); in alarm_wakeup() 240 struct tm now; in alarm_update() local 251 gmtime_r(×tamp, &now); in alarm_update() 266 gmtime_r(×tamp, &now); in alarm_update() 370 struct tm *setup, now; in alarm_setup() local 377 localtime_r(×tamp, &now); in alarm_setup() 379 gmtime_r(×tamp, &now); in alarm_setup() 384 setup->tm_sec = now.tm_sec; in alarm_setup() [all …]
|
| A D | dev_rtc.c | 148 time_t now, old_timestamp = 0; in set_date() local 177 now = mktime(&tm_new); in set_date() 195 time_t now, old_timestamp = 0; in set_time() local 224 now = mktime(&tm_new); in set_time() 282 time_t now = (time_t)0; in date() local 295 now = tv.tv_sec; in date() 299 rt_kprintf("local time: %.*s", 25U, ctime(&now)); in date() 355 now = mktime(&tm_new); in date() 356 err = set_timestamp(now); in date() 362 get_timestamp(&now); /* get new timestamp */ in date() [all …]
|
| A D | dev_soft_rtc.c | 289 time_t now = (time_t)0; in cmd_rtc_sync() local 294 now = tv.tv_sec; in cmd_rtc_sync() 296 rt_kprintf("local time: %.*s", 25, ctime(&now)); in cmd_rtc_sync()
|
| /components/net/lwip/lwip-2.1.2/src/core/ |
| A D | timeouts.c | 234 u32_t now; in lwip_cyclic_timer() local 243 now = sys_now(); in lwip_cyclic_timer() 245 if (TIME_LESS_THAN(next_timeout_time, now)) { in lwip_cyclic_timer() 354 u32_t now; in sys_check_timeouts() local 359 now = sys_now(); in sys_check_timeouts() 373 if (TIME_LESS_THAN(now, tmptimeout->time)) { in sys_check_timeouts() 406 u32_t now; in sys_restart_timeouts() local 414 now = sys_now(); in sys_restart_timeouts() 418 t->time = (t->time - base) + now; in sys_restart_timeouts() 428 u32_t now; in sys_timeouts_sleeptime() local [all …]
|
| /components/net/lwip/lwip-2.0.3/src/core/ |
| A D | timeouts.c | 208 u32_t now, diff; in sys_timeout_debug() local 216 now = sys_now(); in sys_timeout_debug() 219 timeouts_last_time = now; in sys_timeout_debug() 221 diff = now - timeouts_last_time; in sys_timeout_debug() 321 u32_t now; in sys_check_timeouts() local 323 now = sys_now(); in sys_check_timeouts() 325 diff = now - timeouts_last_time; in sys_check_timeouts()
|
| /components/libc/cplusplus/cpp11/gcc/ |
| A D | utils.cpp | 14 tick_clock::time_point tick_clock::now() in now() function in tick_clock 22 real_time_clock::time_point real_time_clock::now() noexcept in now() function in real_time_clock
|
| A D | __utils.h | 42 static time_point now(); 56 now() noexcept;
|
| A D | condition_variable | 78 return (Clock::now() < abs_time) ? cv_status::no_timeout : cv_status::timeout; 96 return wait_until(lock, real_time_clock::now() + rel_time); 104 return wait_until(lock, real_time_clock::now() + rel_time, std::move(pred)); 208 return wait_until(lock, real_time_clock::now() + rel_time); 216 return wait_until(lock, real_time_clock::now() + rel_time, std::move(pred));
|
| A D | thread | 233 auto now = Clock::now(); 234 if (abs_time > now) 235 sleep_for(abs_time - now);
|
| /components/libc/cplusplus/cpp11/armclang/ |
| A D | condvar.cpp | 143 __ARM_TPL_timespec_t now; in __ARM_TPL_condvar_timedwait() local 144 if (__ARM_TPL_clock_realtime(&now) != 0) in __ARM_TPL_condvar_timedwait() 147 …unsigned int timeout_ms = (__ts->tv_sec - now.tv_sec) * 1000 + (__ts->tv_nsec - now.tv_nsec) / 100… in __ARM_TPL_condvar_timedwait()
|
| /components/net/lwip/lwip-1.4.1/src/core/ |
| A D | timers.c | 366 u32_t now; in sys_check_timeouts() local 368 now = sys_now(); in sys_check_timeouts() 370 diff = now - timeouts_last_time; in sys_check_timeouts() 381 timeouts_last_time = now; in sys_check_timeouts()
|
| /components/net/lwip/lwip-1.4.1/ |
| A D | UPGRADING | 25 (ERR_ABRT now means the applicaiton has called tcp_abort!) 33 now set errno to EWOULDBLOCK/EAGAIN, not ETIMEDOUT. 47 * Moved stack-internal parts of tcp.h to tcp_impl.h, tcp.h now only contains 105 * The heap now may be moved to user-defined memory by defining 119 * Changed the semantics of ARP_QUEUEING==0: ARP_QUEUEING now cannot be turned 138 * Removed packing from ip_addr_t, the packed version is now only used in protocol headers
|
| A D | CHANGELOG | 1471 (flag now cleared) 2061 updated to call lwip_socket_init() now. 2186 is now based on TCP_MSS instead of pcb->mss (on passive open now effectively 2281 allocation. It now returns NULL. 2478 MEMP_NUM_NETCONN in sockets.c right now. 2972 * DEBUGF now is LWIP_DEBUGF 3065 * struct ip_addr now packed. 3104 * ARP timer now implemented. 3221 errors now have the correct type (err_t). 3278 work correctly. This has now been fixed. [all …]
|
| /components/net/lwip/lwip-2.1.2/ |
| A D | UPGRADING | 25 * socket API: according to the standard, SO_ERROR now only returns asynchronous errors. 36 * The IPv6 implementation now supports address scopes. (See LWIP_IPV6_SCOPES documentation 51 supported any more, netif->state is interpreted as an u8_t port number now 68 … "ip4-address-valid", a netif will now not be used for transmission if not up) -> even a DHCP netif 115 is now available 159 (ERR_ABRT now means the applicaiton has called tcp_abort!) 167 now set errno to EWOULDBLOCK/EAGAIN, not ETIMEDOUT. 181 * Moved stack-internal parts of tcp.h to tcp_impl.h, tcp.h now only contains 239 * The heap now may be moved to user-defined memory by defining 253 * Changed the semantics of ARP_QUEUEING==0: ARP_QUEUEING now cannot be turned [all …]
|
| A D | CHANGELOG | 2680 (flag now cleared) 3270 updated to call lwip_socket_init() now. 3395 is now based on TCP_MSS instead of pcb->mss (on passive open now effectively 3490 allocation. It now returns NULL. 3687 MEMP_NUM_NETCONN in sockets.c right now. 4181 * DEBUGF now is LWIP_DEBUGF 4274 * struct ip_addr now packed. 4313 * ARP timer now implemented. 4430 errors now have the correct type (err_t). 4487 work correctly. This has now been fixed. [all …]
|
| /components/net/lwip/lwip-2.0.3/ |
| A D | UPGRADING | 16 supported any more, netif->state is interpreted as an u8_t port number now 33 … "ip4-address-valid", a netif will now not be used for transmission if not up) -> even a DHCP netif 80 is now available 124 (ERR_ABRT now means the applicaiton has called tcp_abort!) 132 now set errno to EWOULDBLOCK/EAGAIN, not ETIMEDOUT. 146 * Moved stack-internal parts of tcp.h to tcp_impl.h, tcp.h now only contains 204 * The heap now may be moved to user-defined memory by defining 218 * Changed the semantics of ARP_QUEUEING==0: ARP_QUEUEING now cannot be turned 237 * Removed packing from ip_addr_t, the packed version is now only used in protocol headers
|
| A D | CHANGELOG | 2427 (flag now cleared) 3017 updated to call lwip_socket_init() now. 3142 is now based on TCP_MSS instead of pcb->mss (on passive open now effectively 3237 allocation. It now returns NULL. 3434 MEMP_NUM_NETCONN in sockets.c right now. 3928 * DEBUGF now is LWIP_DEBUGF 4021 * struct ip_addr now packed. 4060 * ARP timer now implemented. 4177 errors now have the correct type (err_t). 4234 work correctly. This has now been fixed. [all …]
|
| /components/utilities/ulog/syslog/ |
| A D | syslog.c | 185 time_t now = time(RT_NULL); in syslog_formater() local 188 tm = gmtime_r(&now, &tm_tmp); in syslog_formater()
|
| /components/net/lwip/lwip-2.0.3/doc/ |
| A D | ppp.txt | 479 * Previous PPP API used an integer to identify PPP sessions, we are now 490 * Previous PPP API used CamelCase, we are now using snake_case. 493 PPPoS functions are now prefixed pppos_ and PPPoE functions are now prefixed 494 pppoe_, common functions are now prefixed ppp_. 499 * Only the following include files should now be used in user application: 521 * DNS servers are now only remotely asked if LWIP_DNS is set and if 522 ppp_set_usepeerdns() is set to true, they are now automatically registered 526 * PPPoS does not use the SIO API anymore, as such it now requires a serial 529 * PPP_MAXIDLEFLAG is now in ms instead of jiffies
|
| /components/net/lwip/lwip-2.1.2/doc/ |
| A D | ppp.txt | 479 * Previous PPP API used an integer to identify PPP sessions, we are now 490 * Previous PPP API used CamelCase, we are now using snake_case. 493 PPPoS functions are now prefixed pppos_ and PPPoE functions are now prefixed 494 pppoe_, common functions are now prefixed ppp_. 499 * Only the following include files should now be used in user application: 521 * DNS servers are now only remotely asked if LWIP_DNS is set and if 522 ppp_set_usepeerdns() is set to true, they are now automatically registered 526 * PPPoS does not use the SIO API anymore, as such it now requires a serial 529 * PPP_MAXIDLEFLAG is now in ms instead of jiffies
|
| /components/net/lwip/lwip-2.0.3/src/apps/lwiperf/ |
| A D | lwiperf.c | 204 u32_t now, duration_ms, bandwidth_kbitpsec; in lwip_tcp_conn_report() local 205 now = sys_now(); in lwip_tcp_conn_report() 206 duration_ms = now - conn->time_started; in lwip_tcp_conn_report() 263 u32_t now = sys_now(); in lwiperf_tcp_client_send_more() local 264 u32_t diff_ms = now - conn->time_started; in lwiperf_tcp_client_send_more()
|
| /components/net/lwip/lwip-2.1.2/src/apps/lwiperf/ |
| A D | lwiperf.c | 232 u32_t now, duration_ms, bandwidth_kbitpsec; in lwip_tcp_conn_report() local 233 now = sys_now(); in lwip_tcp_conn_report() 234 duration_ms = now - conn->time_started; in lwip_tcp_conn_report() 291 u32_t now = sys_now(); in lwiperf_tcp_client_send_more() local 292 u32_t diff_ms = now - conn->time_started; in lwiperf_tcp_client_send_more()
|
| /components/utilities/ulog/ |
| A D | ulog.c | 278 static struct timeval now; in ulog_head_formater() local 283 if (gettimeofday(&now, RT_NULL) >= 0) in ulog_head_formater() 285 t = now.tv_sec; in ulog_head_formater() 294 long old_usec = now.tv_usec; in ulog_head_formater() 297 gettimeofday(&now, RT_NULL); in ulog_head_formater() 300 if (now.tv_usec != old_usec) in ulog_head_formater() 307 … rt_snprintf(log_buf + log_len, ULOG_LINE_BUF_SIZE - log_len, ".%03d", now.tv_usec / 1000); in ulog_head_formater()
|
| /components/net/lwip/lwip-1.4.1/doc/ |
| A D | savannah.txt | 90 We can now commit the merge result. 93 If this worked out OK, we now move the tag in the DEVEL branch 131 A new 0.6.3 release is now available here:
|
| /components/lwp/terminal/freebsd/ |
| A D | tty_ttydisc.c | 243 struct timeval end, now, left; in ttydisc_read_raw_read_timer() local 251 getmicrotime(&now); in ttydisc_read_raw_read_timer() 252 timevaladd(&end, &now); in ttydisc_read_raw_read_timer() 267 getmicrotime(&now); in ttydisc_read_raw_read_timer() 268 if (timevalcmp(&now, &end, >)) in ttydisc_read_raw_read_timer() 271 timevalsub(&left, &now); in ttydisc_read_raw_read_timer()
|