Home
last modified time | relevance | path

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

12345

/frameworks/compile/mclinker/unittests/
DLinearAllocatorTest.cpp43 Data* pointer = m_pTestee->allocate(10); in TEST_F()
49 TEST_F( LinearAllocatorTest, allocate ) { in TEST_F() argument
50 Data* pointer = m_pTestee->allocate(); in TEST_F()
57 Data* pointer = m_pTestee->allocate(CHUNK_SIZE+1); in TEST_F()
64 Data* pointer = m_pTestee->allocate(); in TEST_F()
73 Data* pointer = m_pTestee->allocate(); in TEST_F()
84 Data* pointer = m_pTestee->allocate(10); in TEST_F()
93 Data* pointer = m_pTestee->allocate(10); in TEST_F()
105 Data* pointer = m_pTestee->allocate(); in TEST_F()
122 Data* pointer = m_pTestee->allocate(10); in TEST_F()
DRTLinearAllocatorTest.cpp44 Data* pointer = m_pTestee->allocate(10); in TEST_F()
50 TEST_F(RTLinearAllocatorTest, allocate ) { in TEST_F() argument
51 Data* pointer = m_pTestee->allocate(); in TEST_F()
58 Data* pointer = m_pTestee->allocate(CHUNK_SIZE+1); in TEST_F()
65 Data* pointer = m_pTestee->allocate(); in TEST_F()
74 Data* pointer = m_pTestee->allocate(); in TEST_F()
85 Data* pointer = m_pTestee->allocate(10); in TEST_F()
94 Data* pointer = m_pTestee->allocate(10); in TEST_F()
106 Data* pointer = m_pTestee->allocate(); in TEST_F()
123 Data* pointer = m_pTestee->allocate(10); in TEST_F()
/frameworks/compile/mclinker/include/mcld/LD/
DDiagGOTPLT.inc2 …allocate_memory_got, DiagnosticEngine::Fatal, "fial to allocate memory for GOT", "fial to allocate
3 …allocate_memory_plt, DiagnosticEngine::Fatal, "fial to allocate memory for PLT", "fial to allocate
/frameworks/compile/mclinker/lib/Support/
DMemoryAreaFactory.cpp47 MemoryArea* result = allocate(); in produce()
71 MemoryArea* result = allocate(); in produce()
84 MemoryArea* result = allocate(); in produce()
95 MemoryArea* result = allocate(); in produce()
DRegionFactory.cpp22 MemoryRegion* result = Alloc::allocate(); in produce()
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
DCharsets.java53 CharBuffer cb = CharBuffer.allocate(length); in toAsciiBytes()
63 CharBuffer cb = CharBuffer.allocate(length); in toIsoLatin1Bytes()
73 CharBuffer cb = CharBuffer.allocate(length); in toUtf8Bytes()
/frameworks/av/media/mtp/
DMtpDataPacket.cpp156 allocate(mOffset + 1); in putInt8()
163 allocate(mOffset + 1); in putUInt8()
170 allocate(mOffset + 2); in putInt16()
178 allocate(mOffset + 2); in putUInt16()
186 allocate(mOffset + 4); in putInt32()
196 allocate(mOffset + 4); in putUInt32()
206 allocate(mOffset + 8); in putInt64()
220 allocate(mOffset + 8); in putUInt64()
366 allocate(length); in writeData()
386 allocate(totalLength); in read()
DMtpPacket.cpp50 allocate(MTP_CONTAINER_HEADER_SIZE); in reset()
55 void MtpPacket::allocate(int length) { in allocate() function in android::MtpPacket
89 allocate(length); in copyFrom()
/frameworks/compile/mclinker/lib/MC/
DContextFactory.cpp29 result = UniqueGCFactoryBase<sys::fs::Path, LDContext, 0>::allocate(); in produce()
38 LDContext* result = allocate(); in produce()
/frameworks/compile/mclinker/include/mcld/Support/
DGCFactory.h144 value_type* allocate(size_t N) { in allocate() function
145 value_type* result = Alloc::allocate(N); in allocate()
151 value_type* allocate() { in allocate() function
153 return Alloc::allocate(); in allocate()
DAllocators.h157 pointer allocate(size_type N) { in allocate() function
174 pointer allocate() { in allocate() function
362 pointer allocate(size_type pNumOfElements, const void* = 0)
420 DataType* allocate(size_type pNumOfElements, const void* = 0) {
425 pointer allocate(size_type pNumOfElements, const void* = 0) {
DUniqueGCFactory.h66 DataType* data = Alloc::allocate(); in produce()
79 DataType* data = Alloc::allocate(); in produce()
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
DBufferPool.java48 return ByteBuffer.allocate(chooseCapacity(mInitialBufferSize, needed)); in acquire()
72 buffer = ByteBuffer.allocate(capacity); in grow()
/frameworks/compile/mclinker/lib/LD/
DRelocationFactory.cpp74 Relocation* result = allocate(); in produce()
81 Relocation* result = allocate(); in produceEmptyEntry()
DSectionData.cpp35 SectionData* result = g_SectDataFactory->allocate(); in Create()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DNativeBuffer.java40 allocate(count * getElementSize()); in NativeBuffer()
126 private native boolean allocate(int size); in allocate() method in NativeBuffer
DNativeProgram.java38 allocate(); in NativeProgram()
155 private native boolean allocate(); in allocate() method in NativeProgram
DShaderProgram.java56 allocate(mGLEnvironment, null, fragmentShader); in ShaderProgram()
65 allocate(mGLEnvironment, vertexShader, fragmentShader); in ShaderProgram()
251 private native boolean allocate(GLEnvironment glEnv, in allocate() method in ShaderProgram
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DBackingStore.java267 backing.allocate(mType); in createBacking()
339 public abstract void allocate(FrameType frameType); in allocate() method in BackingStore.Backing
419 public void allocate(FrameType frameType) { in allocate() method in BackingStore.ObjectBacking
492 public void allocate(FrameType frameType) { in allocate() method in BackingStore.BitmapBacking
586 public void allocate(FrameType frameType) { in allocate() method in BackingStore.TextureBacking
678 mTexture.allocate(mDimensions[0], mDimensions[1]); in getTexture()
699 public void allocate(FrameType frameType) { in allocate() method in BackingStore.ByteBufferBacking
806 public void allocate(FrameType frameType) { in allocate() method in BackingStore.AllocationBacking
/frameworks/rs/cpu_ref/linkloader/include/impl/
DELFSectionNoBits.hxx33 if (!result->chunk.allocate(sh->getSize())) { in read()
/frameworks/base/docs/html/guide/topics/renderscript/
Dadvanced.jd94 and constructors that allow you to allocate and work with memory for pointers that are defined in
123 <code>struct</code>, which allows you to allocate memory for one or more instances of this
196 class represents an array of the <code>struct</code> and allows you to allocate memory for a
331 <p>The generated code is provided to you as a convenience to allocate memory for structs requested
336 <li>Overloaded constructors that allow you to allocate memory. The
338 you to define the number of structures that you want to allocate memory for with the
383 description is used to allocate memory consisting of one or many elements.</li>
441 that is allocated in the Android VM to the RenderScript runtime (you cannot allocate
453 requests but cannot explicitly allocate. The end result is essentially the same as if you had
461 allocate memory and offer similar functionality to a <code>malloc</code> call. These classes
[all …]
/frameworks/native/include/binder/
DMemoryDealer.h39 virtual sp<IMemory> allocate(size_t size);
/frameworks/base/core/java/android/ddm/
DDdmHandleHello.java129 ByteBuffer out = ByteBuffer.allocate(20 in handleHELO()
169 ByteBuffer out = ByteBuffer.allocate(size); in handleFEAT()
/frameworks/base/tests/SerialChat/src/com/android/serialchat/
DSerialChat.java65 mInputBuffer = ByteBuffer.allocate(1024); in onCreate()
66 mOutputBuffer = ByteBuffer.allocate(1024); in onCreate()
/frameworks/rs/cpu_ref/linkloader/include/
DMemChunk.h43 bool allocate(size_t size);

12345