Searched refs:num_items (Results 1 – 5 of 5) sorted by relevance
150 static int num_items; in add_new_item() local152 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()
203 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()
366 uint8_t num_items; member
403 pd->cap[t1].num_items = buf[pos++]; in cp_decode_response()
775 static void z_ztest_shuffle(bool shuffle, void *dest[], intptr_t start, size_t num_items, in z_ztest_shuffle() argument779 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()