Searched refs:allocate (Results 1 - 25 of 443) sorted by relevance

1234567891011>>

/external/clang/test/SemaCXX/
H A DPR12778.cpp4 void* allocate(int __n) { function
/external/clang/test/Sema/
H A Dfreemain.c5 void* allocate(long size);
8 if (context) return allocate(size);
H A Dpragma-section.c10 __declspec(allocate(".my_const")) int d = 1; // expected-error {{'d' causes a section type conflict with 'a'}}
15 __declspec(allocate(".my_seg")) int int_my_seg;
19 __declspec(allocate(".bad_seg")) int int_bad_seg = 1; // expected-note {{declared here}}
/external/valgrind/none/tests/linux/
H A Dmremap.stderr.exp2 mremap(grow, nomove, constrained): Cannot allocate memory
/external/replicaisland/src/com/replica/replicaisland/
H A DTObjectPool.java35 public T allocate() { method in class:TObjectPool
36 T object = (T)super.allocate();
H A DVectorPool.java42 public Vector2 allocate(Vector2 source) { method in class:VectorPool
43 Vector2 entry = super.allocate();
H A DDrawableFactory.java45 return mBitmapPool.allocate();
49 return mTiledBackgroundVertexGridPool.allocate();
53 return mScrollableBitmapPool.allocate();
91 public DrawableBitmap allocate() { method in class:DrawableFactory.DrawableBitmapPool
92 DrawableBitmap result = super.allocate();
/external/compiler-rt/lib/asan/
H A Dasan_win_dynamic_runtime_thunk.cc66 __declspec(allocate(".CRT$XTW")) void* before_global_dtors = 0;
67 __declspec(allocate(".CRT$XTY")) void* after_global_dtors = 0;
81 __declspec(allocate(".CRT$XID"))
96 __declspec(allocate(".CRT$XCAB")) int (*__asan_seh_interceptor)() =
/external/deqp/framework/randomshaders/
H A DrsgNameAllocator.hpp41 std::string allocate (void);
/external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.members/
H A Dallocate.pass.cpp15 // static pointer allocate(allocator_type& a, size_type n);
28 value_type* allocate(std::size_t n) function in struct:A
38 assert(std::allocator_traits<A<int> >::allocate(a, 10) == reinterpret_cast<int*>(static_cast<std::uintptr_t>(0xDEADBEEF)));
H A Dallocate_hint.pass.cpp15 // static pointer allocate(allocator_type& a, size_type n, const_void_pointer hint);
30 value_type* allocate(std::size_t n) function in struct:A
42 value_type* allocate(std::size_t n) function in struct:B
47 value_type* allocate(std::size_t n, const void* p) function in struct:B
59 assert(std::allocator_traits<A<int> >::allocate(a, 10, nullptr) == reinterpret_cast<int*>(static_cast<std::uintptr_t>(0xDEADBEEF)));
62 assert(std::allocator_traits<B<int> >::allocate(b, 11, nullptr) == reinterpret_cast<int*>(static_cast<std::uintptr_t>(0xFEADBEEF)));
/external/libcxx/test/std/experimental/memory/memory.resource/memory.resource.public/
H A Dallocate.pass.cpp15 // TESTING void * memory_resource::allocate(size_t, size_t = max_align)
18 // A) 'memory_resource' contains a member 'allocate' with the required
20 // B) The return type of 'allocate' is 'void*'.
21 // C) 'allocate' is not marked as 'noexcept'.
22 // D) Invoking 'allocate' invokes 'do_allocate' with the same arguments.
23 // E) If 'do_allocate' throws then 'allocate' propagates that exception.
42 std::is_same<decltype(M.allocate(0, 0)), void*>::value
46 std::is_same<decltype(M.allocate(0)), void*>::value
52 ! noexcept(M.allocate(0, 0))
56 ! noexcept(M.allocate(
[all...]
/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/
H A Dallocate_size.pass.cpp17 // pointer allocate(size_type n);
30 assert(a.allocate(10) == (int*)10);
37 assert(a.allocate(10) == (int*)10);
44 assert(a.allocate(10) == (int*)10);
H A Dallocate_size_hint.pass.cpp17 // pointer allocate(size_type n, const_void_pointer hint);
30 assert(a.allocate(10, (const void*)0) == (int*)10);
37 assert(a.allocate(10, (const void*)10) == (int*)10);
44 assert(a.allocate(10, (const void*)20) == (int*)10);
52 assert(a.allocate(10, (const void*)0) == (int*)0);
59 assert(a.allocate(10, (const void*)10) == (int*)10);
66 assert(a.allocate(10, (const void*)20) == (int*)20);
/external/clang/test/CodeGenCXX/
H A Dsections.cpp62 __declspec(allocate("read_flag_section")) int unreferenced = 0;
63 extern __declspec(allocate("read_flag_section")) int referenced = 42;
68 __declspec(allocate("no_section_attributes")) int implicitly_read_write = 42;
72 __declspec(allocate("long_section")) long long_var = 42;
76 __declspec(allocate("short_section")) short short_var = 42;
/external/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/
H A Dallocate.pass.cpp17 // T* polymorphic_allocator<T>::allocate(size_t n)
38 auto ret = a.allocate(N);
58 a.allocate(maxSize);
68 a.allocate(sizeTypeMax);
76 a.allocate(overSize);
88 static_assert(std::is_same<decltype(a.allocate(0)), int*>::value, "");
89 static_assert(!noexcept(a.allocate(0)), "");
/external/llvm/unittests/Support/
H A DArrayRecyclerTest.cpp56 Object *A1 = DUT.allocate(Cap, Allocator);
60 Object *A2 = DUT.allocate(Cap, Allocator);
64 Object *A3 = DUT.allocate(Cap, Allocator);
84 Object *A2x = DUT.allocate(Cap, Allocator);
93 Object *A3x = DUT.allocate(Cap, Allocator);
95 Object *A1x = DUT.allocate(Cap, Allocator);
97 Object *A2y = DUT.allocate(Cap, Allocator);
101 Object *A4 = DUT.allocate(Cap, Allocator);
/external/toolchain-utils/crosperf/
H A Dmachine_image_manager_unittest.py153 self.assertTrue(mim.allocate(duts[0]) == labels[0])
154 self.assertTrue(mim.allocate(duts[0]) == labels[1])
155 self.assertTrue(mim.allocate(duts[0]) is None)
158 self.assertTrue(mim.allocate(duts[1]) == labels[1])
176 self.assertTrue(mim.allocate(duts[3]).name == 'l3')
225 self.assertTrue(mim.allocate(mim.duts_[2]) == mim.labels_[0])
226 self.assertTrue(mim.allocate(mim.duts_[3]) == mim.labels_[2])
227 self.assertTrue(mim.allocate(mim.duts_[0]) == mim.labels_[1])
228 self.assertTrue(mim.allocate(mim.duts_[1]) == mim.labels_[2])
229 self.assertTrue(mim.allocate(mi
[all...]
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_sf.h101 void brw_emit_tri_setup( struct brw_sf_compile *c, bool allocate );
102 void brw_emit_line_setup( struct brw_sf_compile *c, bool allocate );
103 void brw_emit_point_setup( struct brw_sf_compile *c, bool allocate );
104 void brw_emit_point_sprite_setup( struct brw_sf_compile *c, bool allocate );
/external/skia/tools/gpu/gl/debug/
H A DGrBufferObj.cpp11 void GrBufferObj::allocate(GrGLsizeiptr size, const GrGLchar *dataPtr) { function in class:GrBufferObj
/external/swiftshader/src/Common/
H A DMemory.hpp24 void *allocate(size_t bytes, size_t alignment = 16);
/external/valgrind/memcheck/tests/
H A Dmempool.c99 char *allocate(pool *p, int size) function
121 x1 = allocate(p, 10);
122 x2 = allocate(p, 20);
124 x3 = allocate(p, 10);
125 x4 = allocate(p, 20);
141 x5 = allocate(p, 10);
/external/compiler-rt/test/asan/TestCases/Posix/
H A Dcurrent_allocated_bytes.cc13 void* allocate(void *arg) { function
32 pthread_create(&thr[j], 0, (j < 2) ? allocate : check_stats, 0));
/external/compiler-rt/test/sanitizer_common/TestCases/
H A Dmalloc_hook.cc15 // Note: avoid calling functions that allocate memory in malloc/free
38 __attribute__((noinline)) void allocate(int *unused1, int *unused2) { function
46 allocate(undef1, undef2);
/external/libcxx/test/libcxx/experimental/memory/memory.resource.global/
H A Dnew_delete_resource_lifetime.pass.cpp32 POSType() {res = ex::new_delete_resource(); ptr = res->allocate(42); n = 42; }
48 POSType constructed_after_resources(resource, resource->allocate(1024), 1024);

Completed in 583 milliseconds

1234567891011>>