| /llvm-project-15.0.7/compiler-rt/lib/xray/tests/unit/ |
| H A D | profile_collector_test.cpp | 60 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 D | xray_fdr_log_writer.h | 33 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 D | xray_profile_collector.cpp | 201 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 D | xray_basic_logging.cpp | 191 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 D | xray_fdr_controller.h | 193 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 D | xray_function_call_trie.h | 214 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 D | xray_fdr_logging.cpp | 264 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 D | ubsan_value.cpp | 125 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 D | msan.cpp | 572 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 D | sanitizer_vector.h | 65 internal_memcpy(p, &v, sizeof(*p)); in PushBack() 111 internal_memcpy(p, begin_, cap0 * sizeof(T)); in EnsureSize()
|
| H A D | sanitizer_common.cpp | 148 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 D | sanitizer_symbolizer_libbacktrace.cpp | 57 internal_memcpy(buf, data->buf, data->size); in CplusV3DemangleCallback() 62 internal_memcpy(data->buf + data->size, s, l); in CplusV3DemangleCallback()
|
| H A D | sanitizer_file.cpp | 219 internal_memcpy(buffer.data(), beg, prefix_len); in FindPathToBinary() 221 internal_memcpy(&buffer[prefix_len + 1], name, name_len); in FindPathToBinary()
|
| H A D | sanitizer_allocator_dlsym.h | 68 internal_memcpy(new_ptr, ptr, memcpy_size); in Realloc()
|
| H A D | sanitizer_libc.cpp | 49 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 D | sanitizer_libc.h | 32 void *internal_memcpy(void *dest, const void *src, uptr n);
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_stack_trace.cpp | 36 internal_memcpy(trace_buffer, pcs, cnt * sizeof(trace_buffer[0])); in Init()
|
| H A D | tsan_md5.cpp | 174 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 D | tsan_mutexset.h | 35 internal_memcpy(this, &other, sizeof(*this));
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/ |
| H A D | tsan_stack_trace.cpp | 36 internal_memcpy(trace_buffer, pcs, cnt * sizeof(trace_buffer[0])); in Init()
|
| H A D | tsan_md5.cpp | 174 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 D | tsan_mutexset.h | 37 internal_memcpy(this, &other, sizeof(*this));
|
| /llvm-project-15.0.7/compiler-rt/lib/memprof/ |
| H A D | memprof_interceptors_memintrinsics.h | 41 return internal_memcpy(to, from, size); \ in DECLARE_REAL()
|
| /llvm-project-15.0.7/compiler-rt/lib/asan/ |
| H A D | asan_malloc_mac.cpp | 56 internal_memcpy(stats, &malloc_stats, sizeof(malloc_statistics_t));
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/ |
| H A D | scudo_utils.cpp | 49 internal_memcpy(Message, ScudoError, PrefixSize); in dieWithMessage()
|