/frameworks/av/media/utils/include/mediautils/ |
D | SharedMemoryAllocator.h | 111 template <typename Allocator> 138 template <typename Allocator> 141 static size_t alignment() { return Allocator::alignment(); } 143 explicit ScopedAllocator(const std::shared_ptr<Allocator>& allocator) : mAllocator(allocator) {} 145 ScopedAllocator() : mAllocator(std::make_shared<Allocator>()) {} 169 -> std::enable_if_t<shared_allocator_impl::has_owns<Allocator>, Enable> { 175 auto dump() const -> std::enable_if_t<shared_allocator_impl::has_dump<Allocator>, Enable> { 183 const std::shared_ptr<Allocator> mAllocator; 218 template <typename Allocator, typename Policy> 221 static size_t alignment() { return Allocator::alignment(); } [all …]
|
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | default_initialization_allocator.h | 18 template <typename T, typename Allocator = std::allocator<T>> 19 class DefaultInitializationAllocator : public Allocator { 20 typedef std::allocator_traits<Allocator> AllocatorTraits; 29 using Allocator::Allocator; 38 AllocatorTraits::construct(static_cast<Allocator&>(*this), pointer, in construct()
|
D | buffer_wrapper.h | 99 template <typename T, typename Allocator> 100 class BufferWrapper<std::vector<T, Allocator>> { 102 using BufferType = typename std::vector<T, Allocator>; 114 BufferWrapper(const BufferType& buffer, const Allocator& allocator) in BufferWrapper() 117 BufferWrapper(BufferType&& buffer, const Allocator& allocator) in BufferWrapper() 166 template <typename T, typename Allocator = std::allocator<T>> 167 BufferWrapper<std::vector<T, Allocator>> WrapBuffer( in WrapBuffer() 168 std::vector<T, Allocator>&& buffer) { in WrapBuffer() 169 return BufferWrapper<std::vector<T, Allocator>>( in WrapBuffer() 170 std::forward<std::vector<T, Allocator>>(buffer)); in WrapBuffer()
|
D | thread_local_buffer.h | 41 template <typename T, typename Allocator = DefaultInitializationAllocator<T>, 46 using BufferType = std::vector<T, Allocator>; 125 template <typename T, typename Allocator, std::size_t Capacity, typename Slot> 127 typename ThreadLocalBuffer<T, Allocator, Capacity, Slot>::BufferType* 128 ThreadLocalBuffer<T, Allocator, Capacity, Slot>::buffer_;
|
D | serialization.h | 265 template <typename T, typename Allocator> 266 inline std::size_t GetSerializedSize(const std::vector<T, Allocator>& v); 267 template <typename Key, typename T, typename Compare, typename Allocator> 269 const std::map<Key, T, Compare, Allocator>& m); 271 typename Allocator> 273 const std::unordered_map<Key, T, Hash, KeyEqual, Allocator>&); 347 template <typename T, typename Allocator> 348 inline std::size_t GetSerializedSize(const std::vector<T, Allocator>& v) { 356 template <typename Key, typename T, typename Compare, typename Allocator> 358 const std::map<Key, T, Compare, Allocator>& v) { [all …]
|
D | message_buffer.h | 15 typename Allocator = DefaultInitializationAllocator<T>> 16 using MessageBuffer = ThreadLocalBuffer<T, Allocator, Capacity, Slot>;
|
D | encoding.h | 464 template <typename T, typename Allocator> 466 const std::vector<T, Allocator>& value) { in EncodeType() 470 template <typename Key, typename T, typename Compare, typename Allocator> 472 const std::map<Key, T, Compare, Allocator>& value) { in EncodeType() 477 typename Allocator> 479 const std::unordered_map<Key, T, Hash, KeyEqual, Allocator>& value) { in EncodeType()
|
D | type_operators.h | 134 template <typename A, typename B, typename Allocator> 136 BufferWrapper<std::vector<B, Allocator>>> 138 template <typename A, typename B, typename Allocator> 139 struct IsConvertible<BufferWrapper<std::vector<A, Allocator>>,
|
/frameworks/libs/binary_translation/lite_translator/riscv64_to_x86_64/ |
D | allocator_tests.cc | 27 TEST(AllocatorTest, Allocator) { in TEST() argument 28 Allocator<x86_64::Assembler::Register> allocator; in TEST() 44 Allocator<x86_64::Assembler::Register> allocator; in TEST() 62 Allocator<x86_64::Assembler::Register> allocator; in TEST() 77 Allocator<x86_64::Assembler::XMMRegister> allocator; in TEST() 98 Allocator<x86_64::Assembler::XMMRegister> allocator; in TEST() 121 Allocator<x86_64::Assembler::XMMRegister> allocator; in TEST()
|
D | allocator.h | 71 class Allocator {
|
D | lite_translator.h | 470 Allocator<Register> gp_allocator_; 473 Allocator<SimdRegister> simd_allocator_;
|
/frameworks/av/services/audioflinger/afutils/ |
D | AllocatorFactory.h | 58 template <typename Policy, typename Allocator> 59 inline auto wrapWithPolicySnooping(Allocator allocator, std::string_view name) { in wrapWithPolicySnooping()
|
/frameworks/base/tools/lock_agent/ |
D | agent.cpp | 227 const unsigned char* classData, dex::Writer::Allocator* allocator) { in maybeTransform() 274 class JvmtiAllocator: public dex::Writer::Allocator { in transformHook() 510 class NewDeleteAllocator: public dex::Writer::Allocator { in locktest_main()
|
/frameworks/base/libs/hwui/jni/ |
D | BitmapFactory.cpp | 128 class RecyclingPixelAllocator : public SkBitmap::Allocator { 470 SkBitmap::Allocator* decodeAllocator; in doDecode() 570 SkBitmap::Allocator* outputAllocator; in doDecode()
|
D | GraphicsJNI.h | 251 class AshmemPixelAllocator : public SkBitmap::Allocator {
|
D | ImageDecoder.cpp | 66 enum Allocator { enum
|
D | Bitmap.cpp | 329 SkBitmap::Allocator* alloc) { in bitmapCopyTo()
|
/frameworks/base/graphics/java/android/graphics/ |
D | ImageDecoder.java | 1296 public @interface Allocator {}; annotation in ImageDecoder 1308 public void setAllocator(@Allocator int allocator) { in setAllocator() 1318 @Allocator
|
/frameworks/native/libs/binder/ndk/ |
D | parcel.cpp | 429 static bool Allocator(void* stringData, int32_t length, char** buffer) { in Allocator() function 456 StringArrayElementAllocationAdapter::Allocator); in AParcel_readStringArray()
|