Searched refs:Alloc (Results 1 - 25 of 420) sorted by relevance

1234567891011>>

/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/experimental/filesystem/class.path/path.member/path.generic.obs/
H A Dgeneric_string_alloc.pass.cpp44 using Alloc = malloc_allocator<CharT>;
45 using Str = std::basic_string<CharT, Traits, Alloc>;
50 Alloc a;
51 Alloc::disable_default_constructor = true;
52 Str s = p.generic_string<wchar_t, Traits, Alloc>(a);
54 assert(Alloc::alloc_count > 0);
55 assert(Alloc::outstanding_alloc() == 1);
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/filesystem/class.path/path.member/path.generic.obs/
H A Dgeneric_string_alloc.pass.cpp44 using Alloc = malloc_allocator<CharT>;
45 using Str = std::basic_string<CharT, Traits, Alloc>;
50 Alloc a;
51 Alloc::disable_default_constructor = true;
52 Str s = p.generic_string<wchar_t, Traits, Alloc>(a);
54 assert(Alloc::alloc_count > 0);
55 assert(Alloc::outstanding_alloc() == 1);
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/
H A DStringSaver.h22 BumpPtrAllocator &Alloc; member in class:llvm::final
25 StringSaver(BumpPtrAllocator &Alloc) : Alloc(Alloc) {} argument
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Support/
H A DStringSaver.h22 BumpPtrAllocator &Alloc; member in class:llvm::final
25 StringSaver(BumpPtrAllocator &Alloc) : Alloc(Alloc) {} argument
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Support/
H A DStringSaver.h22 BumpPtrAllocator &Alloc; member in class:llvm::final
25 StringSaver(BumpPtrAllocator &Alloc) : Alloc(Alloc) {} argument
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Support/
H A DStringSaver.h22 BumpPtrAllocator &Alloc; member in class:llvm::final
25 StringSaver(BumpPtrAllocator &Alloc) : Alloc(Alloc) {} argument
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Support/
H A DStringSaver.h22 BumpPtrAllocator &Alloc; member in class:llvm::final
25 StringSaver(BumpPtrAllocator &Alloc) : Alloc(Alloc) {} argument
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/Support/
H A DStringSaver.h22 BumpPtrAllocator &Alloc; member in class:llvm::final
25 StringSaver(BumpPtrAllocator &Alloc) : Alloc(Alloc) {} argument
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/Support/
H A DStringSaver.h22 BumpPtrAllocator &Alloc; member in class:llvm::final
25 StringSaver(BumpPtrAllocator &Alloc) : Alloc(Alloc) {} argument
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/
H A DStringSaver.h22 BumpPtrAllocator &Alloc; member in class:llvm::final
25 StringSaver(BumpPtrAllocator &Alloc) : Alloc(Alloc) {} argument
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/Support/
H A DStringSaver.h22 BumpPtrAllocator &Alloc; member in class:llvm::final
25 StringSaver(BumpPtrAllocator &Alloc) : Alloc(Alloc) {} argument
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/Support/
H A DStringSaver.h22 BumpPtrAllocator &Alloc; member in class:llvm::final
25 StringSaver(BumpPtrAllocator &Alloc) : Alloc(Alloc) {} argument
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/Support/
H A DStringSaver.h22 BumpPtrAllocator &Alloc; member in class:llvm::final
25 StringSaver(BumpPtrAllocator &Alloc) : Alloc(Alloc) {} argument
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/Support/
H A DStringSaver.h22 BumpPtrAllocator &Alloc; member in class:llvm::final
25 StringSaver(BumpPtrAllocator &Alloc) : Alloc(Alloc) {} argument
/prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/Support/
H A DStringSaver.h22 BumpPtrAllocator &Alloc; member in class:llvm::final
25 StringSaver(BumpPtrAllocator &Alloc) : Alloc(Alloc) {} argument
/prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/Support/
H A DStringSaver.h22 BumpPtrAllocator &Alloc; member in class:llvm::final
25 StringSaver(BumpPtrAllocator &Alloc) : Alloc(Alloc) {} argument
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/support/
H A Dasan_testing.h19 template <typename T, typename Alloc>
20 bool is_contiguous_container_asan_correct ( const std::vector<T, Alloc> &c )
22 if ( std::is_same<Alloc, std::allocator<T> >::value && c.data() != NULL)
29 template <typename T, typename Alloc>
30 bool is_contiguous_container_asan_correct ( const std::vector<T, Alloc> &)
H A Duses_alloc_types.hpp22 // (1) UA_AllocArg: 'T(allocator_arg_t, Alloc const&, Args&&...)'
23 // (2) UA_AllocLast: 'T(Args&&..., Alloc const&)'
58 template <class Alloc, std::size_t N>
61 // 'Alloc' type and exactly 'N' additional arguments. It also provides
65 template <class Alloc, std::size_t N>
68 // 'Alloc' type and exactly 'N' additional arguments. It also provides
71 template <class Alloc, std::size_t N>
74 // the specified 'Alloc' type and exactly 'N' additional arguments. It also
77 template <class Alloc, std::size_t>
80 // the specified 'Alloc' typ
[all...]
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/support/
H A Dasan_testing.h19 template <typename T, typename Alloc>
20 bool is_contiguous_container_asan_correct ( const std::vector<T, Alloc> &c )
22 if ( std::is_same<Alloc, std::allocator<T> >::value && c.data() != NULL)
29 template <typename T, typename Alloc>
30 bool is_contiguous_container_asan_correct ( const std::vector<T, Alloc> &)
H A Duses_alloc_types.hpp22 // (1) UA_AllocArg: 'T(allocator_arg_t, Alloc const&, Args&&...)'
23 // (2) UA_AllocLast: 'T(Args&&..., Alloc const&)'
58 template <class Alloc, std::size_t N>
61 // 'Alloc' type and exactly 'N' additional arguments. It also provides
65 template <class Alloc, std::size_t N>
68 // 'Alloc' type and exactly 'N' additional arguments. It also provides
71 template <class Alloc, std::size_t N>
74 // the specified 'Alloc' type and exactly 'N' additional arguments. It also
77 template <class Alloc, std::size_t>
80 // the specified 'Alloc' typ
[all...]
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/libcxx/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/
H A Ddb_deallocate.pass.cpp32 using Alloc = ex::polymorphic_allocator<int>;
33 using Traits = std::allocator_traits<Alloc>;
35 Alloc a(&R);
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/
H A Ddb_deallocate.pass.cpp32 using Alloc = ex::polymorphic_allocator<int>;
33 using Traits = std::allocator_traits<Alloc>;
35 Alloc a(&R);
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/libcxx/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/
H A Ddb_deallocate.pass.cpp32 using Alloc = NullAllocator<char>;
33 using R = ex::resource_adaptor<Alloc>;
35 ex::resource_adaptor<Alloc> r(Alloc{P});
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/containers/associative/
H A Diterator_types.pass.cpp62 typedef test_allocator<ValueTp> Alloc; typedef
63 typedef std::map<int, int, std::less<int>, Alloc> Map;
69 typedef min_allocator<ValueTp> Alloc; typedef
70 typedef std::map<int, int, std::less<int>, Alloc> Map;
81 typedef test_allocator<ValueTp> Alloc; typedef
82 typedef std::multimap<int, int, std::less<int>, Alloc> Map;
88 typedef min_allocator<ValueTp> Alloc; typedef
89 typedef std::multimap<int, int, std::less<int>, Alloc> Map;
100 typedef test_allocator<ValueTp> Alloc; typedef
101 typedef std::set<ValueTp, std::less<ValueTp>, Alloc> Se
107 typedef min_allocator<ValueTp> Alloc; typedef
119 typedef test_allocator<ValueTp> Alloc; typedef
126 typedef min_allocator<ValueTp> Alloc; typedef
[all...]
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/
H A Ddb_deallocate.pass.cpp32 using Alloc = NullAllocator<char>;
33 using R = ex::resource_adaptor<Alloc>;
35 ex::resource_adaptor<Alloc> r(Alloc{P});

Completed in 918 milliseconds

1234567891011>>