/external/clang/test/SemaCXX/ |
H A D | PR12778.cpp | 4 void* allocate(int __n) { function
|
/external/clang/test/Sema/ |
H A D | freemain.c | 5 void* allocate(long size); 8 if (context) return allocate(size);
|
H A D | pragma-section.c | 10 __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 D | mremap.stderr.exp | 2 mremap(grow, nomove, constrained): Cannot allocate memory
|
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | TObjectPool.java | 35 public T allocate() { method in class:TObjectPool 36 T object = (T)super.allocate();
|
H A D | VectorPool.java | 42 public Vector2 allocate(Vector2 source) { method in class:VectorPool 43 Vector2 entry = super.allocate();
|
H A D | DrawableFactory.java | 45 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 D | asan_win_dynamic_runtime_thunk.cc | 66 __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 D | rsgNameAllocator.hpp | 41 std::string allocate (void);
|
/external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.members/ |
H A D | allocate.pass.cpp | 15 // 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 D | allocate_hint.pass.cpp | 15 // 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 D | allocate.pass.cpp | 15 // 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 D | allocate_size.pass.cpp | 17 // 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 D | allocate_size_hint.pass.cpp | 17 // 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 D | sections.cpp | 62 __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 D | allocate.pass.cpp | 17 // 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 D | ArrayRecyclerTest.cpp | 56 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 D | machine_image_manager_unittest.py | 153 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 D | brw_sf.h | 101 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 D | GrBufferObj.cpp | 11 void GrBufferObj::allocate(GrGLsizeiptr size, const GrGLchar *dataPtr) { function in class:GrBufferObj
|
/external/swiftshader/src/Common/ |
H A D | Memory.hpp | 24 void *allocate(size_t bytes, size_t alignment = 16);
|
/external/valgrind/memcheck/tests/ |
H A D | mempool.c | 99 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 D | current_allocated_bytes.cc | 13 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 D | malloc_hook.cc | 15 // 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 D | new_delete_resource_lifetime.pass.cpp | 32 POSType() {res = ex::new_delete_resource(); ptr = res->allocate(42); n = 42; } 48 POSType constructed_after_resources(resource, resource->allocate(1024), 1024);
|