Home
last modified time | relevance | path

Searched refs:list (Results 1 – 25 of 850) sorted by relevance

12345678910>>...34

/Zephyr-latest/tests/kernel/obj_tracking/src/
Dmain.c42 void *list; in ZTEST() local
47 list = _track_list_k_timer; in ZTEST()
48 while (list != NULL) { in ZTEST()
49 if (list == &timer || list == &timer_s) { in ZTEST()
52 list = SYS_PORT_TRACK_NEXT((struct k_timer *)list); in ZTEST()
58 list = _track_list_k_mem_slab; in ZTEST()
59 while (list != NULL) { in ZTEST()
60 if (list == &slab || list == &slab_s) { in ZTEST()
63 list = SYS_PORT_TRACK_NEXT((struct k_mem_slab *)list); in ZTEST()
69 list = _track_list_k_sem; in ZTEST()
[all …]
/Zephyr-latest/include/zephyr/sys/
Ddlist.h202 static inline void sys_dlist_init(sys_dlist_t *list) in sys_dlist_init() argument
204 list->head = (sys_dnode_t *)list; in sys_dlist_init()
205 list->tail = (sys_dnode_t *)list; in sys_dlist_init()
247 static inline bool sys_dlist_is_head(sys_dlist_t *list, sys_dnode_t *node) in sys_dlist_is_head() argument
249 return list->head == node; in sys_dlist_is_head()
261 static inline bool sys_dlist_is_tail(sys_dlist_t *list, sys_dnode_t *node) in sys_dlist_is_tail() argument
263 return list->tail == node; in sys_dlist_is_tail()
274 static inline bool sys_dlist_is_empty(sys_dlist_t *list) in sys_dlist_is_empty() argument
276 return list->head == list; in sys_dlist_is_empty()
289 static inline bool sys_dlist_has_multiple_nodes(sys_dlist_t *list) in sys_dlist_has_multiple_nodes() argument
[all …]
Dslist.h199 static inline void sys_slist_init(sys_slist_t *list) in sys_slist_init() argument
201 list->head = NULL; in sys_slist_init()
202 list->tail = NULL; in sys_slist_init()
221 static inline void z_slist_head_set(sys_slist_t *list, sys_snode_t *node) in z_slist_head_set() argument
223 list->head = node; in z_slist_head_set()
226 static inline void z_slist_tail_set(sys_slist_t *list, sys_snode_t *node) in z_slist_tail_set() argument
228 list->tail = node; in z_slist_tail_set()
238 static inline sys_snode_t *sys_slist_peek_head(sys_slist_t *list) in sys_slist_peek_head() argument
240 return list->head; in sys_slist_peek_head()
250 static inline sys_snode_t *sys_slist_peek_tail(sys_slist_t *list) in sys_slist_peek_tail() argument
[all …]
Dlist_gen.h59 sys_ ## __lname ## _is_empty(sys_ ## __lname ## _t *list) \
61 return (sys_ ## __lname ## _peek_head(list) == NULL); \
82 sys_ ## __lname ## _prepend(sys_ ## __lname ## _t *list, \
86 sys_ ## __lname ## _peek_head(list)); \
87 z_ ## __lname ## _head_set(list, node); \
89 if (sys_ ## __lname ## _peek_tail(list) == NULL) { \
90 z_ ## __lname ## _tail_set(list, \
91 sys_ ## __lname ## _peek_head(list)); \
97 sys_ ## __lname ## _append(sys_ ## __lname ## _t *list, \
102 if (sys_ ## __lname ## _peek_tail(list) == NULL) { \
[all …]
Dsflist.h204 static inline void sys_sflist_init(sys_sflist_t *list) in sys_sflist_init() argument
206 list->head = NULL; in sys_sflist_init()
207 list->tail = NULL; in sys_sflist_init()
236 static inline void z_sflist_head_set(sys_sflist_t *list, sys_sfnode_t *node) in z_sflist_head_set() argument
238 list->head = node; in z_sflist_head_set()
241 static inline void z_sflist_tail_set(sys_sflist_t *list, sys_sfnode_t *node) in z_sflist_tail_set() argument
243 list->tail = node; in z_sflist_tail_set()
253 static inline sys_sfnode_t *sys_sflist_peek_head(sys_sflist_t *list) in sys_sflist_peek_head() argument
255 return list->head; in sys_sflist_peek_head()
265 static inline sys_sfnode_t *sys_sflist_peek_tail(sys_sflist_t *list) in sys_sflist_peek_tail() argument
[all …]
/Zephyr-latest/cmake/compiler/gcc/
Dtarget_arm64.cmake3 list(APPEND TOOLCHAIN_C_FLAGS -mcpu=${GCC_M_CPU})
4 list(APPEND TOOLCHAIN_LD_FLAGS -mcpu=${GCC_M_CPU})
8 list(APPEND TOOLCHAIN_C_FLAGS -march=${GCC_M_ARCH})
9 list(APPEND TOOLCHAIN_LD_FLAGS -march=${GCC_M_ARCH})
13 list(APPEND TOOLCHAIN_C_FLAGS -mtune=${GCC_M_TUNE})
14 list(APPEND TOOLCHAIN_LD_FLAGS -mtune=${GCC_M_TUNE})
17 list(APPEND TOOLCHAIN_C_FLAGS -mabi=lp64)
18 list(APPEND TOOLCHAIN_LD_FLAGS -mabi=lp64)
29 list(APPEND LLEXT_EDK_REMOVE_FLAGS
34 list(APPEND LLEXT_EDK_APPEND_FLAGS
Dtarget_arm.cmake5 list(APPEND ARM_C_FLAGS -mcpu=${GCC_M_CPU})
8 list(APPEND ARM_C_FLAGS -mthumb)
11 list(APPEND ARM_C_FLAGS -mabi=aapcs)
14 list(APPEND TOOLCHAIN_C_FLAGS -mbig-endian)
15 list(APPEND TOOLCHAIN_LD_FLAGS -mbig-endian)
19 list(APPEND ARM_C_FLAGS -mfpu=${GCC_M_FPU})
29 list(APPEND ARM_C_FLAGS -mfloat-abi=hard)
31 list(APPEND ARM_C_FLAGS -mfloat-abi=softfp)
37 list(APPEND ARM_C_FLAGS -mfp16-format=ieee)
39 list(APPEND ARM_C_FLAGS -mfp16-format=alternative)
[all …]
Dtarget_mips.cmake7 list(APPEND TOOLCHAIN_C_FLAGS -EB)
8 list(APPEND TOOLCHAIN_LD_FLAGS -EB)
10 list(APPEND TOOLCHAIN_C_FLAGS -EL)
11 list(APPEND TOOLCHAIN_LD_FLAGS -EL)
14 list(APPEND TOOLCHAIN_C_FLAGS -msoft-float)
15 list(APPEND TOOLCHAIN_LD_FLAGS -msoft-float)
17 list(APPEND TOOLCHAIN_C_FLAGS -G0 -mno-gpopt -fno-pic)
19 list(APPEND TOOLCHAIN_C_FLAGS -pipe)
Dtarget_sparc.cmake4 list(APPEND TOOLCHAIN_C_FLAGS -msoft-float)
5 list(APPEND TOOLCHAIN_LD_FLAGS -msoft-float)
10 list(APPEND TOOLCHAIN_C_FLAGS -mcpu=leon3)
11 list(APPEND TOOLCHAIN_LD_FLAGS -mcpu=leon3)
14 list(APPEND TOOLCHAIN_C_FLAGS -mcpu=leon)
15 list(APPEND TOOLCHAIN_LD_FLAGS -mcpu=leon)
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dquarantine.py48 scenarios: list[str] = field(default_factory=list)
49 platforms: list[str] = field(default_factory=list)
50 architectures: list[str] = field(default_factory=list)
51 simulations: list[str] = field(default_factory=list)
53 re_scenarios: list = field(default_factory=list)
54 re_platforms: list = field(default_factory=list)
55 re_architectures: list = field(default_factory=list)
56 re_simulations: list = field(default_factory=list)
85 qlist: list[QuarantineElement] = field(default_factory=list)
100 qlist_raw_data: list[dict] = yaml.load(yaml_fd, Loader=SafeLoader)
[all …]
Dsize_calc.py101 extra_sections: list[str],\
294 def _get_buildlog_file_content(self) -> list[str]:
311 def _find_offset_of_last_pattern_occurrence(self, file_content: list[str]) -> int:
337 def _get_lines_with_footprint(self, start_offset: int, file_content: list[str]) -> list[str]:
359 def _clear_whitespaces_from_lines(self, text_lines: list[str]) -> list[str]:
367 def _divide_text_lines_into_columns(self, text_lines: list[str]) -> list[list[str]]:
383 result.append(list(filter(None, line)))
389 def _unify_prefixes_on_all_values(self, data_lines: list[list[str]]) -> list[list[str]]:
407 line_to_replace = list(map(self._binary_prefix_converter, line))
434 def _create_data_table(self) -> list[list[str]]:
/Zephyr-latest/cmake/compiler/clang/
Dtarget_arm64.cmake3 list(APPEND TOOLCHAIN_C_FLAGS -mcpu=${GCC_M_CPU})
4 list(APPEND TOOLCHAIN_LD_FLAGS -mcpu=${GCC_M_CPU})
8 list(APPEND TOOLCHAIN_C_FLAGS -march=${GCC_M_ARCH})
9 list(APPEND TOOLCHAIN_LD_FLAGS -march=${GCC_M_ARCH})
13 list(APPEND TOOLCHAIN_C_FLAGS -mtune=${GCC_M_TUNE})
14 list(APPEND TOOLCHAIN_LD_FLAGS -mtune=${GCC_M_TUNE})
Dtarget_arm.cmake5 list(APPEND ARM_C_FLAGS -mcpu=${GCC_M_CPU})
8 list(APPEND ARM_C_FLAGS -mthumb)
11 list(APPEND ARM_C_FLAGS -mabi=aapcs)
14 list(APPEND ARM_C_FLAGS -mfpu=${GCC_M_FPU})
24 list(APPEND ARM_C_FLAGS -mfloat-abi=hard)
26 list(APPEND ARM_C_FLAGS -mfloat-abi=softfp)
29 list(APPEND ARM_C_FLAGS -mfpu=none)
31 list(APPEND ARM_C_FLAGS -mfloat-abi=soft)
41 list(APPEND TOOLCHAIN_C_FLAGS ${ARM_C_FLAGS})
42 list(APPEND TOOLCHAIN_LD_FLAGS NO_SPLIT ${ARM_C_FLAGS})
/Zephyr-latest/tests/unit/list/
Ddlist.c22 static inline bool verify_emptyness(sys_dlist_t *list) in verify_emptyness() argument
30 if (!sys_dlist_is_empty(list)) { in verify_emptyness()
34 if (sys_dlist_peek_head(list)) { in verify_emptyness()
38 if (sys_dlist_peek_tail(list)) { in verify_emptyness()
42 if (sys_dlist_len(list) != 0) { in verify_emptyness()
47 SYS_DLIST_FOR_EACH_NODE(list, node) { in verify_emptyness()
55 SYS_DLIST_FOR_EACH_NODE_SAFE(list, node, s_node) { in verify_emptyness()
64 SYS_DLIST_FOR_EACH_CONTAINER(list, cnode, node) { in verify_emptyness()
73 SYS_DLIST_FOR_EACH_CONTAINER_SAFE(list, cnode, s_cnode, node) { in verify_emptyness()
84 static inline bool verify_content_amount(sys_dlist_t *list, int amount) in verify_content_amount() argument
[all …]
Dsflist.c23 static inline bool verify_emptyness(sys_sflist_t *list) in verify_emptyness() argument
31 if (!sys_sflist_is_empty(list)) { in verify_emptyness()
35 if (sys_sflist_peek_head(list)) { in verify_emptyness()
39 if (sys_sflist_peek_tail(list)) { in verify_emptyness()
43 if (sys_sflist_len(list) != 0) { in verify_emptyness()
48 SYS_SFLIST_FOR_EACH_NODE(list, node) { in verify_emptyness()
56 SYS_SFLIST_FOR_EACH_NODE_SAFE(list, node, s_node) { in verify_emptyness()
65 SYS_SFLIST_FOR_EACH_CONTAINER(list, cnode, node) { in verify_emptyness()
74 SYS_SFLIST_FOR_EACH_CONTAINER_SAFE(list, cnode, s_cnode, node) { in verify_emptyness()
85 static inline bool verify_content_amount(sys_sflist_t *list, int amount) in verify_content_amount() argument
[all …]
Dslist.c23 static inline bool verify_emptyness(sys_slist_t *list) in verify_emptyness() argument
31 if (!sys_slist_is_empty(list)) { in verify_emptyness()
35 if (sys_slist_peek_head(list)) { in verify_emptyness()
39 if (sys_slist_peek_tail(list)) { in verify_emptyness()
43 if (sys_slist_len(list) != 0) { in verify_emptyness()
48 SYS_SLIST_FOR_EACH_NODE(list, node) { in verify_emptyness()
56 SYS_SLIST_FOR_EACH_NODE_SAFE(list, node, s_node) { in verify_emptyness()
65 SYS_SLIST_FOR_EACH_CONTAINER(list, cnode, node) { in verify_emptyness()
74 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(list, cnode, s_cnode, node) { in verify_emptyness()
85 static inline bool verify_content_amount(sys_slist_t *list, int amount) in verify_content_amount() argument
[all …]
/Zephyr-latest/cmake/modules/
Dzephyr_default.cmake69 list(APPEND zephyr_cmake_modules python)
70 list(APPEND zephyr_cmake_modules user_cache)
73 list(APPEND zephyr_cmake_modules extensions)
74 list(APPEND zephyr_cmake_modules version)
77 list(APPEND zephyr_cmake_modules basic_settings)
83 list(APPEND zephyr_cmake_modules west)
84 list(APPEND zephyr_cmake_modules ccache)
85 list(APPEND zephyr_cmake_modules yaml)
88 list(APPEND zephyr_cmake_modules root)
95 list(APPEND zephyr_cmake_modules zephyr_module)
[all …]
/Zephyr-latest/cmake/compiler/armclang/
Dtarget.cmake19 list(APPEND TOOLCHAIN_C_FLAGS
24 list(APPEND TOOLCHAIN_C_FLAGS -mcpu=${GCC_M_CPU})
26 list(APPEND TOOLCHAIN_C_FLAGS -mabi=lp64)
27 list(APPEND TOOLCHAIN_LD_FLAGS -mabi=lp64)
29 list(APPEND TOOLCHAIN_C_FLAGS -mcpu=${GCC_M_CPU})
32 list(APPEND TOOLCHAIN_C_FLAGS -mthumb)
35 list(APPEND TOOLCHAIN_C_FLAGS -mabi=aapcs)
39 list(APPEND TOOLCHAIN_C_FLAGS -mfpu=${GCC_M_FPU})
42 list(APPEND TOOLCHAIN_C_FLAGS -mfloat-abi=softfp)
44 list(APPEND TOOLCHAIN_C_FLAGS -mfloat-abi=hard)
[all …]
/Zephyr-latest/tests/ztest/fail/core/
DCMakeLists.txt9 list(APPEND test_sources src/main.cpp)
11 list(APPEND test_sources src/assert_after.cpp)
13 list(APPEND test_sources src/assert_teardown.cpp)
15 list(APPEND test_sources src/assume_after.cpp)
17 list(APPEND test_sources src/assume_teardown.cpp)
19 list(APPEND test_sources src/pass_after.cpp)
21 list(APPEND test_sources src/pass_teardown.cpp)
23 list(APPEND test_sources src/unexpected_assume.cpp)
/Zephyr-latest/tests/modules/thrift/ThriftTest/
DCMakeLists.txt18 list(APPEND generated_sources ${gen_dir}/gen-cpp/SecondService.cpp)
19 list(APPEND generated_sources ${gen_dir}/gen-cpp/SecondService.h)
20 list(APPEND generated_sources ${gen_dir}/gen-cpp/ThriftTest_constants.cpp)
21 list(APPEND generated_sources ${gen_dir}/gen-cpp/ThriftTest_constants.h)
22 list(APPEND generated_sources ${gen_dir}/gen-cpp/ThriftTest.cpp)
23 list(APPEND generated_sources ${gen_dir}/gen-cpp/ThriftTest.h)
24 list(APPEND generated_sources ${gen_dir}/gen-cpp/ThriftTest_types.cpp)
25 list(APPEND generated_sources ${gen_dir}/gen-cpp/ThriftTest_types.h)
26 list(APPEND app_sources ${generated_sources})
/Zephyr-latest/subsys/bluetooth/services/ots/
Dots_obj_manager.c29 sys_dlist_t list; member
67 if (sys_dlist_is_empty(&obj_manager->list)) { in bt_gatt_ots_obj_manager_first_obj_get()
71 obj_dnode = sys_dlist_peek_head_not_empty(&obj_manager->list); in bt_gatt_ots_obj_manager_first_obj_get()
86 if (sys_dlist_is_empty(&obj_manager->list)) { in bt_gatt_ots_obj_manager_last_obj_get()
90 obj_dnode = sys_dlist_peek_tail(&obj_manager->list); in bt_gatt_ots_obj_manager_last_obj_get()
106 if (sys_dlist_is_empty(&obj_manager->list)) { in bt_gatt_ots_obj_manager_prev_obj_get()
111 prev_obj_dnode = sys_dlist_peek_prev_no_check(&obj_manager->list, in bt_gatt_ots_obj_manager_prev_obj_get()
133 if (sys_dlist_is_empty(&obj_manager->list)) { in bt_gatt_ots_obj_manager_next_obj_get()
138 next_obj_dnode = sys_dlist_peek_next_no_check(&obj_manager->list, in bt_gatt_ots_obj_manager_next_obj_get()
158 if (sys_dlist_is_empty(&obj_manager->list)) { in bt_gatt_ots_obj_manager_obj_get()
[all …]
/Zephyr-latest/tests/benchmarks/data_structure_perf/dlist_perf/src/
Ddlist_perf.c188 sys_dlist_t list; in ZTEST() local
192 sys_dlist_init(&list); in ZTEST()
195 sys_dlist_append(&list, &node[i]); in ZTEST()
199 head = list.head; in ZTEST()
204 tail = list.tail; in ZTEST()
224 sys_dlist_t list; in ZTEST() local
227 sys_dlist_init(&list); in ZTEST()
230 sys_dlist_append(&list, &node[i]); in ZTEST()
242 zassert_true(insert_node == sys_dlist_peek_prev(&list, in ZTEST()
244 zassert_true(insert_node == sys_dlist_peek_next(&list, in ZTEST()
[all …]
/Zephyr-latest/tests/boot/mcuboot_recovery_retention/
Dsysbuild.cmake4list(APPEND mcuboot_OVERLAY_CONFIG "${CMAKE_CURRENT_LIST_DIR}/sysbuild/mcuboot/${mcuboot_TARGET_OV…
5 list(REMOVE_DUPLICATES mcuboot_OVERLAY_CONFIG)
10list(APPEND mcuboot_DTC_OVERLAY_FILE "${CMAKE_CURRENT_LIST_DIR}/sysbuild/mcuboot/${mcuboot_TARGET_…
11 list(REMOVE_DUPLICATES mcuboot_DTC_OVERLAY_FILE)
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/helpers/
Dshell.py55 ) -> list[str]:
68 lines: list[str] = []
83 def get_filtered_output(self, command_lines: list[str]) -> list[str]:
107 return list(filter(lambda l: not regex_filter.search(l), command_lines))
136 areas: list[ShellMCUbootArea] = field(default_factory=list)
139 def create_from_cmd_output(cls, cmd_output: list[str]) -> ShellMCUbootCommandParsed:
143 areas: list[dict] = []
152 data_areas: list[ShellMCUbootArea] = []
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/
Dtwister_harness_config.py27 runner_params: list[str] = field(default_factory=list, repr=False)
32 west_flash_extra_args: list[str] = field(default_factory=list, repr=False)
37 fixtures: list[str] = None
52 devices: list[DeviceConfig] = field(default_factory=list, repr=False)
60 west_flash_extra_args: list[str] = []
63 runner_params: list[str] = []

12345678910>>...34