HomeSort by: relevance | last modified time | path
    Searched defs:Allocate (Results 1 - 25 of 78) sorted by relevancy

1 2 3 4

  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
AllocatorBase.h 11 /// "Allocator" concept which consists of an Allocate method accepting a size
13 /// LLVM "Allocator" concept has overloads of Allocate and Deallocate for
28 /// Allocate() methods of LLVM-style allocators.
35 /// Allocate \a Size bytes of \a Alignment aligned memory. This method
37 void *Allocate(size_t Size, size_t Alignment) {
40 &AllocatorBase::Allocate) !=
42 &DerivedT::Allocate),
44 "core Allocate(size_t, size_t) overload!");
46 return static_cast<DerivedT *>(this)->Allocate(Size, Alignment);
67 /// Allocate space for a sequence of objects without constructing them
    [all...]
AllocatorBase.h 11 /// "Allocator" concept which consists of an Allocate method accepting a size
13 /// LLVM "Allocator" concept has overloads of Allocate and Deallocate for
28 /// Allocate() methods of LLVM-style allocators.
35 /// Allocate \a Size bytes of \a Alignment aligned memory. This method
37 void *Allocate(size_t Size, size_t Alignment) {
40 &AllocatorBase::Allocate) !=
42 &DerivedT::Allocate),
44 "core Allocate(size_t, size_t) overload!");
46 return static_cast<DerivedT *>(this)->Allocate(Size, Alignment);
67 /// Allocate space for a sequence of objects without constructing them
    [all...]
AllocatorBase.h 11 /// "Allocator" concept which consists of an Allocate method accepting a size
13 /// LLVM "Allocator" concept has overloads of Allocate and Deallocate for
28 /// Allocate() methods of LLVM-style allocators.
35 /// Allocate \a Size bytes of \a Alignment aligned memory. This method
37 void *Allocate(size_t Size, size_t Alignment) {
40 &AllocatorBase::Allocate) !=
42 &DerivedT::Allocate),
44 "core Allocate(size_t, size_t) overload!");
46 return static_cast<DerivedT *>(this)->Allocate(Size, Alignment);
67 /// Allocate space for a sequence of objects without constructing them
    [all...]
RecyclingAllocator.h 39 /// Allocate - Return a pointer to storage for an object of type
43 SubClass *Allocate() { return Base.template Allocate<SubClass>(Allocator); }
45 T *Allocate() { return Base.Allocate(Allocator); }
66 return Allocator.Allocate();
RecyclingAllocator.h 39 /// Allocate - Return a pointer to storage for an object of type
43 SubClass *Allocate() { return Base.template Allocate<SubClass>(Allocator); }
45 T *Allocate() { return Base.Allocate(Allocator); }
66 return Allocator.Allocate();
RecyclingAllocator.h 39 /// Allocate - Return a pointer to storage for an object of type
43 SubClass *Allocate() { return Base.template Allocate<SubClass>(Allocator); }
45 T *Allocate() { return Base.Allocate(Allocator); }
66 return Allocator.Allocate();
Recycler.h 83 SubClass *Allocate(AllocatorType &Allocator) {
89 : static_cast<SubClass *>(Allocator.Allocate(Size, Align));
93 T *Allocate(AllocatorType &Allocator) {
94 return Allocate<T>(Allocator);
Recycler.h 83 SubClass *Allocate(AllocatorType &Allocator) {
89 : static_cast<SubClass *>(Allocator.Allocate(Size, Align));
93 T *Allocate(AllocatorType &Allocator) {
94 return Allocate<T>(Allocator);
Recycler.h 83 SubClass *Allocate(AllocatorType &Allocator) {
89 : static_cast<SubClass *>(Allocator.Allocate(Size, Align));
93 T *Allocate(AllocatorType &Allocator) {
94 return Allocate<T>(Allocator);
  /src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
sanitizer_allocator_dlsym.h 9 // Hack: Sanitizer initializer calls dlsym which may need to allocate and call
34 static void *Allocate(uptr size_in_bytes) {
58 return Allocate(new_size);
66 void *new_ptr = Allocate(new_size);
sanitizer_allocator_dlsym.h 9 // Hack: Sanitizer initializer calls dlsym which may need to allocate and call
34 static void *Allocate(uptr size_in_bytes) {
58 return Allocate(new_size);
66 void *new_ptr = Allocate(new_size);
sanitizer_allocator_dlsym.h 9 // Hack: Sanitizer initializer calls dlsym which may need to allocate and call
34 static void *Allocate(uptr size_in_bytes) {
58 return Allocate(new_size);
66 void *new_ptr = Allocate(new_size);
sanitizer_allocator_combined.h 18 // PrimaryAllocator is efficient, but may not allocate some sizes (alignments).
21 // SecondaryAllocator can allocate anything, but is not efficient.
44 void *Allocate(AllocatorCache *cache, uptr size, uptr alignment) {
69 res = cache->Allocate(&primary_, primary_.ClassID(size));
71 res = secondary_.Allocate(&stats_, original_size, alignment);
100 return Allocate(cache, new_size, alignment);
108 void *new_p = Allocate(cache, new_size, alignment);
sanitizer_allocator_local_cache.h 34 void *Allocate(SizeClassAllocator *allocator, uptr class_id) {
142 return (TransferBatch*)Allocate(allocator, batch_class_id);
159 void *Allocate(SizeClassAllocator *allocator, uptr class_id) {
260 // Failure to allocate a batch while releasing memory is non recoverable.
263 Report("FATAL: Internal error: %s's allocator failed to allocate a "
sanitizer_allocator_combined.h 18 // PrimaryAllocator is efficient, but may not allocate some sizes (alignments).
21 // SecondaryAllocator can allocate anything, but is not efficient.
44 void *Allocate(AllocatorCache *cache, uptr size, uptr alignment) {
69 res = cache->Allocate(&primary_, primary_.ClassID(size));
71 res = secondary_.Allocate(&stats_, original_size, alignment);
100 return Allocate(cache, new_size, alignment);
108 void *new_p = Allocate(cache, new_size, alignment);
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
sanitizer_quarantine_test.cc 23 void *Allocate(uptr size) {
sanitizer_quarantine_test.cc 23 void *Allocate(uptr size) {
sanitizer_quarantine_test.cc 23 void *Allocate(uptr size) {
  /src/external/apache2/llvm/dist/libcxx/benchmarks/
allocation.bench.cpp 21 static void* Allocate(size_t N) {
32 static void* Allocate(size_t N) {
43 static void* Allocate(size_t N) {
54 static void* Allocate(size_t N) {
68 void* p = AllocWrapper::Allocate(alloc_size);
81 PointerList* p = (PointerList*)AllocWrapper::Allocate(alloc_size);
103 p = AllocWrapper::Allocate(alloc_size);
allocation.bench.cpp 21 static void* Allocate(size_t N) {
32 static void* Allocate(size_t N) {
43 static void* Allocate(size_t N) {
54 static void* Allocate(size_t N) {
68 void* p = AllocWrapper::Allocate(alloc_size);
81 PointerList* p = (PointerList*)AllocWrapper::Allocate(alloc_size);
103 p = AllocWrapper::Allocate(alloc_size);
allocation.bench.cpp 21 static void* Allocate(size_t N) {
32 static void* Allocate(size_t N) {
43 static void* Allocate(size_t N) {
54 static void* Allocate(size_t N) {
68 void* p = AllocWrapper::Allocate(alloc_size);
81 PointerList* p = (PointerList*)AllocWrapper::Allocate(alloc_size);
103 p = AllocWrapper::Allocate(alloc_size);
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_allocator_combined.h 19 // PrimaryAllocator is efficient, but may not allocate some sizes (alignments).
22 // SecondaryAllocator can allocate anything, but is not efficient.
48 void *Allocate(AllocatorCache *cache, uptr size, uptr alignment) {
73 res = cache->Allocate(&primary_, primary_.ClassID(size));
75 res = secondary_.Allocate(&stats_, original_size, alignment);
104 return Allocate(cache, new_size, alignment);
112 void *new_p = Allocate(cache, new_size, alignment);
sanitizer_allocator_local_cache.h 41 void *Allocate(SizeClassAllocator *allocator, uptr class_id) {
143 return (TransferBatch*)Allocate(allocator, batch_class_id);
160 void *Allocate(SizeClassAllocator *allocator, uptr class_id) {
261 // Failure to allocate a batch while releasing memory is non recoverable.
264 Report("FATAL: Internal error: %s's allocator failed to allocate a "
sanitizer_allocator_combined.h 19 // PrimaryAllocator is efficient, but may not allocate some sizes (alignments).
22 // SecondaryAllocator can allocate anything, but is not efficient.
48 void *Allocate(AllocatorCache *cache, uptr size, uptr alignment) {
73 res = cache->Allocate(&primary_, primary_.ClassID(size));
75 res = secondary_.Allocate(&stats_, original_size, alignment);
104 return Allocate(cache, new_size, alignment);
112 void *new_p = Allocate(cache, new_size, alignment);
sanitizer_allocator_local_cache.h 41 void *Allocate(SizeClassAllocator *allocator, uptr class_id) {
143 return (TransferBatch*)Allocate(allocator, batch_class_id);
160 void *Allocate(SizeClassAllocator *allocator, uptr class_id) {
261 // Failure to allocate a batch while releasing memory is non recoverable.
264 Report("FATAL: Internal error: %s's allocator failed to allocate a "

Completed in 89 milliseconds

1 2 3 4