Home
last modified time | relevance | path

Searched refs:internal_memcpy (Results 1 – 25 of 66) sorted by relevance

123

/llvm-project-15.0.7/compiler-rt/lib/xray/tests/unit/
H A Dprofile_collector_test.cpp60 internal_memcpy(LocalBuffer, B.Data, kHeaderSize); in ValidateBlock()
64 internal_memcpy(&BlockSize, LocalBuffer, sizeof(u32)); in ValidateBlock()
65 internal_memcpy(&BlockNumber, LocalBuffer + sizeof(u32), sizeof(u32)); in ValidateBlock()
66 internal_memcpy(&ThreadId, LocalBuffer + (2 * sizeof(u32)), sizeof(u64)); in ValidateBlock()
74 internal_memcpy(LocalBuffer, B.Data, kHeaderSize); in ParseBlockHeader()
78 internal_memcpy(&BlockSize, LocalBuffer, sizeof(u32)); in ParseBlockHeader()
79 internal_memcpy(&BlockNumber, LocalBuffer + sizeof(u32), sizeof(u32)); in ParseBlockHeader()
80 internal_memcpy(&ThreadId, LocalBuffer + (2 * sizeof(u32)), sizeof(u64)); in ParseBlockHeader()
95 internal_memcpy(&F, P, sizeof(int32_t)); in ParseProfile()
101 internal_memcpy(&Result.CallCount, P, sizeof(int64_t)); in ParseProfile()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/xray/
H A Dxray_fdr_log_writer.h33 internal_memcpy(Buffer, P, Size);
82 internal_memcpy(NextRecord, reinterpret_cast<const char *>(&R), sizeof(T));
112 internal_memcpy(NextRecord, reinterpret_cast<const char *>(Recs), Size);
152 NextRecord = reinterpret_cast<char *>(internal_memcpy(
155 NextRecord = reinterpret_cast<char *>(internal_memcpy(
176 NextRecord = reinterpret_cast<char *>(internal_memcpy(
180 internal_memcpy(NextRecord, Event, EventSize)) +
199 NextRecord = reinterpret_cast<char *>(internal_memcpy(
203 internal_memcpy(NextRecord, Event, EventSize)) +
H A Dxray_profile_collector.cpp201 internal_memcpy(Buffer->Data, &Header, sizeof(Header))) + in serializeRecords()
207 static_cast<uint8_t *>(internal_memcpy(NextPtr, &FId, sizeof(FId))) + in serializeRecords()
218 static_cast<uint8_t *>(internal_memcpy( in serializeRecords()
222 internal_memcpy(NextPtr, &Record.Node->CumulativeLocalTime, in serializeRecords()
405 internal_memcpy(&Header, B.Data, sizeof(BlockHeader)); in nextBuffer()
H A Dxray_basic_logging.cpp191 internal_memcpy(StackEntryPtr, &E, sizeof(StackEntry)); in InMemoryRawLog()
215 internal_memcpy(&StackTop, StackEntryPtr, sizeof(StackEntry)); in InMemoryRawLog()
244 internal_memcpy(FirstEntry + TLD.BufferOffset, &R, sizeof(R)); in InMemoryRawLog()
290 internal_memcpy(FirstEntry + TLD.BufferOffset, &R, sizeof(R)); in InMemoryRawLogWithArg()
H A Dxray_fdr_controller.h193 internal_memcpy(&F, W.getNextRecord(), sizeof(FunctionRecord)); in rewindRecords()
212 internal_memcpy(&F, RewindingRecordPtr, sizeof(FunctionRecord)); in rewindRecords()
219 internal_memcpy(&F, RewindingRecordPtr, sizeof(FunctionRecord)); in rewindRecords()
H A Dxray_function_call_trie.h214 internal_memcpy(&NodeAllocatorStorage, &O.NodeAllocatorStorage, in Allocators()
216 internal_memcpy(&RootAllocatorStorage, &O.RootAllocatorStorage, in Allocators()
218 internal_memcpy(&ShadowStackAllocatorStorage, in Allocators()
221 internal_memcpy(&NodeIdPairAllocatorStorage, in Allocators()
H A Dxray_fdr_logging.cpp264 internal_memcpy(ExtentsRecord.Data, &BufferSize, sizeof(BufferSize)); in fdrIterator()
266 static_cast<char *>(internal_memcpy(CurrentBuffer, &ExtentsRecord, in fdrIterator()
269 internal_memcpy(AfterExtents, It->Data, BufferSize); in fdrIterator()
371 internal_memcpy(ExtentsRecord.Data, &BufferExtents, sizeof(BufferExtents)); in fdrLoggingFlush()
/llvm-project-15.0.7/compiler-rt/lib/ubsan/
H A Dubsan_value.cpp125 internal_memcpy(&Value, &Val, 4); in getFloatValue()
135 internal_memcpy(&Value, ((const char*)(&Val + 1)) - 4, 4); in getFloatValue()
137 internal_memcpy(&Value, &Val, 4); in getFloatValue()
143 internal_memcpy(&Value, &Val, 8); in getFloatValue()
/llvm-project-15.0.7/compiler-rt/lib/msan/
H A Dmsan.cpp572 internal_memcpy((void*)MEM_TO_SHADOW((uptr)data), shadow, size); in __msan_partial_poison()
576 internal_memcpy(dst, src, size); in __msan_load_unpoisoned()
647 internal_memcpy(&__msan_retval_tls[0], (void *)MEM_TO_SHADOW((uptr)p), in __sanitizer_unaligned_load16()
654 internal_memcpy(&__msan_retval_tls[0], (void *)MEM_TO_SHADOW((uptr)p), in __sanitizer_unaligned_load32()
661 internal_memcpy(&__msan_retval_tls[0], (void *)MEM_TO_SHADOW((uptr)p), in __sanitizer_unaligned_load64()
670 internal_memcpy(&s, &__msan_param_tls[1], sizeof(uu16)); in __sanitizer_unaligned_store16()
671 internal_memcpy((void *)MEM_TO_SHADOW((uptr)p), &s, sizeof(uu16)); in __sanitizer_unaligned_store16()
680 internal_memcpy(&s, &__msan_param_tls[1], sizeof(uu32)); in __sanitizer_unaligned_store32()
681 internal_memcpy((void *)MEM_TO_SHADOW((uptr)p), &s, sizeof(uu32)); in __sanitizer_unaligned_store32()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_vector.h65 internal_memcpy(p, &v, sizeof(*p)); in PushBack()
111 internal_memcpy(p, begin_, cap0 * sizeof(T)); in EnsureSize()
H A Dsanitizer_common.cpp148 internal_memcpy(uuid_, uuid, sizeof(uuid_)); in set()
156 internal_memcpy(uuid_, uuid, size); in setUuid()
286 internal_memcpy(buf, binary_name_cache_str, name_len); in ReadBinaryNameCached()
H A Dsanitizer_symbolizer_libbacktrace.cpp57 internal_memcpy(buf, data->buf, data->size); in CplusV3DemangleCallback()
62 internal_memcpy(data->buf + data->size, s, l); in CplusV3DemangleCallback()
H A Dsanitizer_file.cpp219 internal_memcpy(buffer.data(), beg, prefix_len); in FindPathToBinary()
221 internal_memcpy(&buffer[prefix_len + 1], name, name_len); in FindPathToBinary()
H A Dsanitizer_allocator_dlsym.h68 internal_memcpy(new_ptr, ptr, memcpy_size); in Realloc()
H A Dsanitizer_libc.cpp49 void *internal_memcpy(void *dest, const void *src, uptr n) { in internal_memcpy() function
111 internal_memcpy(s2, s, len); in internal_strdup()
H A Dsanitizer_libc.h32 void *internal_memcpy(void *dest, const void *src, uptr n);
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_stack_trace.cpp36 internal_memcpy(trace_buffer, pcs, cnt * sizeof(trace_buffer[0])); in Init()
H A Dtsan_md5.cpp174 internal_memcpy(&ctx->buffer[used], data, size); in MD5_Update()
178 internal_memcpy(&ctx->buffer[used], data, free); in MD5_Update()
189 internal_memcpy(ctx->buffer, data, size); in MD5_Update()
H A Dtsan_mutexset.h35 internal_memcpy(this, &other, sizeof(*this));
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_stack_trace.cpp36 internal_memcpy(trace_buffer, pcs, cnt * sizeof(trace_buffer[0])); in Init()
H A Dtsan_md5.cpp174 internal_memcpy(&ctx->buffer[used], data, size); in MD5_Update()
178 internal_memcpy(&ctx->buffer[used], data, free); in MD5_Update()
189 internal_memcpy(ctx->buffer, data, size); in MD5_Update()
H A Dtsan_mutexset.h37 internal_memcpy(this, &other, sizeof(*this));
/llvm-project-15.0.7/compiler-rt/lib/memprof/
H A Dmemprof_interceptors_memintrinsics.h41 return internal_memcpy(to, from, size); \ in DECLARE_REAL()
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_malloc_mac.cpp56 internal_memcpy(stats, &malloc_stats, sizeof(malloc_statistics_t));
/llvm-project-15.0.7/compiler-rt/lib/scudo/
H A Dscudo_utils.cpp49 internal_memcpy(Message, ScudoError, PrefixSize); in dieWithMessage()

123