Home
last modified time | relevance | path

Searched defs:sz (Results 1 – 25 of 175) sorted by relevance

1234567

/llvm-project/clang/test/CodeGen/
H A Dcfi-unrelated-cast.cpp11 T *allocate(size_t sz) { in allocate() argument
17 T *allocate(size_t sz, const void *ptr) { in allocate() argument
23 T *differentName(size_t sz, const void *ptr) { in differentName() argument
H A Dcatch-undef-behavior.c363 void call_memcpy_nonnull(void *p, void *q, int sz) { in call_memcpy_nonnull() argument
379 void call_memcpy(long *p, short *q, int sz) { in call_memcpy() argument
425 void call_memmove_nonnull(void *p, void *q, int sz) { in call_memmove_nonnull() argument
437 void call_memmove(long *p, short *q, int sz) { in call_memmove() argument
/llvm-project/clang/test/Sema/
H A Darg-scope-c99.c3 void bb(int sz, int ar[sz][sz]) { } in bb()
/llvm-project/compiler-rt/test/sanitizer_common/TestCases/
H A Dmalloc_hook.cpp20 void __sanitizer_malloc_hook(const volatile void *ptr, size_t sz) { in __sanitizer_malloc_hook()
34 void MallocHook1(const volatile void *ptr, size_t sz) { WRITE("MH1\n"); } in MallocHook1()
35 void MallocHook2(const volatile void *ptr, size_t sz) { WRITE("MH2\n"); } in MallocHook2()
/llvm-project/compiler-rt/test/memprof/TestCases/
H A Dmalloc_hook.cpp15 void __sanitizer_malloc_hook(const volatile void *ptr, size_t sz) { in __sanitizer_malloc_hook()
29 void MallocHook1(const volatile void *ptr, size_t sz) { WRITE("MH1\n"); } in MallocHook1()
30 void MallocHook2(const volatile void *ptr, size_t sz) { WRITE("MH2\n"); } in MallocHook2()
/llvm-project/compiler-rt/test/msan/Linux/
H A Dobstack.cpp8 static void *obstack_chunk_alloc(size_t sz) { in obstack_chunk_alloc()
19 for (size_t sz = 16; sz < 0xFFFF; sz *= 2) { in main() local
/llvm-project/compiler-rt/test/asan/TestCases/Posix/
H A Dstart-deactivated.cpp39 void test_malloc_shadow(char *p, size_t sz, bool expect_redzones) { in test_malloc_shadow()
57 for (size_t sz = 1; sz < nPtrs; ++sz) { in main() local
104 for (size_t sz = 1; sz < nPtrs; ++sz) { in main() local
/llvm-project/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_lzw_test.cpp43 for (size_t sz : kSizes) { in TYPED_TEST() local
55 for (size_t sz : kSizes) { in TYPED_TEST() local
67 for (size_t sz : kSizes) { in TYPED_TEST() local
78 for (size_t sz : kSizes) { in TYPED_TEST() local
/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_mman.cpp192 void *user_alloc_internal(ThreadState *thr, uptr pc, uptr sz, uptr align, in user_alloc_internal() argument
233 void *user_alloc(ThreadState *thr, uptr pc, uptr sz) { in user_alloc() argument
260 void OnUserAlloc(ThreadState *thr, uptr pc, uptr p, uptr sz, boo argument
282 UNUSED uptr sz = ctx->metamap.FreeBlock(thr->proc(), p, false); OnUserFree() local
287 uptr sz = ctx->metamap.FreeBlock(thr->proc(), p, true); OnUserFree() local
293 user_realloc(ThreadState * thr,uptr pc,void * p,uptr sz) user_realloc() argument
311 user_memalign(ThreadState * thr,uptr pc,uptr align,uptr sz) user_memalign() argument
323 user_posix_memalign(ThreadState * thr,uptr pc,void ** memptr,uptr align,uptr sz) user_posix_memalign() argument
339 user_aligned_alloc(ThreadState * thr,uptr pc,uptr align,uptr sz) user_aligned_alloc() argument
350 user_valloc(ThreadState * thr,uptr pc,uptr sz) user_valloc() argument
354 user_pvalloc(ThreadState * thr,uptr pc,uptr sz) user_pvalloc() argument
418 Alloc(uptr sz) Alloc() argument
[all...]
H A Dtsan_sync.cpp47 void MetaMap::AllocBlock(ThreadState *thr, uptr pc, uptr p, uptr sz) { in AllocBlock()
63 uptr sz = RoundUpTo(b->siz, kMetaShadowCell); in FreeBlock() local
68 bool MetaMap::FreeRange(Processor *proc, uptr p, uptr sz, bool reset) { in FreeRange()
108 void MetaMap::ResetRange(Processor *proc, uptr p, uptr sz, bool reset) { in ResetRange()
244 void MetaMap::MoveMemory(uptr src, uptr dst, uptr sz) { in MoveMemory()
/llvm-project/libc/test/src/__support/
H A Dhash_test.cpp22 size_t sz = size * sizeof(T); local
36 for (size_t sz : sizes) { in TEST() local
69 for (size_t sz : sizes) { in TEST() local
100 for (size_t sz : sizes) { in TEST() local
127 size_t sz = 1 << 7; in TEST() local
/llvm-project/libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.put/
H A Dxsputn.PR14074.pass.cpp48 std::streamsize sz = buf.sputn("\xFF", 1); in main() local
58 std::streamsize sz = buf.sputn("\xFF", 1); in main() local
/llvm-project/libcxx/test/std/containers/views/views.span/span.obs/
H A Dsize.pass.cpp24 constexpr bool testConstexprSpan(Span sp, std::size_t sz) in testConstexprSpan()
32 void testRuntimeSpan(Span sp, std::size_t sz) in testRuntimeSpan()
H A Dsize_bytes.pass.cpp25 constexpr bool testConstexprSpan(Span sp, std::size_t sz) in testConstexprSpan()
33 void testRuntimeSpan(Span sp, std::size_t sz) in testRuntimeSpan()
/llvm-project/libcxx/test/std/strings/basic.string/string.capacity/
H A Dmax_size.pass.cpp38 const std::size_t sz = s2.max_size() - 1; in test_resize_max_size_minus_1() local
50 const std::size_t sz = s2.max_size(); in test_resize_max_size() local
/llvm-project/libcxx/test/std/numerics/numarray/template.valarray/valarray.sub/
H A Dgslice_non_const.pass.cpp28 std::size_t sz[] = {2, 4, 3}; in main() local
66 std::size_t sz[] = {2, 4, 3}; in main() local
/llvm-project/compiler-rt/test/tsan/
H A Dunaligned_norace.cpp18 static void access(char *p, int sz, int rw) { in access()
36 static int accesssize(int sz) { in accesssize()
/llvm-project/libcxx/test/std/containers/sequences/vector/vector.capacity/
H A Dreserve.pass.cpp54 std::size_t sz = v.max_size() + 1; tests() local
68 std::size_t sz = v.max_size() + 1; tests() local
/llvm-project/libcxx/test/std/containers/sequences/vector.bool/
H A Dinsert_iter_value.pass.cpp38 std::size_t sz = v.size(); in tests() local
53 std::size_t sz = v.size(); in tests() local
H A Dinsert_iter_size_value.pass.cpp39 std::size_t sz = v.size(); in tests() local
55 std::size_t sz = v.size(); in tests() local
/llvm-project/libcxx/test/std/containers/sequences/vector/vector.modifiers/
H A Dinsert_iter_size_value.pass.cpp41 std::size_t sz = v.size(); in tests() local
57 std::size_t sz = v.size(); in tests() local
/llvm-project/llvm/test/MC/AArch64/
H A Dmacro-hex-int.s3 .macro do_add sz argument
/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_placement_new.h20 inline void *operator new(__sanitizer::usize sz, void *p) { return p; } in new()
/llvm-project/compiler-rt/test/asan/TestCases/Windows/
H A Dheaprealloc.cpp9 size_t sz = 8; in main() local
/llvm-project/libcxx/test/std/input.output/iostreams.base/fpos/fpos.operations/
H A Dstreamsize.pass.cpp21 std::streamsize sz(o); in main() local

1234567