Home
last modified time | relevance | path

Searched refs:allocate (Results 1 – 25 of 454) sorted by relevance

12345678910>>...19

/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
DSSLEngineTest.java96 ByteBuffer bb = ByteBuffer.allocate(10); in testWrap01()
124 ByteBuffer[] bbA = { null, ByteBuffer.allocate(10), null }; in testWrap02()
126 ByteBuffer bb = ByteBuffer.allocate(10); in testWrap02()
139 bbA[0] = ByteBuffer.allocate(100); in testWrap02()
140 bbA[2] = ByteBuffer.allocate(20); in testWrap02()
156 ByteBuffer bbs = ByteBuffer.allocate(100); in testWrap03()
157 ByteBuffer bbd = ByteBuffer.allocate(10); in testWrap03()
187 ByteBuffer bb = ByteBuffer.allocate(10); in testWrap04()
190 SSLEngineResult res = e.wrap(bb, ByteBuffer.allocate(10)); in testWrap04()
204 ByteBuffer bb = ByteBuffer.allocate(10); in testWrap05()
[all …]
/external/chromium_org/v8/src/
Dhydrogen-escape-analysis.cc71 HAllocate* allocate = HAllocate::cast(instr); in CollectCapturedValues() local
72 if (!allocate->size()->IsInteger32Constant()) continue; in CollectCapturedValues()
73 int size_in_bytes = allocate->size()->GetInteger32Constant(); in CollectCapturedValues()
168 void HEscapeAnalysisPhase::AnalyzeDataFlow(HInstruction* allocate) { in AnalyzeDataFlow() argument
169 HBasicBlock* allocate_block = allocate->block(); in AnalyzeDataFlow()
190 if (instr != allocate) continue; in AnalyzeDataFlow()
191 state = NewStateForAllocation(allocate); in AnalyzeDataFlow()
197 if (load->object() != allocate) continue; in AnalyzeDataFlow()
210 if (store->object() != allocate) continue; in AnalyzeDataFlow()
231 if (instr->OperandAt(i) != allocate) continue; in AnalyzeDataFlow()
[all …]
/external/llvm/unittests/Support/
DArrayRecyclerTest.cpp56 Object *A1 = DUT.allocate(Cap, Allocator); in TEST()
60 Object *A2 = DUT.allocate(Cap, Allocator); in TEST()
64 Object *A3 = DUT.allocate(Cap, Allocator); in TEST()
84 Object *A2x = DUT.allocate(Cap, Allocator); in TEST()
93 Object *A3x = DUT.allocate(Cap, Allocator); in TEST()
95 Object *A1x = DUT.allocate(Cap, Allocator); in TEST()
97 Object *A2y = DUT.allocate(Cap, Allocator); in TEST()
101 Object *A4 = DUT.allocate(Cap, Allocator); in TEST()
/external/stlport/stlport/stl/
D_alloc.h67 static void* _STLP_CALL allocate(size_t __n)
92 static void* _STLP_CALL allocate(size_t __n) { return __stl_new(__n); } in allocate() function
133 static void* _STLP_CALL allocate(size_t);
157 static void* _STLP_CALL allocate(size_t& __n) in allocate() function
301 _Tp* allocate(size_type __n, const void* = 0) {
307 _Tp* __ret = __REINTERPRET_CAST(_Tp*, __sgi_alloc::allocate(__buf_size));
348 _Tp* __ret = __REINTERPRET_CAST(_Tp*, __sgi_alloc::allocate(__buf_size)); in _M_allocate()
525 _Tp* allocate(size_type __n, size_type& __allocated_n) {
531 return allocate(__n, __allocated_n, _STLportAlloc());
538 _Tp* allocate(size_type __n)
[all …]
D_pthread_alloc.h76 static void * _STLP_CALL allocate(size_t& __n);
83 static void * _STLP_CALL allocate(size_t& __n, __state_type* __a);
129 _Tp* allocate(size_type __n, const void* = 0) {
135 _Tp* __ret = __REINTERPRET_CAST(value_type*, _S_Alloc::allocate(__buf_size));
168 _Tp* allocate(size_type __n, size_type& __allocated_n) { in allocate() function
174 _Tp* __ret = __REINTERPRET_CAST(value_type*, _S_Alloc::allocate(__buf_size)); in allocate()
312 _Tp* allocate(size_type __n, const void* = 0) {
318 _Tp* __ret = __REINTERPRET_CAST(_Tp*, _S_Alloc::allocate(__buf_size, _M_state));
354 _Tp* allocate(size_type __n, size_type& __allocated_n) {
360 _Tp* __ret = __REINTERPRET_CAST(value_type*, _S_Alloc::allocate(__buf_size, _M_state));
/external/replicaisland/src/com/replica/replicaisland/
DPhysicsComponent.java75 Vector2 newVelocity = vectorPool.allocate(currentVelocity); in update()
135 Vector2 collisionNormal = vectorPool.allocate(opposingNormal); in resolveCollision()
139 Vector2 relativeVelocity = vectorPool.allocate(velocity); in resolveCollision()
154 Vector2 entity1Adjust = vectorPool.allocate(collisionNormal); in resolveCollision()
174 Vector2 collisionNormal = vectorPool.allocate(opposingNormal); in resolveCollision()
177 Vector2 entity1Velocity = vectorPool.allocate(velocity); in resolveCollision()
180 Vector2 entity2Velocity = vectorPool.allocate(otherVelocity); in resolveCollision()
183 Vector2 relativeVelocity = vectorPool.allocate(entity1Velocity); in resolveCollision()
199 Vector2 entity1Adjust = vectorPool.allocate(collisionNormal); in resolveCollision()
DDrawableFactory.java45 return mBitmapPool.allocate(); in allocateDrawableBitmap()
49 return mTiledBackgroundVertexGridPool.allocate(); in allocateTiledBackgroundVertexGrid()
53 return mScrollableBitmapPool.allocate(); in allocateScrollableBitmap()
91 public DrawableBitmap allocate() { in allocate() method in DrawableFactory.DrawableBitmapPool
92 DrawableBitmap result = super.allocate(); in allocate()
DTObjectPool.java35 public T allocate() { in allocate() method in TObjectPool
36 T object = (T)super.allocate(); in allocate()
/external/chromium_org/third_party/angle/src/compiler/
DPoolAlloc.h146 void* allocate(size_t numBytes);
267 void* allocate(size_type n) { in allocate() function
268 return getAllocator().allocate(n); in allocate()
270 void* allocate(size_type n, const void*) { in allocate() function
271 return getAllocator().allocate(n); in allocate()
275 pointer allocate(size_type n) { in allocate() function
276 return reinterpret_cast<pointer>(getAllocator().allocate(n * sizeof(T))); in allocate()
278 pointer allocate(size_type n, const void*) { in allocate() function
279 return reinterpret_cast<pointer>(getAllocator().allocate(n * sizeof(T))); in allocate()
/external/clang/test/Rewriter/
Dobjc-modern-metadata-visibility.mm27 // CHECK: __declspec(allocate(".objc_ivar$B")) extern "C" __declspec(dllimport) unsigned long OBJC_…
28 // CHECK: __declspec(allocate(".objc_ivar$B")) extern "C" unsigned long OBJC_IVAR_$_Sub$PrivateIvar;
29 // CHECK: __declspec(allocate(".objc_ivar$B")) extern "C" __declspec(dllimport) unsigned long OBJC_…
31 // CHECK: __declspec(allocate(".objc_ivar$B")) extern "C" __declspec(dllexport) unsigned long int O…
32 // CHECK: __declspec(allocate(".objc_ivar$B")) extern "C" __declspec(dllexport) unsigned long int O…
33 // CHECK: __declspec(allocate(".objc_ivar$B")) extern "C" unsigned long int OBJC_IVAR_$_Sub$Private…
/external/valgrind/main/memcheck/tests/
Dmempool.c99 char *allocate(pool *p, int size) in allocate() function
121 x1 = allocate(p, 10); in test()
122 x2 = allocate(p, 20); in test()
124 x3 = allocate(p, 10); in test()
125 x4 = allocate(p, 20); in test()
141 x5 = allocate(p, 10); in test()
Dmempool.stderr.exp5 at 0x........: allocate (mempool.c:105)
13 at 0x........: allocate (mempool.c:105)
36 at 0x........: allocate (mempool.c:105)
41 at 0x........: allocate (mempool.c:105)
46 at 0x........: allocate (mempool.c:105)
/external/chromium_org/third_party/WebKit/Source/platform/
DPODArena.h51 virtual void* allocate(size_t size) = 0;
67 virtual void* allocate(size_t size) { return fastMalloc(size); } in allocate() function
129 ptr = m_current->allocate(roundedSize); in allocateBase()
136 ptr = m_current->allocate(roundedSize); in allocateBase()
159 m_base = static_cast<uint8_t*>(m_allocator->allocate(size)); in Chunk()
171 void* allocate(size_t size) in allocate() function
/external/mesa3d/src/mesa/drivers/dri/i965/
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/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
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/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DSSLEngineImplTest.java372 engine.wrap(ByteBuffer.allocate(0), ByteBuffer.allocate( in testSetGetUseClientMode()
446 SSLEngineResult result = engine.wrap(ByteBuffer.allocate(0), in testCloseOutbound()
447 ByteBuffer.allocate(20000)); in testCloseOutbound()
467 SSLEngineResult result = engine.wrap(ByteBuffer.allocate(0), in testCloseInbound()
468 ByteBuffer.allocate(20000)); in testCloseInbound()
495 ByteBuffer buffer = ByteBuffer.allocate(packetBufferSize); in testCloseInbound2()
496 ByteBuffer app_data_buffer = ByteBuffer.allocate(applicationBufferSize); in testCloseInbound2()
528 print(result = server.wrap(ByteBuffer.allocate(0), buffer)); in testCloseInbound2()
588 ByteBuffer buffer = ByteBuffer.allocate(packetBufferSize); in testErrorProcessing()
589 ByteBuffer app_data_buffer = ByteBuffer.allocate(applicationBufferSize); in testErrorProcessing()
[all …]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
DAbstractBoxParser.java65 ByteBuffer bb = ByteBuffer.allocate(8); in parseBox()
81 ByteBuffer bb = ByteBuffer.allocate(16); in parseBox()
98 header = ByteBuffer.allocate(16); in parseBox()
103 header = ByteBuffer.allocate(24); in parseBox()
108 header = ByteBuffer.allocate(32); in parseBox()
/external/clang/test/Sema/
Dfreemain.c5 void* allocate(long size);
8 if (context) return allocate(size); in main()
/external/chromium_org/courgette/
Dmemory_allocator.h205 pointer allocate(size_type count) { in allocate() function
235 pointer allocate(size_type count, const void* hint) { in allocate() function
236 return allocate(count); in allocate()
291 pointer allocate(size_type count) {
298 pointer allocate(size_type count, const void* hint) {
299 return allocate(count);
360 T* new_buffer = alloc_.allocate(size); in reserve()
/external/chromium_org/third_party/WebKit/Source/platform/text/
DLineEnding.cpp42 virtual char* allocate(size_t) = 0;
55 virtual char* allocate(size_t size) in allocate() function in __anona15c86790111::CStringBuffer
81 virtual char* allocate(size_t size) in allocate() function in __anona15c86790111::VectorCharAppendBuffer
127 char* q = buffer.allocate(newLen); in internalNormalizeLineEndingsToCRLF()
/external/valgrind/main/none/tests/linux/
Dmremap.stderr.exp-glibc272 mremap(grow, fixed): Cannot allocate memory
5 mremap(grow, nomove, constrained): Cannot allocate memory
/external/chromium_org/third_party/angle/src/libGLESv2/
DResourceManager.cpp71 GLuint handle = mBufferHandleAllocator.allocate(); in createBuffer()
81 GLuint handle = mProgramShaderHandleAllocator.allocate(); in createShader()
99 GLuint handle = mProgramShaderHandleAllocator.allocate(); in createProgram()
109 GLuint handle = mTextureHandleAllocator.allocate(); in createTexture()
119 GLuint handle = mRenderbufferHandleAllocator.allocate(); in createRenderbuffer()
/external/stlport/test/compiler/
Deh.cc19 BigStructAllocType::pointer pbigStruct = bigStructAlloc.allocate(1024 * 1024 * 1024); in bad_alloc_test()
36 BigStruct *bs = all.allocate(1024*1024*1024); in bad_alloc_test1()
/external/v8/src/
Dstring-stream.h39 virtual char* allocate(unsigned bytes) = 0;
52 char* allocate(unsigned bytes);
65 char* allocate(unsigned bytes) { return space_; } in allocate() function
119 buffer_(allocator_->allocate(kInitialCapacity)) { in StringStream()
/external/stlport/src/
Dallocators.cpp131 void* _STLP_CALL __malloc_alloc::allocate(size_t __n) in allocate() function in __malloc_alloc
835 static void * allocate(size_t& __n);
842 static void * allocate(size_t& __n, __state_type* __a);
974 _S_start_free = (char *)__malloc_alloc::allocate(__bytes_to_get); in _S_chunk_alloc()
978 _S_start_free = (char *)__malloc_alloc::allocate(__bytes_to_get); in _S_chunk_alloc()
990 void *_Pthread_alloc_impl::allocate(size_t& __n) { in allocate() function in _Pthread_alloc_impl
997 return __malloc_alloc::allocate(__n); in allocate()
1034 void *_Pthread_alloc_impl::allocate(size_t& __n, __state_type* __a) { in allocate() function in _Pthread_alloc_impl
1040 return __malloc_alloc::allocate(__n); in allocate()
1087 __result = allocate(__new_sz); in reallocate()
[all …]

12345678910>>...19