Searched refs:allocator (Results 1 - 25 of 668) sorted by relevance

1234567891011>>

/external/mesa3d/src/gallium/auxiliary/util/
H A Du_suballoc.c29 /* A simple allocator that suballocates memory from a large buffer. */
64 struct u_suballocator *allocator = CALLOC_STRUCT(u_suballocator); local
65 if (!allocator)
68 allocator->pipe = pipe;
69 allocator->size = size;
70 allocator->bind = bind;
71 allocator->usage = usage;
72 allocator->zero_buffer_memory = zero_buffer_memory;
73 return allocator;
77 u_suballocator_destroy(struct u_suballocator *allocator) argument
84 u_suballocator_alloc(struct u_suballocator *allocator, unsigned size, unsigned alignment, unsigned *out_offset, struct pipe_resource **outbuf) argument
[all...]
/external/clang/test/Modules/Inputs/cxx-lookup/
H A Dx.h1 template <class T> class allocator;
2 struct X { virtual allocator<char> f(); };
H A Dy.h4 extern allocator<ulittle32_t> *x;
/external/libcxx/test/std/containers/sequences/deque/
H A Dallocator_mismatch.fail.cpp11 // The container's value type must be the same as the allocator's value type
17 std::deque<int, std::allocator<long> > d;
/external/libcxx/test/std/containers/sequences/forwardlist/
H A Dallocator_mismatch.fail.cpp11 // The container's value type must be the same as the allocator's value type
17 std::forward_list<int, std::allocator<long> > fl;
/external/libcxx/test/std/containers/sequences/list/
H A Dallocator_mismatch.fail.cpp11 // The container's value type must be the same as the allocator's value type
17 std::list<int, std::allocator<long> > l;
/external/libcxx/test/std/containers/sequences/vector/
H A Dallocator_mismatch.fail.cpp11 // The container's value type must be the same as the allocator's value type
17 std::vector<int, std::allocator<long> > v;
/external/libcxx/test/std/utilities/memory/default.allocator/
H A Dallocator_void.pass.cpp13 // class allocator<void>
20 // template <class _Up> struct rebind {typedef allocator<_Up> other;};
28 static_assert((std::is_same<std::allocator<void>::pointer, void*>::value), "");
29 static_assert((std::is_same<std::allocator<void>::const_pointer, const void*>::value), "");
30 static_assert((std::is_same<std::allocator<void>::value_type, void>::value), "");
31 static_assert((std::is_same<std::allocator<void>::rebind<int>::other,
32 std::allocator<int> >::value), "");
33 std::allocator<void> a;
34 std::allocator<void> a2 = a;
H A Dallocator_types.pass.cpp15 // class allocator
27 // template <class U> struct rebind {typedef allocator<U> other;};
39 static_assert((std::is_same<std::allocator<char>::size_type, std::size_t>::value), "");
40 static_assert((std::is_same<std::allocator<char>::difference_type, std::ptrdiff_t>::value), "");
41 static_assert((std::is_same<std::allocator<char>::pointer, char*>::value), "");
42 static_assert((std::is_same<std::allocator<char>::const_pointer, const char*>::value), "");
43 static_assert((std::is_same<std::allocator<char>::value_type, char>::value), "");
44 static_assert((std::is_same<std::allocator<char>::reference, char&>::value), "");
45 static_assert((std::is_same<std::allocator<char>::const_reference, const char&>::value), "");
46 static_assert((std::is_same<std::allocator<cha
[all...]
/external/libcxx/test/std/utilities/memory/default.allocator/allocator.globals/
H A Deq.pass.cpp12 // allocator:
16 // operator==(const allocator<T1>&, const allocator<T2>&) throw();
20 // operator!=(const allocator<T1>&, const allocator<T2>&) throw();
27 std::allocator<int> a1;
28 std::allocator<int> a2;
/external/libcxx/test/std/containers/associative/map/
H A Dallocator_mismatch.fail.cpp11 // The container's value type must be the same as the allocator's value type
17 std::map<int, int, std::less<int>, std::allocator<long> > m;
/external/libcxx/test/std/containers/associative/multimap/
H A Dallocator_mismatch.fail.cpp11 // The container's value type must be the same as the allocator's value type
17 std::multimap<int, int, std::less<int>, std::allocator<long> > m;
/external/libcxx/test/std/containers/associative/multiset/
H A Dallocator_mismatch.fail.cpp11 // The container's value type must be the same as the allocator's value type
17 std::multiset<int, std::less<int>, std::allocator<long> > ms;
/external/libcxx/test/std/containers/associative/set/
H A Dallocator_mismatch.fail.cpp11 // The container's value type must be the same as the allocator's value type
17 std::set<int, std::less<int>, std::allocator<long> > s;
/external/libcxx/test/std/strings/basic.string/
H A Dallocator_mismatch.fail.cpp11 // The container's value type must be the same as the allocator's value type
17 std::basic_string<char, std::char_traits<char>, std::allocator<int> > s;
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
H A Dalloc.fail.cpp24 std::function<int(int)> f(std::allocator_arg, std::allocator<int>());
H A Dalloc_F.fail.cpp28 std::function<void(int)> f(std::allocator_arg, std::allocator<int>(), foo);
/external/clang/test/SemaTemplate/
H A Dexception-spec-crash.cpp9 class allocator;
12 class allocator<char> {}; class
29 basic_string<allocator<char> > vectorFoo_;
/external/libcxx/test/std/containers/sequences/deque/deque.cons/
H A Dsize_value.pass.cpp36 test<int, std::allocator<int> >(0, 5);
37 test<int, std::allocator<int> >(1, 10);
38 test<int, std::allocator<int> >(10, 11);
39 test<int, std::allocator<int> >(1023, -11);
40 test<int, std::allocator<int> >(1024, 25);
41 test<int, std::allocator<int> >(1025, 0);
42 test<int, std::allocator<int> >(2047, 110);
43 test<int, std::allocator<int> >(2048, -500);
44 test<int, std::allocator<int> >(2049, 654);
45 test<int, std::allocator<in
[all...]
/external/e2fsprogs/contrib/android/
H A Dbasefs_allocator.c40 struct base_fs_allocator *allocator; local
45 allocator = malloc(sizeof(*allocator));
46 if (!allocator)
55 allocator->cur_entry = NULL;
56 allocator->entries = entries;
58 /* Overhide the default allocator */
60 fs->priv_data = allocator;
65 free(allocator);
76 struct base_fs_allocator *allocator local
101 struct base_fs_allocator *allocator = fs->priv_data; local
120 struct base_fs_allocator *allocator = fs->priv_data; local
138 struct base_fs_allocator *allocator = fs->priv_data; local
[all...]
/external/tensorflow/tensorflow/core/framework/
H A Dallocator_registry.h23 #include "tensorflow/core/framework/allocator.h"
30 // Add an allocator to the registry. Caller releases ownership of
31 // 'allocator'.
32 void Register(const string& name, int priority, Allocator* allocator);
34 // Return allocator with highest priority
45 Allocator* allocator; // not owned member in struct:tensorflow::AllocatorRegistry::__anon26232
61 Allocator* allocator) {
62 AllocatorRegistry::Global()->Register(name, priority, allocator);
68 #define REGISTER_MEM_ALLOCATOR(name, priority, allocator) \
69 REGISTER_MEM_ALLOCATOR_UNIQ_HELPER(__COUNTER__, name, priority, allocator)
60 AllocatorRegistration(const string& name, int priority, Allocator* allocator) argument
[all...]
/external/libcxx/test/std/containers/unord/unord.map/
H A Dallocator_mismatch.fail.cpp11 // The container's value type must be the same as the allocator's value type
17 std::unordered_map<int, int, std::hash<int>, std::less<int>, std::allocator<long> > m;
/external/libcxx/test/std/containers/unord/unord.multimap/
H A Dallocator_mismatch.fail.cpp11 // The container's value type must be the same as the allocator's value type
17 std::unordered_multimap<int, int, std::hash<int>, std::less<int>, std::allocator<long> > m;
/external/libcxx/test/std/containers/unord/unord.multiset/
H A Dallocator_mismatch.fail.cpp11 // The container's value type must be the same as the allocator's value type
17 std::unordered_multiset<int, std::hash<int>, std::less<int>, std::allocator<long> > v;
/external/libcxx/test/std/containers/unord/unord.set/
H A Dallocator_mismatch.fail.cpp11 // The container's value type must be the same as the allocator's value type
17 std::unordered_set<int, std::hash<int>, std::less<int>, std::allocator<long> > v;

Completed in 1408 milliseconds

1234567891011>>