Home
last modified time | relevance | path

Searched defs:size (Results 1 – 25 of 1562) sorted by relevance

12345678910>>...63

/llvm-project/clang-tools-extra/test/clang-tidy/checkers/altera/
H A Dsingle-work-item-barrier.cpp7 void __kernel error_barrier_no_id(__global int * foo, int size) { in error_barrier_no_id()
21 void __kernel success_barrier_global_id(__global int * foo, int size) { in success_barrier_global_id()
26 void __kernel success_barrier_local_id(__global int * foo, int size) { in success_barrier_local_id()
31 void __kernel success_barrier_both_ids(__global int * foo, int size) { in success_barrier_both_ids()
37 void success_nokernel_barrier_no_id(__global int * foo, int size) { in success_nokernel_barrier_no_id()
49 void success_nokernel_barrier_global_id(__global int * foo, int size) { in success_nokernel_barrier_global_id()
54 void success_nokernel_barrier_local_id(__global int * foo, int size) { in success_nokernel_barrier_local_id()
59 void success_nokernel_barrier_both_ids(__global int * foo, int size) { in success_nokernel_barrier_both_ids()
67 void __kernel error_barrier_no_id(__global int * foo, int size) { in error_barrier_no_id()
81 void __kernel success_barrier_global_id(__global int * foo, int size) { in success_barrier_global_id()
[all …]
/llvm-project/llvm/lib/Support/rpmalloc/
H A Dmalloc.c85 extern inline RPMALLOC_RESTRICT void *RPMALLOC_CDECL malloc(size_t size) { in malloc()
89 size_t size) { in calloc()
93 size_t size) { in realloc()
96 extern inline void *RPMALLOC_CDECL reallocf(void *ptr, size_t size) { in reallocf()
100 size_t size) { in aligned_alloc()
103 extern inline void *RPMALLOC_CDECL memalign(size_t alignment, size_t size) { in memalign()
107 size_t size) { in posix_memalign()
120 extern inline RPMALLOC_RESTRICT void *RPMALLOC_CDECL _malloc_base(size_t size) { in _malloc_base()
125 size_t size) { in _calloc_base()
135 _realloc_base(void *ptr, size_t size) { in _realloc_base()
[all …]
H A Drpnew.h27 extern void *__CRTDECL operator new(std::size_t size) noexcept(false) { in new()
35 extern void *__CRTDECL operator new(std::size_t size, in new()
49 extern void __CRTDECL operator delete(void *p, std::size_t size) noexcept { in delete()
75 extern void __CRTDECL operator delete(void *p, std::size_t size, in delete()
89 extern void *__CRTDECL operator new(std::size_t size, in new()
99 extern void *__CRTDECL operator new(std::size_t size, std::align_val_t align, in new()
/llvm-project/compiler-rt/lib/asan_abi/
H A Dasan_abi_shim.cpp45 void *__asan_memcpy(void *dst, const void *src, uptr size) { in __asan_memcpy()
87 void __asan_report_load_n(uptr addr, uptr size) { in __asan_report_load_n()
105 void __asan_report_store_n(uptr addr, uptr size) { in __asan_report_store_n()
125 void __asan_report_exp_load_n(uptr addr, uptr size, u32 exp) { in __asan_report_exp_load_n()
143 void __asan_report_exp_store_n(uptr addr, uptr size, u32 exp) { in __asan_report_exp_store_n()
163 void __asan_report_load_n_noabort(uptr addr, uptr size) { in __asan_report_load_n_noabort()
181 void __asan_report_store_n_noabort(uptr addr, uptr size) { in __asan_report_store_n_noabort()
191 void __asan_loadN(uptr addr, uptr size) { in __asan_loadN()
199 void __asan_storeN(uptr addr, uptr size) { in __asan_storeN()
219 void __asan_exp_loadN(uptr addr, uptr size, u32 exp) { in __asan_exp_loadN()
[all …]
/llvm-project/libc/test/src/string/
H A Dmemchr_test.cpp15 const char *call_memchr(const void *src, int c, size_t size) { in call_memchr()
21 const size_t size = 5; in TEST() local
28 const size_t size = 3; in TEST() local
37 const size_t size = 6; in TEST() local
44 const size_t size = 6; in TEST() local
51 const size_t size = 6; in TEST() local
58 const size_t size = 6; in TEST() local
65 const size_t size = 4; in TEST() local
74 const size_t size = 2; in TEST() local
79 const size_t size = 6; in TEST() local
[all …]
H A Dmemrchr_test.cpp15 const char *call_memrchr(const void *src, int c, size_t size) { in call_memrchr()
21 const size_t size = 6; in TEST() local
28 const size_t size = 3; in TEST() local
37 const size_t size = 6; in TEST() local
44 const size_t size = 6; in TEST() local
51 const size_t size = 6; in TEST() local
58 const size_t size = 6; in TEST() local
65 const size_t size = 4; in TEST() local
74 const size_t size = 2; in TEST() local
79 size_t size = 12; // 11 characters + null terminator. in TEST() local
[all …]
/llvm-project/compiler-rt/test/hwasan/TestCases/
H A Dnew-test.cpp12 void operator_new_delete(size_t size) { in operator_new_delete() argument
24 void operator_new_delete_array(size_t size) { in operator_new_delete_array() argument
36 operator_new_delete(size_t size,std::align_val_t align) operator_new_delete() argument
50 operator_new_delete_array(size_t size,std::align_val_t align) operator_new_delete_array() argument
64 operator_new_delete(size_t size,const std::nothrow_t & tag) operator_new_delete() argument
71 operator_new_delete_array(size_t size,const std::nothrow_t & tag) operator_new_delete_array() argument
78 operator_new_delete(size_t size,std::align_val_t align,const std::nothrow_t & tag) operator_new_delete() argument
86 operator_new_delete_array(size_t size,std::align_val_t align,const std::nothrow_t & tag) operator_new_delete_array() argument
94 operator_new_delete(size_t size,void * ptr) operator_new_delete() argument
100 operator_new_delete_array(size_t size,void * ptr) operator_new_delete_array() argument
[all...]
/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_interceptors_memintrinsics.cpp26 #define MEMPROF_MEMCPY_IMPL(to, from, size) \ argument
40 #define MEMPROF_MEMSET_IMPL(block, c, size) \ argument
52 #define MEMPROF_MEMMOVE_IMPL(to, from, size) \ argument
62 #define COMMON_INTERCEPTOR_MEMMOVE_IMPL(ctx, to, from, size) \ argument
68 #define COMMON_INTERCEPTOR_MEMCPY_IMPL(ctx, to, from, size) \ argument
74 #define COMMON_INTERCEPTOR_MEMSET_IMPL(ctx, block, c, size) \ argument
82 void *__memprof_memcpy(void *to, const void *from, uptr size) { in __memprof_memcpy()
86 void *__memprof_memset(void *block, int c, uptr size) { in __memprof_memset()
90 void *__memprof_memmove(void *to, const void *from, uptr size) { in __memprof_memmove()
H A Dmemprof_new_delete.cpp47 void *operator new(size_t size) { in operator new()
51 void *operator new[](size_t size) { in operator new[]()
55 void *operator new(size_t size, std::nothrow_t const &) { in operator new()
59 void *operator new[](size_t size, std::nothrow_t const &) { in operator new[]()
63 void *operator new(size_t size, std::align_val_t align) { in operator new()
67 void *operator new[](size_t size, std::align_val_t align) { in operator new[]()
71 void *operator new(size_t size, std::align_val_t align, in operator new()
76 void *operator new[](size_t size, std::align_val_t align, in operator new[]()
112 void operator delete(void *ptr, size_t size)NOEXCEPT { in operator delete()
116 void operator delete[](void *ptr, size_t size) NOEXCEPT { in operator delete[]()
[all …]
H A Dmemprof_interceptors_memintrinsics.h21 DECLARE_REAL(void *, memcpy, void *to, const void *from, SIZE_T size) in DECLARE_REAL() argument
30 #define ACCESS_MEMORY_RANGE(offset, size) \ in DECLARE_REAL() argument
35 #define MEMPROF_READ_RANGE(offset, size) ACCESS_MEMORY_RANGE(offset, size) in DECLARE_REAL() argument
36 #define MEMPROF_WRITE_RANGE(offset, size) ACCESS_MEMORY_RANGE(offset, size) in DECLARE_REAL() argument
/llvm-project/compiler-rt/lib/asan/
H A Dasan_interceptors_memintrinsics.cpp28 #define ASAN_MEMCPY_IMPL(ctx, to, from, size) \ argument
43 #define ASAN_MEMSET_IMPL(ctx, block, c, size) \ argument
53 #define ASAN_MEMMOVE_IMPL(ctx, to, from, size) \ argument
62 void *__asan_memcpy(void *to, const void *from, uptr size) { in __asan_memcpy()
66 void *__asan_memset(void *block, int c, uptr size) { in __asan_memset()
70 void *__asan_memmove(void *to, const void *from, uptr size) { in __asan_memmove()
86 #define COMMON_INTERCEPTOR_MEMMOVE_IMPL(ctx, to, from, size) \ argument
92 #define COMMON_INTERCEPTOR_MEMCPY_IMPL(ctx, to, from, size) \ argument
98 #define COMMON_INTERCEPTOR_MEMSET_IMPL(ctx, block, c, size) \ argument
H A Dasan_new_delete.cpp85 void *operator new(size_t size) in operator new()
88 void *operator new[](size_t size) in operator new[]()
91 void *operator new(size_t size, std::nothrow_t const&) in operator new()
94 void *operator new[](size_t size, std::nothrow_t const&) in operator new[]()
97 void *operator new(size_t size, std::align_val_t align) in operator new()
100 void *operator new[](size_t size, std::align_val_t align) in operator new[]()
103 void *operator new(size_t size, std::align_val_t align, std::nothrow_t const&) in operator new()
106 void *operator new[](size_t size, std::align_val_t align, std::nothrow_t const&) in operator new[]()
110 INTERCEPTOR(void *, _Znwm, size_t size) { in INTERCEPTOR()
113 INTERCEPTOR(void *, _Znam, size_t size) { in INTERCEPTOR()
[all …]
/llvm-project/libc/src/__support/macros/
H A Dsanitizer.h53 __asan_unpoison_memory_region((addr), (size)) argument
59 MSAN_UNPOISON(ptr,size) global() argument
64 ASAN_POISON_MEMORY_REGION(addr,size) global() argument
66 ASAN_UNPOISON_MEMORY_REGION(addr,size) global() argument
69 ASAN_POISON_MEMORY_REGION(addr,size) global() argument
70 ASAN_UNPOISON_MEMORY_REGION(addr,size) global() argument
[all...]
/llvm-project/compiler-rt/lib/msan/
H A Dmsan_new_delete.cpp51 void *operator new(size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); } in operator new()
53 void *operator new[](size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); } in operator new[]()
55 void *operator new(size_t size, std::nothrow_t const&) { in operator new()
59 void *operator new[](size_t size, std::nothrow_t const&) { in operator new[]()
63 void *operator new(size_t size, std::align_val_t align) in operator new()
66 void *operator new[](size_t size, std::align_val_t align) in operator new[]()
69 void *operator new(size_t size, std::align_val_t align, std::nothrow_t const&) in operator new()
72 void *operator new[](size_t size, std::align_val_t align, std::nothrow_t const&) in operator new[]()
90 void operator delete(void *ptr, size_t size) NOEXCEPT { OPERATOR_DELETE_BODY; } in operator delete()
92 void operator delete[](void *ptr, size_t size) NOEXCEPT in operator delete[]()
[all …]
/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_new_delete.cpp46 void *operator new(size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); } in operator new() argument
48 void *operator new[](size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); } in operator new[]() argument
50 void *operator new(size_t size, std::nothrow_t const &) { in operator new() argument
54 void *operator new[](size_t size, std::nothrow_t const &) { in operator new[]() argument
58 void *operator new(size_t size, std::align_val_t align) { in operator new() argument
62 void *operator new[](size_t size, st argument
66 operator new(size_t size,std::align_val_t align,std::nothrow_t const &) operator new() argument
71 operator new[](size_t size,std::align_val_t align,std::nothrow_t const &) operator new[]() argument
93 operator delete(void * ptr,size_t size) operator delete() argument
95 operator delete[](void * ptr,size_t size) operator delete[]() argument
117 operator delete(void * ptr,size_t size,std::align_val_t align) operator delete() argument
121 operator delete[](void * ptr,size_t size,std::align_val_t align) operator delete[]() argument
[all...]
/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dwrappers_cpp.cpp27 static void reportAllocation(void *ptr, size_t size) { in reportAllocation()
38 INTERFACE WEAK void *operator new(size_t size) { in operator new()
43 INTERFACE WEAK void *operator new[](size_t size) { in operator new[]()
48 INTERFACE WEAK void *operator new(size_t size, in operator new()
54 INTERFACE WEAK void *operator new[](size_t size, in operator new[]()
60 INTERFACE WEAK void *operator new(size_t size, std::align_val_t align) { in operator new()
66 INTERFACE WEAK void *operator new[](size_t size, std::align_val_t align) { in operator new[]()
72 INTERFACE WEAK void *operator new(size_t size, std::align_val_t align, in operator new()
79 INTERFACE WEAK void *operator new[](size_t size, std::align_val_t align, in operator new[]()
105 INTERFACE WEAK void operator delete(void *ptr, size_t size) NOEXCEPT { in operator delete()
[all …]
/llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/
H A Dstable_partition.pass.cpp56 const unsigned size = sizeof(array)/sizeof(array[0]); in test() local
85 const unsigned size = sizeof(array)/sizeof(array[0]); in test() local
125 const unsigned size = sizeof(array)/sizeof(array[0]); in test() local
154 const unsigned size = sizeof(array)/sizeof(array[0]); in test() local
183 const unsigned size in test() local
212 const unsigned size = sizeof(array)/sizeof(array[0]); test() local
241 const unsigned size = sizeof(array)/sizeof(array[0]); test() local
270 const unsigned size = sizeof(array)/sizeof(array[0]); test() local
319 const unsigned size = 5; test1() local
[all...]
/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_allocation_functions.cpp43 __sanitizer_posix_memalign(void ** memptr,uptr alignment,uptr size) __sanitizer_posix_memalign() argument
51 __sanitizer_memalign(uptr alignment,uptr size) __sanitizer_memalign() argument
57 __sanitizer_aligned_alloc(uptr alignment,uptr size) __sanitizer_aligned_alloc() argument
63 __sanitizer___libc_memalign(uptr alignment,uptr size) __sanitizer___libc_memalign() argument
72 __sanitizer_valloc(uptr size) __sanitizer_valloc() argument
78 __sanitizer_pvalloc(uptr size) __sanitizer_pvalloc() argument
124 __sanitizer_calloc(uptr nmemb,uptr size) __sanitizer_calloc() argument
132 __sanitizer_realloc(void * ptr,uptr size) __sanitizer_realloc() argument
140 __sanitizer_reallocarray(void * ptr,uptr nmemb,uptr size) __sanitizer_reallocarray() argument
146 __sanitizer_malloc(uptr size) __sanitizer_malloc() argument
[all...]
H A Dhwasan_memintrinsics.cpp24 void *__hwasan_memset(void *block, int c, uptr size) { in __hwasan_memset()
30 void *__hwasan_memcpy(void *to, const void *from, uptr size) { in __hwasan_memcpy()
38 void *__hwasan_memmove(void *to, const void *from, uptr size) { in __hwasan_memmove()
46 void *__hwasan_memset_match_all(void *block, int c, uptr size, in __hwasan_memset_match_all()
54 void *__hwasan_memcpy_match_all(void *to, const void *from, uptr size, in __hwasan_memcpy_match_all()
65 void *__hwasan_memmove_match_all(void *to, const void *from, uptr size, in __hwasan_memmove_match_all()
/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_new_delete.cpp63 void *operator new(__sanitizer::uptr size) { in operator new()
69 void *operator new[](__sanitizer::uptr size) { in operator new[]()
75 void *operator new(__sanitizer::uptr size, std::nothrow_t const&) { in operator new()
81 void *operator new[](__sanitizer::uptr size, std::nothrow_t const&) { in operator new[]()
87 void *operator new(__sanitizer::uptr size, std::align_val_t align) { in operator new()
93 void *operator new[](__sanitizer::uptr size, std::align_val_t align) { in operator new[]()
100 void *operator new(__sanitizer::uptr size, std::align_val_t align, in operator new()
109 void *operator new[](__sanitizer::uptr size, std::align_val_t align, in operator new[]()
149 void operator delete(void *ptr, __sanitizer::uptr size) NOEXCEPT { in operator delete()
155 void operator delete[](void *ptr, __sanitizer::uptr size) NOEXCEPT { in operator delete[]()
[all …]
/llvm-project/clang/utils/analyzer/projects/
H A Dprojects.json8 "size": "tiny" string
16 "size": "small" string
24 "size": "tiny" string
32 "size": "small" string
40 "size": "tiny" string
48 "size": "tiny" string
56 "size": "tiny" string
64 "size": "small" string
72 "size": "tiny" string
80 "size": "small" string
[all …]
/llvm-project/flang/test/Lower/Intrinsics/
H A Dishftc.f9051 subroutine dyn_optional_scalar(i, shift, size) argument
52 integer, optional :: size local
77 subroutine dyn_optional_array_scalar(i, shift, size) argument
78 integer, optional :: size local
102 subroutine dyn_optional_array(i, shift, size) argument
103 integer, optional :: size(:) local
129 integer :: size(4) = [2, 4, 8, 16] variable
/llvm-project/clang/test/SemaCXX/
H A Dstatic-assert-cxx26.cpp42 constexpr unsigned long size() const { in size() function
60 constexpr int size() const { in size() function
76 constexpr unsigned long size() const { in size() function
112 constexpr ConvertibleToInt size() const { in size() function
126 constexpr unsigned long size() const { in size() function
139 constexpr unsigned long size() const { in size() function
169 constexpr auto size() const { in size() function
198 constexpr int size() { in size() function
209 constexpr int size(int i = 0) { in size() function
220 constexpr int size(auto...) { in size() function
[all …]
/llvm-project/libcxx/test/std/ranges/range.access/
H A Dsize.pass.cpp38 constexpr std::size_t size() { return 42; } in size() function
42 constexpr static std::size_t size() { return 42; } in size() function
48 friend constexpr std::size_t size(SizeFunction) { return 42; } in size() function
53 constexpr std::size_t size() { return 42; } in size() function
54 friend constexpr std::size_t size(SizeMemberAndFunction) { return 0; } in size() function
76 constexpr std::size_t size() const { return 42; } in size() function
80 constexpr long size() { return 42; } in size() function
106 friend constexpr std::size_t size(MoveOnlySizeFunction) { return 42; } in size() function
113 constexpr std::size_t size(EnumSizeFunction) { return 42; } in size() function
116 friend constexpr std::size_t size(const SizeFunctionConst) { return 42; } in size() function
[all …]
/llvm-project/compiler-rt/include/sanitizer/
H A Dasan_interface.h69 #define ASAN_POISON_MEMORY_REGION(addr, size) \ argument
79 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) \ argument
82 #define ASAN_POISON_MEMORY_REGION(addr, size) ((void)(addr), (void)(size)) argument
83 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) ((void)(addr), (void)(size)) argument

12345678910>>...63