Home
last modified time | relevance | path

Searched refs:ref_count (Results 1 – 5 of 5) sorted by relevance

/libCEED/interface/
H A Dceed-object.c43 obj->ref_count = 1; in CeedObjectCreate()
57 obj->ref_count++; in CeedObjectReference()
71 return --obj->ref_count; // prefix notation, to get new number of references in CeedObjectDereference()
84 CeedCheck(obj->ref_count == 0, CeedObjectReturnCeed(obj), CEED_ERROR_UNSUPPORTED, in CeedObjectDestroy_Private()
H A Dceed-preconditioning.c1426 (*data)->ref_count = 1; in CeedQFunctionAssemblyDataCreate()
1441 data->ref_count++; in CeedQFunctionAssemblyDataReference()
1576 if (!*data || --(*data)->ref_count > 0) { in CeedQFunctionAssemblyDataDestroy()
/libCEED/examples/fluids/include/
H A Dmat-ceed-impl.h21 PetscInt ref_count, num_mats_assembled_full, num_mats_assembled_pbd; member
/libCEED/include/
H A Dceed-impl.h97 int ref_count; member
331 int ref_count; member
/libCEED/examples/fluids/src/
H A Dmat-ceed.c1345 (*ctx)->ref_count = 1; in MatCeedContextCreate()
1441 ctx->ref_count++; in MatCeedContextReference()
1475 if (!ctx || --(*ctx)->ref_count > 0) PetscFunctionReturn(PETSC_SUCCESS); in MatCeedContextDestroy()