Home
last modified time | relevance | path

Searched refs:Allocator (Results 1 – 16 of 16) sorted by relevance

/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Ddefault_initialization_allocator.h18 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()
Dbuffer_wrapper.h99 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()
Dthread_local_buffer.h41 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_;
Dserialization.h265 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 …]
Dmessage_buffer.h15 typename Allocator = DefaultInitializationAllocator<T>>
16 using MessageBuffer = ThreadLocalBuffer<T, Allocator, Capacity, Slot>;
Dencoding.h464 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()
Dtype_operators.h134 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/base/core/jni/android/graphics/
DImageDecoder.h29 enum Allocator { enum
DBitmapFactory.cpp126 class RecyclingPixelAllocator : public SkBitmap::Allocator {
344 SkBitmap::Allocator* decodeAllocator; in doDecode()
444 SkBitmap::Allocator* outputAllocator; in doDecode()
DGraphicsJNI.h212 class AshmemPixelAllocator : public SkBitmap::Allocator {
DBitmap.cpp378 SkBitmap::Allocator* alloc) { in bitmapCopyTo()
/frameworks/base/tools/lock_agent/
Dagent.cpp227 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/layoutlib/bridge/src/android/graphics/
DImageDecoder.java507 public @interface Allocator {}; annotation in ImageDecoder
516 public void setAllocator(@Allocator int allocator) { } in setAllocator()
/frameworks/base/graphics/java/android/graphics/
DImageDecoder.java1245 public @interface Allocator {}; annotation in ImageDecoder
1257 public void setAllocator(@Allocator int allocator) { in setAllocator()
1267 @Allocator
/frameworks/native/libs/binder/ndk/
Dparcel.cpp391 static bool Allocator(void* stringData, int32_t length, char** buffer) { in Allocator() function
421 StringArrayElementAllocationAdapter::Allocator); in AParcel_readStringArray()
/frameworks/base/startop/view_compiler/
Ddex_builder.h49 class TrackingAllocator : public ::dex::Writer::Allocator {