Searched refs:allocator (Results 51 - 75 of 431) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/skia/src/utils/
H A DSkTextureCompressor_ASTC.h21 SkTBlitterAllocator *allocator);
H A DSkTextureCompressor_LATC.h21 SkTBlitterAllocator *allocator);
H A DSkTextureCompressor_R11EAC.h21 SkTBlitterAllocator* allocator);
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.def/
H A Dp8.cpp79 template <class Tp> class allocator;
82 class allocator<void> class in namespace:redecl::n1
89 class allocator class in namespace:redecl::n1
94 void allocate(allocator<void>::const_pointer = 0);
/external/clang/test/CodeGenCXX/
H A Dlpad-linetable.cpp14 class allocator class in namespace:std
19 { typedef allocator<_Tp1> other; };
20 ~allocator() throw() { }
37 template<typename _Tp, typename _Alloc = std::allocator<_Tp> >
H A Dglobal-init.cpp55 struct allocator { allocator(); ~allocator(); }; struct in namespace:test2
56 struct A { A(const allocator &a = allocator()); ~A(); };
H A Dmangle-subst-std.cpp24 template<typename> struct allocator { }; struct in namespace:std
28 void f(std::allocator<char>, std::allocator<int>) { }
40 typedef std::basic_string<char, std::char_traits<char>, std::allocator<char> > string;
95 typedef basic_string<char, std::char_traits<char>, std::allocator<char> > not_string;
H A Dexceptions.cpp7 struct allocator { struct in namespace:test0
8 allocator();
9 allocator(const allocator&);
10 ~allocator();
17 throw allocator();
/external/compiler-rt/lib/lsan/
H A Dlsan_allocator.cc45 static Allocator allocator; member in namespace:__lsan
49 allocator.Init();
53 allocator.SwallowCache(&cache);
57 return reinterpret_cast<ChunkMetadata *>(allocator.GetMetaData(p));
85 void *p = allocator.Allocate(&cache, size, alignment, false);
86 // Do not rely on the allocator to clear the memory (it's slow).
87 if (cleared && allocator.FromPrimary(p))
95 allocator.Deallocate(&cache, p);
103 allocator.Deallocate(&cache, p);
106 p = allocator
[all...]
/external/libcxx/test/re/re.results/re.results.const/
H A Ddefault.pass.cpp26 assert(m.get_allocator() == std::allocator<std::sub_match<const CharT*> >());
/external/libcxx/test/utilities/memory/default.allocator/allocator.members/
H A Daddress.pass.cpp12 // allocator:
24 const std::allocator<T> a;
H A Dmax_size.pass.cpp12 // allocator:
24 const std::allocator<int> a;
/external/skia/src/core/
H A DSkBlitter_Sprite.cpp52 const SkBitmap& source, int left, int top, SkTBlitterAllocator* allocator) {
62 SkASSERT(allocator != NULL);
68 blitter = SkSpriteBlitter::ChooseD16(source, paint, allocator);
71 blitter = SkSpriteBlitter::ChooseD32(source, paint, allocator);
51 ChooseSprite(const SkBitmap& device, const SkPaint& paint, const SkBitmap& source, int left, int top, SkTBlitterAllocator* allocator) argument
H A DSkDrawLooper.cpp17 SkSmallAllocator<1, 32> allocator; local
18 void* buffer = allocator.reserveT<SkDrawLooper::Context>(this->contextSize());
38 SkSmallAllocator<1, 32> allocator; local
39 void* buffer = allocator.reserveT<SkDrawLooper::Context>(this->contextSize());
/external/valgrind/main/drd/tests/
H A Dcustom_alloc_fiw.stderr.exp2 --free-is-write=yes is incompatible with custom memory allocator client requests
6 --free-is-write=yes is incompatible with custom memory allocator client requests
/external/chromium_org/third_party/WebKit/Source/wtf/text/
H A DStringImplCF.cpp51 return CFSTR("WTF::String-based allocator");
107 // allocator that are mutable, and those typically are only created by callers who
108 // make a new string using the old string's allocator, such as some of the call
119 static CFAllocatorRef allocator() function in namespace:WTF::StringWrapperCFAllocator
121 static CFAllocatorRef allocator = create(); local
122 return allocator;
136 CFAllocatorRef allocator = StringWrapperCFAllocator::allocator(); local
138 // Put pointer to the StringImpl in a global so the allocator can store it with the CFString.
144 string = CFStringCreateWithBytesNoCopy(allocator, reinterpret_cas
[all...]
/external/stlport/src/
H A Dlocale_impl.h35 _STLP_EXPORT_TEMPLATE_CLASS allocator<locale::facet*>; variable
39 _STLP_EXPORT_TEMPLATE_CLASS _STLP_alloc_proxy<locale::facet**, locale::facet*, allocator<locale::facet*> >;
40 _STLP_EXPORT_TEMPLATE_CLASS _Vector_base<locale::facet*, allocator<locale::facet*> >;
47 _STLP_EXPORT_TEMPLATE_CLASS __construct_checker<_STLP_NON_DBG_VECTOR<locale::facet*, allocator<locale::facet*> > >;
48 _STLP_EXPORT_TEMPLATE_CLASS _STLP_NON_DBG_VECTOR<locale::facet*, allocator<locale::facet*> >;
53 _STLP_EXPORT_TEMPLATE_CLASS vector<locale::facet*, allocator<locale::facet*> >;
72 basic_string<char, char_traits<char>, allocator<char> > name;
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_allocator_testlib.cc46 static Allocator allocator; member in namespace:__anon19634
57 allocator.SwallowCache(&cache);
63 allocator.Init();
76 void *p = allocator.Allocate(&cache, size, 8);
85 allocator.Deallocate(&cache, p);
92 void *p = allocator.Allocate(&cache, size, 8, false);
104 p = allocator.Reallocate(&cache, p, size, 8);
114 void *p = allocator.Allocate(&cache, size, alignment);
122 *memptr = allocator.Allocate(&cache, size, alignment);
132 void *p = allocator
[all...]
/external/libvpx/libvpx/third_party/nestegg/halloc/src/
H A Dhalloc.c4 * Hierarchical memory allocator, 1.2.1
44 #define allocator halloc_allocator macro
62 /* set up default allocator */
63 if (! allocator)
66 assert(allocator);
75 p = allocator(0, len + sizeof_hblock);
93 p = allocator(p, len + sizeof_hblock);
106 allocator(p, 0);
178 assert(! allocator);
190 allocator
[all...]
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
H A Dportallocatorfactory.cc43 rtc::RefCountedObject<PortAllocatorFactory>* allocator = local
45 return allocator;
64 scoped_ptr<cricket::BasicPortAllocator> allocator(
78 allocator->AddRelay(relay_server);
85 return allocator.release();
H A Dfakeportallocatorfactory.h28 // This file defines a fake port allocator factory used for testing.
42 rtc::RefCountedObject<FakePortAllocatorFactory>* allocator = local
44 return allocator;
/external/compiler-rt/lib/msan/
H A Dmsan_allocator.cc12 // MemorySanitizer allocator.
56 static Allocator allocator; member in namespace:__msan
66 allocator.Init();
76 allocator.SwallowCache(GetAllocatorCache(this));
91 allocated = allocator.Allocate(cache, size, alignment, false);
95 allocated = allocator.Allocate(cache, size, alignment, false);
98 reinterpret_cast<Metadata *>(allocator.GetMetaData(allocated));
120 Metadata *meta = reinterpret_cast<Metadata *>(allocator.GetMetaData(p));
138 allocator.Deallocate(cache, p);
142 allocator
[all...]
/external/chromium_org/v8/src/
H A Dhashmap.h30 AllocationPolicy allocator = AllocationPolicy());
50 AllocationPolicy allocator = AllocationPolicy());
92 void Initialize(uint32_t capacity, AllocationPolicy allocator);
93 void Resize(AllocationPolicy allocator);
100 MatchFun match, uint32_t initial_capacity, AllocationPolicy allocator) {
102 Initialize(initial_capacity, allocator);
115 void* key, uint32_t hash, bool insert, AllocationPolicy allocator) {
132 Resize(allocator);
262 uint32_t capacity, AllocationPolicy allocator) {
264 map_ = reinterpret_cast<Entry*>(allocator
99 TemplateHashMapImpl( MatchFun match, uint32_t initial_capacity, AllocationPolicy allocator) argument
114 Lookup( void* key, uint32_t hash, bool insert, AllocationPolicy allocator) argument
261 Initialize( uint32_t capacity, AllocationPolicy allocator) argument
275 Resize(AllocationPolicy allocator) argument
[all...]
H A Dsplay-tree.h38 explicit SplayTree(AllocationPolicy allocator = AllocationPolicy())
39 : root_(NULL), allocator_(allocator) {}
43 AllocationPolicy allocator = AllocationPolicy())) {
44 return allocator.New(static_cast<int>(size));
54 AllocationPolicy allocator() { return allocator_; } function in class:v8::internal::SplayTree
108 INLINE(void* operator new(size_t size, AllocationPolicy allocator)) { argument
109 return allocator.New(static_cast<int>(size));
116 INLINE(void operator delete(void* p, AllocationPolicy allocator)) { argument
/external/chromium_org/base/memory/
H A Ddiscardable_memory_ashmem.cc14 DiscardableMemoryAshmemAllocator* allocator,
17 allocator_(allocator),
12 DiscardableMemoryAshmem( size_t bytes, DiscardableMemoryAshmemAllocator* allocator, DiscardableMemoryManager* manager) argument

Completed in 7936 milliseconds

1234567891011>>