Lines Matching refs:data_allocated
23 *has_valid_data = !!impl->data_allocated; in CeedQFunctionContextHasValidData_Memcheck()
53 if (impl->data_allocated) { in CeedQFunctionContextSetData_Memcheck()
54 memset(impl->data_allocated, -42, ctx_size); in CeedQFunctionContextSetData_Memcheck()
57 CeedCallBackend(CeedFree(&impl->data_allocated)); in CeedQFunctionContextSetData_Memcheck()
85 CeedCallBackend(CeedMallocArray(1, ctx_size, &impl->data_allocated)); in CeedQFunctionContextSetData_Memcheck()
86 …impl->allocated_block_id = VALGRIND_CREATE_BLOCK(impl->data_allocated, ctx_size, "'Allocated inter… in CeedQFunctionContextSetData_Memcheck()
87 memcpy(impl->data_allocated, data, ctx_size); in CeedQFunctionContextSetData_Memcheck()
105 memcpy(impl->data_owned, impl->data_allocated, ctx_size); in CeedQFunctionContextSyncData_Memcheck()
108 memcpy(impl->data_borrowed, impl->data_allocated, ctx_size); in CeedQFunctionContextSyncData_Memcheck()
134 if (impl->data_allocated) { in CeedQFunctionContextTakeData_Memcheck()
135 memset(impl->data_allocated, -42, ctx_size); in CeedQFunctionContextTakeData_Memcheck()
138 CeedCallBackend(CeedFree(&impl->data_allocated)); in CeedQFunctionContextTakeData_Memcheck()
157 memcpy(impl->data_writable_copy, impl->data_allocated, ctx_size); in CeedQFunctionContextGetData_Memcheck()
178 memcpy(impl->data_read_only_copy, impl->data_allocated, ctx_size); in CeedQFunctionContextGetDataRead_Memcheck()
195 memcpy(impl->data_allocated, impl->data_writable_copy, ctx_size); in CeedQFunctionContextRestoreData_Memcheck()
216 bool is_changed = memcmp(impl->data_allocated, impl->data_read_only_copy, ctx_size); in CeedQFunctionContextRestoreDataRead_Memcheck()
250 if (impl->data_allocated) { in CeedQFunctionContextDataDestroy_Memcheck()
251 CeedCallBackend(CeedFree(&impl->data_allocated)); in CeedQFunctionContextDataDestroy_Memcheck()
272 if (impl->data_allocated) { in CeedQFunctionContextDestroy_Memcheck()
273 CeedCallBackend(CeedFree(&impl->data_allocated)); in CeedQFunctionContextDestroy_Memcheck()