Home
last modified time | relevance | path

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

12345678910>>...22

/hal_espressif-3.6.0/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-3.6.0/components/nvs_flash/test_nvs_host/
Dtest_intrusive_list.cpp34 TestList list; variable
39 list.push_back(&n1);
40 REQUIRE(list.begin()->num == 1);
41 REQUIRE(list.front().num == 1);
42 REQUIRE(list.back().num == 1);
43 list.push_front(&n2);
44 REQUIRE(list.begin()->num == 2);
45 REQUIRE(list.front().num == 2);
46 REQUIRE(list.back().num == 1);
48 list.insert(list.begin(), &n3);
[all …]
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/aligenie_demo/components/vendor_model/include/
Dgenie_dlist.h189 static inline void genie_dlist_init(genie_dlist_t *list) in genie_dlist_init() argument
191 list->head = (genie_dnode_t *)list; in genie_dlist_init()
192 list->tail = (genie_dnode_t *)list; in genie_dlist_init()
206 static inline int genie_dlist_is_head(genie_dlist_t *list, genie_dnode_t *node) in genie_dlist_is_head() argument
208 return list->head == node; in genie_dlist_is_head()
220 static inline int genie_dlist_is_tail(genie_dlist_t *list, genie_dnode_t *node) in genie_dlist_is_tail() argument
222 return list->tail == node; in genie_dlist_is_tail()
233 static inline int genie_dlist_is_empty(genie_dlist_t *list) in genie_dlist_is_empty() argument
235 return list->head == list; in genie_dlist_is_empty()
246 static inline int genie_dlist_node_number(genie_dlist_t *list) in genie_dlist_node_number() argument
[all …]
Dgenie_slist.h192 static inline void genie_slist_init(genie_slist_t *list) in genie_slist_init() argument
194 list->head = NULL; in genie_slist_init()
195 list->tail = NULL; in genie_slist_init()
207 static inline bool genie_slist_is_empty(genie_slist_t *list) in genie_slist_is_empty() argument
209 return (!list->head); in genie_slist_is_empty()
219 static inline genie_snode_t *genie_slist_peek_head(genie_slist_t *list) in genie_slist_peek_head() argument
221 return list->head; in genie_slist_peek_head()
231 static inline genie_snode_t *genie_slist_peek_tail(genie_slist_t *list) in genie_slist_peek_tail() argument
233 return list->tail; in genie_slist_peek_tail()
270 static inline void genie_slist_prepend(genie_slist_t *list, in genie_slist_prepend() argument
[all …]
/hal_espressif-3.6.0/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-3.6.0/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-3.6.0/examples/protocols/http_server/restful_server/front/web-demo/src/
DApp.vue4 <v-list dense>
5 <v-list-tile to="/">
6 <v-list-tile-action>
8 </v-list-tile-action>
9 <v-list-tile-content>
10 <v-list-tile-title>Home</v-list-tile-title>
11 </v-list-tile-content>
12 </v-list-tile>
13 <v-list-tile to="/chart">
14 <v-list-tile-action>
[all …]
/hal_espressif-3.6.0/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-3.6.0/
DCMakeLists.txt22 list(APPEND compile_options "-Os")
24 list(APPEND compile_options "-freorder-blocks")
27 list(APPEND compile_options "-Og")
29 list(APPEND compile_options "-O0")
31 list(APPEND compile_options "-O2")
37 list(APPEND compile_options "-Os")
39 list(APPEND compile_options "-freorder-blocks")
42 list(APPEND compile_options "-Og")
44 list(APPEND compile_options "-O0")
46 list(APPEND compile_options "-O2")
[all …]
/hal_espressif-3.6.0/tools/kconfig/lxdialog/
Dchecklist.c122 WINDOW *dialog, *list; in dialog_checklist() local
170 list = subwin(dialog, list_height, list_width, y + box_y + 1, in dialog_checklist()
173 keypad(list, TRUE); in dialog_checklist()
196 print_item(list, i, i == choice); in dialog_checklist()
205 wnoutrefresh(list); in dialog_checklist()
227 print_item(list, 0, FALSE); in dialog_checklist()
228 scrollok(list, TRUE); in dialog_checklist()
229 wscrl(list, -1); in dialog_checklist()
230 scrollok(list, FALSE); in dialog_checklist()
234 print_item(list, 0, TRUE); in dialog_checklist()
[all …]
/hal_espressif-3.6.0/tools/kconfig/
Dqconf.cc106 ConfigList* list; in updateMenu() local
113 list = listView(); in updateMenu()
115 setPixmap(promptColIdx, list->menuBackPix); in updateMenu()
126 if (list->mode == singleMode || list->mode == symbolMode) { in updateMenu()
130 if (sym && list->rootEntry == menu) in updateMenu()
132 setPixmap(promptColIdx, list->menuPix); in updateMenu()
156 if (!sym_is_changable(sym) && list->optMode == normalOpt) { in updateMenu()
167 setPixmap(promptColIdx, list->choiceYesPix); in updateMenu()
169 setPixmap(promptColIdx, list->symbolYesPix); in updateMenu()
174 setPixmap(promptColIdx, list->symbolModPix); in updateMenu()
[all …]
/hal_espressif-3.6.0/components/esp_system/
Dtask_wdt.c64 twdt_task_t *list; //Linked list of subscribed tasks member
93 for(twdt_task_t *task = twdt_config->list; task != NULL; task = task->next){ in find_task_in_twdt_list()
116 for (twdt_task_t *task = twdt_config->list; task != NULL; task = task->next){ in reset_hw_timer()
152 ASSERT_EXIT_CRIT_RETURN((twdt_config->list != NULL), VOID_RETURN); in task_wdt_isr()
156 for (twdttask=twdt_config->list; twdttask!=NULL; twdttask=twdttask->next) { in task_wdt_isr()
209 twdt_config->list = NULL; in esp_task_wdt_init()
250 ASSERT_EXIT_CRIT_RETURN((twdt_config->list == NULL), ESP_ERR_INVALID_STATE); in esp_task_wdt_deinit()
284 if (twdt_config->list == NULL) { //Adding to empty list in esp_task_wdt_add()
285 twdt_config->list = target_task; in esp_task_wdt_add()
288 for (task = twdt_config->list; task->next != NULL; task = task->next){ in esp_task_wdt_add()
[all …]
/hal_espressif-3.6.0/components/esp_eth/
DCMakeLists.txt16 list(APPEND srcs "src/esp_eth_netif_glue.c")
17 list(APPEND priv_requires esp_netif esp_pm)
22 list(APPEND srcs "src/esp_eth_mac_esp.c"
31 list(APPEND srcs "src/esp_eth_mac_dm9051.c"
36 list(APPEND srcs "src/esp_eth_mac_w5500.c"
41 list(APPEND srcs "src/esp_eth_mac_ksz8851snl.c"
46 list(APPEND srcs "src/esp_eth_mac_openeth.c")
/hal_espressif-3.6.0/tools/cmake/
Drun_dfu_util.cmake12 list(APPEND CMD "--list")
15 list(APPEND CMD "-d" "303a:${ESP_DFU_PID}")
18 list(APPEND CMD "--path" $ENV{ESP_DFU_PATH})
20 list(APPEND CMD "-D" ${ESP_DFU_BIN})
23 message("Command list: ${CMD}")
/hal_espressif-3.6.0/components/espcoredump/
DCMakeLists.txt14 list(APPEND srcs "src/port/xtensa/core_dump_port.c")
15 list(APPEND includes "include/port/xtensa")
16 list(APPEND priv_includes "include_core_dump/port/xtensa")
18 list(APPEND srcs "src/port/riscv/core_dump_port.c")
19 list(APPEND includes "include/port/riscv")
20 list(APPEND priv_includes "include_core_dump/port/riscv")
/hal_espressif-3.6.0/components/esp_event/
DCMakeLists.txt10 list(APPEND requires "linux")
12 list(APPEND priv_include_dirs "$ENV{IDF_PATH}/tools/mocks/esp_system/include")
14 list(APPEND requires "esp_netif")
15 list(APPEND srcs "event_loop_legacy.c" "event_send.c")
17 list(APPEND priv_requires esp_eth esp_timer)
19 list(APPEND priv_requires esp_timer)
/hal_espressif-3.6.0/components/bootloader_support/
DCMakeLists.txt22 list(APPEND srcs
32 list(APPEND priv_requires hal)
34 list(APPEND srcs
44 list(APPEND srcs "src/flash_encryption/flash_encrypt.c"
50 list(APPEND srcs "src/secure_boot_v1/secure_boot_signatures_bootloader.c")
53 list(APPEND srcs "src/secure_boot_v1/secure_boot.c"
58 list(APPEND srcs "src/secure_boot_v2/secure_boot_signatures_bootloader.c")
61 list(APPEND srcs "src/secure_boot_v2/secure_boot.c"
68 list(APPEND srcs "src/secure_boot_v1/secure_boot_signatures_app.c")
72 list(APPEND srcs "src/secure_boot_v2/secure_boot_signatures_app.c")
/hal_espressif-3.6.0/components/app_trace/
DCMakeLists.txt12 list(APPEND srcs
16 list(APPEND srcs
20 list(APPEND srcs
26 list(APPEND include_dirs
31 list(APPEND srcs
41 list(APPEND srcs "heap_trace_tohost.c")
/hal_espressif-3.6.0/components/unity/
DCMakeLists.txt13 list(APPEND COMPONENT_PRIV_INCLUDEDIRS "include/priv")
17 list(APPEND srcs "unity_runner.c")
21 list(APPEND srcs "unity/extras/fixture/src/unity_fixture.c")
22 list(APPEND includes "unity/extras/fixture/src")
26 list(APPEND srcs "unity_port_esp32.c")
/hal_espressif-3.6.0/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-3.6.0/components/ulp/cmake/
DCMakeLists.txt49 list(APPEND component_includes -I${include})
52 list(APPEND ULP_PREPROCESSOR_ARGS ${component_includes})
53 list(APPEND ULP_PREPROCESSOR_ARGS -I${COMPONENT_DIR})
54 list(APPEND ULP_PREPROCESSOR_ARGS -I${sdkconfig_dir})
58 list(APPEND ULP_PREPROCESSOR_ARGS -D__ASSEMBLER__)
73 list(APPEND ULP_S_SOURCES
95 list(APPEND EXTRA_LINKER_ARGS "-Wl,--gc-sections")
96 list(APPEND EXTRA_LINKER_ARGS "-Wl,-Map=\"${CMAKE_CURRENT_BINARY_DIR}/${ULP_APP_NAME}.map\"")
116 list(APPEND ULP_PS_SOURCES ${ulp_ps_output})
127 # Dump the list of global symbols in a convenient format
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_core/
Dcfg_cli.c496 struct bt_mesh_cfg_mod_sub_list list = {0}; in mod_sub_list() local
502 list.status = net_buf_simple_pull_u8(buf); in mod_sub_list()
503 list.elem_addr = net_buf_simple_pull_le16(buf); in mod_sub_list()
505 list.cid = net_buf_simple_pull_le16(buf); in mod_sub_list()
507 list.cid = BLE_MESH_CID_NVAL; in mod_sub_list()
509 list.mod_id = net_buf_simple_pull_le16(buf); in mod_sub_list()
511 list.addr = bt_mesh_alloc_buf(buf->len); in mod_sub_list()
512 if (!list.addr) { in mod_sub_list()
516 net_buf_simple_add_mem(list.addr, buf->data, buf->len); in mod_sub_list()
518 cfg_client_recv_status(model, ctx, &list, sizeof(struct bt_mesh_cfg_mod_sub_list)); in mod_sub_list()
[all …]

12345678910>>...22