Searched refs:PART_OF_ARRAY (Results 1 – 17 of 17) sorted by relevance
/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/ |
D | va.c | 105 if (!PART_OF_ARRAY(virtual_addrs, va) || va->ref == 0) { in bt_mesh_va_del() 205 if (!PART_OF_ARRAY(virtual_addrs, va) || va->ref == 0) { in bt_mesh_va_get_idx_by_uuid()
|
/Zephyr-Core-3.7.0/include/zephyr/sys/ |
D | util.h | 181 #define PART_OF_ARRAY(array, ptr) \ macro 204 __ASSERT_NO_MSG(PART_OF_ARRAY(array, ptr)); \
|
/Zephyr-Core-3.7.0/subsys/bluetooth/services/ots/ |
D | ots_obj_manager.c | 231 return PART_OF_ARRAY(obj_manager->pool, item); in bt_gatt_ots_obj_manager_obj_contains()
|
/Zephyr-Core-3.7.0/tests/unit/util/ |
D | main.c | 548 zassert_false(PART_OF_ARRAY(array, &array[-1])); in ZTEST() 549 zassert_false(PART_OF_ARRAY(array, &array[ARRAY_SIZE(array)])); in ZTEST() 552 zassert_true(PART_OF_ARRAY(array, &array[i])); in ZTEST() 555 zassert_true(PART_OF_ARRAY(array, &alias[1])); in ZTEST()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/l2cap/multilink_peripheral/src/ |
D | dut.c | 95 TEST_ASSERT(PART_OF_ARRAY(contexts, ctx), "memory corruption"); in get_ctx_from_chan()
|
/Zephyr-Core-3.7.0/subsys/net/ip/ |
D | net_context.c | 609 if (!PART_OF_ARRAY(contexts, context)) { in net_context_put() 730 NET_ASSERT(PART_OF_ARRAY(contexts, context)); in net_context_bind() 1073 NET_ASSERT(PART_OF_ARRAY(contexts, context)); in net_context_listen() 1181 NET_ASSERT(PART_OF_ARRAY(contexts, context)); in net_context_connect() 1357 NET_ASSERT(PART_OF_ARRAY(contexts, context)); in net_context_accept() 1946 NET_ASSERT(PART_OF_ARRAY(contexts, context)); in context_sendto() 3103 if (!PART_OF_ARRAY(contexts, context)) { in net_context_set_option() 3179 if (!PART_OF_ARRAY(contexts, context)) { in net_context_get_option()
|
/Zephyr-Core-3.7.0/tests/net/socket/net_mgmt/src/ |
D | main.c | 352 if (PART_OF_ARRAY(NET_IF_GET_NAME(eth_fake, 0), iface)) { in iface_cb()
|
/Zephyr-Core-3.7.0/subsys/net/lib/websocket/ |
D | websocket.c | 680 if (!PART_OF_ARRAY(contexts, ctx)) { in websocket_send_msg() 970 if (!PART_OF_ARRAY(contexts, ctx)) { in websocket_recv_msg()
|
/Zephyr-Core-3.7.0/subsys/bluetooth/audio/shell/ |
D | cap_initiator.c | 417 if (!PART_OF_ARRAY(unicast_streams, stream)) { in cmd_cap_initiator_unicast_update() 509 if (!PART_OF_ARRAY(unicast_streams, stream)) { in cmd_cap_initiator_unicast_stop()
|
/Zephyr-Core-3.7.0/tests/net/virtual/src/ |
D | main.c | 319 if (PART_OF_ARRAY(NET_IF_GET_NAME(eth_test, 0), iface)) { in iface_cb()
|
/Zephyr-Core-3.7.0/subsys/bluetooth/audio/ |
D | bap_broadcast_source.c | 248 if (PART_OF_ARRAY(broadcast_source_eps[i], ep)) { in bt_bap_ep_is_broadcast_src()
|
D | bap_broadcast_sink.c | 988 if (PART_OF_ARRAY(broadcast_sink_eps[i], ep)) { in bt_bap_ep_is_broadcast_snk()
|
D | bap_unicast_client.c | 440 if (PART_OF_ARRAY(uni_cli_insts[i].snks, ep)) { in bt_bap_ep_is_unicast_client() 446 if (PART_OF_ARRAY(uni_cli_insts[i].srcs, ep)) { in bt_bap_ep_is_unicast_client()
|
/Zephyr-Core-3.7.0/subsys/net/lib/sockets/ |
D | sockets_tls.c | 278 return PART_OF_ARRAY(tls_contexts, (struct tls_context *)obj); in net_socket_is_tls() 524 if (!PART_OF_ARRAY(tls_contexts, tls)) { in tls_release()
|
/Zephyr-Core-3.7.0/tests/net/ethernet_mgmt/src/ |
D | main.c | 573 if (PART_OF_ARRAY(NET_IF_GET_NAME(eth_fake, 0), iface)) { in iface_cb()
|
/Zephyr-Core-3.7.0/subsys/net/lib/lwm2m/ |
D | lwm2m_observation.c | 1118 if (!PART_OF_ARRAY(write_attr_pool, iter)) { in lwm2m_engine_get_next_attr()
|
/Zephyr-Core-3.7.0/tests/net/socket/udp/src/ |
D | main.c | 1011 if (PART_OF_ARRAY(NET_IF_GET_NAME(eth_fake, 0), iface)) { in iface_cb()
|