/Zephyr-Core-3.6.0/tests/kernel/obj_tracking/src/ |
D | main.c | 42 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-Core-3.6.0/include/zephyr/sys/ |
D | dlist.h | 203 static inline void sys_dlist_init(sys_dlist_t *list) in sys_dlist_init() argument 205 list->head = (sys_dnode_t *)list; in sys_dlist_init() 206 list->tail = (sys_dnode_t *)list; in sys_dlist_init() 248 static inline bool sys_dlist_is_head(sys_dlist_t *list, sys_dnode_t *node) in sys_dlist_is_head() argument 250 return list->head == node; in sys_dlist_is_head() 262 static inline bool sys_dlist_is_tail(sys_dlist_t *list, sys_dnode_t *node) in sys_dlist_is_tail() argument 264 return list->tail == node; in sys_dlist_is_tail() 275 static inline bool sys_dlist_is_empty(sys_dlist_t *list) in sys_dlist_is_empty() argument 277 return list->head == list; in sys_dlist_is_empty() 290 static inline bool sys_dlist_has_multiple_nodes(sys_dlist_t *list) in sys_dlist_has_multiple_nodes() argument [all …]
|
D | slist.h | 199 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 …]
|
D | list_gen.h | 59 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 …]
|
D | sflist.h | 210 static inline void sys_sflist_init(sys_sflist_t *list) in sys_sflist_init() argument 212 list->head = NULL; in sys_sflist_init() 213 list->tail = NULL; in sys_sflist_init() 238 static inline void z_sflist_head_set(sys_sflist_t *list, sys_sfnode_t *node) in z_sflist_head_set() argument 240 list->head = node; in z_sflist_head_set() 243 static inline void z_sflist_tail_set(sys_sflist_t *list, sys_sfnode_t *node) in z_sflist_tail_set() argument 245 list->tail = node; in z_sflist_tail_set() 255 static inline sys_sfnode_t *sys_sflist_peek_head(sys_sflist_t *list) in sys_sflist_peek_head() argument 257 return list->head; in sys_sflist_peek_head() 267 static inline sys_sfnode_t *sys_sflist_peek_tail(sys_sflist_t *list) in sys_sflist_peek_tail() argument [all …]
|
/Zephyr-Core-3.6.0/cmake/compiler/gcc/ |
D | target_arm64.cmake | 3 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)
|
D | target_mips.cmake | 7 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)
|
D | target_arm.cmake | 5 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) 32 list(APPEND ARM_C_FLAGS -mfp16-format=ieee) 34 list(APPEND ARM_C_FLAGS -mfp16-format=alternative) 39 list(APPEND ARM_C_FLAGS -mtp=soft) 42 list(APPEND TOOLCHAIN_C_FLAGS ${ARM_C_FLAGS}) [all …]
|
D | target_sparc.cmake | 4 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-Core-3.6.0/scripts/pylib/twister/twisterlib/ |
D | quarantine.py | 39 scenarios: list[str] = field(default_factory=list) 40 platforms: list[str] = field(default_factory=list) 41 architectures: list[str] = field(default_factory=list) 42 simulations: list[str] = field(default_factory=list) 44 re_scenarios: list = field(default_factory=list) 45 re_platforms: list = field(default_factory=list) 46 re_architectures: list = field(default_factory=list) 47 re_simulations: list = field(default_factory=list) 76 qlist: list[QuarantineElement] = field(default_factory=list) 91 qlist_raw_data: list[dict] = safe_load(yaml_fd) [all …]
|
/Zephyr-Core-3.6.0/tests/unit/list/ |
D | dlist.c | 22 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 …]
|
D | sflist.c | 23 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 …]
|
D | slist.c | 23 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-Core-3.6.0/cmake/compiler/armclang/ |
D | target.cmake | 19 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-Core-3.6.0/tests/ztest/fail/core/ |
D | CMakeLists.txt | 9 list(APPEND SOURCES src/main.cpp) 11 list(APPEND SOURCES src/assert_after.cpp) 13 list(APPEND SOURCES src/assert_teardown.cpp) 15 list(APPEND SOURCES src/assume_after.cpp) 17 list(APPEND SOURCES src/assume_teardown.cpp) 19 list(APPEND SOURCES src/pass_after.cpp) 21 list(APPEND SOURCES src/pass_teardown.cpp) 23 list(APPEND SOURCES src/unexpected_assume.cpp)
|
/Zephyr-Core-3.6.0/cmake/compiler/clang/ |
D | target_arm.cmake | 5 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) 37 list(APPEND TOOLCHAIN_C_FLAGS ${ARM_C_FLAGS}) 38 list(APPEND TOOLCHAIN_LD_FLAGS NO_SPLIT ${ARM_C_FLAGS})
|
D | target.cmake | 26 list(APPEND TOOLCHAIN_C_FLAGS 29 list(APPEND TOOLCHAIN_LD_FLAGS 48 list(APPEND NOSTDINC ${_OUTPUT}) 52 list(APPEND isystem_include_flags -isystem "\"${isystem_include_dir}\"") 57 list(APPEND TOOLCHAIN_C_FLAGS "-m64") 59 list(APPEND TOOLCHAIN_C_FLAGS "-m32") 75 list(APPEND LIB_INCLUDE_DIR -L${RTLIB_DIR}) 76 list(APPEND TOOLCHAIN_LIBS ${RTLIB_NAME}) 78 list(APPEND CMAKE_REQUIRED_FLAGS -nostartfiles -nostdlib ${isystem_include_flags})
|
/Zephyr-Core-3.6.0/cmake/modules/ |
D | zephyr_default.cmake | 69 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) 87 list(APPEND zephyr_cmake_modules root) 94 list(APPEND zephyr_cmake_modules zephyr_module) 96 list(APPEND zephyr_cmake_modules boards) [all …]
|
/Zephyr-Core-3.6.0/tests/modules/thrift/ThriftTest/ |
D | CMakeLists.txt | 18 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-Core-3.6.0/tests/benchmarks/data_structure_perf/dlist_perf/src/ |
D | dlist_perf.c | 188 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-Core-3.6.0/subsys/bluetooth/services/ots/ |
D | ots_obj_manager.c | 29 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-Core-3.6.0/scripts/pylib/pytest-twister-harness/src/twister_harness/helpers/ |
D | shell.py | 51 …_command(self, command: str, timeout: float | None = None, print_output: bool = True) -> list[str]: 64 lines: list[str] = [] 71 def get_filtered_output(self, command_lines: list[str]) -> list[str]: 81 return list(filter(lambda l: not regex_filter.search(l), command_lines)) 109 areas: list[ShellMCUbootArea] = field(default_factory=list) 112 def create_from_cmd_output(cls, cmd_output: list[str]) -> ShellMCUbootCommandParsed: 116 areas: list[dict] = [] 125 data_areas: list[ShellMCUbootArea] = []
|
/Zephyr-Core-3.6.0/tests/boot/mcuboot_recovery_retention/ |
D | sysbuild.cmake | 4 …list(APPEND mcuboot_OVERLAY_CONFIG "${CMAKE_CURRENT_LIST_DIR}/sysbuild/mcuboot/${mcuboot_TARGET_OV… 5 list(REMOVE_DUPLICATES mcuboot_OVERLAY_CONFIG) 10 …list(APPEND mcuboot_DTC_OVERLAY_FILE "${CMAKE_CURRENT_LIST_DIR}/sysbuild/mcuboot/${mcuboot_TARGET_… 11 list(REMOVE_DUPLICATES mcuboot_DTC_OVERLAY_FILE)
|
/Zephyr-Core-3.6.0/doc/kernel/data_structures/ |
D | dlist.rst | 6 Similar to the single-linked list in many respects, Zephyr includes a 10 the head, tail or any internal node). To do this, the list stores two 18 list (typically embedded within the struct to be tracked, as described 22 Primitive operations may retrieve the head/tail of a list and the 27 list). 30 :c:func:`sys_dlist_remove`, by adding a node to the head or tail of a list 44 through a list to find the right insertion point, which is provided by 48 implementation that has zero overhead vs. the normal list processing). 56 in practice the two structs are internally identical, and the list 57 struct is inserted as a node into the list itself. This allows for a [all …]
|
/Zephyr-Core-3.6.0/subsys/bluetooth/mesh/ |
D | dfu_slot.c | 29 static sys_slist_t list; variable 59 SYS_SLIST_FOR_EACH_CONTAINER(&list, s, n) { in is_slot_committed() 108 SYS_SLIST_FOR_EACH_CONTAINER(&list, s, n) { in slot_index_defrag() 119 SYS_SLIST_FOR_EACH_NODE(&list, n) { in bt_mesh_dfu_slot_count() 219 sys_slist_append(&list, &slot->n); in bt_mesh_dfu_slot_commit() 241 if (!sys_slist_find_and_remove(&list, &slot->n)) { in bt_mesh_dfu_slot_del() 258 SYS_SLIST_FOR_EACH_CONTAINER(&list, s, n) { in bt_mesh_dfu_slot_del_all() 263 sys_slist_init(&list); in bt_mesh_dfu_slot_del_all() 270 SYS_SLIST_FOR_EACH_CONTAINER(&list, s, n) { in bt_mesh_dfu_slot_at() 284 SYS_SLIST_FOR_EACH_CONTAINER(&list, s, n) { in bt_mesh_dfu_slot_get() [all …]
|