/dports/lang/spidermonkey78/firefox-78.9.0/xpcom/tests/gtest/ |
H A D | TestArenaAllocator.cpp | 13 using mozilla::ArenaAllocator; 16 { ArenaAllocator<4096, 4> a; } in TEST() 21 ArenaAllocator<1024> a; in TEST() 62 ArenaAllocator<1024> a; 71 ArenaAllocator<256, 3> a; 72 ArenaAllocator<256, 7> b; 73 ArenaAllocator<256, 17> c; 80 ArenaAllocator<4096, 4> a; in TEST() 100 ArenaAllocator<4096> a; in TEST() 109 ArenaAllocator<256> a; in TEST() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/xpcom/tests/gtest/ |
H A D | TestArenaAllocator.cpp | 13 using mozilla::ArenaAllocator; 17 ArenaAllocator<4096, 4> a; in TEST() 23 ArenaAllocator<1024> a; in TEST() 64 ArenaAllocator<1024> a; 73 ArenaAllocator<256, 3> a; 74 ArenaAllocator<256, 7> b; 75 ArenaAllocator<256, 17> c; 82 ArenaAllocator<4096,4> a; in TEST() 102 ArenaAllocator<4096> a; in TEST() 111 ArenaAllocator<256> a; in TEST() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/xpcom/tests/gtest/ |
H A D | TestArenaAllocator.cpp | 13 using mozilla::ArenaAllocator; 16 { ArenaAllocator<4096, 4> a; } in TEST() 21 ArenaAllocator<1024> a; in TEST() 62 ArenaAllocator<1024> a; 71 ArenaAllocator<256, 3> a; 72 ArenaAllocator<256, 7> b; 73 ArenaAllocator<256, 17> c; 80 ArenaAllocator<4096, 4> a; in TEST() 100 ArenaAllocator<4096> a; in TEST() 109 ArenaAllocator<256> a; in TEST() [all …]
|
/dports/www/firefox/firefox-99.0/xpcom/tests/gtest/ |
H A D | TestArenaAllocator.cpp | 13 using mozilla::ArenaAllocator; 16 { ArenaAllocator<4096, 4> a; } in TEST() 21 ArenaAllocator<1024> a; in TEST() 62 ArenaAllocator<1024> a; 71 ArenaAllocator<256, 3> a; 72 ArenaAllocator<256, 7> b; 73 ArenaAllocator<256, 17> c; 80 ArenaAllocator<4096, 4> a; in TEST() 100 ArenaAllocator<4096> a; in TEST() 109 ArenaAllocator<256> a; in TEST() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/xpcom/tests/gtest/ |
H A D | TestArenaAllocator.cpp | 13 using mozilla::ArenaAllocator; 16 { ArenaAllocator<4096, 4> a; } in TEST() 21 ArenaAllocator<1024> a; in TEST() 62 ArenaAllocator<1024> a; 71 ArenaAllocator<256, 3> a; 72 ArenaAllocator<256, 7> b; 73 ArenaAllocator<256, 17> c; 80 ArenaAllocator<4096, 4> a; in TEST() 100 ArenaAllocator<4096> a; in TEST() 109 ArenaAllocator<256> a; in TEST() [all …]
|
/dports/textproc/xalan-c/xalan_c-1.12/src/xalanc/PlatformSupport/ |
H A D | ArenaAllocator.hpp | 47 class ArenaAllocator class 51 typedef ArenaAllocator<ObjectType, ArenaBlockType> ThisType; 62 ArenaAllocator( in ArenaAllocator() function in XALAN_CPP_NAMESPACE::ArenaAllocator 71 ~ArenaAllocator() in ~ArenaAllocator() 220 ArenaAllocator(const ArenaAllocator<ObjectType, ArenaBlockType>&); 222 ArenaAllocator<ObjectType, ArenaBlockType>& 223 operator=(const ArenaAllocator<ObjectType, ArenaBlockType>&); 226 operator==(const ArenaAllocator<ObjectType, ArenaBlockType>&) const;
|
/dports/lang/zig-devel/zig-0.9.0/src/stage1/ |
H A D | heap.cpp | 87 struct ArenaAllocator::Impl { 144 void *ArenaAllocator::Impl::allocate(const mem::TypeInfo& info, size_t count) { in allocate() 189 void ArenaAllocator::Impl::new_segment() { in new_segment() 195 void ArenaAllocator::Impl::track_segment() { in track_segment() 207 void ArenaAllocator::Impl::track_object(Object object) { in track_object() 218 void ArenaAllocator::init(Allocator *backing, const char *name) { in init() 227 void ArenaAllocator::deinit() { in deinit() 277 ArenaAllocator *ArenaAllocator::construct(mem::Allocator *allocator, mem::Allocator *backing, const… in construct() 278 auto p = new(allocator->create<ArenaAllocator>()) ArenaAllocator; in construct() 283 void ArenaAllocator::destruct(mem::Allocator *allocator) { in destruct() [all …]
|
/dports/lang/zig/zig-0.9.0/src/stage1/ |
H A D | heap.cpp | 87 struct ArenaAllocator::Impl { 144 void *ArenaAllocator::Impl::allocate(const mem::TypeInfo& info, size_t count) { in allocate() 189 void ArenaAllocator::Impl::new_segment() { in new_segment() 195 void ArenaAllocator::Impl::track_segment() { in track_segment() 207 void ArenaAllocator::Impl::track_object(Object object) { in track_object() 218 void ArenaAllocator::init(Allocator *backing, const char *name) { in init() 227 void ArenaAllocator::deinit() { in deinit() 277 ArenaAllocator *ArenaAllocator::construct(mem::Allocator *allocator, mem::Allocator *backing, const… in construct() 278 auto p = new(allocator->create<ArenaAllocator>()) ArenaAllocator; in construct() 283 void ArenaAllocator::destruct(mem::Allocator *allocator) { in destruct() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/subzero/src/ |
H A D | IceMemory.cpp | 25 ICE_TLS_DEFINE_FIELD(ArenaAllocator *, CfgAllocatorTraits, CfgAllocator); 32 ArenaAllocator *Allocator = in set_current() 37 void CfgAllocatorTraits::set_current(ArenaAllocator *Allocator) { in set_current() 45 ICE_TLS_DEFINE_FIELD(ArenaAllocator *, LivenessAllocatorTraits, 53 ArenaAllocator *Allocator = in set_current()
|
H A D | IceMemory.h | 32 using ArenaAllocator = variable 41 LockedArenaAllocator(ArenaAllocator *Alloc, std::mutex *Mutex) in LockedArenaAllocator() 47 ArenaAllocator *operator->() { return Alloc; } 50 ArenaAllocator *Alloc; 137 using allocator_type = ArenaAllocator *; 145 static void set_current(ArenaAllocator *Allocator); 149 ICE_TLS_DECLARE_FIELD(ArenaAllocator *, CfgAllocator); 164 using allocator_type = ArenaAllocator *; 174 ICE_TLS_DECLARE_FIELD(ArenaAllocator *, LivenessAllocator);
|
/dports/lang/zig-devel/zig-0.9.0/lib/std/heap/ |
H A D | arena_allocator.zig | 8 pub const ArenaAllocator = struct { 12 /// Inner state of ArenaAllocator. Can be stored rather than the entire ArenaAllocator 18 pub fn promote(self: State, child_allocator: Allocator) ArenaAllocator { 26 pub fn allocator(self: *ArenaAllocator) Allocator { 32 pub fn init(child_allocator: Allocator) ArenaAllocator { 36 pub fn deinit(self: ArenaAllocator) void { 46 fn createNode(self: *ArenaAllocator, prev_len: usize, minimum_size: usize) !*BufNode { 61 fn alloc(self: *ArenaAllocator, n: usize, ptr_align: u29, len_align: u29, ra: usize) ![]u8 { 89 …fn resize(self: *ArenaAllocator, buf: []u8, buf_align: u29, new_len: usize, len_align: u29, ret_ad… 112 fn free(self: *ArenaAllocator, buf: []u8, buf_align: u29, ret_addr: usize) void {
|
/dports/lang/zig/zig-0.9.0/lib/std/heap/ |
H A D | arena_allocator.zig | 8 pub const ArenaAllocator = struct { 12 /// Inner state of ArenaAllocator. Can be stored rather than the entire ArenaAllocator 18 pub fn promote(self: State, child_allocator: Allocator) ArenaAllocator { 26 pub fn allocator(self: *ArenaAllocator) Allocator { 32 pub fn init(child_allocator: Allocator) ArenaAllocator { 36 pub fn deinit(self: ArenaAllocator) void { 46 fn createNode(self: *ArenaAllocator, prev_len: usize, minimum_size: usize) !*BufNode { 61 fn alloc(self: *ArenaAllocator, n: usize, ptr_align: u29, len_align: u29, ra: usize) ![]u8 { 89 …fn resize(self: *ArenaAllocator, buf: []u8, buf_align: u29, new_len: usize, len_align: u29, ret_ad… 112 fn free(self: *ArenaAllocator, buf: []u8, buf_align: u29, ret_addr: usize) void {
|
/dports/textproc/google-ctemplate/ctemplate-ctemplate-2.4/src/base/ |
H A D | arena-inl.h | 74 template <class T, class C> class ArenaAllocator { 89 ArenaAllocator() : arena_(0) { } in ArenaAllocator() function 93 ArenaAllocator(C* arena) : arena_(arena) { } // NOLINT in ArenaAllocator() function 94 ~ArenaAllocator() { } in ~ArenaAllocator() 116 typedef ArenaAllocator<U, C> other; 119 template<class U> ArenaAllocator(const ArenaAllocator<U, C>& other) in ArenaAllocator() function 122 template<class U> bool operator==(const ArenaAllocator<U, C>& other) const { 126 template<class U> bool operator!=(const ArenaAllocator<U, C>& other) const { 135 template<class T, class C> const int ArenaAllocator<T, C>::kAlignment =
|
/dports/lang/spidermonkey78/firefox-78.9.0/xpcom/ds/ |
H A D | ArenaAllocator.h | 43 class ArenaAllocator { 45 constexpr ArenaAllocator() : mHead(), mCurrent(nullptr) { in ArenaAllocator() function 51 ArenaAllocator(const ArenaAllocator&) = delete; 52 ArenaAllocator& operator=(const ArenaAllocator&) = delete; 58 ~ArenaAllocator() { Clear(); } in ~ArenaAllocator()
|
H A D | ArenaAllocatorExtensions.h | 23 ArenaAllocator<ArenaSize, Alignment>& aArena); 36 T* ArenaStrdup(const T* aStr, ArenaAllocator<ArenaSize, Alignment>& aArena) { in ArenaStrdup() 49 ArenaAllocator<ArenaSize, Alignment>& aArena) { in ArenaStrdup() 59 ArenaAllocator<ArenaSize, Alignment>& aArena) { in DuplicateString()
|
/dports/lang/spidermonkey60/firefox-60.9.0/xpcom/ds/ |
H A D | ArenaAllocator.h | 43 class ArenaAllocator { 45 constexpr ArenaAllocator() : mHead(), mCurrent(nullptr) { in ArenaAllocator() function 51 ArenaAllocator(const ArenaAllocator&) = delete; 52 ArenaAllocator& operator=(const ArenaAllocator&) = delete; 58 ~ArenaAllocator() { Clear(); } in ~ArenaAllocator()
|
H A D | ArenaAllocatorExtensions.h | 23 ArenaAllocator<ArenaSize, Alignment>& aArena); 36 T* ArenaStrdup(const T* aStr, ArenaAllocator<ArenaSize, Alignment>& aArena) { in ArenaStrdup() 49 ArenaAllocator<ArenaSize, Alignment>& aArena) { in ArenaStrdup() 59 ArenaAllocator<ArenaSize, Alignment>& aArena) { in DuplicateString()
|
/dports/mail/thunderbird/thunderbird-91.8.0/xpcom/ds/ |
H A D | ArenaAllocator.h | 42 class ArenaAllocator { 44 constexpr ArenaAllocator() : mHead(), mCurrent(nullptr) { in ArenaAllocator() function 50 ArenaAllocator(const ArenaAllocator&) = delete; 51 ArenaAllocator& operator=(const ArenaAllocator&) = delete; 57 ~ArenaAllocator() { Clear(); } in ~ArenaAllocator()
|
H A D | ArenaAllocatorExtensions.h | 23 ArenaAllocator<ArenaSize, Alignment>& aArena); 36 T* ArenaStrdup(const T* aStr, ArenaAllocator<ArenaSize, Alignment>& aArena) { in ArenaStrdup() 49 ArenaAllocator<ArenaSize, Alignment>& aArena) { in ArenaStrdup() 59 ArenaAllocator<ArenaSize, Alignment>& aArena) { in DuplicateString()
|
/dports/www/firefox/firefox-99.0/xpcom/ds/ |
H A D | ArenaAllocator.h | 42 class ArenaAllocator { 44 constexpr ArenaAllocator() : mHead(), mCurrent(nullptr) { in ArenaAllocator() function 50 ArenaAllocator(const ArenaAllocator&) = delete; 51 ArenaAllocator& operator=(const ArenaAllocator&) = delete; 57 ~ArenaAllocator() { Clear(); } in ~ArenaAllocator()
|
H A D | ArenaAllocatorExtensions.h | 23 ArenaAllocator<ArenaSize, Alignment>& aArena); 36 T* ArenaStrdup(const T* aStr, ArenaAllocator<ArenaSize, Alignment>& aArena) { in ArenaStrdup() 49 ArenaAllocator<ArenaSize, Alignment>& aArena) { in ArenaStrdup() 59 ArenaAllocator<ArenaSize, Alignment>& aArena) { in DuplicateString()
|
/dports/www/firefox-esr/firefox-91.8.0/xpcom/ds/ |
H A D | ArenaAllocator.h | 42 class ArenaAllocator { 44 constexpr ArenaAllocator() : mHead(), mCurrent(nullptr) { in ArenaAllocator() function 50 ArenaAllocator(const ArenaAllocator&) = delete; 51 ArenaAllocator& operator=(const ArenaAllocator&) = delete; 57 ~ArenaAllocator() { Clear(); } in ~ArenaAllocator()
|
H A D | ArenaAllocatorExtensions.h | 23 ArenaAllocator<ArenaSize, Alignment>& aArena); 36 T* ArenaStrdup(const T* aStr, ArenaAllocator<ArenaSize, Alignment>& aArena) { in ArenaStrdup() 49 ArenaAllocator<ArenaSize, Alignment>& aArena) { in ArenaStrdup() 59 ArenaAllocator<ArenaSize, Alignment>& aArena) { in DuplicateString()
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/jdk.incubator.foreign/share/classes/jdk/internal/foreign/ |
H A D | ArenaAllocator.java | 7 public abstract class ArenaAllocator implements SegmentAllocator { class 13 ArenaAllocator(MemorySegment segment) { in ArenaAllocator() method in ArenaAllocator 40 public static class UnboundedArenaAllocator extends ArenaAllocator { 74 public static class BoundedArenaAllocator extends ArenaAllocator { 108 final ThreadLocal<ArenaAllocator> allocators = new ThreadLocal<>() { 110 protected ArenaAllocator initialValue() {
|
/dports/databases/percona56-client/percona-server-5.6.51-91.0/storage/ndb/src/kernel/vm/ |
H A D | ArenaPool.hpp | 65 class ArenaAllocator class 71 ArenaAllocator() {} in ArenaAllocator() function in ArenaAllocator 83 void init(ArenaAllocator*, const Record_info& ri, const Pool_context& pc); 95 ArenaAllocator * m_allocator;
|