HomeSort by relevance Sort by last modified time
    Searched refs:allocator (Results 426 - 450 of 1382) sorted by null

<<11121314151617181920>>

  /external/libchrome/base/metrics/
sparse_histogram.h 62 // Create a histogram using data in persistent storage. The allocator must
65 PersistentHistogramAllocator* allocator,
96 SparseHistogram(PersistentHistogramAllocator* allocator,
persistent_memory_allocator_unittest.cc 189 // Create second allocator (read/write) using the same memory segment.
198 // Ensure that iteration and access through second allocator works.
206 // Create a third allocator (read-only) using the same memory segment.
214 // Ensure that iteration and access through third allocator works.
244 // A simple thread that takes an allocator and repeatedly allocates random-
317 // A simple thread that counts objects by iterating through an allocator.
512 LocalPersistentMemoryAllocator allocator(TEST_MEMORY_SIZE, 42, "");
513 EXPECT_EQ(42U, allocator.Id());
514 EXPECT_NE(0U, allocator.Allocate(24, 1));
515 EXPECT_FALSE(allocator.IsFull())
    [all...]
  /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 31 template <class T, class Alloc = std::allocator<T>>
35 // using A = Allocator;
66 { // Testing (3) w/o allocator
75 { // Testing (3) w/ allocator
84 { // Testing (4) w/o allocator
98 { // Testing (4) w/ allocator
100 std::basic_string s(sin, (size_t)1, std::allocator<char>{});
112 { // Testing (5) w/o allocator
128 { // Testing (5) w/ allocator
130 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/skia/src/gpu/ops/
GrTessellatingPathRenderer.cpp 239 StaticVertexAllocator allocator(gp->getVertexStride(), rp, canMapVB);
240 int count = GrTessellator::PathToTriangles(getPath(), tol, clipBounds, &allocator,
245 this->drawVertices(target, gp, allocator.vertexBuffer(), 0, count);
250 rp->assignUniqueKeyToResource(key, allocator.vertexBuffer());
263 DynamicVertexAllocator allocator(gp->getVertexStride(), target);
264 int count = GrTessellator::PathToTriangles(path, tol, clipBounds, &allocator,
270 drawVertices(target, gp, allocator.vertexBuffer(), allocator.firstVertex(), count);
  /external/skia/src/pathops/
SkPathOpsTightBounds.cpp 51 SkArenaAlloc allocator(storage); // FIXME: constant-ize, tune
54 SkOpGlobalState globalState(contourList, &allocator SkDEBUGPARAMS(false)
  /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/
Android.mk 57 android.hidl.allocator@1.0 \
EffectBufferHalHidl.cpp 22 #include <android/hidl/allocator/1.0/IAllocator.h>
30 using ::android::hidl::allocator::V1_0::IAllocator;
71 ALOGE("Failed to retrieve ashmem allocator service");
  /frameworks/base/libs/hwui/
DisplayList.h 115 return allocator.usedSize();
134 // allocator into which all ops and LsaVector arrays allocated
135 LinearAllocator allocator; member in class:android::uirenderer::DisplayList
  /frameworks/native/include/ui/
Gralloc2.h 22 #include <android/hardware/graphics/allocator/2.0/IAllocator.h>
31 using hardware::graphics::allocator::V2_0::IAllocator;
78 class Allocator {
80 // An allocator relies on a mapper, and that mapper must be alive at all
82 Allocator(const Mapper& mapper);
  /frameworks/native/services/surfaceflinger/
main_surfaceflinger.cpp 23 #include <android/hardware/graphics/allocator/2.0/IAllocator.h>
38 using android::hardware::graphics::allocator::V2_0::IAllocator;
43 ALOGE("could not start graphics allocator service");
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector/
types.pass.cpp 14 // template <class T, class Allocator = allocator<T> >
19 // typedef Allocator allocator_type;
40 template <class T, class Allocator>
44 typedef std::vector<T, Allocator> C;
47 static_assert((std::is_same<typename C::value_type, typename Allocator::value_type>::value), "");
48 static_assert((std::is_same<typename C::allocator_type, Allocator>::value), "");
49 static_assert((std::is_same<typename C::size_type, typename Allocator::size_type>::value), "");
50 static_assert((std::is_same<typename C::difference_type, typename Allocator::difference_type>::value), "");
51 static_assert((std::is_same<typename C::reference, typename Allocator::reference>::value), "")
    [all...]
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/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...]
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/default.allocator/allocator.members/
construct.pass.cpp 12 // allocator:
80 std::allocator<A> a;
125 std::allocator<move_only> a;
  /prebuilts/ndk/r13/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...]
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/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...]
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/default.allocator/allocator.members/
construct.pass.cpp 12 // allocator:
60 std::allocator<A> a;
108 std::allocator<move_only> a;
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/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)};
  /system/core/libmemunreachable/
LeakPipe.h 118 template<class T, class Alloc = std::allocator<T>>
156 template<class T, class Alloc = std::allocator<T>>
  /art/compiler/driver/
compiled_method_storage.cc 36 SwapAllocator<uint8_t> allocator(swap_space);
37 void* storage = allocator.allocate(LengthPrefixedArray<T>::ComputeSize(array.size()));
45 SwapAllocator<uint8_t> allocator(swap_space);
48 allocator.deallocate(const_cast<uint8_t*>(reinterpret_cast<const uint8_t*>(array)), size);

Completed in 738 milliseconds

<<11121314151617181920>>