Home
last modified time | relevance | path

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

/external/vulkan-validation-layers/layers/
Dobject_lifetime_validation.h192 bool custom_allocator = (pAllocator != nullptr); in CreateObject() local
196 pNewObjNode->status = custom_allocator ? OBJSTATUS_CUSTOM_ALLOCATOR : OBJSTATUS_NONE; in CreateObject()
249 bool custom_allocator = pAllocator != nullptr; in ValidateDestroyObject() local
258 …if (allocated_with_custom && !custom_allocator && expected_custom_allocator_code != kVUIDUndefined… in ValidateDestroyObject()
266 …} else if (!allocated_with_custom && custom_allocator && expected_default_allocator_code != kVUIDU… in ValidateDestroyObject()
/external/tensorflow/tensorflow/compiler/jit/kernels/
Dxla_ops.cc68 se::DeviceMemoryAllocator* custom_allocator = nullptr; in PlatformInfoFromContext() local
89 custom_allocator = in PlatformInfoFromContext()
94 custom_allocator); in PlatformInfoFromContext()
187 if (platform_info.custom_allocator()) { in GetAllocator()
188 return platform_info.custom_allocator(); in GetAllocator()
Dxla_ops.h56 se::DeviceMemoryAllocator* custom_allocator() const { in custom_allocator() function
/external/fmtlib/doc/
Dapi.rst280 fmt::basic_memory_buffer<char, fmt::inline_buffer_size, custom_allocator>;
286 std::basic_string<char, std::char_traits<char>, custom_allocator>;
288 custom_string vformat(custom_allocator alloc, fmt::string_view format_str,
296 inline custom_string format(custom_allocator alloc,
/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() {}