/external/clang/test/Sema/ |
freemain.c | 5 void* allocate(long size); 8 if (context) return allocate(size);
|
/external/clang/test/SemaCXX/ |
PR12778.cpp | 4 void* allocate(int __n) { function
|
/external/libcxx/test/std/utilities/memory/default.allocator/allocator.members/ |
allocate.fail.cpp | 13 // pointer allocate(size_type n, allocator<void>::const_pointer hint=0); 26 a.allocate(3); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}} 27 a.allocate(3, nullptr); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
|
/external/valgrind/none/tests/linux/ |
mremap.stderr.exp | 2 mremap(grow, nomove, constrained): Cannot allocate memory
|
/external/replicaisland/src/com/replica/replicaisland/ |
TObjectPool.java | 35 public T allocate() { method in class:TObjectPool 36 T object = (T)super.allocate();
|
VectorPool.java | 42 public Vector2 allocate(Vector2 source) { method in class:VectorPool 43 Vector2 entry = super.allocate();
|
/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/ |
allocate_size.fail.cpp | 18 // pointer allocate(size_type n); 28 a.allocate(10); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
|
allocate_size_hint.fail.cpp | 18 // pointer allocate(size_type n, const_void_pointer hint); 28 a.allocate(10, (const void*)0); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
|
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);
|
/external/compiler-rt/lib/asan/ |
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/ |
rsgNameAllocator.hpp | 41 std::string allocate (void);
|
/external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.members/ |
allocate.fail.cpp | 15 // static pointer allocate(allocator_type& a, size_type n); 33 value_type* allocate(std::size_t n) function in struct:A 38 value_type* allocate(std::size_t n, const void* p) function in struct:A 49 std::allocator_traits<A<int> >::allocate(a, 10); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}} 50 std::allocator_traits<A<int> >::allocate(a, 10, nullptr); // expected-error {{ignoring return value of function declared with 'nodiscard' attribute}}
|
allocate_hint.pass.cpp | 15 // static pointer allocate(allocator_type& a, size_type n, const_void_pointer hint); 31 value_type* allocate(std::size_t n) function in struct:A 43 value_type* allocate(std::size_t n) function in struct:B 48 value_type* allocate(std::size_t n, const void* p) function in struct:B 62 assert(std::allocator_traits<A<int> >::allocate(a, 10, nullptr) == reinterpret_cast<int*>(static_cast<std::uintptr_t>(0xDEADBEEF))); 68 assert(std::allocator_traits<Alloc >::allocate(a, 10, nullptr) == reinterpret_cast<VT*>(static_cast<std::uintptr_t>(0xDEADBEEF))); 73 assert(std::allocator_traits<B<int> >::allocate(b, 11, nullptr) == reinterpret_cast<int*>(static_cast<std::uintptr_t>(0xFEADBEEF))); 79 assert(std::allocator_traits<Alloc >::allocate(b, 11, nullptr) == reinterpret_cast<VT*>(static_cast<std::uintptr_t>(0xFEADBEEF)));
|
allocate.pass.cpp | 15 // static pointer allocate(allocator_type& a, size_type n); 30 value_type* allocate(std::size_t n) function in struct:A 41 assert(std::allocator_traits<A<int> >::allocate(a, 10) == reinterpret_cast<int*>(static_cast<std::uintptr_t>(0xDEADBEEF))); 47 assert(std::allocator_traits<Alloc >::allocate(a, 10) == reinterpret_cast<VT*>(static_cast<std::uintptr_t>(0xDEADBEEF)));
|
/hardware/qcom/display/msm8084/libgralloc/ |
alloc_controller.h | 41 /* Allocate using a suitable method 44 virtual int allocate(alloc_data& data, int usage) = 0; 60 virtual int allocate(alloc_data& data, int usage);
|
/hardware/qcom/display/msm8226/libgralloc/ |
alloc_controller.h | 41 /* Allocate using a suitable method 44 virtual int allocate(alloc_data& data, int usage) = 0; 60 virtual int allocate(alloc_data& data, int usage);
|
/hardware/qcom/display/msm8960/libgralloc/ |
alloc_controller.h | 41 /* Allocate using a suitable method 44 virtual int allocate(alloc_data& data, int usage) = 0; 60 virtual int allocate(alloc_data& data, int usage);
|
/hardware/qcom/display/msm8994/libgralloc/ |
alloc_controller.h | 41 /* Allocate using a suitable method 44 virtual int allocate(alloc_data& data, int usage) = 0; 60 virtual int allocate(alloc_data& data, int usage);
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/mmix/ |
greg9.s | 1 % Check that we can allocate max number of GREGs. 2 % A bit cheesy: we allocate anonymous GREGs with no handle. This isn't
|
/system/chre/util/tests/ |
memory_pool_test.cc | 13 EXPECT_NE(memoryPool.allocate(), nullptr); 15 EXPECT_NE(memoryPool.allocate(), nullptr); 17 EXPECT_NE(memoryPool.allocate(), nullptr); 19 EXPECT_EQ(memoryPool.allocate(), nullptr); 27 int *element1 = memoryPool.allocate(); 28 int *element2 = memoryPool.allocate(); 29 int *element3 = memoryPool.allocate(); 37 // Free one element and then allocate another. 40 element1 = memoryPool.allocate(); 44 EXPECT_EQ(memoryPool.allocate(), nullptr) [all...] |
/external/libcxx/test/std/experimental/memory/memory.resource/memory.resource.public/ |
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(0) [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/memory/memory.resource/memory.resource.public/ |
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(0) [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/allocator.adaptor/allocator.adaptor.members/ |
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);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
SSLEngineTest.java | 313 ByteBuffer bbd = ByteBuffer.allocate(clientEngine.engine.getSession().getApplicationBufferSize()); 329 ByteBuffer[] bbA = { ByteBuffer.allocate(100), ByteBuffer.allocate(10), ByteBuffer.allocate(100) }; 331 ByteBuffer bb = ByteBuffer.allocate(10); 365 ByteBuffer bbR = ByteBuffer.allocate(100).asReadOnlyBuffer(); 366 ByteBuffer[] bbA = { bbR, ByteBuffer.allocate(10), ByteBuffer.allocate(100) }; 368 ByteBuffer bb = ByteBuffer.allocate(10); 387 ByteBuffer[] bbA = {ByteBuffer.allocate(100), ByteBuffer.allocate(10), ByteBuffer.allocate(100)} [all...] |
/external/tensorflow/tensorflow/contrib/android/java/org/tensorflow/contrib/android/ |
RunStats.java | 29 nativeHandle = allocate(); 56 private static native long allocate(); method in class:RunStats
|