/Zephyr-Core-3.6.0/tests/bluetooth/audio/cap_commander/src/ |
D | main.c | 58 for (size_t i = 0; i < ARRAY_SIZE(fixture->conns); i++) { in cap_commander_test_suite_fixture_init() 85 for (size_t i = 0; i < ARRAY_SIZE(fixture->conns); i++) { in cap_commander_test_suite_after() 166 for (size_t i = 0; i < ARRAY_SIZE(fixture->conns); i++) { in ZTEST_F() 171 zexpect_call_count("bt_cap_commander_cb.discovery_complete", ARRAY_SIZE(fixture->conns), in ZTEST_F() 188 union bt_cap_set_member members[ARRAY_SIZE(fixture->conns)]; in ZTEST_F() 192 .count = ARRAY_SIZE(fixture->conns), in ZTEST_F() 197 for (size_t i = 0U; i < ARRAY_SIZE(members); i++) { in ZTEST_F() 204 for (size_t i = 0; i < ARRAY_SIZE(fixture->conns); i++) { in ZTEST_F() 223 union bt_cap_set_member members[ARRAY_SIZE(fixture->conns)]; in ZTEST_F() 227 .count = ARRAY_SIZE(fixture->conns), in ZTEST_F() [all …]
|
/Zephyr-Core-3.6.0/tests/subsys/mgmt/mcumgr/zcbor_bulk/src/ |
D | main.c | 52 zcbor_new_encode_state(zsd, 2, buffer, ARRAY_SIZE(buffer), 0); in ZTEST() 63 zcbor_new_decode_state(zsd, 4, buffer, ARRAY_SIZE(buffer), 1, NULL, 0); in ZTEST() 65 int rc = zcbor_map_decode_bulk(zsd, dm, ARRAY_SIZE(dm), &decoded); in ZTEST() 68 zassert_equal(decoded, ARRAY_SIZE(dm), "Expected %d got %d", in ZTEST() 69 ARRAY_SIZE(dm), decoded); in ZTEST() 93 zcbor_new_encode_state(zsd, 2, buffer, ARRAY_SIZE(buffer), 0); in ZTEST() 104 zcbor_new_decode_state(zsd, 4, buffer, ARRAY_SIZE(buffer), 1, NULL, 0); in ZTEST() 106 int rc = zcbor_map_decode_bulk(zsd, dm, ARRAY_SIZE(dm), &decoded); in ZTEST() 109 zassert_equal(decoded, ARRAY_SIZE(dm), "Expected %d got %d", in ZTEST() 110 ARRAY_SIZE(dm), decoded); in ZTEST() [all …]
|
/Zephyr-Core-3.6.0/tests/subsys/mgmt/mcumgr/os_mgmt_datetime/src/ |
D | main.c | 103 ok = zcbor_map_decode_bulk(state, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in mcumgr_ret_decode() 106 zcbor_map_decode_bulk_key_found(output_decode, ARRAY_SIZE(output_decode), "group") && in mcumgr_ret_decode() 107 zcbor_map_decode_bulk_key_found(output_decode, ARRAY_SIZE(output_decode), "rc")) { in mcumgr_ret_decode() 172 zcbor_new_encode_state(zse, 2, buffer, ARRAY_SIZE(buffer), 0); in ZTEST() 196 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 199 zassert_false(zcbor_map_decode_bulk_key_found(output_decode, ARRAY_SIZE(output_decode), in ZTEST() 201 zassert_true(zcbor_map_decode_bulk_key_found(output_decode, ARRAY_SIZE(output_decode), in ZTEST() 203 zassert_false(zcbor_map_decode_bulk_key_found(output_decode, ARRAY_SIZE(output_decode), in ZTEST() 234 zcbor_new_encode_state(zse, 2, buffer, ARRAY_SIZE(buffer), 0); in ZTEST() 258 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() [all …]
|
/Zephyr-Core-3.6.0/tests/bluetooth/host/keys/bt_keys_foreach_type/src/ |
D | main.c | 42 BUILD_ASSERT(ARRAY_SIZE(testing_id_addr_type_lut) == CONFIG_BT_MAX_PAIRED); 43 BUILD_ASSERT(ARRAY_SIZE(testing_id_addr_type_lut) == ARRAY_SIZE(returned_keys_refs)); 44 BUILD_ASSERT(ARRAY_SIZE(testing_id_addr_type_no_type_lut) == CONFIG_BT_MAX_PAIRED); 45 BUILD_ASSERT(ARRAY_SIZE(testing_id_addr_type_no_type_lut) == ARRAY_SIZE(returned_keys_refs)); 51 ARRAY_SIZE(testing_id_addr_type_no_type_lut), in type_not_set_ts_setup() 82 for (size_t i = 0; i < ARRAY_SIZE(testing_id_addr_type_lut); i++) { in ZTEST() 95 ARRAY_SIZE(testing_id_addr_type_lut), returned_keys_refs); in type_set_ts_setup() 132 for (size_t i = 0; i < ARRAY_SIZE(testing_id_addr_type_lut); i++) { in ZTEST()
|
/Zephyr-Core-3.6.0/tests/bluetooth/host/keys/bt_keys_foreach_bond/src/ |
D | main.c | 28 BUILD_ASSERT(ARRAY_SIZE(testing_id_addr_pair_lut) == CONFIG_BT_MAX_PAIRED); 29 BUILD_ASSERT(ARRAY_SIZE(testing_id_addr_pair_lut) == ARRAY_SIZE(returned_keys_refs)); 35 ARRAY_SIZE(testing_id_addr_pair_lut), returned_keys_refs); in type_not_set_ts_setup() 66 for (size_t i = 0; i < ARRAY_SIZE(testing_id_addr_pair_lut); i++) { in ZTEST() 79 ARRAY_SIZE(testing_id_addr_pair_lut), returned_keys_refs); in type_set_ts_setup() 83 for (uint32_t i = 0; i < ARRAY_SIZE(returned_keys_refs); i++) { in type_set_ts_setup() 121 for (size_t i = 0; i < ARRAY_SIZE(testing_id_addr_pair_lut); i++) { in ZTEST()
|
/Zephyr-Core-3.6.0/tests/bluetooth/audio/cap_commander/uut/ |
D | vcp.c | 21 for (size_t i = 0; i < ARRAY_SIZE(vol_ctlrs); i++) { in bt_vcp_vol_ctlr_get_by_conn() 48 for (size_t i = 0; i < ARRAY_SIZE(vol_ctlrs); i++) { in bt_vcp_vol_ctlr_discover() 50 for (size_t j = 0U; j < ARRAY_SIZE(vol_ctlrs[i].vocs); j++) { in bt_vcp_vol_ctlr_discover() 73 for (size_t i = 0U; i < ARRAY_SIZE(vol_ctlrs); i++) { in bt_vcp_vol_ctlr_cb_register() 74 for (size_t j = 0U; j < ARRAY_SIZE(vol_ctlrs[i].vocs); j++) { in bt_vcp_vol_ctlr_cb_register() 85 included->vocs_cnt = ARRAY_SIZE(vol_ctlr->vocs); in bt_vcp_vol_ctlr_included_get() 88 included->aics_cnt = ARRAY_SIZE(vol_ctlr->aics); in bt_vcp_vol_ctlr_included_get() 97 for (size_t i = 0U; i < ARRAY_SIZE(vol_ctlrs); i++) { in mock_bt_vcp_init() 98 for (size_t j = 0U; j < ARRAY_SIZE(vol_ctlrs[i].vocs); j++) { in mock_bt_vcp_init()
|
/Zephyr-Core-3.6.0/tests/lib/c_lib/common/src/ |
D | test_qsort.c | 40 qsort(actual_int, ARRAY_SIZE(actual_int), sizeof(int), compare_ints); in ZTEST() 49 qsort(actual_int, ARRAY_SIZE(actual_int), sizeof(int), compare_ints); in ZTEST() 58 qsort(actual_int, ARRAY_SIZE(actual_int), sizeof(int), compare_ints); in ZTEST() 67 qsort(actual_int, ARRAY_SIZE(actual_int), sizeof(int), compare_ints); in ZTEST() 94 qsort(actual_int, ARRAY_SIZE(actual_int), sizeof(int), compare_ints); in ZTEST() 125 qsort(actual_int, ARRAY_SIZE(actual_int), sizeof(int), compare_ints); in ZTEST() 148 qsort_r(actual_int, ARRAY_SIZE(actual_int), sizeof(actual_int[0]), in ZTEST()
|
/Zephyr-Core-3.6.0/tests/drivers/fuel_gauge/max17048/src/ |
D | test_max17048.c | 45 union fuel_gauge_prop_val props[ARRAY_SIZE(prop_types)]; in ZTEST_USER_F() 47 int ret = fuel_gauge_get_props(fixture->dev, prop_types, props, ARRAY_SIZE(props)); in ZTEST_USER_F() 63 union fuel_gauge_prop_val props[ARRAY_SIZE(prop_types)]; in ZTEST_USER_F() 65 zassert_ok(fuel_gauge_get_props(fixture->dev, prop_types, props, ARRAY_SIZE(props))); in ZTEST_USER_F() 76 union fuel_gauge_prop_val props[ARRAY_SIZE(prop_types)]; in ZTEST_USER_F() 82 int ret = fuel_gauge_get_props(fixture->dev, prop_types, props, ARRAY_SIZE(props)); in ZTEST_USER_F()
|
/Zephyr-Core-3.6.0/tests/subsys/mgmt/mcumgr/smp_version/src/ |
D | main.c | 87 ok = zcbor_map_decode_bulk(state, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in mcumgr_ret_decode() 90 zcbor_map_decode_bulk_key_found(output_decode, ARRAY_SIZE(output_decode), "group") && in mcumgr_ret_decode() 91 zcbor_map_decode_bulk_key_found(output_decode, ARRAY_SIZE(output_decode), "rc")) { in mcumgr_ret_decode() 127 zcbor_new_encode_state(zse, 2, buffer, ARRAY_SIZE(buffer), 0); in ZTEST() 159 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 165 zcbor_map_decode_bulk_key_found(output_decode, ARRAY_SIZE(output_decode), in ZTEST() 170 zcbor_map_decode_bulk_key_found(output_decode, ARRAY_SIZE(output_decode), in ZTEST() 175 zcbor_map_decode_bulk_key_found(output_decode, ARRAY_SIZE(output_decode), in ZTEST() 214 zcbor_new_encode_state(zse, 2, buffer, ARRAY_SIZE(buffer), 0); in ZTEST() 246 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() [all …]
|
/Zephyr-Core-3.6.0/tests/drivers/fuel_gauge/sbs_gauge/src/ |
D | test_sbs_gauge.c | 45 union fuel_gauge_prop_val props[ARRAY_SIZE(prop_types)]; in ZTEST_USER_F() 47 int ret = fuel_gauge_get_props(fixture->dev, prop_types, props, ARRAY_SIZE(props)); in ZTEST_USER_F() 58 union fuel_gauge_prop_val props[ARRAY_SIZE(prop_types)]; in ZTEST_USER_F() 60 int ret = fuel_gauge_set_props(fixture->dev, prop_types, props, ARRAY_SIZE(props)); in ZTEST_USER_F() 88 int ret = fuel_gauge_set_props(fixture->dev, prop_types, props, ARRAY_SIZE(props)); in ZTEST_USER_F() 123 union fuel_gauge_prop_val get_props[ARRAY_SIZE(prop_types)]; in ZTEST_USER_F() 126 fuel_gauge_set_props(fixture->dev, prop_types, set_props, ARRAY_SIZE(set_props))); in ZTEST_USER_F() 129 fuel_gauge_get_props(fixture->dev, prop_types, get_props, ARRAY_SIZE(get_props))); in ZTEST_USER_F() 169 union fuel_gauge_prop_val props[ARRAY_SIZE(prop_types)]; in ZTEST_USER_F() 171 zassert_ok(fuel_gauge_get_props(fixture->dev, prop_types, props, ARRAY_SIZE(props))); in ZTEST_USER_F() [all …]
|
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/audio/src/ |
D | bap_broadcast_source_test.c | 37 static K_SEM_DEFINE(sem_started, 0U, ARRAY_SIZE(broadcast_source_streams)); 38 static K_SEM_DEFINE(sem_stopped, 0U, ARRAY_SIZE(broadcast_source_streams)); 104 stream_params[ARRAY_SIZE(broadcast_source_streams)]; in setup_broadcast_source() 113 for (size_t i = 0; i < ARRAY_SIZE(stream_params); i++) { in setup_broadcast_source() 119 stream_params[i].data_len = ARRAY_SIZE(bis_codec_data); in setup_broadcast_source() 124 for (size_t i = 0U; i < ARRAY_SIZE(subgroup_params); i++) { in setup_broadcast_source() 125 subgroup_params[i].params_count = ARRAY_SIZE(stream_params); in setup_broadcast_source() 130 create_param.params_count = ARRAY_SIZE(subgroup_params); in setup_broadcast_source() 137 ARRAY_SIZE(subgroup_params), ARRAY_SIZE(stream_params)); in setup_broadcast_source() 144 for (size_t i = 0U; i < ARRAY_SIZE(broadcast_source_streams); i++) { in setup_broadcast_source() [all …]
|
/Zephyr-Core-3.6.0/drivers/dac/ |
D | dac_ad56xx.c | 49 uint8_t buffer_rx[ARRAY_SIZE(buffer_tx)]; in ad56xx_write_command() 52 .len = ARRAY_SIZE(buffer_tx), in ad56xx_write_command() 56 .len = ARRAY_SIZE(buffer_rx), in ad56xx_write_command() 60 .count = ARRAY_SIZE(tx_buf), in ad56xx_write_command() 64 .count = ARRAY_SIZE(rx_buf), in ad56xx_write_command() 186 #define DAC_AD5628_CHANNEL_COUNT ARRAY_SIZE(ad5628_channels) 199 #define DAC_AD5648_CHANNEL_COUNT ARRAY_SIZE(ad5648_channels) 212 #define DAC_AD5668_CHANNEL_COUNT ARRAY_SIZE(ad5668_channels) 225 #define DAC_AD5672_CHANNEL_COUNT ARRAY_SIZE(ad5672_channels) 238 #define DAC_AD5674_CHANNEL_COUNT ARRAY_SIZE(ad5674_channels) [all …]
|
/Zephyr-Core-3.6.0/tests/subsys/usb/uac2/src/ |
D | uac2_desc.c | 162 ARRAY_SIZE(reference_ac_descriptors)); in ZTEST() 169 ARRAY_SIZE(reference_as_in_descriptors)); in ZTEST() 173 ARRAY_SIZE(reference_as_out_descriptors)); in ZTEST() 210 ARRAY_SIZE(reference_ac_descriptors)); in ZTEST() 211 ptr += ARRAY_SIZE(reference_ac_descriptors); in ZTEST() 241 ARRAY_SIZE(reference_as_out_descriptors)); in ZTEST() 242 ptr += ARRAY_SIZE(reference_as_out_descriptors); in ZTEST() 260 ARRAY_SIZE(reference_as_ep_descriptor)); in ZTEST() 261 ptr += ARRAY_SIZE(reference_as_ep_descriptor); in ZTEST() 291 ARRAY_SIZE(reference_as_in_descriptors)); in ZTEST() [all …]
|
/Zephyr-Core-3.6.0/scripts/coccinelle/ |
D | array_size.cocci | 1 /// Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element 3 //# This makes an effort to find cases where ARRAY_SIZE can be used such as 6 //# division of the two sizeofs by ARRAY_SIZE. 49 + ARRAY_SIZE(E) 52 + ARRAY_SIZE(E) 55 + ARRAY_SIZE(E) 79 coccilib.org.print_todo(p[0], "WARNING should use ARRAY_SIZE") 85 msg="WARNING: Use ARRAY_SIZE"
|
/Zephyr-Core-3.6.0/tests/bluetooth/host/keys/bt_keys_find_addr/src/ |
D | main.c | 37 BUILD_ASSERT(ARRAY_SIZE(testing_id_addr_pair_lut) == CONFIG_BT_MAX_PAIRED); 38 BUILD_ASSERT(ARRAY_SIZE(testing_id_addr_pair_lut) == ARRAY_SIZE(returned_keys_refs)); 60 for (uint32_t i = 0; i < ARRAY_SIZE(testing_id_addr_pair_lut); i++) { in ZTEST() 76 ARRAY_SIZE(testing_id_addr_pair_lut), returned_keys_refs); in filled_list_ts_setup() 96 for (uint32_t i = 0; i < ARRAY_SIZE(testing_id_addr_pair_lut); i++) { in ZTEST()
|
/Zephyr-Core-3.6.0/tests/bluetooth/audio/codec/src/ |
D | main.c | 122 for (size_t i = 0U; i < ARRAY_SIZE(freq_test_inputs); i++) { in ZTEST() 189 for (size_t i = 0U; i < ARRAY_SIZE(frame_dur_test_inputs); i++) { in ZTEST() 489 zassert_equal(ret, ARRAY_SIZE(expected_data), "Unexpected return value %d", ret); in ZTEST() 490 zassert_mem_equal(expected_data, program_data, ARRAY_SIZE(expected_data)); in ZTEST() 506 zassert_equal(ret, ARRAY_SIZE(expected_data), "Unexpected return value %d", ret); in ZTEST() 507 zassert_mem_equal(expected_data, program_data, ARRAY_SIZE(expected_data)); in ZTEST() 510 ARRAY_SIZE(new_expected_data)); in ZTEST() 514 zassert_equal(ret, ARRAY_SIZE(new_expected_data), "Unexpected return value %d", ret); in ZTEST() 515 zassert_mem_equal(new_expected_data, program_data, ARRAY_SIZE(new_expected_data)); in ZTEST() 560 zassert_equal(ret, ARRAY_SIZE(expected_data), "Unexpected return value %d", ret); in ZTEST() [all …]
|
/Zephyr-Core-3.6.0/tests/drivers/gnss/gnss_nmea0183/src/ |
D | main.c | 40 for (size_t i = 0; i < ARRAY_SIZE(ddmm_mmmm_samples); i++) { in ZTEST() 85 for (size_t i = 0; i < ARRAY_SIZE(knots_to_mms_samples); i++) { in ZTEST() 112 for (size_t i = 0; i < ARRAY_SIZE(hhmmss_samples); i++) { in ZTEST() 156 for (size_t i = 0; i < ARRAY_SIZE(ddmmyy_samples); i++) { in ZTEST() 215 ret = gnss_nmea0183_parse_rmc(rmc_argv_no_fix, ARRAY_SIZE(rmc_argv_no_fix), &data); in ZTEST() 245 ret = gnss_nmea0183_parse_gga(gga_argv_no_fix, ARRAY_SIZE(gga_argv_no_fix), &data); in ZTEST() 280 ret = gnss_nmea0183_parse_rmc(rmc_argv_fix, ARRAY_SIZE(rmc_argv_fix), &data); in ZTEST() 321 ret = gnss_nmea0183_parse_gga(gga_argv_fix, ARRAY_SIZE(gga_argv_fix), &data); in ZTEST() 660 {.argv = gpgsv_8_1_25, .argc = ARRAY_SIZE(gpgsv_8_1_25), .header = &gpgsv_8_1_25_header, 661 .satellites = gpgsv_8_1_25_sats, .number_of_svs = ARRAY_SIZE(gpgsv_8_1_25_sats)}, [all …]
|
/Zephyr-Core-3.6.0/tests/bluetooth/adv/src/ |
D | main.c | 42 err = bt_le_adv_start(BT_LE_ADV_NCONN, ad, ARRAY_SIZE(ad), in ZTEST() 43 sd, ARRAY_SIZE(sd)); in ZTEST() 49 err = bt_le_adv_update_data(ad, ARRAY_SIZE(ad), in ZTEST() 50 sd, ARRAY_SIZE(sd)); in ZTEST()
|
/Zephyr-Core-3.6.0/tests/bluetooth/host/keys/bt_keys_find/src/ |
D | main.c | 33 BUILD_ASSERT(ARRAY_SIZE(testing_id_addr_type_lut) == CONFIG_BT_MAX_PAIRED); 34 BUILD_ASSERT(ARRAY_SIZE(testing_id_addr_type_lut) == ARRAY_SIZE(returned_keys_refs)); 56 for (uint32_t i = 0; i < ARRAY_SIZE(testing_id_addr_type_lut); i++) { in ZTEST() 72 testing_id_addr_type_lut, ARRAY_SIZE(testing_id_addr_type_lut), returned_keys_refs); in filled_list_ts_setup() 98 for (size_t it = 0; it < ARRAY_SIZE(testing_id_addr_type_lut); it++) { in ZTEST()
|
/Zephyr-Core-3.6.0/tests/bluetooth/host/keys/bt_keys_find_irk/src/ |
D | main.c | 48 BUILD_ASSERT(ARRAY_SIZE(testing_id_addr_type_lut) == CONFIG_BT_MAX_PAIRED); 49 BUILD_ASSERT(ARRAY_SIZE(testing_id_addr_type_lut) == ARRAY_SIZE(returned_keys_refs)); 103 for (size_t i = 0; i < ARRAY_SIZE(testing_id_addr_type_lut); i++) { in ZTEST() 120 testing_id_addr_type_lut, ARRAY_SIZE(testing_id_addr_type_lut), returned_keys_refs); in rpa_resolving_ts_setup() 127 for (size_t it = 0; it < ARRAY_SIZE(returned_keys_refs); it++) { in rpa_resolving_ts_setup() 156 for (size_t i = 0; i < ARRAY_SIZE(testing_id_addr_type_lut); i++) { in ZTEST() 190 for (size_t it = 0; it < ARRAY_SIZE(testing_id_addr_type_lut); it++) { in ZTEST() 237 testing_id_addr_type_lut, ARRAY_SIZE(testing_id_addr_type_lut), returned_keys_refs); in no_resolving_ts_setup() 244 for (size_t it = 0; it < ARRAY_SIZE(returned_keys_refs); it++) { in no_resolving_ts_setup() 249 for (size_t it = 0; it < ARRAY_SIZE(returned_keys_refs); it++) { in no_resolving_ts_setup() [all …]
|
/Zephyr-Core-3.6.0/tests/bluetooth/host/keys/bt_keys_get_addr/src/ |
D | main.c | 32 BUILD_ASSERT(ARRAY_SIZE(testing_id_addr_pair_lut) == CONFIG_BT_MAX_PAIRED); 33 BUILD_ASSERT(ARRAY_SIZE(testing_id_addr_pair_lut) == ARRAY_SIZE(returned_keys_refs)); 77 for (size_t i = 0; i < ARRAY_SIZE(testing_id_addr_pair_lut); i++) { in ZTEST() 109 for (uint32_t i = 0; i < ARRAY_SIZE(returned_keys_refs); i++) { in ZTEST() 123 ARRAY_SIZE(testing_id_addr_pair_lut), returned_keys_refs); in test_case_setup() 149 for (size_t i = 0; i < ARRAY_SIZE(testing_id_addr_pair_lut); i++) { in ZTEST()
|
/Zephyr-Core-3.6.0/samples/boards/bbc_microbit/display/src/ |
D | main.c | 96 scroll, ARRAY_SIZE(scroll)); in main() 97 k_sleep(K_SECONDS((ARRAY_SIZE(scroll) + 2))); in main() 101 150, animation, ARRAY_SIZE(animation)); in main() 102 k_sleep(K_MSEC(150 * ARRAY_SIZE(animation) * 5)); in main()
|
/Zephyr-Core-3.6.0/modules/fatfs/ |
D | zfs_diskio.c | 22 __ASSERT(pdrv < ARRAY_SIZE(pdrv_str), "pdrv out-of-range\n"); in disk_status() 34 __ASSERT(pdrv < ARRAY_SIZE(pdrv_str), "pdrv out-of-range\n"); in disk_initialize() 46 __ASSERT(pdrv < ARRAY_SIZE(pdrv_str), "pdrv out-of-range\n"); in disk_read() 59 __ASSERT(pdrv < ARRAY_SIZE(pdrv_str), "pdrv out-of-range\n"); in disk_write() 74 __ASSERT(pdrv < ARRAY_SIZE(pdrv_str), "pdrv out-of-range\n"); in disk_ioctl()
|
/Zephyr-Core-3.6.0/drivers/interrupt_controller/ |
D | intc_nxp_pint.c | 67 if (pin > ARRAY_SIZE(pin_pint_id)) { in nxp_pint_pin_enable() 75 for (slot = 0; slot < ARRAY_SIZE(pint_irq_cfg); slot++) { in nxp_pint_pin_enable() 80 if (slot == ARRAY_SIZE(pint_irq_cfg)) { in nxp_pint_pin_enable() 107 if (pin > ARRAY_SIZE(pin_pint_id)) { in nxp_pint_pin_disable() 132 if (pin > ARRAY_SIZE(pin_pint_id)) { in nxp_pint_pin_set_callback() 155 if (pin > ARRAY_SIZE(pin_pint_id)) { in nxp_pint_pin_unset_callback() 197 memset(pin_pint_id, NO_PINT_ID, ARRAY_SIZE(pin_pint_id)); in intc_nxp_pint_init()
|
/Zephyr-Core-3.6.0/tests/bluetooth/host/keys/bt_keys_update_usage/src/ |
D | main.c | 40 BUILD_ASSERT(ARRAY_SIZE(testing_id_addr_pair_lut) == CONFIG_BT_MAX_PAIRED); 41 BUILD_ASSERT(ARRAY_SIZE(testing_id_addr_pair_lut) == ARRAY_SIZE(returned_keys_refs)); 47 ARRAY_SIZE(testing_id_addr_pair_lut), returned_keys_refs); in tc_setup() 121 for (size_t it = 0; it < ARRAY_SIZE(testing_id_addr_pair_lut); it++) { in ZTEST()
|