Home
last modified time | relevance | path

Searched refs:retries (Results 1 – 12 of 12) sorted by relevance

/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmodsocket.c70 unsigned int retries; member
323 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 …]
/AliOS-Things-master/components/py_engine/adapter/haas510/
A Dmodsocket.c70 unsigned int retries; member
335 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 …]
/AliOS-Things-master/components/py_engine/adapter/haas600/
A Dmodsocket.c73 unsigned int retries; member
312 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 …]
/AliOS-Things-master/components/uvoice/stream/
A Duvoice_http.c186 int retries = 1; in http_get_dns() local
197 if (--retries <= 0) in http_get_dns()
1020 int retries; in http_loader_start() local
1036 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 …]
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/tftp/
A Dtftp_server.c78 u8_t retries; member
176 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()
A Dtftp_client.c30 uint16_t retries; member
74 if ((pstate->seq_expect > 1) && (pstate->retries < TFTP_MAX_RETRIES)) { in tftp_tmr()
77 pstate->retries++; in tftp_tmr()
/AliOS-Things-master/components/lwip/lwip2.0.0/core/
A Ddns.c225 u8_t retries; member
1042 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()
/AliOS-Things-master/components/csi/csi1/include/drv/
A Dsdif.h224 int32_t drv_sdif_send_command(sdif_handle_t handle, sdif_command_t *cmd, uint32_t retries);
/AliOS-Things-master/components/csi/csi2/include/drv/
A Dsdif.h273 int32_t drv_sdif_send_command(sdif_handle_t handle, sdif_command_t *cmd, uint32_t retries);
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/httpd/
A Dhttpd.c249 u8_t retries; member
2252 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;
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmodlwip.c987 mp_uint_t retries = socket->timeout / 100; in lwip_socket_accept() local
990 if (retries-- == 0) { in lwip_socket_accept()
1082 for (mp_uint_t retries = socket->timeout / 100; retries--;) { in lwip_socket_connect() local
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/src/osdep/
A Dwireless.h810 __u32 retries; /* Tx : Max MAC retries num reached */ member

Completed in 50 milliseconds