Home
last modified time | relevance | path

Searched refs:num_items (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/tests/lib/p4workq/src/
Dmain.c150 static int num_items; in add_new_item() local
152 struct k_p4wq_work *item = &items[num_items++].item; in add_new_item()
154 __ASSERT_NO_MSG(num_items < MAX_ITEMS); in add_new_item()
/Zephyr-latest/subsys/mgmt/osdp/src/
Dosdp_pd.c203 if (cap->num_items == 0 || cap->compliance_level == 0) { in pd_cmd_cap_ok()
209 if (cap->num_items == 0 || cap->compliance_level == 0) { in pd_cmd_cap_ok()
216 cmd->output.output_no + 1 > cap->num_items) { in pd_cmd_cap_ok()
223 cmd->led.led_number + 1 > cap->num_items) { in pd_cmd_cap_ok()
229 if (cap->num_items == 0 || cap->compliance_level == 0) { in pd_cmd_cap_ok()
235 if (cap->num_items == 0 || cap->compliance_level == 0) { in pd_cmd_cap_ok()
632 buf[len++] = pd->cap[i].num_items; in pd_build_reply()
1017 pd->cap[fc].num_items = cap->num_items; in osdp_pd_set_attributes()
Dosdp_common.h366 uint8_t num_items; member
Dosdp_cp.c403 pd->cap[t1].num_items = buf[pos++]; in cp_decode_response()
/Zephyr-latest/subsys/testsuite/ztest/src/
Dztest.c775 static void z_ztest_shuffle(bool shuffle, void *dest[], intptr_t start, size_t num_items, in z_ztest_shuffle() argument
779 for (size_t i = 0; i < num_items; ++i) { in z_ztest_shuffle()
786 for (size_t i = num_items - 1; i > 0; i--) { in z_ztest_shuffle()