Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/drivers/timer/
Dstm32_lptim_timer.c160 static void lptim_set_autoreload(uint32_t arr) in lptim_set_autoreload() argument
163 autoreload_next = arr; in lptim_set_autoreload()
169 if ((arr > 0) && (arr != LL_LPTIM_GetAutoReload(LPTIM))) { in lptim_set_autoreload()
173 LL_LPTIM_SetAutoReload(LPTIM, arr); in lptim_set_autoreload()
/Zephyr-Core-3.6.0/tests/unit/util/
Dmain.c376 static const char *const arr[] = { in ZTEST() local
380 zassert_equal(ARRAY_SIZE(arr), 3, "Failed to cleanup list"); in ZTEST()
381 zassert_equal(strcmp(arr[0], "Henry"), 0, "Failed at 0"); in ZTEST()
382 zassert_equal(strcmp(arr[1], "Dorsett"), 0, "Failed at 1"); in ZTEST()
383 zassert_equal(strcmp(arr[2], "Case"), 0, "Failed at 0"); in ZTEST()
/Zephyr-Core-3.6.0/tests/lib/c_lib/common/src/
Dmain.c390 int arr[5] = { 2, 5, 20, 50, 60 }; in ZTEST() local
391 size_t size = ARRAY_SIZE(arr); in ZTEST()
394 result = (int *)bsearch(&key, arr, size, sizeof(int), cmp_func); in ZTEST()
398 result = (int *)bsearch(&key, arr, size, sizeof(int), cmp_func); in ZTEST()
/Zephyr-Core-3.6.0/lib/utils/
Djson.c738 struct json_obj arr; in json_arr_parse() local
741 ret = arr_init(&arr, payload, len); in json_arr_parse()
748 return arr_parse(&arr, descr->array.element_descr, in json_arr_parse()
/Zephyr-Core-3.6.0/subsys/bluetooth/mesh/
Dcfg_srv.c264 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()