Searched refs:base_node (Results 1 – 3 of 3) sorted by relevance
/hal_espressif-3.6.0/components/esp_event/ |
D | esp_event.c | 210 static esp_err_t base_node_add_handler(esp_event_base_node_t* base_node, in base_node_add_handler() argument 218 …return handler_instances_add(&(base_node->handlers), event_handler, event_handler_arg, handler_ctx… in base_node_add_handler() 224 SLIST_FOREACH(it, &(base_node->id_nodes), next) { in base_node_add_handler() 247 SLIST_INSERT_HEAD(&(base_node->id_nodes), id_node, next); in base_node_add_handler() 277 esp_event_base_node_t *it = NULL, *base_node = NULL, *last_base_node = NULL; in loop_node_add_handler() local 281 base_node = it; in loop_node_add_handler() 287 !base_node || in loop_node_add_handler() 288 (base_node && !SLIST_EMPTY(&(base_node->id_nodes)) && id == ESP_EVENT_ANY_ID) || in loop_node_add_handler() 290 base_node = (esp_event_base_node_t*) calloc(1, sizeof(*base_node)); in loop_node_add_handler() 292 if (!base_node) { in loop_node_add_handler() [all …]
|
D | esp_event_private.c | 27 esp_event_base_node_t* base_node; in esp_event_is_handler_registered() local 40 SLIST_FOREACH(base_node, &(loop_node->base_nodes), next) { in esp_event_is_handler_registered() 41 if (base_node->base == event_base) { in esp_event_is_handler_registered() 42 SLIST_FOREACH(handler, &(base_node->handlers), next) { in esp_event_is_handler_registered() 50 SLIST_FOREACH(id_node, &(base_node->id_nodes), next) { in esp_event_is_handler_registered()
|
/hal_espressif-3.6.0/components/esp_event/private_include/ |
D | esp_event_internal.h | 27 typedef SLIST_HEAD(base_nodes, base_node) base_nodes_t;
|