Lines Matching refs:handler

11 static PetscErrorCode PetscLogHandlerEventBegin_Legacy(PetscLogHandler handler, PetscLogEvent e, Pe…  in PetscLogHandlerEventBegin_Legacy()  argument
13 PetscLogHandler_Legacy legacy = (PetscLogHandler_Legacy)handler->data; in PetscLogHandlerEventBegin_Legacy()
18 static PetscErrorCode PetscLogHandlerEventEnd_Legacy(PetscLogHandler handler, PetscLogEvent e, Pets… in PetscLogHandlerEventEnd_Legacy() argument
20 PetscLogHandler_Legacy legacy = (PetscLogHandler_Legacy)handler->data; in PetscLogHandlerEventEnd_Legacy()
25 static PetscErrorCode PetscLogHandlerObjectCreate_Legacy(PetscLogHandler handler, PetscObject o) in PetscLogHandlerObjectCreate_Legacy() argument
27 PetscLogHandler_Legacy legacy = (PetscLogHandler_Legacy)handler->data; in PetscLogHandlerObjectCreate_Legacy()
32 static PetscErrorCode PetscLogHandlerObjectDestroy_Legacy(PetscLogHandler handler, PetscObject o) in PetscLogHandlerObjectDestroy_Legacy() argument
34 PetscLogHandler_Legacy legacy = (PetscLogHandler_Legacy)handler->data; in PetscLogHandlerObjectDestroy_Legacy()
39 static PetscErrorCode PetscLogHandlerDestroy_Legacy(PetscLogHandler handler) in PetscLogHandlerDestroy_Legacy() argument
42 PetscCall(PetscFree(handler->data)); in PetscLogHandlerDestroy_Legacy()
57 PETSC_INTERN PetscErrorCode PetscLogHandlerCreate_Legacy(PetscLogHandler handler) in PetscLogHandlerCreate_Legacy() argument
63 handler->data = (void *)legacy; in PetscLogHandlerCreate_Legacy()
64 handler->ops->destroy = PetscLogHandlerDestroy_Legacy; in PetscLogHandlerCreate_Legacy()
115 …etscLogPHC)(PetscObject o), PetscErrorCode (*PetscLogPHD)(PetscObject o), PetscLogHandler *handler) in PetscLogHandlerCreateLegacy() argument
121 PetscCall(PetscLogHandlerCreate(comm, handler)); in PetscLogHandlerCreateLegacy()
122 h = *handler; in PetscLogHandlerCreateLegacy()