Home
last modified time | relevance | path

Searched refs:cur (Results 1 – 7 of 7) sorted by relevance

/hal_espressif-latest/components/newlib/
Dreent_init.c46 struct _Bigint *cur, *next; in esp_reent_cleanup() local
49 cur = next; in esp_reent_cleanup()
51 free(cur); in esp_reent_cleanup()
61 for (struct _glue* cur = _GLOBAL_REENT->__sglue._next; cur != NULL;) { in esp_reent_cleanup() local
62 if (cur->_niobs == 0) { in esp_reent_cleanup()
63 cur = cur->_next; in esp_reent_cleanup()
67 for (int i = 0; i < cur->_niobs; ++i) { in esp_reent_cleanup()
68 FILE* fp = &cur->_iobs[i]; in esp_reent_cleanup()
75 prev = cur; in esp_reent_cleanup()
76 cur = cur->_next; in esp_reent_cleanup()
[all …]
/hal_espressif-latest/components/mbedtls/port/
Dnet_sockets.c62 struct addrinfo hints, *addr_list, *cur; in mbedtls_net_connect() local
80 for ( cur = addr_list; cur != NULL; cur = cur->ai_next ) { in mbedtls_net_connect()
81 int fd = socket( cur->ai_family, cur->ai_socktype, cur->ai_protocol ); in mbedtls_net_connect()
88 if ( connect( fd, cur->ai_addr, cur->ai_addrlen ) == 0 ) { in mbedtls_net_connect()
109 struct addrinfo hints, *addr_list, *cur; in mbedtls_net_bind() local
131 for ( cur = addr_list; cur != NULL; cur = cur->ai_next ) { in mbedtls_net_bind()
132 int fd = socket( cur->ai_family, cur->ai_socktype, cur->ai_protocol ); in mbedtls_net_bind()
147 serv_addr = (struct sockaddr_storage *) cur->ai_addr; in mbedtls_net_bind()
149 if (cur->ai_family == AF_INET) { in mbedtls_net_bind()
156 if (cur->ai_family == AF_INET6) { in mbedtls_net_bind()
[all …]
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/client/
Dclient_common.c22 sys_snode_t *cur = NULL; in bt_mesh_client_pick_node() local
30 for (cur = sys_slist_peek_head(list); in bt_mesh_client_pick_node()
31 cur != NULL; cur = sys_slist_peek_next(cur)) { in bt_mesh_client_pick_node()
32 node = (bt_mesh_client_node_t *)cur; in bt_mesh_client_pick_node()
115 sys_snode_t *cur = NULL; in bt_mesh_client_check_node_in_list() local
123 for (cur = sys_slist_peek_head(list); in bt_mesh_client_check_node_in_list()
124 cur != NULL; cur = sys_slist_peek_next(cur)) { in bt_mesh_client_check_node_in_list()
125 node = (bt_mesh_client_node_t *)cur; in bt_mesh_client_check_node_in_list()
/hal_espressif-latest/components/bt/host/bluedroid/bta/hf_client/
Dbta_hf_client_at.c101 tBTA_HF_CLIENT_AT_QCMD *cur = bta_hf_client_cb.scb.at_cb.queued_cmd; in bta_hf_client_clear_queued_at() local
104 while (cur != NULL) { in bta_hf_client_clear_queued_at()
105 next = cur->next; in bta_hf_client_clear_queued_at()
106 osi_free(cur); in bta_hf_client_clear_queued_at()
107 cur = next; in bta_hf_client_clear_queued_at()
207 tBTA_HF_CLIENT_AT_QCMD *cur = bta_hf_client_cb.scb.at_cb.queued_cmd; in bta_hf_client_send_queued_at() local
211 if (cur != NULL) { in bta_hf_client_send_queued_at()
212 bta_hf_client_cb.scb.at_cb.queued_cmd = cur->next; in bta_hf_client_send_queued_at()
214 bta_hf_client_send_at(cur->cmd, cur->buf, cur->buf_len); in bta_hf_client_send_queued_at()
216 osi_free(cur); in bta_hf_client_send_queued_at()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/
Dfriend.c1355 sys_snode_t *cur = NULL, *prev = NULL; in friend_purge_old_ack() local
1359 for (cur = sys_slist_peek_head(&frnd->queue); in friend_purge_old_ack()
1360 cur != NULL; prev = cur, cur = sys_slist_peek_next(cur)) { in friend_purge_old_ack()
1361 struct net_buf *buf = (void *)cur; in friend_purge_old_ack()
1366 sys_slist_remove(&frnd->queue, prev, cur); in friend_purge_old_ack()
Dprovisioner_prov.c22 #define PROV_SVC_ADV_RX_CHECK(pre, cur) ((cur) < (pre) ? ((cur) + (UINT32_MAX - (pre)) >= 200) : … argument
/hal_espressif-latest/components/mbedtls/port/mbedtls_rom/
Dmbedtls_rom_osi.h78 …et_sequence_of)( unsigned char **p, const unsigned char *end, mbedtls_asn1_sequence *cur, int tag);
368 …_rom_mbedtls_x509_get_name)( unsigned char **p, const unsigned char *end, mbedtls_x509_name *cur );
504 …get_sequence_of)(unsigned char **p, const unsigned char *end, mbedtls_asn1_sequence *cur, int tag);