HomeSort by relevance Sort by last modified time
    Searched refs:allocator (Results 451 - 475 of 1428) sorted by null

<<11121314151617181920>>

  /external/libcxx/test/std/containers/sequences/deque/deque.cons/
iter_iter_alloc.pass.cpp 27 template <class InputIterator, class Allocator>
29 test(InputIterator f, InputIterator l, const Allocator& a)
32 typedef std::deque<T, Allocator> C;
66 std::allocator<T> a;
81 std::allocator<T> a;
  /external/libcxx/test/std/containers/sequences/vector.bool/
types.pass.cpp 14 // template <class Allocator>
15 // class vector<bool, Allocator
19 // typedef Allocator allocator_type;
38 template <class Allocator>
42 typedef std::vector<bool, Allocator> C;
45 static_assert((std::is_same<typename C::value_type, typename Allocator::value_type>::value), "");
46 static_assert((std::is_same<typename C::allocator_type, Allocator>::value), "");
47 static_assert((std::is_same<typename C::size_type, typename std::allocator_traits<Allocator>::size_type>::value), "");
48 static_assert((std::is_same<typename C::difference_type, typename std::allocator_traits<Allocator>::difference_type>::value), "");
74 test<std::allocator<bool> >()
    [all...]
  /external/libcxx/test/std/strings/basic.string/string.cons/
implicit_deduction_guides.pass.cpp 27 template <class T, class Alloc = std::allocator<T>>
31 // using A = Allocator;
62 { // Testing (3) w/o allocator
71 { // Testing (3) w/ allocator
80 { // Testing (4) w/o allocator
94 { // Testing (4) w/ allocator
96 std::basic_string s(sin, (size_t)1, std::allocator<char>{});
108 { // Testing (5) w/o allocator
124 { // Testing (5) w/ allocator
126 std::basic_string s(sin, (size_t)1, (size_t)3, std::allocator<char>{})
    [all...]
  /external/libcxx/test/std/strings/basic.string/
types.pass.cpp 15 // class Allocator = allocator<charT> >
21 // typedef Allocator allocator_type;
22 // typedef typename Allocator::size_type size_type;
23 // typedef typename Allocator::difference_type difference_type;
24 // typedef typename Allocator::reference reference;
25 // typedef typename Allocator::const_reference const_reference;
26 // typedef typename Allocator::pointer pointer;
27 // typedef typename Allocator::const_pointer const_pointer;
43 template <class Traits, class Allocator>
    [all...]
  /external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
alloc_rfunction.pass.cpp 87 std::function<int(int)> f2(std::allocator_arg, std::allocator<void>{},
103 std::function<int(int)> f2(std::allocator_arg, std::allocator<void>(),
  /external/libcxx/test/std/utilities/memory/default.allocator/allocator.members/
construct.pass.cpp 12 // allocator:
60 std::allocator<A> a;
108 std::allocator<move_only> a;
  /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
alloc_convert_move.pass.cpp 96 std::tuple<Explicit> t2{std::allocator_arg, std::allocator<void>{}, std::move(t1)};
101 std::tuple<Implicit> t2 = {std::allocator_arg, std::allocator<void>{}, std::move(t1)};
  /external/python/cpython3/Include/
pymem.h 192 /* Get the memory block allocator of the specified domain. */
194 PyMemAllocatorEx *allocator);
196 /* Set the memory block allocator of the specified domain.
198 The new allocator must return a distinct non-NULL pointer when requesting
201 For the PYMEM_DOMAIN_RAW domain, the allocator must be thread-safe: the GIL
202 is not held when the allocator is called.
204 If the new allocator is not a hook (don't call the previous allocator), the
206 on top on the new allocator. */
208 PyMemAllocatorEx *allocator);
    [all...]
  /external/skia/src/gpu/ops/
GrTessellatingPathRenderer.cpp 275 StaticVertexAllocator allocator(gp->getVertexStride(), rp, canMapVB);
276 int count = GrTessellator::PathToTriangles(getPath(), tol, clipBounds, &allocator,
281 this->drawVertices(target, gp, allocator.vertexBuffer(), 0, count);
286 rp->assignUniqueKeyToResource(key, allocator.vertexBuffer());
300 DynamicVertexAllocator allocator(gp->getVertexStride(), target);
302 GrTessellator::PathToTriangles(path, tol, clipBounds, &allocator, true, fColor,
307 this->drawVertices(target, gp, allocator.vertexBuffer(), allocator.firstVertex(), count);
  /external/skia/src/pathops/
SkPathOpsTightBounds.cpp 50 SkSTArenaAlloc<4096> allocator; // FIXME: constant-ize, tune local
53 SkOpGlobalState globalState(contourList, &allocator SkDEBUGPARAMS(false)
  /external/skqp/src/gpu/ops/
GrTessellatingPathRenderer.cpp 275 StaticVertexAllocator allocator(gp->getVertexStride(), rp, canMapVB);
276 int count = GrTessellator::PathToTriangles(getPath(), tol, clipBounds, &allocator,
281 this->drawVertices(target, gp, allocator.vertexBuffer(), 0, count);
286 rp->assignUniqueKeyToResource(key, allocator.vertexBuffer());
300 DynamicVertexAllocator allocator(gp->getVertexStride(), target);
302 GrTessellator::PathToTriangles(path, tol, clipBounds, &allocator, true, fColor,
307 this->drawVertices(target, gp, allocator.vertexBuffer(), allocator.firstVertex(), count);
  /external/skqp/src/pathops/
SkPathOpsTightBounds.cpp 50 SkSTArenaAlloc<4096> allocator; // FIXME: constant-ize, tune local
53 SkOpGlobalState globalState(contourList, &allocator SkDEBUGPARAMS(false)
  /external/tensorflow/tensorflow/compiler/xla/service/
transfer_manager.h 114 const Shape& on_host_shape, DeviceMemoryAllocator* allocator,
117 const Shape& on_host_shape, DeviceMemoryAllocator* allocator,
  /external/tensorflow/tensorflow/core/common_runtime/gpu/
gpu_device_factory.cc 32 Allocator* gpu_allocator, Allocator* cpu_allocator)
42 Allocator* GetAllocator(AllocatorAttributes attr) override {
66 Allocator* gpu_allocator,
67 Allocator* cpu_allocator) override {
83 Allocator* allocator)
84 : ThreadPoolDevice(options, name, memory_limit, locality, allocator) {
92 Allocator* GetAllocator(AllocatorAttributes attr) override {
  /external/tensorflow/tensorflow/core/common_runtime/
renamed_device.h 57 Allocator* GetAllocator(AllocatorAttributes attr) override {
61 Allocator* GetStepAllocator(AllocatorAttributes attr,
81 DeviceContext* dc, Allocator* allocator) override {
82 underlying_->ReinitializeGpuDevice(context, device, dc, allocator);
  /external/tensorflow/tensorflow/core/kernels/
dynamic_stitch_op_test.cc 19 #include "tensorflow/core/framework/allocator.h"
58 Tensor expected(allocator(), DT_FLOAT, TensorShape({8}));
76 Tensor expected(allocator(), DT_FLOAT, TensorShape({8, 2}));
  /external/v8/src/compiler/
zone-stats.cc 63 ZoneStats::ZoneStats(AccountingAllocator* allocator)
64 : max_allocated_bytes_(0), total_deleted_bytes_(0), allocator_(allocator) {}
  /frameworks/av/media/libaudiohal/2.0/
EffectBufferHalHidl.cpp 22 #include <android/hidl/allocator/1.0/IAllocator.h>
30 using ::android::hidl::allocator::V1_0::IAllocator;
69 ALOGE("Failed to retrieve ashmem allocator service");
  /frameworks/av/media/libaudiohal/4.0/
EffectBufferHalHidl.cpp 22 #include <android/hidl/allocator/1.0/IAllocator.h>
30 using ::android::hidl::allocator::V1_0::IAllocator;
70 ALOGE("Failed to retrieve ashmem allocator service");
  /frameworks/base/libs/hwui/
DisplayList.h 112 size_t getUsedSize() { return allocator.usedSize(); }
131 // allocator into which all ops and LsaVector arrays allocated
132 LinearAllocator allocator; member in class:android::uirenderer::DisplayList
  /frameworks/base/libs/hwui/pipeline/skia/
SkiaDisplayList.cpp 136 allocator.~LinearAllocator();
137 new (&allocator) LinearAllocator();
  /frameworks/ml/nn/common/include/
HalInterfaces.h 27 #include <android/hidl/allocator/1.0/IAllocator.h>
55 using ::android::hidl::allocator::V1_0::IAllocator;
  /frameworks/native/libs/ui/include/ui/
Gralloc2.h 22 #include <android/hardware/graphics/allocator/2.0/IAllocator.h>
32 using hardware::graphics::allocator::V2_0::IAllocator;
93 class Allocator {
95 // An allocator relies on a mapper, and that mapper must be alive at all
97 Allocator(const Mapper& mapper);
  /hardware/interfaces/graphics/allocator/2.0/utils/passthrough/include/allocator-passthrough/2.0/
Gralloc0Hal.h 25 #include <allocator-hal/2.0/AllocatorHal.h>
33 namespace allocator { namespace in namespace:android::hardware::graphics
158 } // namespace allocator
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/sequences/vector.bool/
types.pass.cpp 14 // template <class Allocator>
15 // class vector<bool, Allocator
19 // typedef Allocator allocator_type;
38 template <class Allocator>
42 typedef std::vector<bool, Allocator> C;
45 static_assert((std::is_same<typename C::value_type, typename Allocator::value_type>::value), "");
46 static_assert((std::is_same<typename C::allocator_type, Allocator>::value), "");
47 static_assert((std::is_same<typename C::size_type, typename std::allocator_traits<Allocator>::size_type>::value), "");
48 static_assert((std::is_same<typename C::difference_type, typename std::allocator_traits<Allocator>::difference_type>::value), "");
74 test<std::allocator<bool> >()
    [all...]

Completed in 899 milliseconds

<<11121314151617181920>>