/external/r8/src/test/smali/new-instance-and-init/ |
TestObject.java | 6 public static void allocate(int i) { method in class:TestObject
|
Test.java | 12 TestObject.allocate(0); 13 TestObject.allocate(4); 14 TestObject.allocate(10);
|
/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/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();
|
/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);
|
/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/msm8909/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);
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/allocator.traits/allocator.traits.members/ |
allocate.pass.cpp | 15 // static pointer allocate(allocator_type& a, size_type n); 27 value_type* allocate(std::size_t n) function in struct:A 37 assert(std::allocator_traits<A<int> >::allocate(a, 10) == (int*)0xDEADBEEF);
|
allocate_hint.pass.cpp | 15 // static pointer allocate(allocator_type& a, size_type n, const_void_pointer hint); 27 value_type* allocate(std::size_t n) function in struct:A 39 value_type* allocate(std::size_t n) function in struct:B 44 value_type* allocate(std::size_t n, const void* p) function in struct:B 56 assert(std::allocator_traits<A<int> >::allocate(a, 10, nullptr) == (int*)0xDEADBEEF); 59 assert(std::allocator_traits<B<int> >::allocate(b, 11, nullptr) == (int*)0xFEADBEEF);
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/allocator.traits/allocator.traits.members/ |
allocate.pass.cpp | 15 // static pointer allocate(allocator_type& a, size_type n); 27 value_type* allocate(std::size_t n) function in struct:A 37 assert(std::allocator_traits<A<int> >::allocate(a, 10) == (int*)0xDEADBEEF);
|
allocate_hint.pass.cpp | 15 // static pointer allocate(allocator_type& a, size_type n, const_void_pointer hint); 27 value_type* allocate(std::size_t n) function in struct:A 39 value_type* allocate(std::size_t n) function in struct:B 44 value_type* allocate(std::size_t n, const void* p) function in struct:B 56 assert(std::allocator_traits<A<int> >::allocate(a, 10, nullptr) == (int*)0xDEADBEEF); 59 assert(std::allocator_traits<B<int> >::allocate(b, 11, nullptr) == (int*)0xFEADBEEF);
|
/toolchain/binutils/binutils-2.25/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 | 12 ASSERT_NE(memoryPool.allocate(), nullptr); 13 ASSERT_NE(memoryPool.allocate(), nullptr); 14 ASSERT_NE(memoryPool.allocate(), nullptr); 15 ASSERT_EQ(memoryPool.allocate(), nullptr); 22 int *element1 = memoryPool.allocate(); 23 int *element2 = memoryPool.allocate(); 24 int *element3 = memoryPool.allocate(); 32 // Free one element and then allocate another. 34 element1 = memoryPool.allocate(); 38 ASSERT_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/r13/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...] |
/external/libcxx/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);
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/allocator.adaptor/allocator.adaptor.members/ |
allocate_size.pass.cpp | 15 // 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);
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/allocator.adaptor/allocator.adaptor.members/ |
allocate_size.pass.cpp | 15 // 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...] |