/Zephyr-latest/lib/hash/ |
D | hash_map_cxx.cpp | 15 static void sys_hashmap_cxx_iter_next(struct sys_hashmap_iterator *it) in sys_hashmap_cxx_iter_next() argument 17 cxx_map *umap = static_cast<cxx_map *>(it->map->data->buckets); in sys_hashmap_cxx_iter_next() 21 __ASSERT(it->size == it->map->data->size, "Concurrent modification!"); in sys_hashmap_cxx_iter_next() 22 __ASSERT(sys_hashmap_iterator_has_next(it), "Attempt to access beyond current bound!"); in sys_hashmap_cxx_iter_next() 25 for (size_t i = 0; i < it->pos; ++i, it2++) in sys_hashmap_cxx_iter_next() 28 it->key = it2->first; in sys_hashmap_cxx_iter_next() 29 it->value = it2->second; in sys_hashmap_cxx_iter_next() 30 ++it->pos; in sys_hashmap_cxx_iter_next() 37 static void sys_hashmap_cxx_iter(const struct sys_hashmap *map, struct sys_hashmap_iterator *it) in sys_hashmap_cxx_iter() argument 39 it->map = map; in sys_hashmap_cxx_iter() [all …]
|
D | hash_map_sc.c | 135 static void sys_hashmap_sc_iter_next(struct sys_hashmap_iterator *it) in sys_hashmap_sc_iter_next() argument 140 const struct sys_hashmap *map = it->map; in sys_hashmap_sc_iter_next() 143 __ASSERT(it->size == map->data->size, "Concurrent modification!"); in sys_hashmap_sc_iter_next() 144 __ASSERT(sys_hashmap_iterator_has_next(it), "Attempt to access beyond current bound!"); in sys_hashmap_sc_iter_next() 146 if (it->pos == 0) { in sys_hashmap_sc_iter_next() 148 it->state = buckets; in sys_hashmap_sc_iter_next() 152 for (bucket = it->state; bucket < &buckets[map->data->n_buckets]; ++bucket) { in sys_hashmap_sc_iter_next() 155 if (entry->key == it->key) { in sys_hashmap_sc_iter_next() 164 it->state = bucket; in sys_hashmap_sc_iter_next() 165 it->key = entry->key; in sys_hashmap_sc_iter_next() [all …]
|
D | hash_map_oa_lp.c | 166 static void sys_hashmap_oa_lp_iter_next(struct sys_hashmap_iterator *it) in sys_hashmap_oa_lp_iter_next() argument 170 const struct sys_hashmap *map = (const struct sys_hashmap *)it->map; in sys_hashmap_oa_lp_iter_next() 173 __ASSERT(it->size == map->data->size, "Concurrent modification!"); in sys_hashmap_oa_lp_iter_next() 174 __ASSERT(sys_hashmap_iterator_has_next(it), "Attempt to access beyond current bound!"); in sys_hashmap_oa_lp_iter_next() 176 if (it->pos == 0) { in sys_hashmap_oa_lp_iter_next() 177 it->state = buckets; in sys_hashmap_oa_lp_iter_next() 180 i = (struct oalp_entry *)it->state - buckets; in sys_hashmap_oa_lp_iter_next() 181 __ASSERT(i < map->data->n_buckets, "Invalid iterator state %p", it->state); in sys_hashmap_oa_lp_iter_next() 186 it->state = &buckets[i + 1]; in sys_hashmap_oa_lp_iter_next() 187 it->key = entry->key; in sys_hashmap_oa_lp_iter_next() [all …]
|
/Zephyr-latest/tests/bluetooth/host/keys/mocks/ |
D | keys_help_utils.c | 31 for (size_t it = 0; it < size; it++) { in fill_key_pool_by_id_addr() local 32 params_vector = &src[it]; in fill_key_pool_by_id_addr() 35 refs[it] = bt_keys_get_addr(id, addr); in fill_key_pool_by_id_addr() 36 if (refs[it] == NULL) { in fill_key_pool_by_id_addr() 37 printk("'%s' Failed to add key %d to the keys pool\n", __func__, it); in fill_key_pool_by_id_addr() 57 for (size_t it = 0; it < size; it++) { in fill_key_pool_by_id_addr_type() local 58 params_vector = &src[it]; in fill_key_pool_by_id_addr_type() 62 refs[it] = bt_keys_get_type(type, id, addr); in fill_key_pool_by_id_addr_type() 63 if (refs[it] == NULL) { in fill_key_pool_by_id_addr_type() 64 printk("'%s' Failed to add key %d to the keys pool\n", __func__, it); in fill_key_pool_by_id_addr_type()
|
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_find_irk/src/ |
D | main.c | 127 for (size_t it = 0; it < ARRAY_SIZE(returned_keys_refs); it++) { in rpa_resolving_ts_setup() local 128 returned_keys_refs[it]->irk.val[0] = it; in rpa_resolving_ts_setup() 190 for (size_t it = 0; it < ARRAY_SIZE(testing_id_addr_type_lut); it++) { in ZTEST() local 192 params_vector = &testing_id_addr_type_lut[it]; in ZTEST() 198 params_it = it; in ZTEST() 201 expected_key_ref = returned_keys_refs[it]; in ZTEST() 214 "bt_keys_find_irk() returned a NULL reference %d", it); in ZTEST() 224 "bt_keys_find_irk() returned a non-valid reference %d", it); in ZTEST() 244 for (size_t it = 0; it < ARRAY_SIZE(returned_keys_refs); it++) { in no_resolving_ts_setup() local 245 returned_keys_refs[it]->irk.val[0] = it; in no_resolving_ts_setup() [all …]
|
/Zephyr-latest/samples/modules/tflite-micro/tflm_ethosu/src/ |
D | inference_process.cpp | 80 for (auto &it : input) { in invalidate() local 81 it.invalidate(); in invalidate() 84 for (auto &it : output) { in invalidate() local 85 it.invalidate(); in invalidate() 88 for (auto &it : expectedOutput) { in invalidate() local 89 it.invalidate(); in invalidate() 97 for (auto &it : input) { in clean() local 98 it.clean(); in clean() 101 for (auto &it : output) { in clean() local 102 it.clean(); in clean() [all …]
|
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_find/src/ |
D | main.c | 98 for (size_t it = 0; it < ARRAY_SIZE(testing_id_addr_type_lut); it++) { in ZTEST() local 100 type = testing_id_addr_type_lut[it].type; in ZTEST() 101 id = testing_id_addr_type_lut[it].id; in ZTEST() 102 addr = testing_id_addr_type_lut[it].addr; in ZTEST() 104 expected_key_ref = returned_keys_refs[it]; in ZTEST()
|
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_update_usage/src/ |
D | test_suite_save_aging_counter.c | 60 for (size_t it = 0; it < ARRAY_SIZE(testing_id_addr_pair_lut); it++) { in ZTEST() local 61 params_vector = &testing_id_addr_pair_lut[it]; in ZTEST() 64 expected_updated_keys = returned_keys_refs[it]; in ZTEST()
|
D | main.c | 121 for (size_t it = 0; it < ARRAY_SIZE(testing_id_addr_pair_lut); it++) { in ZTEST() local 122 params_vector = &testing_id_addr_pair_lut[it]; in ZTEST() 125 expected_updated_keys = returned_keys_refs[it]; in ZTEST()
|
/Zephyr-latest/include/zephyr/sys/ |
D | hash_map_api.h | 48 void (*next)(struct sys_hashmap_iterator *it); 68 static inline bool sys_hashmap_iterator_has_next(const struct sys_hashmap_iterator *it) in sys_hashmap_iterator_has_next() argument 70 return it->pos < it->size; in sys_hashmap_iterator_has_next() 95 struct sys_hashmap_iterator *it);
|
D | hash_map.h | 148 struct sys_hashmap_iterator it = {0}; in sys_hashmap_foreach() local 150 for (map->api->iter(map, &it); sys_hashmap_iterator_has_next(&it);) { in sys_hashmap_foreach() 151 it.next(&it); in sys_hashmap_foreach() 152 cb(it.key, it.value, cookie); in sys_hashmap_foreach()
|
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_add_type/src/ |
D | main.c | 33 for (size_t it = 0; it < ARRAY_SIZE(testing_type_lut); it++) { in ZTEST() local 35 int type = testing_type_lut[it]; in ZTEST()
|
/Zephyr-latest/drivers/ieee802154/ |
D | Kconfig.rf2xx | 20 The default value should be sufficient, but in case it proves to be 21 a too little one, this option makes it easy to play with the size. 27 Set the initialization priority number. Do not mess with it unless 30 might need it too). And of course it has to start before the net stack.
|
D | Kconfig.cc2520 | 18 The default value should be sufficient, but in case it proves to be 19 a too little one, this option makes it easy to play with the size. 25 Set the initialization priority number. Do not mess with it unless 28 might need it too). And of course it has to start before the net stack. 82 Set the initialization priority number. Do not mess with it unless 84 as it shares the same runtime context.
|
D | Kconfig.mcr20a | 63 The default value should be sufficient, but in case it proves to be 64 a too little one, this option makes it easy to play with the size. 70 Set the initialization priority number. Do not mess with it unless 73 might need it too). And of course it has to start before the net stack.
|
/Zephyr-latest/tests/net/npf/src/ |
D | main.c | 384 for (int it = 0; it < ARRAY_SIZE(ipv4_address_list); it++) { in ZTEST() local 385 memcpy((struct in_addr *)NET_IPV4_HDR(pkt_v4)->src, &ipv4_address_list[it], in ZTEST() 406 for (int it = 0; it < ARRAY_SIZE(ipv4_address_list); it++) { in ZTEST() local 407 memcpy((struct in_addr *)NET_IPV4_HDR(pkt_v4)->src, &ipv4_address_list[it], in ZTEST() 448 for (int it = 0; it < ARRAY_SIZE(ipv6_address_list); it++) { in ZTEST() local 450 &ipv6_address_list[it], sizeof(struct in6_addr)); in ZTEST() 470 for (int it = 0; it < ARRAY_SIZE(ipv6_address_list); it++) { in ZTEST() local 472 &ipv6_address_list[it], sizeof(struct in6_addr)); in ZTEST()
|
/Zephyr-latest/drivers/firmware/scmi/ |
D | core.c | 183 STRUCT_SECTION_FOREACH(scmi_protocol, it) { in scmi_core_protocol_setup() 184 it->transport = transport; in scmi_core_protocol_setup() 188 it->tx = scmi_transport_request_channel(transport, it->id, true); in scmi_core_protocol_setup() 191 if (!it->tx) { in scmi_core_protocol_setup() 195 ret = scmi_core_setup_chan(transport, it->tx, true); in scmi_core_protocol_setup()
|
/Zephyr-latest/cmake/modules/ |
D | FindBabbleSim.cmake | 14 # We first try to find it via the environment variables BSIM_OUT_PATH and BSIM_COMPONENTS_PATH. 15 # If these are not set, as a fallback we attempt to find it through west, in case the user 49 and build it with\n\ 64 # Let's check that it is new enough and built, 68 # Do NOT use it outside of this module. It uses variables internal to it 71 message(FATAL_ERROR "Please ensure you have the latest babblesim and rebuild it." 72 "If you got it from Zephyr's manifest, you can do:\n\ 79 # Do NOT use it outside of this module. It uses variables internal to it
|
D | FindLlvmLld.cmake | 28 # Need to clear it or else find_program() won't replace the value. 32 # Search for linker under TOOLCHAIN_HOME if it is defined 38 # Note that, although there is lld, it cannot be used directly 39 # as it would complain about it not being a generic linker,
|
D | ccache.cmake | 3 # Use ccache if it is installed, unless the user explicitly disables 4 # it by setting USE_CCACHE=0.
|
/Zephyr-latest/doc/services/portability/ |
D | cmsis_rtos_v1.rst | 8 generic tool interfaces. Though it was originally defined for ARM Cortex-M 9 microcontrollers alone, it could be easily extended to other microcontrollers 10 making it generic. For more information on CMSIS RTOS v1, please refer
|
/Zephyr-latest/tests/bluetooth/host/id/bt_id_get/src/ |
D | main.c | 80 for (size_t it = 0; it < ARRAY_SIZE(testing_counts); it++) { in ZTEST() local 81 size_t count = testing_counts[it]; in ZTEST()
|
/Zephyr-latest/samples/boards/enjoydigital/litex/i2s/ |
D | README.rst | 12 This is a simple I2S audio transceiver example. You can plug any source of music and listen to it. 36 … delay occurs, this is because the sound driver is not able to send data as fast as it receives it.
|
/Zephyr-latest/samples/sensor/vcnl4040/boards/ |
D | adafruit_feather_stm32f405.overlay | 14 proximity-it = "8"; 16 als-it = <640>;
|
/Zephyr-latest/soc/mediatek/mt8xxx/ |
D | CMakeLists.txt | 17 # available; generally it isn't except in SOF builds). Note that the 19 # RIMAGE_TARGET cached (cached so that the python script can read it!) 26 # by Zephyr and needs tob e found by a SOF build by passing it in 30 # exercised from a SOF build and it doesn't belong here in Zephyr; 33 # should live in SOF where it doesn't have to be duplicated for every 34 # device and where it won't be forced to communicate via side channels.
|