Home
last modified time | relevance | path

Searched refs:ni (Results 1 – 25 of 38) sorted by relevance

12

/Zephyr-latest/tests/posix/net/src/
Dif.c45 struct if_nameindex *ni; in ZTEST() local
50 ni = if_nameindex(); in ZTEST()
51 if (ni == NULL) { in ZTEST()
57 zassert_equal(i + 1, ni[i].if_index); in ZTEST()
58 zassert_not_null(ni[i].if_name); in ZTEST()
59 TC_PRINT("interface %zu: %s\n", i + 1, ni[i].if_name); in ZTEST()
60 zassert_equal(0, ni[n].if_index); in ZTEST()
61 zassert_is_null(ni[n].if_name); in ZTEST()
64 if_freenameindex(ni); in ZTEST()
/Zephyr-latest/lib/posix/options/
Dnet.c135 struct if_nameindex *ni; in if_nameindex() local
139 ni = malloc((n + 1) * sizeof(*ni)); in if_nameindex()
140 if (ni == NULL) { in if_nameindex()
145 ni[i].if_index = i + 1; in if_nameindex()
147 ni[i].if_name = malloc(IF_NAMESIZE); in if_nameindex()
148 if (ni[i].if_name == NULL) { in if_nameindex()
152 name = if_indextoname(i + 1, ni[i].if_name); in if_nameindex()
156 ni[n].if_index = 0; in if_nameindex()
157 ni[n].if_name = NULL; in if_nameindex()
159 return ni; in if_nameindex()
[all …]
/Zephyr-latest/tests/unit/rbtree/
Dmain.c137 int nwalked = 0, i, ni; in _check_tree() local
153 ni = node_index(n); in _check_tree()
159 _CHECK(get_node_mask(ni)); in _check_tree()
165 ni = 0; in _check_tree()
170 _CHECK(node_index(walked_nodes[ni]) == i); in _check_tree()
171 ni++; in _check_tree()
175 _CHECK(ni == nwalked); in _check_tree()
/Zephyr-latest/boards/st/nucleo_l412rb_p/
DKconfig.nucleo_l412rb_p1 # Copyright (c) 2021 Guðni Már Gilbert
DKconfig.defconfig3 # Copyright (c) 2021 Guðni Már Gilbert
/Zephyr-latest/soc/st/stm32/stm32g4x/
DKconfig.defconfig.stm32g473xx3 # Copyright (c) 2021 Guðni Már Gilbert
DKconfig.defconfig.stm32g441xx3 # Copyright (c) 2021 Guðni Már Gilbert
DKconfig.defconfig.stm32g483xx3 # Copyright (c) 2021 Guðni Már Gilbert
DKconfig.defconfig.stm32g484xx3 # Copyright (c) 2021 Guðni Már Gilbert
DKconfig.defconfig.stm32g491xx3 # Copyright (c) 2021 Guðni Már Gilbert
DKconfig.defconfig.stm32g4a1xx3 # Copyright (c) 2021 Guðni Már Gilbert
/Zephyr-latest/soc/st/stm32/stm32l4x/
DKconfig.defconfig.stm32l412xx3 # Copyright (c) 2021 Guðni Már Gilbert
/Zephyr-latest/dts/arm/st/g4/
Dstm32g441.dtsi2 * Copyright (c) 2021 Guðni Már Gilbert
Dstm32g483.dtsi2 * Copyright (c) 2021 Guðni Már Gilbert
Dstm32g484.dtsi2 * Copyright (c) 2021 Guðni Már Gilbert
Dstm32g4a1.dtsi2 * Copyright (c) 2021 Guðni Már Gilbert
Dstm32g431X6.dtsi2 * Copyright (c) 2021 Guðni Már Gilbert
Dstm32g431X8.dtsi2 * Copyright (c) 2021 Guðni Már Gilbert
Dstm32g441Xb.dtsi2 * Copyright (c) 2021 Guðni Már Gilbert
Dstm32g473Xb.dtsi2 * Copyright (c) 2021 Guðni Már Gilbert
Dstm32g473Xc.dtsi2 * Copyright (c) 2021 Guðni Már Gilbert
Dstm32g473Xe.dtsi2 * Copyright (c) 2021 Guðni Már Gilbert
Dstm32g483Xe.dtsi2 * Copyright (c) 2021 Guðni Már Gilbert
Dstm32g484Xe.dtsi2 * Copyright (c) 2021 Guðni Már Gilbert
Dstm32g491Xc.dtsi2 * Copyright (c) 2021 Guðni Már Gilbert

12