Home
last modified time | relevance | path

Searched refs:iter (Results 1 – 25 of 35) sorted by relevance

12

/Zephyr-latest/subsys/net/lib/tls_credentials/
Dtls_credentials.c63 struct tls_credential *iter) in credential_next_get() argument
67 if (!iter) { in credential_next_get()
68 iter = credentials; in credential_next_get()
70 iter++; in credential_next_get()
73 for (i = iter - credentials; i < ARRAY_SIZE(credentials); i++) { in credential_next_get()
83 sec_tag_t credential_next_tag_get(sec_tag_t iter) in credential_next_tag_get() argument
96 if (credentials[i].tag <= iter && iter != TLS_SEC_TAG_NONE) { in credential_next_tag_get()
Dtls_internal.h56 struct tls_credential *iter);
65 sec_tag_t credential_next_tag_get(sec_tag_t iter);
Dtls_credentials_trusted.c233 struct tls_credential *iter) in credential_next_get() argument
238 if (!iter) { in credential_next_get()
241 uid = tls_credential_get_uid(iter->tag, iter->type); in credential_next_get()
266 sec_tag_t credential_next_tag_get(sec_tag_t iter) in credential_next_tag_get() argument
288 if (candidate <= iter && iter != TLS_SEC_TAG_NONE) { in credential_next_tag_get()
/Zephyr-latest/include/zephyr/drivers/mm/
Dsystem_mm.h424 #define SYS_MM_DRV_MEMORY_REGION_FOREACH(regions, iter) \ argument
425 for (iter = regions; iter->size; iter++)
/Zephyr-latest/tests/net/socket/af_packet/src/
Dmain.c307 int iter, max_iter = 10; in ZTEST() local
343 iter = 0; in ZTEST()
348 iter++; in ZTEST()
349 } while (ret < 0 && errno == EAGAIN && iter < max_iter); in ZTEST()
379 iter = 0; in ZTEST()
384 iter++; in ZTEST()
385 } while (ret < 0 && errno == EAGAIN && iter < max_iter); in ZTEST()
404 int iter, max_iter = 10; in ZTEST() local
455 iter = 0; in ZTEST()
460 iter++; in ZTEST()
[all …]
/Zephyr-latest/scripts/build/
Dfile2hex.py51 hexlist = map(''.join, zip(*[iter(hexdata)] * 2))
68 for chunk in iter(lambda: content.read(8), b''):
74 for chunk in iter(lambda: fp.read(8), b''):
78 for chunk in iter(lambda: fp.read(min(8, remainder)), b''):
/Zephyr-latest/subsys/testsuite/coverage/
Dcoverage.c89 uint32_t iter; in gcov_calculate_buff_size() local
102 for (iter = 0U; iter < info->n_functions; iter++) { in gcov_calculate_buff_size()
119 iter_2 < info->functions[iter]->ctrs->num; in gcov_calculate_buff_size()
294 for (size_t iter = 0U; iter < len; iter++) { in dump_on_console_data() local
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/
Dlll.c769 struct lll_event *iter; in preempt() local
774 iter = ull_prepare_dequeue_iter(&iter_idx); in preempt()
775 while (iter) { in preempt()
776 if (!iter->is_aborted && in preempt()
777 event.curr.param == iter->prepare_param.param) { in preempt()
778 iter->is_aborted = 1; in preempt()
779 iter->abort_cb(&iter->prepare_param, in preempt()
780 iter->prepare_param.param); in preempt()
791 iter = ull_prepare_dequeue_iter(&iter_idx); in preempt()
795 iter = resume_enqueue(resume_cb); in preempt()
[all …]
/Zephyr-latest/scripts/coccinelle/
Dderef_null.cocci57 iterator iter;
66 iter(subE,...) S4 // no use
118 iterator iter;
127 iter(subE,...) S4 // no use
178 iterator iter;
187 iter(subE,...) S4 // no use
251 iterator iter;
260 iter(subE,...) S4 // no use
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll.c1333 struct lll_event *iter; local
1339 iter = ull_prepare_dequeue_iter(&iter_idx);
1340 while (iter) {
1341 if (!iter->is_aborted &&
1342 (is_resume_abort || !iter->is_resume) &&
1343 event.curr.param == iter->prepare_param.param) {
1344 iter->is_aborted = 1;
1345 iter->abort_cb(&iter->prepare_param,
1346 iter->prepare_param.param);
1357 iter = ull_prepare_dequeue_iter(&iter_idx);
[all …]
/Zephyr-latest/tests/net/lib/coap/src/
Dmain.c571 uint8_t iter) in verify_block1_request() argument
577 "req:%d,Couldn't get block size", iter); in verify_block1_request()
580 if (iter < iter_max) { in verify_block1_request()
582 req_ctx->current, block_size * iter, in verify_block1_request()
583 "req:%d,Couldn't get the current block position", iter); in verify_block1_request()
587 "req:%d,Couldn't get the current block position", iter); in verify_block1_request()
591 "req:%d,Couldn't packet total size", iter); in verify_block1_request()
595 uint8_t iter) in verify_block1_response() argument
598 "rsp:%d,Couldn't get block size", iter); in verify_block1_response()
600 coap_block_size_to_bytes(COAP_BLOCK_32) * (iter - 1U), in verify_block1_response()
[all …]
/Zephyr-latest/subsys/net/lib/ptp/
Dclock.c127 struct ptp_port *iter; in clock_forward_management_msg() local
149 SYS_SLIST_FOR_EACH_CONTAINER(&ptp_clk.ports_list, iter, node) { in clock_forward_management_msg()
150 if (clock_forward_msg(port, iter, msg, &net_byte_ord)) { in clock_forward_management_msg()
152 iter->port_ds.id.port_number); in clock_forward_management_msg()
379 struct ptp_port *iter; in ptp_clock_management_msg_process() local
497 SYS_SLIST_FOR_EACH_CONTAINER(&ptp_clk.ports_list, iter, node) { in ptp_clock_management_msg_process()
498 if (ptp_port_management_msg_process(iter, port, msg, mgmt)) { in ptp_clock_management_msg_process()
Dmsg.c199 for (sys_snode_t *iter = sys_slist_get(&msg->tlvs); in msg_tlv_free() local
200 iter; in msg_tlv_free()
201 iter = sys_slist_get(&msg->tlvs)) { in msg_tlv_free()
202 tlv_container = CONTAINER_OF(iter, struct ptp_tlv_container, node); in msg_tlv_free()
Dport.c159 sys_snode_t *iter, *last = NULL; in port_delay_req_timestamp_cb() local
172 for (iter = sys_slist_peek_head(&port->delay_req_list); in port_delay_req_timestamp_cb()
173 iter; in port_delay_req_timestamp_cb()
174 iter = sys_slist_peek_next(iter), last = iter) { in port_delay_req_timestamp_cb()
176 req = CONTAINER_OF(iter, struct ptp_msg, node); in port_delay_req_timestamp_cb()
185 sys_slist_remove(&port->delay_req_list, last, iter); in port_delay_req_timestamp_cb()
198 if (iter == sys_slist_peek_tail(&port->delay_req_list)) { in port_delay_req_timestamp_cb()
1400 sys_snode_t *iter; in ptp_port_free_foreign_tts() local
1404 iter = sys_slist_get(&port->foreign_list); in ptp_port_free_foreign_tts()
1405 foreign = CONTAINER_OF(iter, struct ptp_foreign_tt_clock, node); in ptp_port_free_foreign_tts()
/Zephyr-latest/include/zephyr/sys/
Dhash_map_api.h170 sys_hashmap_iterator_t iter; member
Dhash_map.h150 for (map->api->iter(map, &it); sys_hashmap_iterator_has_next(&it);) { in sys_hashmap_foreach()
/Zephyr-latest/subsys/bluetooth/mesh/
Ddfu_slot.c314 enum bt_mesh_dfu_iter iter; in bt_mesh_dfu_slot_foreach() local
325 iter = cb(&s->slot, user_data); in bt_mesh_dfu_slot_foreach()
326 if (iter != BT_MESH_DFU_ITER_CONTINUE) { in bt_mesh_dfu_slot_foreach()
/Zephyr-latest/subsys/bluetooth/audio/
Dbap_iso.c93 bool iter; in bt_bap_iso_foreach() local
99 iter = func(iso, user_data); in bt_bap_iso_foreach()
102 if (!iter) { in bt_bap_iso_foreach()
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dplatform.py181 return next(filter(lambda s: s.name == sim_name, iter(self.simulators)), None)
183 return next(iter(self.simulators), None)
Dcmakecache.py164 return iter(self._entries.values())
/Zephyr-latest/soc/nuvoton/npcm/common/esiost/
Desiost.py317 for byte_block in iter(lambda: f.read(4096), b""):
354 for byte_block in iter(lambda: f.read(4096), b""):
484 for byte_block in iter(lambda: output_file.read(4096), b""):
/Zephyr-latest/scripts/west_commands/runners/
Dnrfutil.py66 for line in iter(p.stdout.readline, b''):
/Zephyr-latest/lib/hash/
Dhash_map_cxx.cpp151 .iter = sys_hashmap_cxx_iter,
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_observation.c1115 struct lwm2m_attr *iter = (prev == NULL) ? write_attr_pool : prev + 1; in lwm2m_engine_get_next_attr() local
1118 if (!PART_OF_ARRAY(write_attr_pool, iter)) { in lwm2m_engine_get_next_attr()
1122 while (iter < &write_attr_pool[ARRAY_SIZE(write_attr_pool)]) { in lwm2m_engine_get_next_attr()
1123 if (ref == iter->ref) { in lwm2m_engine_get_next_attr()
1124 result = iter; in lwm2m_engine_get_next_attr()
1128 ++iter; in lwm2m_engine_get_next_attr()
/Zephyr-latest/scripts/west_commands/
Dzcmake.py268 return iter(self._entries.values())

12