| /openbsd/src/gnu/llvm/compiler-rt/lib/gwp_asan/tests/ |
| D | basic.cpp | 13 void *Ptr = GPA.allocate(1); in TEST_F() 31 void *Ptr = GPA.allocate(AllocSize); in TEST_F() 41 GPA.allocate(GPA.getAllocatorState()->maximumAllocationSize() + 1)); in TEST_F() 42 EXPECT_EQ(nullptr, GPA.allocate(SIZE_MAX, 0)); in TEST_F() 43 EXPECT_EQ(nullptr, GPA.allocate(SIZE_MAX, 1)); in TEST_F() 44 EXPECT_EQ(nullptr, GPA.allocate(0, SIZE_MAX / 2)); in TEST_F() 45 EXPECT_EQ(nullptr, GPA.allocate(1, SIZE_MAX / 2)); in TEST_F() 46 EXPECT_EQ(nullptr, GPA.allocate(SIZE_MAX, SIZE_MAX / 2)); in TEST_F() 51 EXPECT_NE(nullptr, (P = GPA.allocate(0, 0))); in TEST_F() 53 EXPECT_NE(nullptr, (P = GPA.allocate(1, 0))); in TEST_F() [all …]
|
| D | enable_disable.cpp | 18 P = GPA.allocate(Size); in TEST_F() 25 P = GPA.allocate(Size); in TEST_F() 78 void *P = GPA.allocate(Size); in TEST_F()
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
| D | sanitizer_coverage_win_sections.cpp | 35 __declspec(allocate(".SCOV$CA")) uint64_t __start___sancov_cntrs = 0; 45 __declspec(allocate(".SCOV$CZ")) __declspec(align(1)) uint8_t 49 __declspec(allocate(".SCOV$GA")) uint64_t __start___sancov_guards = 0; 51 __declspec(allocate(".SCOV$GZ")) __declspec(align(1)) uint8_t 60 __declspec(allocate(".SCOVP$A")) uint64_t __start___sancov_pcs = 0; 62 __declspec(allocate(".SCOVP$Z")) __declspec(align(1)) uint8_t
|
| D | sanitizer_win_dll_thunk.cpp | 62 __declspec(allocate(".DLLTH$A")) DllThunkCB __start_dll_thunk; 63 __declspec(allocate(".DLLTH$Z")) DllThunkCB __stop_dll_thunk; 89 __declspec(allocate(".CRT$XIB")) int (*__dll_thunk_preinit)() = 98 __declspec(allocate(".CRT$XLAB")) void (WINAPI *__dll_thunk_tls_init)(void *,
|
| D | sanitizer_win_weak_interception.cpp | 62 __declspec(allocate(".WEAK$A")) InterceptCB __start_weak_list; 63 __declspec(allocate(".WEAK$Z")) InterceptCB __stop_weak_list; 82 __declspec(allocate(".CRT$XIB")) int (*__weak_intercept_preinit)() = 91 __declspec(allocate(".CRT$XLAB")) void(WINAPI *__weak_intercept_tls_init)(
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/asan/ |
| D | asan_win_dynamic_runtime_thunk.cpp | 77 __declspec(allocate(".CRT$XIB")) int (*__asan_initialize_cloned_variables)() = 79 __declspec(allocate(".CRT$XLAB")) void (NTAPI *__asan_tls_init)(void *, 95 __declspec(allocate(".CRT$XTW")) void* before_global_dtors = 0; 96 __declspec(allocate(".CRT$XTY")) void* after_global_dtors = 0; 111 __declspec(allocate(".CRT$XID")) 124 __declspec(allocate(".CRT$XCAB")) int (*__asan_seh_interceptor)() =
|
| D | asan_globals_win.cpp | 20 extern "C" __declspec(allocate(".ASAN$GA")) 22 extern "C" __declspec(allocate(".ASAN$GZ")) 54 extern "C" __declspec(allocate(".CRT$XCU")) 56 extern "C" __declspec(allocate(".CRT$XTX"))
|
| /openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/inherit/ |
| D | access3.C | 5 static void allocate() {} in allocate() function 11 static void allocate(); 15 void __debug_alloc<_Alloc>::allocate() { in allocate() function 16 _Alloc::allocate(); in allocate()
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/scudo/standalone/ |
| D | wrappers_cpp.cpp | 25 return Allocator.allocate(size, scudo::Chunk::Origin::New); in operator new() 28 return Allocator.allocate(size, scudo::Chunk::Origin::NewArray); in operator new[]() 32 return Allocator.allocate(size, scudo::Chunk::Origin::New); in operator new() 36 return Allocator.allocate(size, scudo::Chunk::Origin::NewArray); in operator new[]() 39 return Allocator.allocate(size, scudo::Chunk::Origin::New, in operator new() 43 return Allocator.allocate(size, scudo::Chunk::Origin::NewArray, in operator new[]() 48 return Allocator.allocate(size, scudo::Chunk::Origin::New, in operator new() 53 return Allocator.allocate(size, scudo::Chunk::Origin::NewArray, in operator new[]()
|
| D | wrappers_c.inc | 31 return scudo::setErrnoOnNull(SCUDO_ALLOCATOR.allocate( 75 return scudo::setErrnoOnNull(SCUDO_ALLOCATOR.allocate( 105 return SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Memalign, 117 SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Memalign, alignment); 133 // pvalloc(0) should allocate one page. 134 return scudo::setErrnoOnNull(SCUDO_ALLOCATOR.allocate( 141 return scudo::setErrnoOnNull(SCUDO_ALLOCATOR.allocate( 152 return scudo::setErrnoOnNull(SCUDO_ALLOCATOR.allocate( 228 SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Malloc, alignment));
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/ |
| D | combined_test.cpp | 159 void *P = Allocator->allocate(Size, Origin, Align); in BasicTest() 205 void *P = Allocator->allocate(Size, Origin, 1U << MinAlignLog, true); in SCUDO_TYPED_TEST() 223 void *P = Allocator->allocate(Size, Origin, 1U << MinAlignLog, false); in SCUDO_TYPED_TEST() 243 void *P = Allocator->allocate(Size, Origin, 1U << MinAlignLog, false); in SCUDO_TYPED_TEST() 265 void *NeedleP = Allocator->allocate(NeedleSize, Origin); in SCUDO_TYPED_TEST() 269 void *P = Allocator->allocate(NeedleSize, Origin); in SCUDO_TYPED_TEST() 284 void *P = Allocator->allocate(Size, Origin); in SCUDO_TYPED_TEST() 306 void *P = Allocator->allocate(Size, Origin); in SCUDO_TYPED_TEST() 329 void *P = Allocator->allocate(ReallocSize, Origin); in SCUDO_TYPED_TEST() 354 V.push_back(Allocator->allocate( in SCUDO_TYPED_TEST() [all …]
|
| D | secondary_test.cpp | 42 void *P = L->allocate(Options, Size); in testSecondaryBasic() 55 P = L->allocate(Options, Size); in testSecondaryBasic() 64 P = L->allocate(Options, Size + Align, Align); in testSecondaryBasic() 73 V.push_back(L->allocate(Options, Size)); in testSecondaryBasic() 137 void *P = Allocator->allocate(Options, Size, Align); in TEST_F() 155 V.push_back(Allocator->allocate(Options, (std::rand() % 16) * PageSize)); in TEST_F() 211 void *P = Allocator->allocate(Options, (std::rand() % 16) * PageSize); in performAllocations()
|
| /openbsd/src/gnu/lib/libstdc++/libstdc++/include/bits/ |
| D | stl_alloc.h | 107 allocate(size_t __n) in allocate() function 136 allocate(size_t __n) in allocate() function 228 allocate(size_t __n) in allocate() function 232 __ret = static_cast<_Tp*>(_Alloc::allocate(__n * sizeof(_Tp))); in allocate() 237 allocate() in allocate() function 238 { return (_Tp*) _Alloc::allocate(sizeof (_Tp)); } in allocate() 271 allocate(size_t __n) in allocate() function 273 char* __result = (char*)_Alloc::allocate(__n + (int) _S_extra); in allocate() 387 allocate(size_t __n) in allocate() function 403 __ret = __new_alloc::allocate(__n); in allocate() [all …]
|
| D | pthread_allocimpl.h | 162 static void * allocate(size_t __n) in allocate() function 169 return(malloc_alloc::allocate(__n)); in allocate() 316 _S_start_free = (char *)malloc_alloc::allocate(__bytes_to_get); in _S_chunk_alloc() 320 _S_start_free = (char *)malloc_alloc::allocate(__bytes_to_get); in _S_chunk_alloc() 380 __result = allocate(__new_sz); in reallocate() 442 _Tp* allocate(size_type __n, const void* = 0) { 443 return __n != 0 ? static_cast<_Tp*>(_S_Alloc::allocate(__n * sizeof(_Tp)))
|
| /openbsd/src/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/gp_hash_table_map_/ |
| D | constructor_destructor_fn_imps.hpp | 67 m_entries(s_entry_allocator.allocate(m_num_e)) in PB_DS_CLASS_NAME() 78 m_entries(s_entry_allocator.allocate(m_num_e)) in PB_DS_CLASS_NAME() 90 m_entries(s_entry_allocator.allocate(m_num_e)) in PB_DS_CLASS_NAME() 104 m_entries(s_entry_allocator.allocate(m_num_e)) in PB_DS_CLASS_NAME() 118 m_entries(s_entry_allocator.allocate(m_num_e)) in PB_DS_CLASS_NAME() 133 m_entries(s_entry_allocator.allocate(m_num_e)) in PB_DS_CLASS_NAME() 150 m_entries(s_entry_allocator.allocate(m_num_e)) in PB_DS_CLASS_NAME()
|
| /openbsd/src/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/cc_hash_table_map_/ |
| D | constructor_destructor_fn_imps.hpp | 71 m_entries(s_entry_pointer_allocator.allocate(m_num_e)) in PB_DS_CLASS_NAME() 82 m_entries(s_entry_pointer_allocator.allocate(m_num_e)) in PB_DS_CLASS_NAME() 94 m_entries(s_entry_pointer_allocator.allocate(m_num_e)) in PB_DS_CLASS_NAME() 109 m_entries(s_entry_pointer_allocator.allocate(m_num_e)) in PB_DS_CLASS_NAME() 123 m_entries(s_entry_pointer_allocator.allocate(m_num_e)) in PB_DS_CLASS_NAME() 138 m_entries(m_entries = s_entry_pointer_allocator.allocate(m_num_e)) in PB_DS_CLASS_NAME()
|
| /openbsd/src/gnu/gcc/libstdc++-v3/include/ext/ |
| D | debug_allocator.h | 91 allocate(size_type __n) in allocate() function 93 pointer __res = _M_allocator.allocate(__n + _M_extra); in allocate() 100 allocate(size_type __n, const void* __hint) in allocate() function 102 pointer __res = _M_allocator.allocate(__n + _M_extra, __hint); in allocate()
|
| /openbsd/src/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/pat_trie_/ |
| D | constructors_destructor_fn_imps.hpp | 62 m_p_head(s_head_allocator.allocate(1)), in PB_DS_CLASS_NAME() 73 m_p_head(s_head_allocator.allocate(1)), in PB_DS_CLASS_NAME() 88 m_p_head(s_head_allocator.allocate(1)), in PB_DS_CLASS_NAME() 178 leaf_pointer p_new_lf = s_leaf_allocator.allocate(1); in recursive_copy_node() 200 p_ret = s_internal_node_allocator.allocate(1); in recursive_copy_node()
|
| /openbsd/src/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/ |
| D | constructors_destructor_fn_imps.hpp | 53 PB_DS_CLASS_NAME() : m_p_head(s_node_allocator.allocate(1)), m_size(0) in PB_DS_CLASS_NAME() 62 Cmp_Fn(r_cmp_fn), m_p_head(s_node_allocator.allocate(1)), m_size(0) in PB_DS_CLASS_NAME() 73 m_p_head(s_node_allocator.allocate(1)), in PB_DS_CLASS_NAME() 91 m_p_head(s_node_allocator.allocate(1)), in PB_DS_CLASS_NAME() 165 node_pointer p_ret = s_node_allocator.allocate(1); in recursive_copy_node()
|
| /openbsd/src/gnu/lib/libstdc++/libstdc++/include/backward/ |
| D | defalloc.h | 68 inline _Tp* allocate(ptrdiff_t __size, _Tp*) { in allocate() function 94 pointer allocate(size_type __n) { in allocate() function 95 return ::allocate((difference_type)__n, (pointer)0); in allocate()
|
| /openbsd/src/gnu/gcc/libstdc++-v3/include/backward/ |
| D | defalloc.h | 68 inline _Tp* allocate(ptrdiff_t __size, _Tp*) { in allocate() function 94 pointer allocate(size_type __n) { in allocate() function 95 return ::allocate((difference_type)__n, (pointer)0); in allocate()
|
| /openbsd/src/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/binary_heap_/ |
| D | split_join_fn_imps.hpp | 82 a_entries = s_entry_allocator.allocate(actual_size); in split() 84 a_other_entries = s_entry_allocator.allocate(other_actual_size); in split() 142 a_entries = s_entry_allocator.allocate(actual_size); in join() 143 a_other_entries = s_entry_allocator.allocate(resize_policy::min_size); in join()
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/ |
| D | standalone_malloc_test.cpp | 26 bool allocate = (i % 5) <= 2; // 60% malloc, 40% free in MallocThread() local 28 allocate = i % 2; // then switch to 50% malloc, 50% free in MallocThread() 29 if (allocate) { in MallocThread()
|
| /openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/expr/ |
| D | anew1.C | 12 int* allocate(int n) in allocate() function 23 int* p = allocate(n); in main()
|
| D | anew2.C | 12 double* allocate(int n) in allocate() function 23 double* p = allocate(n); in main()
|