Home
last modified time | relevance | path

Searched refs:custom_allocator (Results 1 – 2 of 2) sorted by relevance

/external/vulkan-validation-layers/layers/
Dobject_lifetime_validation.h171 bool custom_allocator = (pAllocator != nullptr); in CreateObject() local
180 pNewObjNode->status = custom_allocator ? OBJSTATUS_CUSTOM_ALLOCATOR : OBJSTATUS_NONE; in CreateObject()
229 bool custom_allocator = pAllocator != nullptr; in ValidateDestroyObject() local
244 …if (allocated_with_custom && !custom_allocator && expected_custom_allocator_code != kVUIDUndefined… in ValidateDestroyObject()
252 …} else if (!allocated_with_custom && custom_allocator && expected_default_allocator_code != kVUIDU… in ValidateDestroyObject()
/external/flatbuffers/docs/source/
DCppUsage.md140 - `native_custom_alloc`:"custom_allocator" (on a table or struct): When using the
151 table mytable(native_custom_alloc:"custom_allocator") {
155 with custom_allocator defined before flatbuffers.h is included, as:
157 template <typename T> struct custom_allocator : public std::allocator<T> {
163 typedef custom_allocator<U> other;
174 custom_allocator() throw() {}
176 custom_allocator(const custom_allocator<U>&) throw() {}