Searched refs:allocate (Results 26 - 50 of 174) sorted by relevance

1234567

/external/webkit/Source/WebCore/platform/graphics/gpu/
H A DPODArena.h51 virtual void* allocate(size_t size) = 0;
59 // fastFree to allocate chunks of storage.
67 virtual void* allocate(size_t size) { return fastMalloc(size); } function in class:WebCore::PODArena::FastMallocAllocator
91 // Use placement operator new to allocate a T at this location.
102 // Use placement operator new to allocate a T at this location.
141 ptr = m_current->allocate(roundedSize);
148 ptr = m_current->allocate(roundedSize);
171 m_base = static_cast<uint8_t*>(m_allocator->allocate(size));
183 void* allocate(size_t size) function in class:WebCore::PODArena::Chunk
/external/apache-harmony/nio_char/src/test/java/tests/api/java/nio/charset/
H A DASCCharsetDecoderTest.java48 // ByteBuffer buffer = ByteBuffer.allocate(8);
58 ByteBuffer buffer = ByteBuffer.allocate(8);
H A DGBCharsetDecoderTest.java53 ByteBuffer buffer = ByteBuffer.allocate(20);
H A DCharsetEncoderTest.java278 encoder.encode(CharBuffer.wrap("aaa"), ByteBuffer.allocate(3), false);
280 encoder.encode(CharBuffer.wrap("aaa"), ByteBuffer.allocate(3), true);
286 ByteBuffer out = ByteBuffer.allocate(5);
314 ByteBuffer out = ByteBuffer.allocate(5);
351 ByteBuffer.allocate(30), true);
358 ByteBuffer.allocate(30), false);
365 ByteBuffer.allocate(30), true);
366 encoder.flush(ByteBuffer.allocate(10));
374 ByteBuffer out = ByteBuffer.allocate(5);
386 ByteBuffer.allocate(3
[all...]
H A DCharsetDecoderTest.java214 CharBuffer out = decoder.decode(ByteBuffer.allocate(0));
309 CharBuffer out = CharBuffer.allocate(100);
363 out = CharBuffer.allocate(4);
370 out = CharBuffer.allocate(100);
374 out = CharBuffer.allocate(100);
409 CharBuffer out = CharBuffer.allocate(50);
463 CharBuffer out = CharBuffer.allocate(getString().length() * 3);
512 CharBuffer out = CharBuffer.allocate(50);
572 CharBuffer out = CharBuffer.allocate(10);
581 .flush(CharBuffer.allocate(1
[all...]
H A DUTFCharsetDecoderTest.java53 ByteBuffer buffer = ByteBuffer.allocate(getByteBuffer().remaining() + 1);
H A DISOCharsetEncoderTest.java101 ByteBuffer out = ByteBuffer.allocate(10);
106 out = ByteBuffer.allocate(10);
/external/replicaisland/src/com/replica/replicaisland/
H A DPhysicsComponent.java75 Vector2 newVelocity = vectorPool.allocate(currentVelocity);
135 Vector2 collisionNormal = vectorPool.allocate(opposingNormal);
139 Vector2 relativeVelocity = vectorPool.allocate(velocity);
154 Vector2 entity1Adjust = vectorPool.allocate(collisionNormal);
174 Vector2 collisionNormal = vectorPool.allocate(opposingNormal);
177 Vector2 entity1Velocity = vectorPool.allocate(velocity);
180 Vector2 entity2Velocity = vectorPool.allocate(otherVelocity);
183 Vector2 relativeVelocity = vectorPool.allocate(entity1Velocity);
199 Vector2 entity1Adjust = vectorPool.allocate(collisionNormal);
H A DObjectPool.java46 protected Object allocate() { method in class:ObjectPool
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
H A DPoolAlloc.h16 // allocate a large number of small requests for heap memory, with the
143 // Call allocate() to actually acquire memory. Returns 0 if no memory
146 void* allocate(size_t numBytes);
204 size_t currentPageOffset; // next offset in top of inUseList to allocate from
207 tAllocStack stack; // stack of where to allocate from, to partition pool
264 // libCStd on some platforms have a different allocate/deallocate interface.
267 void* allocate(size_type n) { function in class:pool_allocator
268 return getAllocator().allocate(n);
270 void* allocate(size_type n, const void*) { function in class:pool_allocator
271 return getAllocator().allocate(
275 pointer allocate(size_type n) { function in class:pool_allocator
278 pointer allocate(size_type n, const void*) { function in class:pool_allocator
[all...]
H A DCommon.h40 void* operator new(size_t s) { return (A).allocate(s); } \
44 void* operator new[](size_t s) { return (A).allocate(s); } \
57 void* memory = GlobalPoolAllocator.allocate(sizeof(TString));
/external/webkit/Source/WebCore/rendering/
H A DBidiRun.cpp60 return renderArena->allocate(sz);
/external/stlport/stlport/stl/
H A D_alloc.c38 void * _STLP_CALL __debug_alloc<_Alloc>::allocate(size_t __n) { function in class:_Alloc
45 __alloc_header *__result = (__alloc_header *)__allocator_type::allocate(__real_n);
H A D_pthread_alloc.h35 * It is not an error to allocate memory in thread A and deallocate
76 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) { function in class:pthread_allocator
135 _Tp* __ret = __REINTERPRET_CAST(value_type*, _S_Alloc::allocate(__buf_size));
168 _Tp* allocate(size_type __n, size_type& __allocated_n) { function in class:pthread_allocator
174 _Tp* __ret = __REINTERPRET_CAST(value_type*, _S_Alloc::allocate(__buf_size));
312 _Tp* allocate(size_type __n, const void* = 0) { function in class:per_thread_allocator
318 _Tp* __ret = __REINTERPRET_CAST(_Tp*, _S_Alloc::allocate(__buf_size, _M_state));
354 _Tp* allocate(size_typ function in class:per_thread_allocator
[all...]
/external/valgrind/main/drd/tests/
H A Dtc15_laog_lockdel.stderr.exp4 Free 2 and re-allocate it. This gives it a new identity,
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
H A DSourceChannelTest.java68 sink.write(ByteBuffer.allocate(1));
69 int count = source.read(ByteBuffer.allocate(10));
90 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE);
108 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE);
172 ByteBuffer[] readBufArray = { ByteBuffer.allocate(BUFFER_SIZE),
173 ByteBuffer.allocate(BUFFER_SIZE) };
236 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE);
256 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE);
315 ByteBuffer[] readBufArray = { ByteBuffer.allocate(BUFFER_SIZE),
316 ByteBuffer.allocate(BUFFER_SIZ
[all...]
H A DSocketChannelTest.java1520 .allocate(CAPACITY_NORMAL);
1522 writeBufArr[0] = java.nio.ByteBuffer.allocate(CAPACITY_NORMAL);
1553 .allocate(CAPACITY_NORMAL);
1555 writeBufArr[0] = java.nio.ByteBuffer.allocate(CAPACITY_NORMAL);
1591 .allocate(CAPACITY_NORMAL);
1593 writeBufArr[0] = java.nio.ByteBuffer.allocate(CAPACITY_NORMAL);
1628 writeBufArr[0] = java.nio.ByteBuffer.allocate(CAPACITY_NORMAL);
1698 writeBufArr[0] = java.nio.ByteBuffer.allocate(CAPACITY_NORMAL);
1756 .allocate(CAPACITY_NORMAL);
1758 writeBufArr[0] = java.nio.ByteBuffer.allocate(CAPACITY_NORMA
[all...]
/external/apache-harmony/crypto/src/test/impl/java.injected/org/apache/harmony/crypto/internal/
H A DNullCipherSpiTest.java113 ByteBuffer outbuf = ByteBuffer.allocate(6);
138 outbuf = ByteBuffer.allocate(5);
158 ByteBuffer outbuf = ByteBuffer.allocate(6);
183 outbuf = ByteBuffer.allocate(5);
/external/stlport/test/unit/
H A Drawriter_test.cpp46 p = a.allocate(5);
/external/v8/src/
H A Dstring-stream.h39 virtual char* allocate(unsigned bytes) = 0;
52 char* allocate(unsigned bytes);
65 char* allocate(unsigned bytes) { return space_; } function in class:v8::internal::NoAllocationStringAllocator
118 buffer_(allocator_->allocate(kInitialCapacity)) {
/external/webkit/Source/JavaScriptCore/wtf/
H A DPageAllocationAligned.h44 static PageAllocationAligned allocate(size_t size, size_t alignment, OSAllocator::Usage usage = OSAllocator::UnknownUsage, bool writable = true, bool executable = false);
/external/webkit/Source/WebCore/platform/text/
H A DLineEnding.cpp42 virtual char* allocate(size_t size) = 0;
55 virtual char* allocate(size_t size) function in class:__anon11949::CStringBuffer
81 virtual char* allocate(size_t size) function in class:__anon11949::VectorCharAppendBuffer
126 char* q = buffer.allocate(newLen);
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/
H A DNPRuntimeUtilities.cpp64 if (npClass->allocate)
65 npObject = npClass->allocate(npp, npClass);
/external/valgrind/main/memcheck/tests/
H A 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/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
H A DSSLEngineImplTest.java372 engine.wrap(ByteBuffer.allocate(0), ByteBuffer.allocate(
446 SSLEngineResult result = engine.wrap(ByteBuffer.allocate(0),
447 ByteBuffer.allocate(20000));
467 SSLEngineResult result = engine.wrap(ByteBuffer.allocate(0),
468 ByteBuffer.allocate(20000));
495 ByteBuffer buffer = ByteBuffer.allocate(packetBufferSize);
496 ByteBuffer app_data_buffer = ByteBuffer.allocate(applicationBufferSize);
528 print(result = server.wrap(ByteBuffer.allocate(0), buffer));
588 ByteBuffer buffer = ByteBuffer.allocate(packetBufferSiz
[all...]

Completed in 314 milliseconds

1234567