Searched refs:custom_allocator (Results 1 – 5 of 5) sorted by relevance
192 bool custom_allocator = (pAllocator != nullptr); in CreateObject() local196 pNewObjNode->status = custom_allocator ? OBJSTATUS_CUSTOM_ALLOCATOR : OBJSTATUS_NONE; in CreateObject()249 bool custom_allocator = pAllocator != nullptr; in ValidateDestroyObject() local258 …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()
68 se::DeviceMemoryAllocator* custom_allocator = nullptr; in PlatformInfoFromContext() local89 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()
56 se::DeviceMemoryAllocator* custom_allocator() const { in custom_allocator() function
280 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,
140 - `native_custom_alloc`:"custom_allocator" (on a table or struct): When using the151 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() {}