Searched defs:allocator (Results 51 - 75 of 85) sorted by relevance

1234

/external/clang/test/SemaTemplate/
H A Ddefault-expr-arguments.cpp153 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/stlport/stlport/stl/pointers/
H A D_list.h42 _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/webkit/Source/JavaScriptCore/jit/
H A DExecutableAllocatorFixedVMPool.cpp485 static FixedVMPoolAllocator* allocator = 0; member in namespace:JSC
491 return allocator ? allocator->allocated() : 0;
502 if (!allocator)
503 allocator = new FixedVMPoolAllocator();
504 return allocator->isValid();
511 return allocator && (allocator->allocated() > (FixedVMPoolPageTables::size() / 2));
517 ASSERT(allocator);
518 return allocator
[all...]
/external/webkit/Source/JavaScriptGlue/
H A DJavaScriptGlue.cpp47 void *JSCFRetain(CFAllocatorRef allocator, const void *value);
48 void JSCFRelease(CFAllocatorRef allocator, const void *value);
366 void *JSCFRetain(CFAllocatorRef allocator, const void *value) argument
375 void JSCFRelease(CFAllocatorRef allocator, const void *value) argument
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
H A DPoolAlloc.h15 // 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.
232 // This STL compatible allocator is intended to be used as the allocator
256 pool_allocator() : allocator(GlobalPoolAllocator) { }
257 pool_allocator(TPoolAllocator& a) : allocator(a) { }
258 pool_allocator(const pool_allocator<T>& p) : allocator(
297 TPoolAllocator& allocator; member in class:pool_allocator
[all...]
/external/chromium/third_party/libjingle/source/talk/p2p/base/
H A Dp2ptransportchannel.cc62 // We will try creating a new allocator from scratch after a delay of this
165 PortAllocator *allocator) :
168 allocator_(allocator),
186 // Add the allocator session to our list so that we know which sessions
209 // Kick off an allocator session
501 // Time for a new allocator, lets make sure we have a signalling channel
684 // were writable, go into the connecting state (kick off a new allocator
691 // If we were writable, let's kick off an allocator session immediately
702 // but they were also timed out, we really need a new allocator.
708 // We weren't timed out before, so kick off an allocator no
162 P2PTransportChannel(const std::string &name, const std::string &content_type, P2PTransport* transport, PortAllocator *allocator) argument
[all...]
/external/stlport/stlport/stl/
H A D_alloc.h56 // 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.h70 _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/webkit/Source/JavaScriptCore/wtf/
H A DListHashSet.h221 void* operator new(size_t, NodeAllocator* allocator) argument
223 return allocator->allocate();
225 void destroy(NodeAllocator* allocator) argument
228 allocator->deallocate(this);
369 static void translate(Node*& location, const ValueType& key, NodeAllocator* allocator) argument
371 location = new (allocator) Node(key);
/external/webkit/Source/JavaScriptCore/yarr/
H A DYarrInterpreter.h327 BytecodePattern(PassOwnPtr<ByteDisjunction> body, Vector<ByteDisjunction*> allParenthesesInfo, YarrPattern& pattern, BumpPointerAllocator* allocator) argument
332 , m_allocator(allocator)
H A DYarrInterpreter.cpp1450 PassOwnPtr<BytecodePattern> compile(BumpPointerAllocator* allocator) argument
1456 return adoptPtr(new BytecodePattern(m_bodyDisjunction.release(), m_allParenthesesInfo, m_pattern, allocator));
1895 PassOwnPtr<BytecodePattern> byteCompile(YarrPattern& pattern, BumpPointerAllocator* allocator) argument
1897 return ByteCompiler(pattern).compile(allocator);
/external/webkit/Source/WebCore/platform/graphics/android/context/
H A DRTree.cpp38 void* RecordingData::operator new(size_t size, LinearAllocator* allocator) argument
40 return allocator->alloc(size);
135 RTree::RTree(WebCore::LinearAllocator* allocator, int M) argument
136 : m_allocator(allocator)
/external/chromium/third_party/libjingle/source/talk/p2p/client/
H A Dbasicportallocator.cc220 BasicPortAllocator *allocator,
223 : PortAllocatorSession(allocator->flags()), allocator_(allocator),
418 LOG_J(LS_INFO, port) << "Added port to allocator";
482 LOG_J(LS_INFO, port) << "Removed port from allocator ("
540 talk_base::_max(0, session->allocator()->best_writable_phase());
667 session_->allocator()->socket_factory(),
669 session_->allocator()->min_port(),
670 session_->allocator()->max_port());
682 session_->allocator()
219 BasicPortAllocatorSession( BasicPortAllocator *allocator, const std::string &name, const std::string &session_type) argument
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator64.h9 // Specialized allocator which works only in 64-bit address space.
11 // The main feature of this allocator is that the header is located far away
309 void *Allocate(SizeClassAllocator *allocator, uptr class_id) { argument
313 allocator->BulkAllocate(class_id, free_list);
320 void Deallocate(SizeClassAllocator *allocator, uptr class_id, void *p) { argument
325 DrainHalf(allocator, class_id);
328 void Drain(SizeClassAllocator *allocator) { argument
330 allocator->BulkDeallocate(i, &free_lists_[i]);
339 void DrainHalf(SizeClassAllocator *allocator, uptr class_id) { argument
349 allocator
[all...]
/external/llvm/lib/CodeGen/
H A DLiveDebugVariables.cpp282 LocMap::Allocator allocator; member in class:__anon8669::LDVImpl
423 UserValue *UV = new UserValue(Var, Offset, DL, allocator);
/external/qemu/
H A Dconsole.h215 struct DisplayAllocator* allocator; member in struct:DisplayState
241 return ds->allocator->create_displaysurface(width, height);
246 return ds->allocator->resize_displaysurface(ds->surface, width, height);
251 ds->allocator->free_displaysurface(ds->surface);
/external/skia/src/core/
H A DSkBitmap.cpp362 bool SkBitmap::allocPixels(Allocator* allocator, SkColorTable* ctable) { argument
365 if (NULL == allocator) {
366 allocator = &stdalloc;
368 return allocator->allocPixelRef(this, ctable);
426 /** We explicitly use the same allocator for our pixels that SkMask does,
917 // allocator/lock failed
1294 Allocator *allocator, SkIPoint* offset) const {
1319 if (!tmpBitmap.allocPixels(allocator, NULL)) {
1343 if (!tmpBitmap.allocPixels(allocator, NULL)) {
1293 extractAlpha(SkBitmap* dst, const SkPaint* paint, Allocator *allocator, SkIPoint* offset) const argument
/external/v8/src/
H A Dmark-compact.h349 static bool AddTo(SlotsBufferAllocator* allocator, argument
356 allocator->DeallocateChain(buffer_address);
359 buffer = allocator->AllocateBuffer(buffer);
368 static bool AddTo(SlotsBufferAllocator* allocator,
H A Disolate.cc41 #include "lithium-allocator.h"
505 HeapStringAllocator allocator; local
507 StringStream accumulator(&allocator);
673 StringAllocator* allocator; local
675 allocator = new HeapStringAllocator();
677 allocator = preallocated_message_space_;
681 StringStream accumulator(allocator);
691 delete allocator;
H A Dprofile-generator.h811 void Pair(HeapThing thing, HeapEntriesAllocator* allocator, HeapEntry* entry);
824 EntryInfo(HeapEntry* entry, HeapEntriesAllocator* allocator) argument
826 allocator(allocator),
831 HeapEntriesAllocator* allocator; member in struct:v8::internal::HeapEntriesMap::EntryInfo
877 HeapEntriesAllocator* allocator) = 0;
880 HeapEntriesAllocator* allocator) = 0;
/external/v8/test/cctest/
H A Dtest-regexp.cc421 HeapStringAllocator allocator; local
422 StringStream accumulator(&allocator);
/external/webkit/Source/JavaScriptCore/assembler/
H A DMIPSAssembler.h712 void* executableCopy(ExecutablePool* allocator) argument
714 void *result = m_buffer.executableCopy(allocator);
/external/webkit/Source/WebCore/platform/graphics/win/
H A DMediaPlayerPrivateQuickTimeVisualContext.cpp805 static CFDictionaryRef QTCFDictionaryCreateWithDataCallback(CFAllocatorRef allocator, const UInt8* bytes, CFIndex length) argument
807 RetainPtr<CFDataRef> data(AdoptCF, CFDataCreateWithBytesNoCopy(allocator, bytes, length, kCFAllocatorNull));
811 return reinterpret_cast<CFDictionaryRef>(CFPropertyListCreateFromXMLData(allocator, data.get(), kCFPropertyListImmutable, 0));
/external/clang/lib/CodeGen/
H A DCGExprCXX.cpp1157 FunctionDecl *allocator = E->getOperatorNew(); local
1159 allocator->getType()->castAs<FunctionProtoType>();
1211 // Emit the allocation call. If the allocator is a global placement
1214 if (allocator->isReservedGlobalPlacementOperator()) {
1222 CGM.GetAddrOfFunction(allocator), ReturnValueSlot(),
1223 allocatorArgs, allocator);
/external/v8/src/ia32/
H A Dlithium-ia32.h32 #include "lithium-allocator.h"
258 // Interface to the register allocator and iterators.
2352 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) argument
2362 allocator_(allocator),
2407 // instruction. This means that register allocator will not reuse it's
2410 // instruction start. Register allocator is free to assign the same register
2467 // Marks a call for the register allocator. Assigns a pointer map to

Completed in 790 milliseconds

1234