Home
last modified time | relevance | path

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

1234567

/hal_espressif-latest/components/bt/common/osi/
Dlist.c25 list_t *list = (list_t *) osi_calloc(sizeof(list_t)); in list_new_internal() local
26 if (!list) { in list_new_internal()
30 list->head = list->tail = NULL; in list_new_internal()
31 list->length = 0; in list_new_internal()
32 list->free_cb = callback; in list_new_internal()
33 return list; in list_new_internal()
41 void list_free(list_t *list) in list_free() argument
43 if (!list) { in list_free()
47 list_clear(list); in list_free()
48 osi_free(list); in list_free()
[all …]
Dfixed_queue.c28 list_t *list; member
48 ret->list = list_new(NULL); in fixed_queue_new()
49 if (!ret->list) { in fixed_queue_new()
82 … for (node = list_begin(queue->list); node != list_end(queue->list); node = list_next(node)) { in fixed_queue_free()
87 list_free(queue->list); in fixed_queue_free()
103 is_empty = list_is_empty(queue->list); in fixed_queue_is_empty()
118 length = list_length(queue->list); in fixed_queue_length()
142 status = list_append(queue->list, data); //Check whether enqueued success in fixed_queue_enqueue()
162 ret = list_front(queue->list); in fixed_queue_dequeue()
163 list_remove(queue->list, ret); in fixed_queue_dequeue()
[all …]
Dhash_map.c27 list_t *list; member
120 list_t *hash_bucket_list = hash_map->bucket[hash_key].list; in hash_map_has_key()
133 if (hash_map->bucket[hash_key].list == NULL) { in hash_map_set()
134 hash_map->bucket[hash_key].list = list_new_internal(bucket_free_); in hash_map_set()
135 if (hash_map->bucket[hash_key].list == NULL) { in hash_map_set()
139 list_t *hash_bucket_list = hash_map->bucket[hash_key].list; in hash_map_set()
168 list_t *hash_bucket_list = hash_map->bucket[hash_key].list; in hash_map_erase()
177 if(list_is_empty(hash_map->bucket[hash_key].list)) { in hash_map_erase()
178 list_free(hash_map->bucket[hash_key].list); in hash_map_erase()
179 hash_map->bucket[hash_key].list = NULL; in hash_map_erase()
[all …]
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/include/
Dmesh_slist.h192 static inline void sys_slist_init(sys_slist_t *list) in sys_slist_init() argument
194 list->head = NULL; in sys_slist_init()
195 list->tail = NULL; in sys_slist_init()
207 static inline bool sys_slist_is_empty(sys_slist_t *list) in sys_slist_is_empty() argument
209 return (!list->head); in sys_slist_is_empty()
219 static inline sys_snode_t *sys_slist_peek_head(sys_slist_t *list) in sys_slist_peek_head() argument
221 return list->head; in sys_slist_peek_head()
231 static inline sys_snode_t *sys_slist_peek_tail(sys_slist_t *list) in sys_slist_peek_tail() argument
233 return list->tail; in sys_slist_peek_tail()
270 static inline void sys_slist_prepend(sys_slist_t *list, in sys_slist_prepend() argument
[all …]
Dmesh_dlist.h190 static inline void sys_dlist_init(sys_dlist_t *list) in sys_dlist_init() argument
192 list->head = (sys_dnode_t *)list; in sys_dlist_init()
193 list->tail = (sys_dnode_t *)list; in sys_dlist_init()
207 static inline int sys_dlist_is_head(sys_dlist_t *list, sys_dnode_t *node) in sys_dlist_is_head() argument
209 return list->head == node; in sys_dlist_is_head()
221 static inline int sys_dlist_is_tail(sys_dlist_t *list, sys_dnode_t *node) in sys_dlist_is_tail() argument
223 return list->tail == node; in sys_dlist_is_tail()
234 static inline int sys_dlist_is_empty(sys_dlist_t *list) in sys_dlist_is_empty() argument
236 return list->head == list; in sys_dlist_is_empty()
249 static inline int sys_dlist_has_multiple_nodes(sys_dlist_t *list) in sys_dlist_has_multiple_nodes() argument
[all …]
/hal_espressif-latest/components/wpa_supplicant/src/utils/
Dlist.h28 static inline void dl_list_init(struct dl_list *list) in dl_list_init() argument
30 list->next = list; in dl_list_init()
31 list->prev = list; in dl_list_init()
34 static inline void dl_list_add(struct dl_list *list, struct dl_list *item) in dl_list_add() argument
36 item->next = list->next; in dl_list_add()
37 item->prev = list; in dl_list_add()
38 list->next->prev = item; in dl_list_add()
39 list->next = item; in dl_list_add()
42 static inline void dl_list_add_tail(struct dl_list *list, struct dl_list *item) in dl_list_add_tail() argument
44 dl_list_add(list->prev, item); in dl_list_add_tail()
[all …]
/hal_espressif-latest/components/bt/common/osi/include/osi/
Dlist.h24 list_node_t *list_free_node(list_t *list, list_node_t *node);
27 list_node_t *list_delete_node(list_t *list, list_node_t *node);
31 void list_free(list_t *list);
35 bool list_is_empty(const list_t *list);
39 bool list_contains(const list_t *list, const void *data);
43 list_node_t *list_get_node(const list_t *list, const void *data);
46 size_t list_length(const list_t *list);
50 void *list_front(const list_t *list);
54 void *list_back(const list_t *list);
55 list_node_t *list_back_node(const list_t *list);
[all …]
/hal_espressif-latest/components/hal/
DCMakeLists.txt17 list(APPEND srcs "wdt_hal_iram.c")
21 list(APPEND srcs "mmu_hal.c")
26 list(APPEND srcs "esp32/cache_hal_esp32.c")
28 list(APPEND srcs "cache_hal.c")
33 list(APPEND srcs "lp_timer_hal.c")
37 list(APPEND srcs
47 list(APPEND srcs
52 list(APPEND srcs "spi_flash_encrypt_hal_iram.c")
57 list(APPEND srcs "systimer_hal.c")
61 list(APPEND srcs "timer_hal.c")
[all …]
/hal_espressif-latest/components/soc/
DCMakeLists.txt15 list(APPEND includes "${target}/include")
19 list(APPEND srcs "${target}/dport_access.c")
23 list(APPEND srcs "${target}/adc_periph.c")
27 list(APPEND srcs "${target}/ana_cmpr_periph.c")
31 list(APPEND srcs "${target}/dedic_gpio_periph.c")
35 list(APPEND srcs "${target}/gdma_periph.c")
39 list(APPEND srcs "${target}/spi_periph.c")
43 list(APPEND srcs "${target}/ledc_periph.c")
47 list(APPEND srcs "${target}/pcnt_periph.c")
51 list(APPEND srcs "${target}/rmt_periph.c")
[all …]
/hal_espressif-latest/components/esp_hw_support/
DCMakeLists.txt16 list(APPEND priv_requires hal)
21 list(APPEND srcs "esp_clk.c"
42 list(APPEND srcs "adc_share_hw_ctrl.c")
46 list(APPEND srcs "sleep_cpu.c")
50 list(APPEND srcs "sleep_retention.c" "sleep_system_peripheral.c" "sleep_clock.c")
54 list(APPEND priv_requires driver esp_timer)
57 list(APPEND srcs "rtc_wdt.c")
61 list(APPEND srcs "dma/gdma.c" "dma/async_memcpy_impl_gdma.c")
63 list(APPEND srcs "dma/gdma_sleep_retention.c")
68 list(APPEND srcs "dma/async_memcpy_impl_cp_dma.c")
[all …]
/hal_espressif-latest/components/bootloader_support/
DCMakeLists.txt14 list(APPEND srcs
22 list(APPEND srcs
33 list(APPEND srcs
42 list(APPEND priv_requires hal)
44 list(APPEND srcs
48 list(APPEND srcs
57 list(APPEND srcs "src/bootloader_panic.c")
59 list(APPEND srcs "src/flash_encryption/flash_encrypt.c"
65 list(APPEND srcs "src/secure_boot_v1/secure_boot_signatures_bootloader.c")
68 list(APPEND srcs "src/secure_boot_v1/secure_boot.c"
[all …]
/hal_espressif-latest/components/esp_netif/
DCMakeLists.txt22 list(APPEND include_dirs
27 list(APPEND srcs_lwip lwip/esp_netif_lwip_ppp.c)
32 list(APPEND srcs vfs_l2tap/esp_vfs_l2tap.c)
36 list(APPEND srcs_lwip lwip/esp_netif_br_glue.c)
40 list(APPEND srcs loopback/esp_netif_loopback.c)
42 list(APPEND srcs ${srcs_lwip})
43 list(APPEND priv_include_dirs lwip)
/hal_espressif-latest/components/bootloader_support/src/
Dbootloader_common.c55 bool bootloader_common_label_search(const char *list, char *label) in bootloader_common_label_search() argument
57 if (list == NULL || label == NULL) { in bootloader_common_label_search()
60 const char *sub_list_start_like_label = strstr(list, label); in bootloader_common_label_search()
65 int idx_first = sub_list_start_like_label - list; in bootloader_common_label_search()
66 …if (idx_first == 0 || (idx_first != 0 && (list[idx_first - 1] == ',' || list[idx_first - 1] == ' '… in bootloader_common_label_search()
/hal_espressif-latest/components/esp_adc/
DCMakeLists.txt12 list(APPEND srcs "adc_continuous.c")
16 list(APPEND srcs "adc_filter.c")
21 list(APPEND srcs "${target}/adc_cali_line_fitting.c")
26 list(APPEND srcs "${target}/curve_fitting_coefficients.c")
31 list(APPEND srcs "deprecated/${target}/esp_adc_cal_legacy.c")
/hal_espressif-latest/components/heap/
DCMakeLists.txt19 list(APPEND srcs "tlsf/tlsf.c")
23 list(APPEND srcs "multi_heap_poisoning.c")
27 list(APPEND srcs "heap_task_info.c")
31 list(APPEND srcs "heap_trace_standalone.c")
40 list(APPEND srcs "port/memory_layout_utils.c")
41 list(APPEND srcs "port/${target}/memory_layout.c")
/hal_espressif-latest/components/wpa_supplicant/port/
Deloop.c22 struct dl_list list; member
127 dl_list_for_each(tmp, &eloop.timeout, struct eloop_timeout, list) { in eloop_register_timeout_debug()
130 dl_list_add(tmp->list.prev, &timeout->list); in eloop_register_timeout_debug()
139 dl_list_add_tail(&eloop.timeout, &timeout->list); in eloop_register_timeout_debug()
170 struct eloop_timeout, list) { in timeout_exists()
186 dl_list_del(&timeout->list); in eloop_remove_timeout()
206 struct eloop_timeout, list) { in eloop_cancel_timeout_debug()
236 struct eloop_timeout, list) { in eloop_cancel_timeout_one()
256 dl_list_for_each(tmp, &eloop.timeout, struct eloop_timeout, list) { in eloop_is_timeout_registered()
274 dl_list_for_each(tmp, &eloop.timeout, struct eloop_timeout, list) { in eloop_deplete_timeout()
[all …]
/hal_espressif-latest/components/newlib/
DCMakeLists.txt29 list(APPEND ldfragments "newlib.lf" "system_libs.lf")
45 list(APPEND EXTRA_LINK_FLAGS "-u newlib_include_heap_impl")
46 list(APPEND EXTRA_LINK_FLAGS "-u newlib_include_syscalls_impl")
47 list(APPEND EXTRA_LINK_FLAGS "-u newlib_include_pthread_impl")
48 list(APPEND EXTRA_LINK_FLAGS "-u newlib_include_assert_impl")
55 list(APPEND libc_dir_cmd ${cflags_list} "-print-file-name=libc.a")
/hal_espressif-latest/components/esp_psram/
DCMakeLists.txt7 list(APPEND priv_requires bootloader_support)
9 list(APPEND priv_requires driver)
15 list(APPEND srcs "esp_psram.c"
19 list(APPEND srcs "esp32/esp_psram_extram_cache.c"
24 list(APPEND srcs "${target}/esp_psram_impl_quad.c")
26 list(APPEND srcs "${target}/esp_psram_impl_octal.c")
/hal_espressif-latest/components/esp_hw_support/port/esp32c3/
DCMakeLists.txt10 list(APPEND srcs "esp_crypto_lock.c"
14 list(APPEND srcs "adc2_init_cal.c")
17 list(APPEND srcs "esp_memprot.c" "../esp_memprot_conv.c")
/hal_espressif-latest/components/esp_timer/
DCMakeLists.txt9 list(APPEND srcs "src/esp_timer_impl_lac.c")
11 list(APPEND srcs "src/esp_timer_impl_systimer.c")
15 list(APPEND srcs "src/esp_timer_etm.c")
/hal_espressif-latest/components/esp_system/port/
DCMakeLists.txt4 list(APPEND INCLUDE_FILES "include/riscv")
12 list(APPEND srcs "brownout.c")
16 list(APPEND srcs "usb_console.c")
/hal_espressif-latest/components/wpa_supplicant/src/common/
Dbss.c41 dl_list_del(&bss->list); in wpa_bss_remove()
63 dl_list_for_each(bss, &wpa_s->bss, struct wpa_bss, list) { in wpa_bss_get()
144 dl_list_for_each(bss, &wpa_s->bss, struct wpa_bss, list) { in wpa_bss_remove_oldest_unknown()
168 dl_list_for_each(bss, &wpa_s->bss, struct wpa_bss, list) { in wpa_bss_remove_oldest()
204 dl_list_add_tail(&wpa_s->bss, &bss->list); in wpa_bss_add()
239 dl_list_del(&bss->list); in wpa_bss_update()
269 dl_list_add_tail(&wpa_s->bss, &bss->list); in wpa_bss_update()
405 dl_list_for_each_safe(bss, n, &wpa_s->bss, struct wpa_bss, list) { in wpa_bss_flush()
433 dl_list_for_each_reverse(bss, &wpa_s->bss, struct wpa_bss, list) { in wpa_bss_get_bssid()
453 return dl_list_first(&wpa_s->bss, struct wpa_bss, list); in wpa_bss_get_next_bss()
[all …]
/hal_espressif-latest/components/spi_flash/
DCMakeLists.txt15 list(APPEND srcs "${target}/spi_flash_oct_flash_init.c")
19 list(APPEND srcs
24 list(APPEND srcs
43 list(APPEND cache_srcs
49 list(APPEND srcs ${cache_srcs})
/hal_espressif-latest/components/wpa_supplicant/src/ap/
Dap_config.c221 int hostapd_maclist_found(struct mac_acl_entry *list, int num_entries, in hostapd_maclist_found() argument
231 res = memcmp(list[middle].addr, addr, ETH_ALEN); in hostapd_maclist_found()
234 *vlan_id = list[middle].vlan_id; in hostapd_maclist_found()
247 int hostapd_rate_found(int *list, int rate) in hostapd_rate_found() argument
251 if (list == NULL) in hostapd_rate_found()
254 for (i = 0; list[i] >= 0; i++) in hostapd_rate_found()
255 if (list[i] == rate) in hostapd_rate_found()
/hal_espressif-latest/components/mbedtls/
DCMakeLists.txt8 list(APPEND priv_requires esp_pm)
16 list(APPEND mbedtls_include_dirs "port/mbedtls_rom")
20 list(APPEND mbedtls_srcs "esp_crt_bundle/esp_crt_bundle.c")
21 list(APPEND mbedtls_include_dirs "esp_crt_bundle/include")
46 list(APPEND crt_paths ${DEFAULT_CRT_DIR}/cacrt_all.pem ${DEFAULT_CRT_DIR}/cacrt_local.pem)
48 list(APPEND crt_paths ${DEFAULT_CRT_DIR}/cacrt_all.pem ${DEFAULT_CRT_DIR}/cacrt_local.pem)
49 list(APPEND args --filter ${DEFAULT_CRT_DIR}/cmn_crt_authorities.csv)
55 list(APPEND crt_paths ${custom_bundle_path})
58 list(APPEND args --input ${crt_paths} -q)
96 list(APPEND include_dirs "${COMPONENT_DIR}/esp_crt_bundle/include")
[all …]

1234567