Searched refs:Allocator (Results 1 - 22 of 22) sorted by relevance

/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
H A Ddefault_initialization_allocator.h10 // Allocator adaptor that interposes construct() calls to convert value
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,
H A Dmessage_buffer.h15 typename Allocator = DefaultInitializationAllocator<T>>
16 using MessageBuffer = ThreadLocalBuffer<T, Allocator, Capacity, Slot>;
H A Dthread_local_buffer.h39 // Slot provides multiple thread local slots for a given T, Allocator, Capacity
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_;
H A 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)
117 BufferWrapper(BufferType&& buffer, const Allocator& allocator)
166 template <typename T, typename Allocator = std::allocator<T>>
167 BufferWrapper<std::vector<T, Allocator>> WrapBuffer(
168 std::vector<T, Allocator>&& buffer) {
169 return BufferWrapper<std::vector<T, Allocator>>(
170 std::forward<std::vector<T, Allocator>>(buffe
[all...]
H A Dserialization.h263 template <typename T, typename Allocator>
264 inline std::size_t GetSerializedSize(const std::vector<T, Allocator>& v);
265 template <typename Key, typename T, typename Compare, typename Allocator>
267 const std::map<Key, T, Compare, Allocator>& m);
269 typename Allocator>
271 const std::unordered_map<Key, T, Hash, KeyEqual, Allocator>&);
345 template <typename T, typename Allocator>
346 inline std::size_t GetSerializedSize(const std::vector<T, Allocator>& v) {
354 template <typename Key, typename T, typename Compare, typename Allocator>
356 const std::map<Key, T, Compare, Allocator>
[all...]
H A Dencoding.h464 template <typename T, typename Allocator>
466 const std::vector<T, Allocator>& value) {
470 template <typename Key, typename T, typename Compare, typename Allocator>
472 const std::map<Key, T, Compare, Allocator>& value) {
477 typename Allocator>
479 const std::unordered_map<Key, T, Hash, KeyEqual, Allocator>& value) {
H A Dtype_operators.h132 // convertible if A and B are equivalent. Allocator types are not relevant to
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/base/core/jni/android/graphics/
H A DImageDecoder.h28 // These need to stay in sync with ImageDecoder.java's Allocator constants.
29 enum Allocator { enum in struct:ImageDecoder
H A DBitmapFactory.cpp123 class RecyclingPixelAllocator : public SkBitmap::Allocator {
337 SkBitmap::Allocator* decodeAllocator;
443 SkBitmap::Allocator* outputAllocator;
H A DGraphicsJNI.h141 * Allocator to handle reusing bitmaps for BitmapRegionDecoder.
201 class AshmemPixelAllocator : public SkBitmap::Allocator {
H A DBitmap.cpp698 SkBitmap::Allocator* alloc) {
/frameworks/native/include/ui/
H A DGraphicBufferAllocator.h38 class Allocator;
79 const std::unique_ptr<const Gralloc2::Allocator> mAllocator;
H A DGralloc2.h93 class Allocator { class in namespace:android::Gralloc2
97 Allocator(const Mapper& mapper);
/frameworks/native/libs/ui/include/ui/
H A DGraphicBufferAllocator.h38 class Allocator;
79 const std::unique_ptr<const Gralloc2::Allocator> mAllocator;
H A DGralloc2.h93 class Allocator { class in namespace:android::Gralloc2
97 Allocator(const Mapper& mapper);
/frameworks/native/libs/ui/include_vndk/ui/
H A DGraphicBufferAllocator.h38 class Allocator;
79 const std::unique_ptr<const Gralloc2::Allocator> mAllocator;
H A DGralloc2.h93 class Allocator { class in namespace:android::Gralloc2
97 Allocator(const Mapper& mapper);
/frameworks/native/libs/ui/
H A DGralloc2.cpp316 Allocator::Allocator(const Mapper& mapper) function in class:android::Gralloc2::Allocator
325 std::string Allocator::dumpDebugInfo() const
336 Error Allocator::allocate(BufferDescriptor descriptor, uint32_t count,
H A DGraphicBufferAllocator.cpp46 mAllocator(std::make_unique<Gralloc2::Allocator>(
/frameworks/compile/mclinker/include/mcld/Support/
H A DDirectory.h17 #include <llvm/Support/Allocator.h>
/frameworks/layoutlib/bridge/src/android/graphics/
H A DImageDecoder.java469 // These need to stay in sync with ImageDecoder.cpp's Allocator enum.
507 public @interface Allocator {}; interface in class:ImageDecoder
516 public ImageDecoder setAllocator(@Allocator int allocator) {
/frameworks/base/graphics/java/android/graphics/
H A DImageDecoder.java1115 // These need to stay in sync with ImageDecoder.cpp's Allocator enum.
1158 public @interface Allocator {}; interface in class:ImageDecoder
1170 public void setAllocator(@Allocator int allocator) {
1180 @Allocator

Completed in 119 milliseconds