HomeSort by relevance Sort by last modified time
    Searched refs:allocator (Results 1 - 25 of 1087) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/Modules/Inputs/cxx-lookup/
x.h 1 template <class T> class allocator;
2 struct X { virtual allocator<char> f(); };
y.h 4 extern allocator<ulittle32_t> *x;
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/default.allocator/
allocator_types.pass.cpp 15 // class allocator
26 // template <class U> struct rebind {typedef allocator<U> other;};
36 static_assert((std::is_same<std::allocator<char>::size_type, std::size_t>::value), "");
37 static_assert((std::is_same<std::allocator<char>::difference_type, std::ptrdiff_t>::value), "");
38 static_assert((std::is_same<std::allocator<char>::pointer, char*>::value), "");
39 static_assert((std::is_same<std::allocator<char>::const_pointer, const char*>::value), "");
40 static_assert((std::is_same<std::allocator<char>::value_type, char>::value), "");
41 static_assert((std::is_same<std::allocator<char>::reference, char&>::value), "");
42 static_assert((std::is_same<std::allocator<char>::const_reference, const char&>::value), "");
43 static_assert((std::is_same<std::allocator<char>::rebind<int>::other
    [all...]
allocator_void.pass.cpp 13 // 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;
  /device/google/contexthub/firmware/src/
slab.c 31 struct SlabAllocator *allocator; local
42 allocator = (struct SlabAllocator*)heapAlloc(sizeof(struct SlabAllocator) + bitsetSz + dataSz);
43 if (allocator) {
44 allocator->itemSz = itemSz;
45 allocator->dataChunks = ((uint8_t*)allocator->bitset) + bitsetSz;
46 atomicBitsetInit(allocator->bitset, numItems);
49 return allocator;
52 void slabAllocatorDestroy(struct SlabAllocator *allocator)
54 heapFree(allocator);
    [all...]
  /device/google/contexthub/firmware/inc/
slab.h 29 void slabAllocatorDestroy(struct SlabAllocator *allocator);
30 void* slabAllocatorAlloc(struct SlabAllocator *allocator);
31 void slabAllocatorFree(struct SlabAllocator *allocator, void *ptr);
33 void* slabAllocatorGetNth(struct SlabAllocator *allocator, uint32_t idx); // -> pointer or NULL if that slot is empty may be not int-safe. YMMV
34 uint32_t slabAllocatorGetIndex(struct SlabAllocator *allocator, void *ptr); // -> index or -1 if invalid pointer
35 uint32_t slabAllocatorGetNumItems(struct SlabAllocator *allocator); // simply say hwo many items it can hold max (numItems passed to constructor)
  /external/skia/src/pathops/
SkOpTAllocator.h 16 static T* Allocate(SkChunkAlloc* allocator) {
17 void* ptr = allocator->allocThrow(sizeof(T));
22 static T* AllocateArray(SkChunkAlloc* allocator, int count) {
23 void* ptr = allocator->allocThrow(sizeof(T) * count);
28 static T* New(SkChunkAlloc* allocator) {
29 return new (Allocate(allocator)) T();
  /ndk/sources/cxx-stl/stlport/src/
sstream.cpp 27 template class _STLP_CLASS_DECLSPEC basic_stringbuf<char, char_traits<char>, allocator<char> >;
28 template class _STLP_CLASS_DECLSPEC basic_ostringstream<char, char_traits<char>, allocator<char> >;
29 template class _STLP_CLASS_DECLSPEC basic_istringstream<char, char_traits<char>, allocator<char> >;
30 template class _STLP_CLASS_DECLSPEC basic_stringstream<char, char_traits<char>, allocator<char> >;
33 template class _STLP_CLASS_DECLSPEC basic_stringbuf<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >;
34 template class _STLP_CLASS_DECLSPEC basic_ostringstream<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >;
35 template class _STLP_CLASS_DECLSPEC basic_istringstream<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >;
36 template class _STLP_CLASS_DECLSPEC basic_stringstream<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >;
  /external/v8/test/unittests/interpreter/
bytecode-register-allocator-unittest.cc 8 #include "src/interpreter/bytecode-register-allocator.h"
19 TemporaryRegisterAllocator* allocator() { return &allocator_; } function in class:v8::internal::interpreter::TemporaryRegisterAllocatorTest
26 CHECK_EQ(allocator()->allocation_count(), 0);
27 int reg0_index = allocator()->BorrowTemporaryRegister();
29 CHECK_EQ(allocator()->allocation_count(), 1);
30 CHECK(allocator()->RegisterIsLive(Register(reg0_index)));
31 allocator()->ReturnTemporaryRegister(reg0_index);
32 CHECK(!allocator()->RegisterIsLive(Register(reg0_index)));
33 CHECK_EQ(allocator()->allocation_count(), 1);
34 CHECK(allocator()->first_temporary_register() == Register(0))
    [all...]
  /external/libcxx/test/std/utilities/memory/default.allocator/
allocator_void.pass.cpp 13 // 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;
allocator_types.pass.cpp 15 // class allocator
27 // template <class U> struct rebind {typedef allocator<U> other;};
37 static_assert((std::is_same<std::allocator<char>::size_type, std::size_t>::value), "");
38 static_assert((std::is_same<std::allocator<char>::difference_type, std::ptrdiff_t>::value), "");
39 static_assert((std::is_same<std::allocator<char>::pointer, char*>::value), "");
40 static_assert((std::is_same<std::allocator<char>::const_pointer, const char*>::value), "");
41 static_assert((std::is_same<std::allocator<char>::value_type, char>::value), "");
42 static_assert((std::is_same<std::allocator<char>::reference, char&>::value), "");
43 static_assert((std::is_same<std::allocator<char>::const_reference, const char&>::value), "");
44 static_assert((std::is_same<std::allocator<char>::rebind<int>::other
    [all...]
  /external/dbus/dbus/
dbus-dataslot.c 40 * Initializes a data slot allocator object, used to assign
43 * @param allocator the allocator to initialize
46 _dbus_data_slot_allocator_init (DBusDataSlotAllocator *allocator)
48 allocator->allocated_slots = NULL;
49 allocator->n_allocated_slots = 0;
50 allocator->n_used_slots = 0;
51 allocator->lock_loc = NULL;
63 * @param allocator the allocator
382 DBusDataSlotAllocator allocator; local
    [all...]
  /external/avahi/avahi-glib/
glib-malloc.c 43 static AvahiAllocator allocator; local
47 allocator.malloc = malloc_glue;
48 allocator.free = g_free;
49 allocator.realloc = realloc_glue;
50 allocator.calloc = calloc_glue;
54 return &allocator;
  /external/libcxx/test/std/utilities/memory/default.allocator/allocator.globals/
eq.pass.cpp 12 // 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;
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/default.allocator/allocator.globals/
eq.pass.cpp 12 // 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;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/bits/
memoryfwd.h 64 class allocator;
67 class allocator<void>;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/bits/
memoryfwd.h 64 class allocator;
67 class allocator<void>;
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/
memoryfwd.h 64 class allocator;
67 class allocator<void>;
  /prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/
memoryfwd.h 64 class allocator;
67 class allocator<void>;
  /external/libcxx/test/std/utilities/memory/allocator.uses/allocator.uses.trait/
uses_allocator.pass.cpp 28 static_assert((!std::uses_allocator<int, std::allocator<int> >::value), "");
29 static_assert(( std::uses_allocator<std::vector<int>, std::allocator<int> >::value), "");
30 static_assert((!std::uses_allocator<A, std::allocator<int> >::value), "");
31 static_assert((!std::uses_allocator<B, std::allocator<int> >::value), "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/allocator.uses/allocator.uses.trait/
uses_allocator.pass.cpp 28 static_assert((!std::uses_allocator<int, std::allocator<int> >::value), "");
29 static_assert(( std::uses_allocator<std::vector<int>, std::allocator<int> >::value), "");
30 static_assert((!std::uses_allocator<A, std::allocator<int> >::value), "");
31 static_assert((!std::uses_allocator<B, std::allocator<int> >::value), "");
  /prebuilts/misc/common/swig/include/2.0.11/std/
std_alloc.i 4 * @brief The "standard" allocator, as per [20.4].
9 * The underlying allocator behaves as follows.
18 class allocator
32 allocator() throw();
34 allocator(const allocator&) throw();
36 allocator(const allocator<_Tp1>&) throw();
37 ~allocator() throw();
65 class allocator<void
    [all...]
  /external/clang/test/SemaTemplate/
exception-spec-crash.cpp 9 class allocator;
12 class allocator<char> {}; class
29 basic_string<allocator<char> > vectorFoo_;
  /external/libcxx/test/std/containers/sequences/deque/deque.cons/
size_value.pass.cpp 20 template <class T, class Allocator>
24 typedef std::deque<T, Allocator> C;
35 test<int, std::allocator<int> >(0, 5);
36 test<int, std::allocator<int> >(1, 10);
37 test<int, std::allocator<int> >(10, 11);
38 test<int, std::allocator<int> >(1023, -11);
39 test<int, std::allocator<int> >(1024, 25);
40 test<int, std::allocator<int> >(1025, 0);
41 test<int, std::allocator<int> >(2047, 110);
42 test<int, std::allocator<int> >(2048, -500)
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.cons/
size_value.pass.cpp 20 template <class T, class Allocator>
24 typedef std::deque<T, Allocator> C;
35 test<int, std::allocator<int> >(0, 5);
36 test<int, std::allocator<int> >(1, 10);
37 test<int, std::allocator<int> >(10, 11);
38 test<int, std::allocator<int> >(1023, -11);
39 test<int, std::allocator<int> >(1024, 25);
40 test<int, std::allocator<int> >(1025, 0);
41 test<int, std::allocator<int> >(2047, 110);
42 test<int, std::allocator<int> >(2048, -500)
    [all...]

Completed in 1019 milliseconds

1 2 3 4 5 6 7 8 91011>>