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

1 23 4 5 6 7 8 91011>>

  /external/e2fsprogs/contrib/android/
basefs_allocator.c 40 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 = fs->priv_data 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...]
  /art/tools/cpp-define-generator/
constant_rosalloc.def 20 #include "gc/allocator/rosalloc.h" // art::gc::allocator::RosAlloc
26 DEFINE_ROSALLOC_CONSTANT(MAX_THREAD_LOCAL_BRACKET_SIZE, int32_t, art::gc::allocator::RosAlloc::kMaxThreadLocalBracketSize)
27 DEFINE_ROSALLOC_CONSTANT(BRACKET_QUANTUM_SIZE_SHIFT, int32_t, art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSizeShift)
29 DEFINE_ROSALLOC_CONSTANT(BRACKET_QUANTUM_SIZE_MASK, int32_t, static_cast<int32_t>(art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSize - 1))
31 uint32_t, ~static_cast<uint32_t>(art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSize - 1))
33 uint64_t, ~static_cast<uint64_t>(art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSize - 1))
34 DEFINE_ROSALLOC_CONSTANT(RUN_FREE_LIST_OFFSET, int32_t, art::gc::allocator::RosAlloc::RunFreeListOffset())
35 DEFINE_ROSALLOC_CONSTANT(RUN_FREE_LIST_HEAD_OFFSET, int32_t, art::gc::allocator::RosAlloc::RunFreeListHeadOffset())
36 DEFINE_ROSALLOC_CONSTANT(RUN_FREE_LIST_SIZE_OFFSET, int32_t, art::gc::allocator::RosAlloc::RunFreeListSizeOffset()
    [all...]
  /external/libcxx/test/std/containers/unord/unord.map/
allocator_mismatch.fail.cpp 11 // 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/
allocator_mismatch.fail.cpp 11 // 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/
allocator_mismatch.fail.cpp 11 // 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/
allocator_mismatch.fail.cpp 11 // 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;
  /external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
alloc_F.fail.cpp 28 std::function<void(int)> f(std::allocator_arg, std::allocator<int>(), foo);
alloc_nullptr.fail.cpp 26 std::function<int(int)> f(std::allocator_arg, std::allocator<int>(), nullptr);
  /external/libcxx/test/std/utilities/memory/default.allocator/allocator.members/
allocate.fail.cpp 12 // allocator:
13 // pointer allocate(size_type n, allocator<void>::const_pointer hint=0);
25 std::allocator<int> a;
  /external/skia/tests/
GrAllocatorTest.cpp 26 static void check_allocator_helper(GrTAllocator<C>* allocator, int cnt, int popCnt,
29 // Adds cnt items to the allocator, tests the cnts and iterators, pops popCnt items and checks
30 // again. Finally it resets the allocator and checks again.
31 static void check_allocator(GrTAllocator<C>* allocator, int cnt, int popCnt,
33 SkASSERT(allocator);
34 SkASSERT(allocator->empty());
38 allocator->push_back(C(i));
40 allocator->push_back() = C(i);
43 check_allocator_helper(allocator, cnt, popCnt, reporter);
44 allocator->reset()
    [all...]
  /external/skqp/tests/
GrAllocatorTest.cpp 26 static void check_allocator_helper(GrTAllocator<C>* allocator, int cnt, int popCnt,
29 // Adds cnt items to the allocator, tests the cnts and iterators, pops popCnt items and checks
30 // again. Finally it resets the allocator and checks again.
31 static void check_allocator(GrTAllocator<C>* allocator, int cnt, int popCnt,
33 SkASSERT(allocator);
34 SkASSERT(allocator->empty());
38 allocator->push_back(C(i));
40 allocator->push_back() = C(i);
43 check_allocator_helper(allocator, cnt, popCnt, reporter);
44 allocator->reset()
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/unord/unord.map/
allocator_mismatch.fail.cpp 11 // 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;
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/unord/unord.multimap/
allocator_mismatch.fail.cpp 11 // 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;
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/unord/unord.multiset/
allocator_mismatch.fail.cpp 11 // 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;
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/unord/unord.set/
allocator_mismatch.fail.cpp 11 // 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;
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
alloc_F.fail.cpp 28 std::function<void(int)> f(std::allocator_arg, std::allocator<int>(), foo);
alloc_nullptr.fail.cpp 26 std::function<int(int)> f(std::allocator_arg, std::allocator<int>(), nullptr);
  /system/core/libmemunreachable/
ThreadCapture.h 22 #include "Allocator.h"
28 allocator::vector<uintptr_t> regs;
32 using TidList = allocator::vector<pid_t>;
33 using ThreadInfoList = allocator::vector<ThreadInfo>;
39 ThreadCapture(pid_t pid, Allocator<ThreadCapture> allocator);
53 Allocator<ThreadCaptureImpl>::unique_ptr impl_;
  /art/runtime/base/
arena_bit_vector.cc 19 #include "base/allocator.h"
53 class ArenaBitVectorAllocator FINAL : public Allocator, private ArenaBitVectorAllocatorKind {
55 static ArenaBitVectorAllocator* Create(ArenaAlloc* allocator, ArenaAllocKind kind) {
56 void* storage = allocator->template Alloc<ArenaBitVectorAllocator>(kind);
57 return new (storage) ArenaBitVectorAllocator(allocator, kind);
72 ArenaBitVectorAllocator(ArenaAlloc* allocator, ArenaAllocKind kind)
73 : ArenaBitVectorAllocatorKind(kind), allocator_(allocator) { }
80 ArenaBitVector::ArenaBitVector(ArenaAllocator* allocator,
86 ArenaBitVectorAllocator<ArenaAllocator>::Create(allocator, kind)) {
89 ArenaBitVector::ArenaBitVector(ScopedArenaAllocator* allocator,
    [all...]
  /external/clang/test/CodeCompletion/
templates.cpp 3 class allocator { class in namespace:std
8 template<typename T, typename Alloc = std::allocator<T> >
21 // CHECK-CC1: allocator<<#typename T#>>
  /external/mesa3d/src/gallium/auxiliary/util/
u_suballoc.h 29 /* A simple allocator that suballocates memory from a large buffer. */
42 u_suballocator_destroy(struct u_suballocator *allocator);
45 u_suballocator_alloc(struct u_suballocator *allocator, unsigned size,
  /external/tensorflow/tensorflow/core/framework/
allocator_registry.cc 29 Allocator* AllocatorRegistry::GetRegisteredAllocator(const string& name,
33 return entry.allocator;
40 Allocator* allocator) {
41 CHECK(!name.empty()) << "Need a valid name for Allocator";
44 Allocator* existing = GetRegisteredAllocator(name, priority);
47 // but the Allocator::Name()'s don't match.
48 CHECK_EQ(existing->Name(), allocator->Name())
49 << "Allocator with name: [" << name << "], type [" << existing->Name()
52 << "an allocator of type " << allocator->Name()
    [all...]
  /external/webrtc/webrtc/p2p/base/
p2ptransport.cc 23 P2PTransport::P2PTransport(const std::string& name, PortAllocator* allocator)
24 : Transport(name, allocator) {}
  /hardware/interfaces/graphics/allocator/2.0/default/
service.cpp 17 #define LOG_TAG "android.hardware.graphics.allocator@2.0-service"
19 #include <android/hardware/graphics/allocator/2.0/IAllocator.h>
24 using android::hardware::graphics::allocator::V2_0::IAllocator;
  /bionic/linker/tests/
linker_memory_allocator_test.cpp 42 * this one has size below allocator cap which is 2*sizeof(void*)
65 LinkerMemoryAllocator allocator; local
66 void* ptr = allocator.alloc(0);
68 allocator.free(ptr);
72 LinkerMemoryAllocator allocator; local
73 allocator.free(nullptr);
77 LinkerMemoryAllocator allocator; local
78 uint32_t* array = reinterpret_cast<uint32_t*>(allocator.alloc(512));
92 uint32_t* reallocated_ptr = reinterpret_cast<uint32_t*>(allocator.realloc(array, 1024));
103 reallocated_ptr = reinterpret_cast<uint32_t*>(allocator.realloc(array, 62))
131 LinkerMemoryAllocator allocator; local
154 LinkerMemoryAllocator allocator; local
174 LinkerMemoryAllocator allocator; local
    [all...]

Completed in 1393 milliseconds

1 23 4 5 6 7 8 91011>>