/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
HeapLongBufferTest.java | 23 buf = LongBuffer.allocate(BUFFER_LENGTH); 36 LongBuffer.allocate(-1);
|
HeapShortBufferTest.java | 23 buf = ShortBuffer.allocate(BUFFER_LENGTH); 36 ShortBuffer.allocate(-1);
|
HeapByteBufferTest.java | 26 buf = ByteBuffer.allocate(BUFFER_LENGTH); 37 * @tests java.nio.ByteBuffer#allocate(int) 42 ByteBuffer.allocate(-1);
|
ReadOnlyHeapCharBufferTest.java | 26 buf = CharBuffer.allocate(BUFFER_LENGTH);
|
ReadOnlyHeapDoubleBufferTest.java | 24 buf = DoubleBuffer.allocate(BUFFER_LENGTH);
|
ReadOnlyHeapFloatBufferTest.java | 23 buf = FloatBuffer.allocate(BUFFER_LENGTH);
|
ReadOnlyHeapIntBufferTest.java | 23 buf = IntBuffer.allocate(BUFFER_LENGTH);
|
ReadOnlyHeapLongBufferTest.java | 23 buf = LongBuffer.allocate(BUFFER_LENGTH);
|
ReadOnlyHeapShortBufferTest.java | 23 buf = ShortBuffer.allocate(BUFFER_LENGTH);
|
/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/ |
allocate_size_hint.pass.cpp | 15 // 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);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/allocator.adaptor/allocator.adaptor.members/ |
allocate_size_hint.pass.cpp | 15 // 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);
|
/frameworks/compile/mclinker/unittests/ |
LinearAllocatorTest.cpp | 38 Data* pointer = m_pTestee->allocate(10); 44 TEST_F(LinearAllocatorTest, allocate) { 45 Data* pointer = m_pTestee->allocate(); 52 Data* pointer = m_pTestee->allocate(CHUNK_SIZE + 1); 59 Data* pointer = m_pTestee->allocate(); 68 Data* pointer = m_pTestee->allocate(); 79 Data* pointer = m_pTestee->allocate(10); 88 Data* pointer = m_pTestee->allocate(10); 100 Data* pointer = m_pTestee->allocate(); 117 Data* pointer = m_pTestee->allocate(10) [all...] |
RTLinearAllocatorTest.cpp | 39 Data* pointer = m_pTestee->allocate(10); 45 TEST_F(RTLinearAllocatorTest, allocate) { 46 Data* pointer = m_pTestee->allocate(); 53 Data* pointer = m_pTestee->allocate(CHUNK_SIZE + 1); 60 Data* pointer = m_pTestee->allocate(); 69 Data* pointer = m_pTestee->allocate(); 80 Data* pointer = m_pTestee->allocate(10); 89 Data* pointer = m_pTestee->allocate(10); 101 Data* pointer = m_pTestee->allocate(); 118 Data* pointer = m_pTestee->allocate(10) [all...] |
/external/clang/test/Sema/ |
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/llvm/unittests/Support/ |
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);
|
/hardware/qcom/display/msm8996/libgralloc/ |
alloc_controller.h | 52 /* Allocate using a suitable method 55 virtual int allocate(alloc_data& data, int usage) = 0; 73 virtual int allocate(alloc_data& data, int usage);
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
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/src/gpu/gl/debug/ |
GrBufferObj.cpp | 11 void GrBufferObj::allocate(GrGLsizeiptr size, const GrGLchar *dataPtr) { function in class:GrBufferObj
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
PipeTest.java | 26 assertEquals(0, p.source().read(ByteBuffer.allocate(1)));
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ext/ |
debug_allocator.h | 88 allocate(size_type __n) function in class:debug_allocator 90 pointer __res = _M_allocator.allocate(__n + _M_extra); 97 allocate(size_type __n, const void* __hint) function in class:debug_allocator 99 pointer __res = _M_allocator.allocate(__n + _M_extra, __hint);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/ |
debug_allocator.h | 88 allocate(size_type __n) function in class:debug_allocator 90 pointer __res = _M_allocator.allocate(__n + _M_extra); 97 allocate(size_type __n, const void* __hint) function in class:debug_allocator 99 pointer __res = _M_allocator.allocate(__n + _M_extra, __hint);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/ |
debug_allocator.h | 88 allocate(size_type __n) function in class:debug_allocator 90 pointer __res = _M_allocator.allocate(__n + _M_extra); 97 allocate(size_type __n, const void* __hint) function in class:debug_allocator 99 pointer __res = _M_allocator.allocate(__n + _M_extra, __hint);
|
/external/replicaisland/src/com/replica/replicaisland/ |
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();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
ASCIICharsetEncoderTest.java | 85 ByteBuffer out = ByteBuffer.allocate(10); 91 out = ByteBuffer.allocate(10); 127 ByteBuffer bb = ByteBuffer.allocate(0x10); 140 ByteBuffer out = ByteBuffer.allocate(0x10); 162 ByteBuffer out = ByteBuffer.allocate(0x10); 170 ByteBuffer out = ByteBuffer.allocate(0x10); 177 ByteBuffer out = ByteBuffer.allocate(0x10); 189 ByteBuffer out = ByteBuffer.allocate(0x10); 196 ByteBuffer out = ByteBuffer.allocate(0x10); 204 ByteBuffer out = ByteBuffer.allocate(0x10) [all...] |
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
SSLEngineTest.java | 95 ByteBuffer bb = ByteBuffer.allocate(10); 123 ByteBuffer[] bbA = { null, ByteBuffer.allocate(10), null }; 125 ByteBuffer bb = ByteBuffer.allocate(10); 138 bbA[0] = ByteBuffer.allocate(100); 139 bbA[2] = ByteBuffer.allocate(20); 155 ByteBuffer bbs = ByteBuffer.allocate(100); 156 ByteBuffer bbd = ByteBuffer.allocate(10); 185 ByteBuffer bb = ByteBuffer.allocate(10); 188 SSLEngineResult res = e.wrap(bb, ByteBuffer.allocate(10)); 202 ByteBuffer bb = ByteBuffer.allocate(10) [all...] |