HomeSort by relevance Sort by last modified time
    Searched refs:allocator (Results 101 - 125 of 1067) sorted by null

1 2 3 45 6 7 8 91011>>

  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/default.allocator/allocator.members/
max_size.pass.cpp 12 // allocator:
24 const std::allocator<int> a;
  /external/chromium_org/third_party/WebKit/Source/core/platform/text/cf/
StringImplCF.cpp 51 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_cast<const UInt8*>(characters8()), m_length, kCFStringEncodingISOLatin1, false, kCFAl (…)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/tests/
PODFreeListArenaTest.cpp 75 RefPtr<TrackedAllocator> allocator = TrackedAllocator::create(); local
76 RefPtr<PODFreeListArena<TestClass1> > arena = PODFreeListArena<TestClass1>::create(allocator);
80 EXPECT_GT(allocator->numRegions(), 1);
86 RefPtr<TrackedAllocator> allocator = TrackedAllocator::create(); local
88 RefPtr<PODFreeListArena<TestClass1> > arena = PODFreeListArena<TestClass1>::create(allocator);
91 EXPECT_GT(allocator->numRegions(), 0);
93 EXPECT_TRUE(allocator->isEmpty());
  /external/stlport/src/
locale_impl.h 35 _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;
message_facets.h 44 allocator<pair<_STLP_CONST nl_catd_type, locale> > > map_type;
79 allocator<pair<_STLP_CONST messages_base::catalog, nl_catd_type> > > map_type;
81 allocator<pair<_STLP_CONST nl_catd_type, messages_base::catalog> > > rmap_type;
  /ndk/sources/cxx-stl/stlport/src/
locale_impl.h 35 _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/chromium_org/third_party/angle_dx11/src/compiler/
PoolAlloc.h 15 // This header defines an allocator that can be used to efficiently
27 // Individual classes can use this allocator by supplying their own
30 // STL containers can use this allocator by using the pool_allocator
31 // class as the allocator (second) template argument.
220 // with everyone using the same global allocator.
226 // This STL compatible allocator is intended to be used as the allocator
250 pool_allocator() : allocator(GetGlobalPoolAllocator()) { }
251 pool_allocator(TPoolAllocator& a) : allocator(&a) { }
252 pool_allocator(const pool_allocator<T>& p) : allocator(p.allocator) {
297 TPoolAllocator* allocator; member in class:pool_allocator
    [all...]
  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_allocator_testlib.cc 44 SecondaryAllocator> Allocator;
46 static Allocator allocator; member in namespace:__anon19135
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)
    [all...]
  /external/libvpx/libvpx/nestegg/halloc/src/
halloc.c 4 * 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 = realloc
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
portallocatorfactory.cc 45 talk_base::RefCountedObject<PortAllocatorFactory>* allocator = local
47 return allocator;
70 scoped_ptr<cricket::BasicPortAllocator> allocator(
82 allocator->AddRelay(relay_server);
89 return allocator.release();
fakeportallocatorfactory.h 28 // This file defines a fake port allocator factory used for testing.
42 talk_base::RefCountedObject<FakePortAllocatorFactory>* allocator = local
44 return allocator;
  /external/clang/test/CodeGenCXX/
global-init.cpp 55 struct allocator { allocator(); ~allocator(); }; struct in namespace:test2
56 struct A { A(const allocator &a = allocator()); ~A(); };
mangle-subst-std.cpp 24 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;
exceptions.cpp 7 struct allocator { struct in namespace:test0
8 allocator();
9 allocator(const allocator&);
10 ~allocator();
17 throw allocator();
  /external/compiler-rt/lib/lsan/
lsan_allocator.cc 41 SecondaryAllocator> Allocator;
43 static Allocator allocator; member in namespace:__lsan
47 allocator.Init();
51 allocator.SwallowCache(&cache);
55 return reinterpret_cast<ChunkMetadata *>(allocator.GetMetaData(p));
83 void *p = allocator.Allocate(&cache, size, alignment, cleared);
90 allocator.Deallocate(&cache, p);
98 allocator.Deallocate(&cache, p);
101 p = allocator.Reallocate(&cache, p, new_size, alignment)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/
PODArena.h 47 // The arena is configured with an allocator, which is responsible
49 class Allocator : public RefCounted<Allocator> {
54 virtual ~Allocator() { }
55 friend class WTF::RefCounted<Allocator>;
58 // The Arena's default allocator, which uses fastMalloc and
60 class FastMallocAllocator : public Allocator {
80 // Creates a new PODArena configured with the given Allocator.
81 static PassRefPtr<PODArena> create(PassRefPtr<Allocator> allocator)
    [all...]
PODFreeListArena.h 44 // Creates a new PODArena configured with the given Allocator.
45 static PassRefPtr<PODFreeListArena> create(PassRefPtr<Allocator> allocator)
47 return adoptRef(new PODFreeListArena(allocator));
85 explicit PODFreeListArena(PassRefPtr<Allocator> allocator)
86 : PODArena(allocator), m_freeList(0) { }
  /external/chromium_org/v8/src/
splay-tree.h 47 // (Allocator). The policy is used for allocating lists in the C free
51 // template <typename Config, class Allocator = FreeStoreAllocationPolicy>
61 SplayTree(AllocationPolicy allocator = AllocationPolicy())
62 : root_(NULL), allocator_(allocator) { }
66 AllocationPolicy allocator = AllocationPolicy())) {
67 return allocator.New(static_cast<int>(size));
77 AllocationPolicy allocator() { return allocator_; } function in class:v8::internal::SplayTree
131 INLINE(void* operator new(size_t size, AllocationPolicy allocator)) {
132 return allocator.New(static_cast<int>(size));
139 INLINE(void operator delete(void* p, AllocationPolicy allocator)) {
    [all...]
  /external/chromium_org/base/allocator/
allocator_extension_thunks.cc 5 #include "base/allocator/allocator_extension_thunks.h"
10 namespace allocator { namespace in namespace:base
51 } // namespace allocator
tcmalloc_unittest.cc 5 #include "base/allocator/allocator_shim.h"
12 using base::allocator::TCMallocDoMallocForTest;
13 using base::allocator::TCMallocDoFreeForTest;
14 using base::allocator::ExcludeSpaceForMarkForTest;
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.cons/
alloc.pass.cpp 21 template <class T, class Allocator>
23 test(const Allocator& a)
25 std::deque<T, Allocator> d(a);
32 test<int>(std::allocator<int>());
  /external/chromium/base/
stack_container.h 14 // This allocator can be used with STL containers to provide a stack buffer
19 // STL likes to make copies of allocators, so the allocator itself can't hold
21 // StackAllocator::Source which contains the data. Copying the allocator
23 // based on our allocator will share the same stack buffer.
33 class StackAllocator : public std::allocator<T> {
35 typedef typename std::allocator<T>::pointer pointer;
36 typedef typename std::allocator<T>::size_type size_type;
38 // Backing store for the allocator. The container owner is responsible for
39 // maintaining this for as long as any containers using this allocator are
68 // Used by containers when they want to refer to an allocator of type U
    [all...]
  /external/chromium_org/base/containers/
stack_container.h 18 // This allocator can be used with STL containers to provide a stack buffer
23 // STL likes to make copies of allocators, so the allocator itself can't hold
25 // StackAllocator::Source which contains the data. Copying the allocator
27 // based on our allocator will share the same stack buffer.
37 class StackAllocator : public std::allocator<T> {
39 typedef typename std::allocator<T>::pointer pointer;
40 typedef typename std::allocator<T>::size_type size_type;
42 // Backing store for the allocator. The container owner is responsible for
43 // maintaining this for as long as any containers using this allocator are
68 // Used by containers when they want to refer to an allocator of type U
    [all...]
  /external/chromium/third_party/libjingle/source/talk/p2p/client/
httpportallocator.h 99 HttpPortAllocator* allocator,
119 virtual HttpPortAllocator* allocator() { function in class:cricket::HttpPortAllocatorSession
121 BasicPortAllocatorSession::allocator());
  /external/stlport/stlport/stl/
_iostream_string.h 18 * The only diference rely on the allocator used to instanciate the basic_string.
20 * that could occur when requesting a big float ouput for instance. This allocator
41 class __iostring_allocator : public allocator<_CharT> {
47 typedef allocator<_CharT> _Base;
76 * As the __iostring_allocator allocator will only be used in the basic_string implementation
99 * A consequence of the non standard conformant allocator is that a string using it
100 * must always be presized to the allocator static buffer size because the basic_string implementation
101 * do not manage an allocator returning always the same memory adress as long as the
132 # define _STLP_BASIC_IOSTRING(_CharT) basic_string<_CharT, char_traits<_CharT>, allocator<_CharT> >

Completed in 996 milliseconds

1 2 3 45 6 7 8 91011>>