Lines Matching refs:impl
19 CeedVector_Ref *impl; in CeedVectorHasValidArray_Ref() local
21 CeedCallBackend(CeedVectorGetData(vec, &impl)); in CeedVectorHasValidArray_Ref()
23 *has_valid_array = impl->array; in CeedVectorHasValidArray_Ref()
31 CeedVector_Ref *impl; in CeedVectorHasBorrowedArrayOfType_Ref() local
33 CeedCallBackend(CeedVectorGetData(vec, &impl)); in CeedVectorHasBorrowedArrayOfType_Ref()
35 *has_borrowed_array_of_type = impl->array_borrowed; in CeedVectorHasBorrowedArrayOfType_Ref()
44 CeedVector_Ref *impl; in CeedVectorSetArray_Ref() local
46 CeedCallBackend(CeedVectorGetData(vec, &impl)); in CeedVectorSetArray_Ref()
51 …CeedCallBackend(CeedSetHostCeedScalarArray(array, copy_mode, length, (const CeedScalar **)&impl->a… in CeedVectorSetArray_Ref()
52 … (const CeedScalar **)&impl->array_borrowed, (const CeedScalar **)&impl->array)); in CeedVectorSetArray_Ref()
60 CeedVector_Ref *impl; in CeedVectorTakeArray_Ref() local
62 CeedCallBackend(CeedVectorGetData(vec, &impl)); in CeedVectorTakeArray_Ref()
66 (*array) = impl->array_borrowed; in CeedVectorTakeArray_Ref()
67 impl->array_borrowed = NULL; in CeedVectorTakeArray_Ref()
68 impl->array = NULL; in CeedVectorTakeArray_Ref()
76 CeedVector_Ref *impl; in CeedVectorGetArrayCore_Ref() local
78 CeedCallBackend(CeedVectorGetData(vec, &impl)); in CeedVectorGetArrayCore_Ref()
82 *array = impl->array; in CeedVectorGetArrayCore_Ref()
104 CeedVector_Ref *impl; in CeedVectorGetArrayWrite_Ref() local
106 CeedCallBackend(CeedVectorGetData(vec, &impl)); in CeedVectorGetArrayWrite_Ref()
108 if (!impl->array) CeedCallBackend(CeedVectorSetArray(vec, CEED_MEM_HOST, CEED_COPY_VALUES, NULL)); in CeedVectorGetArrayWrite_Ref()
126 CeedVector_Ref *impl; in CeedVectorDestroy_Ref() local
128 CeedCallBackend(CeedVectorGetData(vec, &impl)); in CeedVectorDestroy_Ref()
129 CeedCallBackend(CeedFree(&impl->array_owned)); in CeedVectorDestroy_Ref()
130 CeedCallBackend(CeedFree(&impl)); in CeedVectorDestroy_Ref()
139 CeedVector_Ref *impl; in CeedVectorCreate_Ref() local
153 CeedCallBackend(CeedCalloc(1, &impl)); in CeedVectorCreate_Ref()
154 CeedCallBackend(CeedVectorSetData(vec, impl)); in CeedVectorCreate_Ref()