Home
last modified time | relevance | path

Searched refs:it (Results 1 – 25 of 1653) sorted by relevance

12345678910>>...67

/Zephyr-latest/lib/hash/
Dhash_map_cxx.cpp15 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 …]
Dhash_map_sc.c135 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 …]
Dhash_map_oa_lp.c166 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/
Dkeys_help_utils.c31 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/samples/sensor/veml6031/
DREADME.rst51 Light (lux): 6179 ALS (raw): 7100 IR (raw): 27 it: 0 div4: 0 gain: 0 --
52 Light (lux): 1500 ALS (raw): 3447 IR (raw): 34 it: 0 div4: 0 gain: 1 --
53 Light (lux): 4664 ALS (raw): 3537 IR (raw): 17 it: 0 div4: 0 gain: 2 --
54 Light (lux): 5601 ALS (raw): 3218 IR (raw): 13 it: 0 div4: 0 gain: 3 --
55 Light (lux): 1302 ALS (raw): 374 IR (raw): 5 it: 0 div4: 1 gain: 0 --
56 Light (lux): 5584 ALS (raw): 3208 IR (raw): 11 it: 0 div4: 1 gain: 1 --
57 Light (lux): 5285 ALS (raw): 1002 IR (raw): 3 it: 0 div4: 1 gain: 2 --
58 Light (lux): 1455 ALS (raw): 209 IR (raw): 2 it: 0 div4: 1 gain: 3 --
59 Light (lux): 4925 ALS (raw): 11317 IR (raw): 50 it: 1 div4: 0 gain: 0 --
60 Light (lux): 3916 ALS (raw): 17999 IR (raw): 90 it: 1 div4: 0 gain: 1 --
[all …]
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_find_irk/src/
Dmain.c127 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/sensor/veml6031/src/
Dmain.c19 static void read_with_attr(const struct device *dev, int it, int div4, int gain) in read_with_attr() argument
29 sen.val1 = it; in read_with_attr()
58 light.val1, als_raw.val1, ir_raw.val1, it, div4, gain, in read_with_attr()
66 int it, div4, gain; in read_with_all_attr() local
68 for (it = VEML6031_IT_3_125; it <= VEML6031_IT_400; it++) { in read_with_all_attr()
71 read_with_attr(dev, it, div4, gain); in read_with_all_attr()
/Zephyr-latest/samples/modules/tflite-micro/tflm_ethosu/src/
Dinference_process.cpp80 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/
Dmain.c98 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/
Dtest_suite_save_aging_counter.c60 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()
Dmain.c121 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/
Dhash_map_api.h48 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);
Dhash_map.h148 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/
Dmain.c33 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/
DKconfig.rf2xx20 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.
DKconfig.cc252018 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.
/Zephyr-latest/tests/net/npf/src/
Dmain.c384 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/
Dcore.c183 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/doc/services/portability/
Dcmsis_rtos_v1.rst8 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/cmake/modules/
DFindBabbleSim.cmake14 # 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
/Zephyr-latest/tests/bluetooth/host/id/bt_id_get/src/
Dmain.c80 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/
DREADME.rst12 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/
Dadafruit_feather_stm32f405.overlay14 proximity-it = "8";
16 als-it = <640>;
/Zephyr-latest/soc/mediatek/mt8xxx/
DCMakeLists.txt17 # 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.
/Zephyr-latest/drivers/timer/
DKconfig.riscv_machine27 When N=2, it is divided by 4, and when N=5, it is divided by 32.
33 and it is desirable usage that references it with using a function such as

12345678910>>...67