Lines Matching refs:name
29 PetscErrorCode PetscObjectListRemoveReference(PetscObjectList *fl, const char name[]) in PetscObjectListRemoveReference() argument
36 PetscAssertPointer(name, 2); in PetscObjectListRemoveReference()
39 PetscCall(PetscStrcmp(name, nlist->name, &match)); in PetscObjectListRemoveReference()
69 PetscErrorCode PetscObjectListAdd(PetscObjectList *fl, const char name[], PetscObject obj) in PetscObjectListAdd() argument
80 PetscCall(PetscStrcmp(name, nlist->name, &match)); in PetscObjectListAdd()
98 PetscCall(PetscStrcmp(name, nlist->name, &match)); in PetscObjectListAdd()
115 PetscCall(PetscStrncpy(olist->name, name, sizeof(olist->name))); in PetscObjectListAdd()
176 PetscErrorCode PetscObjectListFind(PetscObjectList fl, const char name[], PetscObject *obj) in PetscObjectListFind() argument
183 PetscCall(PetscStrcmp(name, fl->name, &match)); in PetscObjectListFind()
215 PetscErrorCode PetscObjectListReverseFind(PetscObjectList fl, PetscObject obj, const char *name[], … in PetscObjectListReverseFind() argument
218 PetscAssertPointer(name, 3); in PetscObjectListReverseFind()
220 *name = NULL; in PetscObjectListReverseFind()
223 *name = fl->name; in PetscObjectListReverseFind()
253 PetscCall(PetscObjectListAdd(nl, fl->name, fl->obj)); in PetscObjectListDuplicate()