Home
last modified time | relevance | path

Searched refs:PART_OF_ARRAY (Results 1 – 17 of 17) sorted by relevance

/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/
Dva.c105 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/
Dutil.h181 #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/
Dots_obj_manager.c231 return PART_OF_ARRAY(obj_manager->pool, item); in bt_gatt_ots_obj_manager_obj_contains()
/Zephyr-Core-3.7.0/tests/unit/util/
Dmain.c548 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/
Ddut.c95 TEST_ASSERT(PART_OF_ARRAY(contexts, ctx), "memory corruption"); in get_ctx_from_chan()
/Zephyr-Core-3.7.0/subsys/net/ip/
Dnet_context.c609 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/
Dmain.c352 if (PART_OF_ARRAY(NET_IF_GET_NAME(eth_fake, 0), iface)) { in iface_cb()
/Zephyr-Core-3.7.0/subsys/net/lib/websocket/
Dwebsocket.c680 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/
Dcap_initiator.c417 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/
Dmain.c319 if (PART_OF_ARRAY(NET_IF_GET_NAME(eth_test, 0), iface)) { in iface_cb()
/Zephyr-Core-3.7.0/subsys/bluetooth/audio/
Dbap_broadcast_source.c248 if (PART_OF_ARRAY(broadcast_source_eps[i], ep)) { in bt_bap_ep_is_broadcast_src()
Dbap_broadcast_sink.c988 if (PART_OF_ARRAY(broadcast_sink_eps[i], ep)) { in bt_bap_ep_is_broadcast_snk()
Dbap_unicast_client.c440 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/
Dsockets_tls.c278 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/
Dmain.c573 if (PART_OF_ARRAY(NET_IF_GET_NAME(eth_fake, 0), iface)) { in iface_cb()
/Zephyr-Core-3.7.0/subsys/net/lib/lwm2m/
Dlwm2m_observation.c1118 if (!PART_OF_ARRAY(write_attr_pool, iter)) { in lwm2m_engine_get_next_attr()
/Zephyr-Core-3.7.0/tests/net/socket/udp/src/
Dmain.c1011 if (PART_OF_ARRAY(NET_IF_GET_NAME(eth_fake, 0), iface)) { in iface_cb()