Lines Matching refs:handler_ctx

127 …d context %p on loop %p", post.base, post.id, handler->handler_ctx->handler, &handler->handler_ctx  in handler_execute()
145 (*(handler->handler_ctx->handler))(handler->handler_ctx->arg, post.base, post.id, data_ptr); in handler_execute()
147 (*(handler->handler_ctx->handler))(handler->handler_ctx->arg, post.base, post.id, post.data); in handler_execute()
162 …_handler, void* event_handler_arg, esp_event_handler_instance_context_t **handler_ctx, bool legacy) in handler_instances_add() argument
177 handler_instance->handler_ctx = context; in handler_instances_add()
187 if(event_handler == it->handler_ctx->handler) { in handler_instances_add()
188 it->handler_ctx->arg = event_handler_arg; in handler_instances_add()
203 if (handler_ctx) { in handler_instances_add()
204 *handler_ctx = context; in handler_instances_add()
214 esp_event_handler_instance_context_t **handler_ctx, in base_node_add_handler() argument
218 …ndler_instances_add(&(base_node->handlers), event_handler, event_handler_arg, handler_ctx, legacy); in base_node_add_handler()
243 …handler_instances_add(&(id_node->handlers), event_handler, event_handler_arg, handler_ctx, legacy); in base_node_add_handler()
259 …handler_instances_add(&(id_node->handlers), event_handler, event_handler_arg, handler_ctx, legacy); in base_node_add_handler()
269 esp_event_handler_instance_context_t **handler_ctx, in loop_node_add_handler() argument
273 …ndler_instances_add(&(loop_node->handlers), event_handler, event_handler_arg, handler_ctx, legacy); in loop_node_add_handler()
302 … err = base_node_add_handler(base_node, id, event_handler, event_handler_arg, handler_ctx, legacy); in loop_node_add_handler()
317 …return base_node_add_handler(base_node, id, event_handler, event_handler_arg, handler_ctx, legacy); in loop_node_add_handler()
322 …sp_event_handler_nodes_t* handlers, esp_event_handler_instance_context_t* handler_ctx, bool legacy) in handler_instances_remove() argument
328 if (it->handler_ctx->handler == handler_ctx->handler) { in handler_instances_remove()
330 free(it->handler_ctx); in handler_instances_remove()
335 if (it->handler_ctx == handler_ctx) { in handler_instances_remove()
337 free(it->handler_ctx); in handler_instances_remove()
348 …base_node_t* base_node, int32_t id, esp_event_handler_instance_context_t* handler_ctx, bool legacy) in base_node_remove_handler() argument
351 return handler_instances_remove(&(base_node->handlers), handler_ctx, legacy); in base_node_remove_handler()
357 esp_err_t res = handler_instances_remove(&(it->handlers), handler_ctx, legacy); in base_node_remove_handler()
373 … esp_event_base_t base, int32_t id, esp_event_handler_instance_context_t* handler_ctx, bool legacy) in loop_node_remove_handler() argument
376 return handler_instances_remove(&(loop_node->handlers), handler_ctx, legacy); in loop_node_remove_handler()
382 esp_err_t res = base_node_remove_handler(it, id, handler_ctx, legacy); in loop_node_remove_handler()
403 free(it->handler_ctx); in handler_instances_remove_all()
772 … int32_t event_id, esp_event_handler_instance_context_t* handler_ctx, bool legacy) in esp_event_handler_unregister_with_internal() argument
775 assert(handler_ctx); in esp_event_handler_unregister_with_internal()
793 esp_err_t res = loop_node_remove_handler(it, event_base, event_id, handler_ctx, legacy); in esp_event_handler_unregister_with_internal()
984 …PRINT_DUMP_INFO(dst, sz, HANDLER_DUMP_FORMAT, handler_it->handler_ctx->handler, "ESP_EVENT_ANY_BAS… in esp_event_dump()
990 …PRINT_DUMP_INFO(dst, sz, HANDLER_DUMP_FORMAT, handler_it->handler_ctx->handler, base_node_it->base… in esp_event_dump()
999 …PRINT_DUMP_INFO(dst, sz, HANDLER_DUMP_FORMAT, handler_it->handler_ctx->handler, base_node_it->base… in esp_event_dump()