| /external/tensorflow/tensorflow/core/common_runtime/ |
| bfc_allocator.h | 37 // A memory allocator that implements a 'best-fit with coalescing' 41 // The goal of this allocator is to support defragmentation via 43 // allocator owns pretty much all of the memory, and that nearly 108 // the parent allocator. 152 explicit ChunkComparator(BFCAllocator* allocator) 153 : allocator_(allocator) {} 166 BFCAllocator* allocator_; // The parent allocator 173 Bin(BFCAllocator* allocator, size_t bs) 174 : bin_size(bs), free_chunks(ChunkComparator(allocator)) {} 409 // The total number of allocated bytes by the allocator [all...] |
| /external/tensorflow/tensorflow/core/framework/ |
| tracking_allocator.h | 20 #include "tensorflow/core/framework/allocator.h" 30 // TrackingAllocator is a wrapper for an Allocator. It keeps a running 34 // around the underlying allocator. 56 class TrackingAllocator : public Allocator { 58 explicit TrackingAllocator(Allocator* allocator, bool track_ids); 73 // If the underlying allocator tracks allocation sizes, this returns 78 // underlying allocator does not track allocation sizes the first 98 Allocator* allocator_; // not owned. 105 // by this wrapper, or 0 if the underlying allocator does not trac [all...] |
| /external/tensorflow/tensorflow/core/kernels/ |
| requantize_op_test.cc | 16 #include "tensorflow/core/framework/allocator.h" 61 Tensor expected(allocator(), DT_QUINT8, TensorShape({value_count}));
|
| sparse_dense_binary_op_shared_test.cc | 17 #include "tensorflow/core/framework/allocator.h" 116 Tensor expected(allocator(), DT_FLOAT, TensorShape({4})); 144 Tensor expected(allocator(), DT_FLOAT, TensorShape({4})); 171 Tensor expected(allocator(), DT_FLOAT, TensorShape({4})); 204 Tensor expected(allocator(), DT_FLOAT, TensorShape({4}));
|
| /external/v8/src/ |
| background-parsing-task.cc | 31 ParseInfo* info = new ParseInfo(isolate->allocator());
|
| /external/v8/src/compiler/ |
| graph-replay.cc | 23 Zone zone(graph->zone()->allocator(), ZONE_NAME);
|
| /frameworks/base/core/jni/android/graphics/ |
| BitmapRegionDecoder.cpp | 172 // Set up the pixel allocator 173 SkBRDAllocator* allocator = nullptr; local 177 allocator = &recycleAlloc; 181 allocator = &heapAlloc; 190 if (!brd->decodeRegion(&bitmap, allocator, subset, sampleSize,
|
| /frameworks/base/libs/hwui/pipeline/skia/ |
| SkiaDisplayList.h | 61 * Use the linear allocator to create any SkDrawables needed by the display 64 * that creates them. Allocator dtor invokes all SkDrawable dtors. 68 return allocator.create<T>(std::forward<Params>(params)...);
|
| /hardware/google/av/codec2/vndk/bufferpool/ |
| Accessor.h | 85 * Creates a buffer pool accessor which uses the specified allocator. 87 * @param allocator buffer allocator. 89 explicit Accessor(const std::shared_ptr<BufferPoolAllocator> &allocator);
|
| /hardware/google/av/codec2/vndk/bufferpool/include/bufferpool/ |
| ClientManager.h | 53 * @param allocator for new buffer allocation. 62 ResultStatus create(const std::shared_ptr<BufferPoolAllocator> &allocator,
|
| /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/bits/ |
| stl_construct.h | 82 // 402. wrong new expression in [some_]allocator::construct 131 * Destroy a range of objects using the supplied allocator. For 149 allocator<_Tp>&)
|
| /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/ |
| standard_policies.hpp | 137 #define __dtrie_alloc std::allocator<char>
|
| /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/ |
| priority_queue.hpp | 69 * @tparam _Alloc Allocator type. 82 typename _Alloc = std::allocator<char> >
|
| /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/tr1/ |
| unordered_map.h | 41 class _Alloc = std::allocator<std::pair<const _Key, _Tp> >, 90 class _Alloc = std::allocator<std::pair<const _Key, _Tp> >, 172 * @param Alloc Allocator type, defaults to allocator<Key>. 179 class _Alloc = std::allocator<std::pair<const _Key, _Tp> > > 224 * @param Alloc Allocator type, defaults to allocator<Key>. 231 class _Alloc = std::allocator<std::pair<const _Key, _Tp> > >
|
| /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/ |
| stl_construct.h | 82 // 402. wrong new expression in [some_]allocator::construct 131 * Destroy a range of objects using the supplied allocator. For 149 allocator<_Tp>&)
|
| /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/pb_ds/detail/ |
| standard_policies.hpp | 137 #define __dtrie_alloc std::allocator<char>
|
| /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/pb_ds/ |
| priority_queue.hpp | 69 * @tparam _Alloc Allocator type. 82 typename _Alloc = std::allocator<char> >
|
| /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/tr1/ |
| unordered_map.h | 41 class _Alloc = std::allocator<std::pair<const _Key, _Tp> >, 90 class _Alloc = std::allocator<std::pair<const _Key, _Tp> >, 172 * @param Alloc Allocator type, defaults to allocator<Key>. 179 class _Alloc = std::allocator<std::pair<const _Key, _Tp> > > 224 * @param Alloc Allocator type, defaults to allocator<Key>. 231 class _Alloc = std::allocator<std::pair<const _Key, _Tp> > >
|
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/sequences/deque/deque.cons/ |
| iter_iter.pass.cpp | 27 typedef std::allocator<T> Allocator; 28 typedef std::deque<T, Allocator> C; 37 template <class Allocator, class InputIterator> 42 typedef std::deque<T, Allocator> C;
|
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/sequences/list/list.cons/ |
| default.pass.cpp | 32 std::list<int> l((std::allocator<int>()));
|
| size_value_alloc.pass.cpp | 12 // list(size_type n, const T& value, const Allocator& = Allocator()); 34 std::list<int> l(3, 2, std::allocator<int>());
|
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/sequences/vector/vector.cons/ |
| construct_iter_iter_alloc.pass.cpp | 56 std::allocator<int> alloc;
|
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/sequences/vector.bool/ |
| construct_iter_iter_alloc.pass.cpp | 40 std::allocator<bool> alloc;
|
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/ |
| do_is_equal.pass.cpp | 36 typedef std::allocator<char> Alloc2; 69 // different allocator types
|
| /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/stubs/ |
| hash.h | 214 typename Alloc = std::allocator< std::pair<const Key, Data> > > 273 typename Alloc = std::allocator< std::pair<const Key, Data> > > 304 typename Alloc = std::allocator< std::pair<const Key, Data> > > 367 typename Alloc = std::allocator< std::pair<const Key, Data> > >
|