Home
last modified time | relevance | path

Searched refs:data_read_only_copy (Results 1 – 2 of 2) sorted by relevance

/libCEED/backends/memcheck/
H A Dceed-memcheck-qfunctioncontext.c175 if (!impl->data_read_only_copy) { in CeedQFunctionContextGetDataRead_Memcheck()
176 CeedCallBackend(CeedMallocArray(1, ctx_size, &impl->data_read_only_copy)); in CeedQFunctionContextGetDataRead_Memcheck()
177 …impl->writable_block_id = VALGRIND_CREATE_BLOCK(impl->data_read_only_copy, ctx_size, "Allocated re… in CeedQFunctionContextGetDataRead_Memcheck()
178 memcpy(impl->data_read_only_copy, impl->data_allocated, ctx_size); in CeedQFunctionContextGetDataRead_Memcheck()
180 *(void **)data = impl->data_read_only_copy; in CeedQFunctionContextGetDataRead_Memcheck()
216 bool is_changed = memcmp(impl->data_allocated, impl->data_read_only_copy, ctx_size); in CeedQFunctionContextRestoreDataRead_Memcheck()
221 memset(impl->data_read_only_copy, -42, ctx_size); in CeedQFunctionContextRestoreDataRead_Memcheck()
222 CeedCallBackend(CeedFree(&impl->data_read_only_copy)); in CeedQFunctionContextRestoreDataRead_Memcheck()
H A Dceed-memcheck.h60 void *data_read_only_copy; member