/external/chromium_org/third_party/angle/src/compiler/translator/ |
H A D | Compiler.cpp | 53 TScopedPoolAllocator(TPoolAllocator* allocator) : mAllocator(allocator) argument 89 allocator.push(); 90 SetGlobalPoolAllocator(&allocator); 96 allocator.popAll(); 125 SetGlobalPoolAllocator(&allocator); 145 TScopedPoolAllocator scopedAlloc(&allocator);
|
H A D | 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( 297 TPoolAllocator* allocator; member in class:pool_allocator [all...] |
/external/chromium_org/third_party/libjingle/source/talk/p2p/client/ |
H A D | connectivitychecker.h | 117 HttpPortAllocator* allocator, 127 allocator, content_name, component, ice_ufrag, ice_pwd, stun_hosts, 116 TestHttpPortAllocatorSession( HttpPortAllocator* allocator, const std::string& content_name, int component, const std::string& ice_ufrag, const std::string& ice_pwd, const std::vector<rtc::SocketAddress>& stun_hosts, const std::vector<std::string>& relay_hosts, const std::string& relay_token, const std::string& user_agent) argument
|
H A D | connectivitychecker_unittest.cc | 111 HttpPortAllocator* allocator, 119 : TestHttpPortAllocatorSession(allocator, 110 FakeHttpPortAllocatorSession( HttpPortAllocator* allocator, const std::string& content_name, int component, const std::string& ice_ufrag, const std::string& ice_pwd, const std::vector<rtc::SocketAddress>& stun_hosts, const std::vector<std::string>& relay_hosts, const std::string& relay_token, const std::string& agent) argument
|
H A D | portallocator_unittest.cc | 144 allocator().set_step_delay(cricket::kMinimumStepDelay); 245 cricket::BasicPortAllocator& allocator() { function in class:PortAllocatorTest 294 // Tests that we can init the port allocator and create a session. 296 EXPECT_EQ(&network_manager_, allocator().network_manager()); 297 EXPECT_EQ(kStunAddr, *allocator().stun_servers().begin()); 298 ASSERT_EQ(1u, allocator().relays().size()); 299 EXPECT_EQ(cricket::RELAY_GTURN, allocator().relays()[0].type); 301 EXPECT_TRUE(allocator().relays()[0].credentials.username.empty()); 302 EXPECT_TRUE(allocator().relays()[0].credentials.password.empty()); 312 // Tests that we allocator sessio [all...] |
/external/chromium_org/third_party/skia/experimental/PdfViewer/pdfparser/native/ |
H A D | SkPdfNativeDoc.cpp | 322 // Use null allocator, and let it just fail if memory, it should not crash. 528 SkPdfAllocator* SkPdfNativeDoc::allocator() const { function in class:SkPdfNativeDoc
|
H A D | SkPdfNativeTokenizer.cpp | 79 SkPdfAllocator* allocator, SkPdfNativeDoc* doc) { 83 if (allocator == NULL) { 103 SkPdfNativeObject* newObj = allocator->allocObject(); 104 start = nextObject(start, end, newObj, allocator, doc); 249 SkPdfNativeObject* str, SkPdfAllocator* allocator) { 250 if (!allocator) { 256 unsigned char* out = (unsigned char*)allocator->alloc(outLength); 398 static const unsigned char* readHexString(const unsigned char* start, const unsigned char* end, SkPdfNativeObject* str, SkPdfAllocator* allocator) { argument 399 if (!allocator) { 404 unsigned char* out = (unsigned char*)allocator 77 readArray(const unsigned char* start, const unsigned char* end, SkPdfNativeObject* array, SkPdfAllocator* allocator, SkPdfNativeDoc* doc) argument 248 readString(const unsigned char* start, const unsigned char* end, SkPdfNativeObject* str, SkPdfAllocator* allocator) argument 525 readName(const unsigned char* start, const unsigned char* end, SkPdfNativeObject* name, SkPdfAllocator* allocator) argument 686 readDictionary(const unsigned char* start, const unsigned char* end, SkPdfNativeObject* dict, SkPdfAllocator* allocator, SkPdfNativeDoc* doc) argument 770 nextObject(const unsigned char* start, const unsigned char* end, SkPdfNativeObject* token, SkPdfAllocator* allocator, SkPdfNativeDoc* doc) argument 891 SkPdfNativeTokenizer(SkPdfNativeObject* objWithStream, SkPdfAllocator* allocator, SkPdfNativeDoc* doc) argument 914 SkPdfNativeTokenizer(const unsigned char* buffer, int len, SkPdfAllocator* allocator, SkPdfNativeDoc* doc) argument [all...] |
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkBitmapProcShader.cpp | 341 SkShader::TileMode tmy, const SkMatrix* localMatrix, SkTBlitterAllocator* allocator) { 345 if (NULL == allocator) { 348 shader = allocator->createT<SkEmptyShader>(); 352 if (NULL == allocator) { 355 shader = allocator->createT<SkColorShader>(color); 358 if (NULL == allocator) { 361 shader = allocator->createT<SkBitmapProcShader>(src, tmx, tmy, localMatrix); 340 CreateBitmapShader(const SkBitmap& src, SkShader::TileMode tmx, SkShader::TileMode tmy, const SkMatrix* localMatrix, SkTBlitterAllocator* allocator) argument
|
/external/chromium_org/third_party/skia/src/utils/ |
H A D | SkTextureCompressor_LATC.cpp | 485 SkTBlitterAllocator* allocator) { 499 return allocator->createT< 484 CreateLATCBlitter(int width, int height, void* outputBuffer, SkTBlitterAllocator* allocator) argument
|
/external/clang/test/Analysis/Inputs/ |
H A D | system-header-simulator-cxx.h | 121 class allocator { class in namespace:std 140 template <class _Tp, class _Alloc = allocator<_Tp> > 156 template<class _CharT, class _Alloc = allocator<_CharT> >
|
/external/clang/test/CodeGenCXX/ |
H A D | debug-info-use-after-free.cpp | 99 template < typename _Tp > struct allocator:new_allocator < _Tp > { struct in inherits:new_allocator 113 allocator < _Tp > >struct vector:_Vector_base < _Tp, _Alloc > { }; 139 template < typename _Tp > class allocator:__gnu_cxx::new_allocator < _Tp > { class in namespace:std 143 template < typename _Tp, typename _Alloc = std::allocator < _Tp > >class vector:_Vector_base < _Tp, 200 std::allocator; 205 allocator < _Tp > >class hash_map {
|
/external/clang/test/SemaCXX/ |
H A D | crashes.cpp | 4 template<typename _Alloc> class allocator; 7 typename _Alloc = allocator<_CharT> > 192 template<class _Alloc> class allocator {}; class in namespace:pr12791 211 template<typename _CharT, typename _Traits = char_traits<_CharT>, typename _Alloc = allocator<_CharT> > struct basic_stringbuf {
|
/external/clang/test/SemaTemplate/ |
H A D | default-expr-arguments.cpp | 153 struct allocator { struct in namespace:PR5810 154 allocator() { int a[sizeof(T) ? -1 : -1]; } // expected-error2 {{array with a negative size}} function in struct:PR5810::allocator 159 vector(const allocator<T>& = allocator<T>()) {} // expected-note2 {{instantiation of}} argument
|
/external/skia/experimental/PdfViewer/pdfparser/native/ |
H A D | SkPdfNativeDoc.cpp | 322 // Use null allocator, and let it just fail if memory, it should not crash. 528 SkPdfAllocator* SkPdfNativeDoc::allocator() const { function in class:SkPdfNativeDoc
|
H A D | SkPdfNativeTokenizer.cpp | 79 SkPdfAllocator* allocator, SkPdfNativeDoc* doc) { 83 if (allocator == NULL) { 103 SkPdfNativeObject* newObj = allocator->allocObject(); 104 start = nextObject(start, end, newObj, allocator, doc); 249 SkPdfNativeObject* str, SkPdfAllocator* allocator) { 250 if (!allocator) { 256 unsigned char* out = (unsigned char*)allocator->alloc(outLength); 398 static const unsigned char* readHexString(const unsigned char* start, const unsigned char* end, SkPdfNativeObject* str, SkPdfAllocator* allocator) { argument 399 if (!allocator) { 404 unsigned char* out = (unsigned char*)allocator 77 readArray(const unsigned char* start, const unsigned char* end, SkPdfNativeObject* array, SkPdfAllocator* allocator, SkPdfNativeDoc* doc) argument 248 readString(const unsigned char* start, const unsigned char* end, SkPdfNativeObject* str, SkPdfAllocator* allocator) argument 525 readName(const unsigned char* start, const unsigned char* end, SkPdfNativeObject* name, SkPdfAllocator* allocator) argument 686 readDictionary(const unsigned char* start, const unsigned char* end, SkPdfNativeObject* dict, SkPdfAllocator* allocator, SkPdfNativeDoc* doc) argument 770 nextObject(const unsigned char* start, const unsigned char* end, SkPdfNativeObject* token, SkPdfAllocator* allocator, SkPdfNativeDoc* doc) argument 891 SkPdfNativeTokenizer(SkPdfNativeObject* objWithStream, SkPdfAllocator* allocator, SkPdfNativeDoc* doc) argument 914 SkPdfNativeTokenizer(const unsigned char* buffer, int len, SkPdfAllocator* allocator, SkPdfNativeDoc* doc) argument [all...] |
/external/skia/src/core/ |
H A D | SkBitmapProcShader.cpp | 328 SkShader::TileMode tmy, const SkMatrix* localMatrix, SkTBlitterAllocator* allocator) { 332 if (NULL == allocator) { 335 shader = allocator->createT<SkEmptyShader>(); 339 if (NULL == allocator) { 342 shader = allocator->createT<SkColorShader>(color); 345 if (NULL == allocator) { 348 shader = allocator->createT<SkBitmapProcShader>(src, tmx, tmy, localMatrix); 327 CreateBitmapShader(const SkBitmap& src, SkShader::TileMode tmx, SkShader::TileMode tmy, const SkMatrix* localMatrix, SkTBlitterAllocator* allocator) argument
|
/external/stlport/stlport/stl/pointers/ |
H A D | _list.h | 42 _STLP_EXPORT_TEMPLATE_CLASS allocator<_STLP_PRIV _List_node<void*> >; variable 46 _STLP_EXPORT_TEMPLATE_CLASS _STLP_alloc_proxy<_List_node_base, _List_node<void*>, allocator<_List_node<void*> > >; 47 _STLP_EXPORT_TEMPLATE_CLASS _List_base<void*, allocator<void*> >; 48 _STLP_EXPORT_TEMPLATE_CLASS LIST_IMPL<void*, allocator<void*> >; 58 template <class _Tp, _STLP_DFL_TMPL_PARAM(_Alloc, allocator<_Tp>) >
|
/external/chromium_org/base/memory/ |
H A D | discardable_memory_ashmem_allocator.cc | 24 // The allocator consists of three parts (classes): 37 // to the allocator when a free chunk is reused). The client can cause such 39 // 8192 by the allocator which would cause 4095 bytes of fragmentation (which is 117 // Note that |allocator| must outlive |this|. 121 DiscardableMemoryAshmemAllocator* allocator) { 127 return make_scoped_ptr(new AshmemRegion(fd, size, base, allocator)); 219 // Note that |allocator| must outlive |this|. 223 DiscardableMemoryAshmemAllocator* allocator) 227 allocator_(allocator), 233 DCHECK(allocator); 118 Create( size_t size, const std::string& name, DiscardableMemoryAshmemAllocator* allocator) argument 220 AshmemRegion(int fd, size_t size, uintptr_t base, DiscardableMemoryAshmemAllocator* allocator) argument [all...] |
/external/chromium_org/third_party/skia/include/core/ |
H A D | SkBitmap.h | 366 @param allocator The Allocator to use to create a pixelref that can 368 If allocator is NULL, the standard HeapAllocator will be used. 376 bool SK_WARN_UNUSED_RESULT tryAllocPixels(Allocator* allocator, SkColorTable* ctable); 378 SK_ALLOCPIXELS_RETURN_TYPE allocPixels(Allocator* allocator, SkColorTable* ctable) { argument 379 if (!this->tryAllocPixels(allocator, ctable)) { 597 * @param allocator Allocator used to allocate the pixelref for the dst 604 bool copyTo(SkBitmap* dst, Allocator* allocator = NULL) const { 605 return this->copyTo(dst, this->colorType(), allocator); 668 fails to be initialized, e.g. because allocator can't allocate pixels 673 @param allocator Allocato [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_symbolizer_posix_libcdep.cc | 392 LowLevelAllocator *allocator) 393 : addr2line_path_(addr2line_path), allocator_(allocator), 391 Addr2LinePool(const char *addr2line_path, LowLevelAllocator *allocator) argument
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_allocator_test.cc | 432 "allocator is terminating the process"); 574 AllocatorCache::Allocator *allocator; member in struct:NewThreadParams 581 params->thread_cache->Deallocate(params->allocator, params->class_id, params); 585 // The allocator cache is supposed to be POD and zero initialized. We should be 588 AllocatorCache::Allocator allocator; local 589 allocator.Init(); 597 main_cache.Allocate(&allocator, class_id)); 599 params->allocator = &allocator;
|
/external/libvterm/src/ |
H A D | vterm_internal.h | 116 VTermAllocatorFunctions *allocator; member in struct:VTerm
|
/external/stlport/stlport/stl/ |
H A D | _alloc.h | 56 // Malloc-based allocator. Typically slower than default alloc below. 86 // New-based allocator. Typically slower than default alloc below. 98 // NDEBUG, but it's far better to just use the underlying allocator 145 // Default node allocator. 175 /* macro to convert the allocator for initialization 179 * not used implicitly to convert allocator parameter, so let us do it explicitly */ 191 // Another allocator adaptor: _Alloc_traits. This serves two 193 // either SGI-style allocators or standard-conforming allocator. 270 class allocator //: public _AllocatorAux<_Tp> class in inherits:__stlport_class 271 /* A small helper struct to recognize STLport allocator implementatio 364 class _STLP_CLASS_DECLSPEC allocator<void> { class 388 _STLP_EXPORT_TEMPLATE_CLASS allocator<char>; variable 390 _STLP_EXPORT_TEMPLATE_CLASS allocator<wchar_t>; variable 393 _STLP_EXPORT_TEMPLATE_CLASS allocator<void*>; variable 465 __stl_alloc_create(const allocator<_Tp1>&, const _Tp2*) argument [all...] |
H A D | _hashtable.h | 70 _STLP_EXPORT_TEMPLATE_CLASS allocator<_STLP_PRIV _Slist_node_base*>; variable 74 allocator<_Slist_node_base*> >; 76 allocator<_Slist_node_base*> >; 83 _STLP_EXPORT_TEMPLATE_CLASS __construct_checker<_STLP_NON_DBG_VECTOR<_Slist_node_base*, allocator<_Slist_node_base*> > >; 84 _STLP_EXPORT_TEMPLATE_CLASS _STLP_NON_DBG_VECTOR<_Slist_node_base*, allocator<_Slist_node_base*> >; 90 allocator<_STLP_PRIV _Slist_node_base*> >; 217 * unconditionally has a member variable to hold its allocator, even if 218 * it so happens that all instances of the allocator type are identical.
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
H A D | ListHashSet.h | 197 Allocator* allocator() const { return this->m_allocatorProvider.get(); } function in class:WTF::ListHashSet 246 // This allocator is only used for non-Heap ListHashSets. 361 void* operator new(size_t, NodeAllocator* allocator) argument 364 return allocator->allocateNode(); 392 void destroy(NodeAllocator* allocator) argument 396 allocator->deallocate(this); 655 template<typename T, typename U, typename V> static void translate(T*& location, const U& key, const V& allocator) argument 657 location = new (const_cast<V*>(&allocator)) T(key); 810 // allocator actually changes when it does allocations. 811 typename ImplType::AddResult result = m_impl.template add<BaseTranslator>(value, *this->allocator()); [all...] |