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

<<11121314151617181920>>

  /external/tensorflow/tensorflow/core/framework/
tracking_allocator.cc 23 TrackingAllocator::TrackingAllocator(Allocator* allocator, bool track_sizes)
24 : allocator_(allocator),
52 // Call the underlying allocator to try to get the allocated size
96 Allocator* allocator = allocator_; local
106 allocator->DeallocateRaw(ptr);
  /external/v8/src/crankshaft/
compilation-phase.cc 15 : name_(name), info_(info), zone_(info->isolate()->allocator(), ZONE_NAME) {
  /frameworks/base/libs/hwui/utils/
LinearAllocator.h 157 typedef T value_type; // needed to implement std::allocator
158 typedef T* pointer; // needed to implement std::allocator
160 explicit LinearStdAllocator(LinearAllocator& allocator) : linearAllocator(allocator) {}
200 explicit LsaVector(const LinearStdAllocator<T>& allocator)
201 : std::vector<T, LinearStdAllocator<T>>(allocator) {}
  /frameworks/native/libs/vr/libpdx/private/pdx/rpc/
default_initialization_allocator.h 10 // Allocator adaptor that interposes construct() calls to convert value
13 // argument or when grown by a call to resize. This allocator avoids potentially
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,
  /hardware/google/av/codec2/vndk/include/
C2BqBufferPriv.h 27 C2BufferQueueBlockPool(const std::shared_ptr<C2Allocator> &allocator, const local_id_t localId);
59 * When IGBP is not configured, block will be created via allocator.
  /hardware/interfaces/graphics/mapper/2.1/utils/vts/include/mapper-vts/2.1/
MapperVts.h 29 using android::hardware::graphics::allocator::V2_0::IAllocator;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/
extptr_allocator.h 31 * An example allocator which uses an alternative pointer type from
48 * @brief An example allocator which uses a non-standard pointer type.
51 * This allocator specifies that containers use a 'relative pointer' as it's
53 * is still performed using std::allocator.
155 const std::allocator<_Tp>&
160 std::allocator<_Tp> _M_real_alloc;
182 std::allocator<void> _M_real_alloc;
189 std::allocator<_Tp> __tmp( __rarg._M_real_alloc );
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/
extptr_allocator.h 31 * An example allocator which uses an alternative pointer type from
48 * @brief An example allocator which uses a non-standard pointer type.
51 * This allocator specifies that containers use a 'relative pointer' as it's
53 * is still performed using std::allocator.
155 const std::allocator<_Tp>&
160 std::allocator<_Tp> _M_real_alloc;
182 std::allocator<void> _M_real_alloc;
189 std::allocator<_Tp> __tmp( __rarg._M_real_alloc );
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/sequences/list/list.cons/
default_stack_alloc.pass.cpp 27 std::list<int> l((std::allocator<int>()));
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/sequences/vector/vector.cons/
construct_size_value_alloc.pass.cpp 37 test<std::vector<int> >(50, 3, std::allocator<int>());
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/sequences/vector.bool/
construct_size_value_alloc.pass.cpp 36 test<std::vector<bool> >(50, true, std::allocator<bool>());
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/input.output/string.streams/istringstream/
types.pass.cpp 12 // template <class charT, class traits = char_traits<charT>, class Allocator = allocator<charT> >
22 // typedef Allocator allocator_type;
35 static_assert((std::is_same<std::basic_istringstream<char>::allocator_type, std::allocator<char> >::value), "");
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/input.output/string.streams/ostringstream/
types.pass.cpp 12 // template <class charT, class traits = char_traits<charT>, class Allocator = allocator<charT> >
22 // typedef Allocator allocator_type;
35 static_assert((std::is_same<std::basic_ostringstream<char>::allocator_type, std::allocator<char> >::value), "");
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/input.output/string.streams/stringbuf/
types.pass.cpp 12 // template <class charT, class traits = char_traits<charT>, class Allocator = allocator<charT> >
22 // typedef Allocator allocator_type;
35 static_assert((std::is_same<std::basic_stringbuf<char>::allocator_type, std::allocator<char> >::value), "");
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/input.output/string.streams/stringstream/
types.pass.cpp 12 // template <class charT, class traits = char_traits<charT>, class Allocator = allocator<charT> >
22 // typedef Allocator allocator_type;
35 static_assert((std::is_same<std::basic_stringstream<char>::allocator_type, std::allocator<char> >::value), "");
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/strings/basic.string/string.modifiers/string_assign/
string.pass.cpp 12 // basic_string<charT,traits,Allocator>&
66 testAlloc(S(), S(), std::allocator<char>());
67 testAlloc(S(), S("12345"), std::allocator<char>());
68 testAlloc(S(), S("1234567890"), std::allocator<char>());
69 testAlloc(S(), S("12345678901234567890"), std::allocator<char>());
string_view.pass.cpp 12 // basic_string<charT,traits,Allocator>&
68 testAlloc(S(), SV(), std::allocator<char>());
69 testAlloc(S(), SV("12345"), std::allocator<char>());
70 testAlloc(S(), SV("1234567890"), std::allocator<char>());
71 testAlloc(S(), SV("12345678901234567890"), std::allocator<char>());
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
alloc_F.pass.cpp 123 static_assert(std::is_constructible<Fn, std::allocator_arg_t, std::allocator<int>, LValueCallable&>::value, "");
124 static_assert(std::is_constructible<Fn, std::allocator_arg_t, std::allocator<int>, LValueCallable>::value, "");
125 static_assert(!std::is_constructible<Fn, std::allocator_arg_t, std::allocator<int>, RValueCallable&>::value, "");
126 static_assert(!std::is_constructible<Fn, std::allocator_arg_t, std::allocator<int>, RValueCallable>::value, "");
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/default.allocator/allocator.members/
allocate.pass.cpp 12 // allocator:
13 // pointer allocate(size_type n, allocator<void>::const_pointer hint=0);
33 std::allocator<A> a;
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/optional/optional.specalg/
make_optional_explicit_initializer_list.pass.cpp 50 auto opt = make_optional<std::string>({'a', 'b', 'c'}, std::allocator<char>{});
  /art/compiler/optimizing/
stack_map_test.cc 51 ScopedArenaAllocator allocator(&arena_stack);
52 StackMapStream stream(&allocator, kRuntimeISA);
54 ArenaBitVector sp_mask(&allocator, 0, false);
62 void* memory = allocator.Alloc(size, kArenaAllocMisc);
133 ScopedArenaAllocator allocator(&arena_stack);
134 StackMapStream stream(&allocator, kRuntimeISA);
137 ArenaBitVector sp_mask1(&allocator, 0, true);
151 ArenaBitVector sp_mask2(&allocator, 0, true);
159 ArenaBitVector sp_mask3(&allocator, 0, true);
167 ArenaBitVector sp_mask4(&allocator, 0, true)
    [all...]
scheduler.h 159 SchedulingNode(HInstruction* instr, ScopedArenaAllocator* allocator, bool is_scheduling_barrier)
165 data_predecessors_(allocator->Adapter(kArenaAllocScheduler)),
166 other_predecessors_(allocator->Adapter(kArenaAllocScheduler)),
254 SchedulingGraph(const HScheduler* scheduler, ScopedArenaAllocator* allocator)
256 allocator_(allocator),
437 HScheduler(ScopedArenaAllocator* allocator,
440 : allocator_(allocator),
444 scheduling_graph_(this, allocator),
  /system/core/libmemunreachable/tests/
LeakFolding_test.cpp 22 #include "Allocator.h"
58 allocator::vector<LeakFolding::Leak> leaked(heap_);
83 allocator::vector<LeakFolding::Leak> leaked(heap_);
112 allocator::vector<LeakFolding::Leak> leaked(heap_);
143 allocator::vector<LeakFolding::Leak> leaked(heap_);
174 allocator::vector<LeakFolding::Leak> leaked(heap_);
217 allocator::vector<LeakFolding::Leak> leaked(heap_);
253 allocator::vector<LeakFolding::Leak> leaked(heap_);
291 allocator::vector<LeakFolding::Leak> leaked(heap_);
328 allocator::vector<LeakFolding::Leak> leaked(heap_)
    [all...]
  /art/compiler/utils/
assembler.cc 28 AssemblerBuffer::AssemblerBuffer(ArenaAllocator* allocator)
29 : allocator_(allocator) {
  /art/libartbase/base/
bit_vector.cc 22 #include "allocator.h"
28 Allocator* allocator,
33 allocator_(allocator),
43 Allocator* allocator)
45 allocator,
47 static_cast<uint32_t*>(allocator->Alloc(BitsToWords(start_bits) * kWordBytes))) {
53 Allocator* allocator)
    [all...]

Completed in 1177 milliseconds

<<11121314151617181920>>