Searched refs:retries (Results 1 – 12 of 12) sorted by relevance
70 unsigned int retries; member323 for (int i = 0; i <= self->retries; i++) { in socket_accept()336 if (self->retries == 0) { in socket_accept()454 sock->retries = (timeout_ms == UINT64_MAX) ? UINT_MAX : timeout_ms * 1000 / SOCKET_POLL_US; in _socket_settimeout()507 for (int i = 0; i <= sock->retries; ++i) { in _socket_read_data()540 *errcode = sock->retries == 0 ? MP_EWOULDBLOCK : MP_ETIMEDOUT; in _socket_read_data()587 for (int i = 0; i <= sock->retries && sentlen < datalen; i++) { in _socket_send()602 mp_raise_OSError(sock->retries == 0 ? MP_EWOULDBLOCK : MP_ETIMEDOUT); in _socket_send()647 for (int i = 0; i <= self->retries; i++) { in socket_sendto()685 for (int i = 0; i <= sock->retries; i++) { in socket_stream_write()[all …]
70 unsigned int retries; member335 for (int i = 0; i <= self->retries; i++) { in socket_accept()348 if (self->retries == 0) { in socket_accept()471 sock->retries = (timeout_ms == UINT64_MAX) in _socket_settimeout()531 for (int i = 0; i <= sock->retries; ++i) { in _socket_read_data()564 *errcode = sock->retries == 0 ? MP_EWOULDBLOCK : MP_ETIMEDOUT; in _socket_read_data()613 for (int i = 0; i <= sock->retries && sentlen < datalen; i++) { in _socket_send()628 mp_raise_OSError(sock->retries == 0 ? MP_EWOULDBLOCK : MP_ETIMEDOUT); in _socket_send()675 for (int i = 0; i <= self->retries; i++) { in socket_sendto()717 for (int i = 0; i <= sock->retries; i++) { in socket_stream_write()[all …]
73 unsigned int retries; member312 for (int i = 0; i <= self->retries; i++) { in socket_accept()325 if (self->retries == 0) { in socket_accept()436 sock->retries = (timeout_ms == UINT64_MAX) ? UINT_MAX : timeout_ms * 1000 / SOCKET_POLL_US; in _socket_settimeout()489 for (int i = 0; i <= sock->retries; ++i) { in _socket_read_data()521 *errcode = sock->retries == 0 ? MP_EWOULDBLOCK : MP_ETIMEDOUT; in _socket_read_data()565 for (int i = 0; i <= sock->retries && sentlen < datalen; i++) { in _socket_send()579 mp_raise_OSError(sock->retries == 0 ? MP_EWOULDBLOCK : MP_ETIMEDOUT); in _socket_send()621 for (int i = 0; i <= self->retries; i++) { in socket_sendto()655 for (int i = 0; i <= sock->retries; i++) { in socket_stream_write()[all …]
186 int retries = 1; in http_get_dns() local197 if (--retries <= 0) in http_get_dns()1020 int retries; in http_loader_start() local1036 retries = UVOICE_HTTP_MULTI_RETRY_TIMES; in http_loader_start()1038 retries = 1; in http_loader_start()1040 while (retries-- > 0) { in http_loader_start()1046 if (retries - 1 <= 0) { in http_loader_start()1059 retries = UVOICE_HTTP_MULTI_RETRY_TIMES; in http_loader_start()1061 retries = 1; in http_loader_start()1063 while (retries-- > 0) { in http_loader_start()[all …]
78 u8_t retries; member176 tftp_state.retries = 0; in recv()340 if ((tftp_state.last_data != NULL) && (tftp_state.retries < TFTP_MAX_RETRIES)) { in tftp_tmr()343 tftp_state.retries++; in tftp_tmr()
30 uint16_t retries; member74 if ((pstate->seq_expect > 1) && (pstate->retries < TFTP_MAX_RETRIES)) { in tftp_tmr()77 pstate->retries++; in tftp_tmr()
225 u8_t retries; member1042 entry->retries = 0; in dns_check_entry()1053 if (++entry->retries == DNS_MAX_RETRIES * num_dns) { in dns_check_entry()1055 entry->retries = 0; in dns_check_entry()1062 entry->tmr = 1 << entry->retries; in dns_check_entry()1067 if ((entry->tmr > DNS_MAX_RETRY_INTERVAL) || (entry->retries > 7)) { in dns_check_entry()
224 int32_t drv_sdif_send_command(sdif_handle_t handle, sdif_command_t *cmd, uint32_t retries);
273 int32_t drv_sdif_send_command(sdif_handle_t handle, sdif_command_t *cmd, uint32_t retries);
249 u8_t retries; member2252 hs->retries = 0;2297 hs->retries = 0;2360 hs->retries = 0;2395 hs->retries++;2396 if (hs->retries == HTTPD_MAX_RETRIES) {2457 hs->retries = 0;
987 mp_uint_t retries = socket->timeout / 100; in lwip_socket_accept() local990 if (retries-- == 0) { in lwip_socket_accept()1082 for (mp_uint_t retries = socket->timeout / 100; retries--;) { in lwip_socket_connect() local
810 __u32 retries; /* Tx : Max MAC retries num reached */ member
Completed in 50 milliseconds