Lines Matching refs:handler_ctx
119 …d context %p on loop %p", post.base, post.id, handler->handler_ctx->handler, &handler->handler_ctx… in handler_execute()
137 (*(handler->handler_ctx->handler))(handler->handler_ctx->arg, post.base, post.id, data_ptr); in handler_execute()
139 (*(handler->handler_ctx->handler))(handler->handler_ctx->arg, post.base, post.id, post.data); in handler_execute()
165 …_handler, void* event_handler_arg, esp_event_handler_instance_context_t **handler_ctx, bool legacy) in handler_instances_add() argument
180 handler_instance->handler_ctx = context; in handler_instances_add()
190 if(event_handler == it->handler_ctx->handler) { in handler_instances_add()
191 it->handler_ctx->arg = event_handler_arg; in handler_instances_add()
206 if (handler_ctx) { in handler_instances_add()
207 *handler_ctx = context; in handler_instances_add()
217 esp_event_handler_instance_context_t **handler_ctx, in base_node_add_handler() argument
221 …ndler_instances_add(&(base_node->handlers), event_handler, event_handler_arg, handler_ctx, legacy); in base_node_add_handler()
246 …handler_instances_add(&(id_node->handlers), event_handler, event_handler_arg, handler_ctx, legacy); in base_node_add_handler()
262 …handler_instances_add(&(id_node->handlers), event_handler, event_handler_arg, handler_ctx, legacy); in base_node_add_handler()
272 esp_event_handler_instance_context_t **handler_ctx, in loop_node_add_handler() argument
276 …ndler_instances_add(&(loop_node->handlers), event_handler, event_handler_arg, handler_ctx, legacy); in loop_node_add_handler()
305 … err = base_node_add_handler(base_node, id, event_handler, event_handler_arg, handler_ctx, legacy); in loop_node_add_handler()
320 …return base_node_add_handler(base_node, id, event_handler, event_handler_arg, handler_ctx, legacy); in loop_node_add_handler()
325 …sp_event_handler_nodes_t* handlers, esp_event_handler_instance_context_t* handler_ctx, bool legacy) in handler_instances_remove() argument
331 if (it->handler_ctx->handler == handler_ctx->handler) { in handler_instances_remove()
333 free(it->handler_ctx); in handler_instances_remove()
338 if (it->handler_ctx == handler_ctx) { in handler_instances_remove()
340 free(it->handler_ctx); in handler_instances_remove()
351 …base_node_t* base_node, int32_t id, esp_event_handler_instance_context_t* handler_ctx, bool legacy) in base_node_remove_handler() argument
354 return handler_instances_remove(&(base_node->handlers), handler_ctx, legacy); in base_node_remove_handler()
360 esp_err_t res = handler_instances_remove(&(it->handlers), handler_ctx, legacy); in base_node_remove_handler()
376 … esp_event_base_t base, int32_t id, esp_event_handler_instance_context_t* handler_ctx, bool legacy) in loop_node_remove_handler() argument
379 return handler_instances_remove(&(loop_node->handlers), handler_ctx, legacy); in loop_node_remove_handler()
385 esp_err_t res = base_node_remove_handler(it, id, handler_ctx, legacy); in loop_node_remove_handler()
406 free(it->handler_ctx); in handler_instances_remove_all()
774 … int32_t event_id, esp_event_handler_instance_context_t* handler_ctx, bool legacy) in esp_event_handler_unregister_with_internal() argument
777 assert(handler_ctx); in esp_event_handler_unregister_with_internal()
795 esp_err_t res = loop_node_remove_handler(it, event_base, event_id, handler_ctx, legacy); in esp_event_handler_unregister_with_internal()
986 …PRINT_DUMP_INFO(dst, sz, HANDLER_DUMP_FORMAT, handler_it->handler_ctx->handler, "ESP_EVENT_ANY_BAS… in esp_event_dump()
992 …PRINT_DUMP_INFO(dst, sz, HANDLER_DUMP_FORMAT, handler_it->handler_ctx->handler, base_node_it->base… in esp_event_dump()
1001 …PRINT_DUMP_INFO(dst, sz, HANDLER_DUMP_FORMAT, handler_it->handler_ctx->handler, base_node_it->base… in esp_event_dump()