Home
last modified time | relevance | path

Searched refs:src_size (Results 1 – 17 of 17) sorted by relevance

/llvm-project/libc/test/src/string/
H A Dstpcpy_test.cpp16 size_t src_size = LIBC_NAMESPACE::internal::string_length(empty); in TEST() local
20 ASSERT_EQ(dest + src_size, result); in TEST()
27 size_t src_size = LIBC_NAMESPACE::internal::string_length(abc); in TEST() local
31 ASSERT_EQ(dest + src_size, result); in TEST()
38 size_t src_size = LIBC_NAMESPACE::internal::string_length(abc); in TEST() local
42 ASSERT_EQ(dest + 3 + src_size, result); in TEST()
/llvm-project/openmp/runtime/src/
H A Dkmp_safe_c_api.h79 char const *src, size_t src_size) {
80 if (src_size >= buf_size) {
81 src_size = buf_size - 1;
83 KMP_STRNCPY_S(buffer, buf_size, src, src_size);
84 buffer[src_size] = '\0';
/llvm-project/llvm/test/Transforms/MemCpyOpt/
H A Dmemset-memcpy-redundant-memset.ll8 define void @test_constant(i64 %src_size, ptr %dst, i64 %dst_size, i8 %c) {
20 %non.zero = icmp ne i64 %src_size, 0
23 call void @llvm.memcpy.p0.p0.i64(ptr %dst, ptr @C, i64 %src_size, i1 false)
27 define void @test(ptr %src, i64 %src_size, ptr noalias %dst, i64 %dst_size, i8 %c) {
39 %non.zero = icmp ne i64 %src_size, 0
42 call void @llvm.memcpy.p0.p0.i64(ptr %dst, ptr %src, i64 %src_size, i1 false)
46 define void @test_different_types_i32_i64(ptr noalias %dst, ptr %src, i32 %dst_size, i64 %src_size, i8 %c) {
59 %non.zero = icmp ne i64 %src_size, 0
62 call void @llvm.memcpy.p0.p0.i64(ptr %dst, ptr %src, i64 %src_size, i1 false)
66 define void @test_different_types_i128_i32(ptr noalias %dst, ptr %src, i128 %dst_size, i32 %src_size, i
[all...]
H A Dmemset-memcpy-dbgloc.ll10 define void @test_constant(i64 %src_size, ptr %dst, i64 %dst_size, i8 %c) !dbg !5 {
23 %non.zero = icmp ne i64 %src_size, 0
26 call void @llvm.memcpy.p0.p0.i64(ptr %dst, ptr @C, i64 %src_size, i1 false), !dbg !12
H A Dopaque-ptr.ll4 define void @test_memset_memcpy(ptr %src, i64 range(i64 1, 42) %src_size, ptr noalias %dst, i64 %dst_size, i8 %c) {
15 call void @llvm.memcpy.p0.p0.i64(ptr %dst, ptr %src, i64 %src_size, i1 false)
/llvm-project/lldb/source/Plugins/Process/Linux/
H A DNativeRegisterContextLinux.cpp72 const uint32_t src_size = reg_value.GetAsMemoryData( in WriteRegisterRaw()
74 if (error.Success() && src_size && (src_size < dest_size)) { in WriteRegisterRaw()
77 src_size); in WriteRegisterRaw()
71 const uint32_t src_size = reg_value.GetAsMemoryData( WriteRegisterRaw() local
/llvm-project/lldb/source/Utility/
H A DDataExtractor.cpp399 const size_t src_size = sizeof(uint16_t) * count; in GetU16() local
401 static_cast<const uint16_t *>(GetData(offset_ptr, src_size)); in GetU16()
413 memcpy(void_dst, src, src_size); in GetU16()
448 const size_t src_size = sizeof(uint32_t) * count; in GetU32() local
450 static_cast<const uint32_t *>(GetData(offset_ptr, src_size)); in GetU32()
462 memcpy(void_dst, src, src_size); in GetU32()
496 const size_t src_size = sizeof(uint64_t) * count; in GetU64() local
498 static_cast<const uint64_t *>(GetData(offset_ptr, src_size)); in GetU64()
510 memcpy(void_dst, src, src_size); in GetU64()
/llvm-project/lldb/include/lldb/Utility/
H A DDataExtractor.h994 constexpr size_t src_size = sizeof(T); in Get() local
997 const T *src = static_cast<const T *>(GetData(offset_ptr, src_size)); in Get()
1001 memcpy(&val, src, src_size); in Get()
/llvm-project/lldb/source/Plugins/Platform/Android/
H A DPlatformAndroid.h66 const uint64_t src_offset, const uint64_t src_size,
H A DPlatformAndroid.cpp276 const uint64_t src_size, in DownloadModuleSlice()
305 GetRunAs().c_str(), source_file.c_str(), src_offset, src_size); in DownloadModuleSlice()
274 DownloadModuleSlice(const FileSpec & src_file_spec,const uint64_t src_offset,const uint64_t src_size,const FileSpec & dst_file_spec) DownloadModuleSlice() argument
/llvm-project/lldb/source/Plugins/Process/MacOSX-Kernel/
H A DCommunicationKDP.h134 const void *src, uint32_t src_size,
/llvm-project/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp385 SIZE_T src_size = internal_strlen(src);
387 CHECK_UNPOISONED_STRING(src + src_size, 0); in INTERCEPTOR()
390 CopyShadowAndOrigin(dest + dest_size, src, src_size + 1, &stack); in INTERCEPTOR()
389 SIZE_T src_size = internal_strlen(src); INTERCEPTOR() local
/llvm-project/lldb/source/Target/
H A DPlatform.cpp1734 const uint64_t src_size, in DownloadModuleSlice()
1758 while (total_bytes_read < src_size) { in DownloadModuleSlice()
1760 src_size - total_bytes_read); in DownloadModuleSlice()
1723 DownloadModuleSlice(const FileSpec & src_file_spec,const uint64_t src_offset,const uint64_t src_size,const FileSpec & dst_file_spec) DownloadModuleSlice() argument
/llvm-project/lldb/include/lldb/Target/
H A DPlatform.h1044 const uint64_t src_size, in GetSelectedPlatform()
/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp3613 const uint32_t src_size = src_name_to_die.GetSize(); in GetCachedClangDeclContextForDIE()
3619 if (src_size != dst_size)
3625 for (idx = 0; idx < src_size; ++idx) { in LinkDeclContextToDIE()
3664 for (idx = 0; idx < src_size; ++idx) { in CopyUniqueClassMethodTypes()
3673 const uint32_t src_size = src_name_to_die.GetSize(); CopyUniqueClassMethodTypes() local
/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXIntrinsics.td423 // Variant with src_size parameter
424 def _32s : NVPTXInst<(outs), (ins Int32Regs:$dst, Int32Regs:$src, Int32Regs:$src_size),
425 !strconcat("cp.async.", cc, ".shared.global [$dst], [$src], ", cpsize, ", $src_size;"),
426 [(IntrinS i32:$dst, i32:$src, i32:$src_size)]>,
428 def _32si: NVPTXInst<(outs), (ins Int32Regs:$dst, Int32Regs:$src, i32imm:$src_size),
429 !strconcat("cp.async.", cc, ".shared.global [$dst], [$src], ", cpsize, ", $src_size;"),
430 [(IntrinS i32:$dst, i32:$src, imm:$src_size)]>,
432 def _64s : NVPTXInst<(outs), (ins Int64Regs:$dst, Int64Regs:$src, Int32Regs:$src_size),
433 !strconcat("cp.async.", cc, ".shared.global [$dst], [$src], ", cpsize, ", $src_size;"),
434 [(IntrinS i64:$dst, i64:$src, i32:$src_size)]>,
[all...]
/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc7221 SIZE_T src_size = internal_wcslen(src);
7223 COMMON_INTERCEPTOR_READ_RANGE(ctx, src, (src_size + 1) * sizeof(wchar_t));
7226 (src_size + 1) * sizeof(wchar_t));
7233 SIZE_T src_size = internal_wcsnlen(src, n);
7236 Min(src_size + 1, n) * sizeof(wchar_t));
7239 (src_size + 1) * sizeof(wchar_t));