Searched refs:arr (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/drivers/timer/ |
D | stm32_lptim_timer.c | 160 static void lptim_set_autoreload(uint32_t arr) in lptim_set_autoreload() argument 163 autoreload_next = arr; in lptim_set_autoreload() 170 if ((arr > 0) && (arr != LL_LPTIM_GetAutoReload(LPTIM))) { in lptim_set_autoreload() 174 LL_LPTIM_SetAutoReload(LPTIM, arr); in lptim_set_autoreload()
|
/Zephyr-latest/tests/unit/util/ |
D | main.c | 418 static const char *const arr[] = { in ZTEST() local 422 zassert_equal(ARRAY_SIZE(arr), 3, "Failed to cleanup list"); in ZTEST() 423 zassert_str_equal(arr[0], "Henry", "Failed at 0"); in ZTEST() 424 zassert_str_equal(arr[1], "Dorsett", "Failed at 1"); in ZTEST() 425 zassert_str_equal(arr[2], "Case", "Failed at 0"); in ZTEST()
|
/Zephyr-latest/tests/lib/c_lib/common/src/ |
D | main.c | 389 int arr[5] = { 2, 5, 20, 50, 60 }; in ZTEST() local 390 size_t size = ARRAY_SIZE(arr); in ZTEST() 393 result = (int *)bsearch(&key, arr, size, sizeof(int), cmp_func); in ZTEST() 397 result = (int *)bsearch(&key, arr, size, sizeof(int), cmp_func); in ZTEST()
|
/Zephyr-latest/lib/utils/ |
D | json.c | 815 struct json_obj arr; in json_arr_parse() local 818 ret = arr_init(&arr, payload, len); in json_arr_parse() 825 return arr_parse(&arr, descr->array.element_descr, in json_arr_parse()
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | cfg_srv.c | 264 static void key_idx_pack_list(struct net_buf_simple *buf, uint16_t *arr, size_t cnt) in key_idx_pack_list() argument 269 if (arr[i] != BT_MESH_KEY_UNUSED) { in key_idx_pack_list() 271 idx = &arr[i]; in key_idx_pack_list() 275 key_idx_pack_pair(buf, *idx, arr[i]); in key_idx_pack_list()
|