Home
last modified time | relevance | path

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

1234

/frameworks/compile/mclinker/unittests/
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()
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()
/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.cpp53 MemoryArea* result = allocate(); in produce()
77 MemoryArea* result = allocate(); in produce()
100 MemoryArea* result = allocate(); in create()
111 MemoryArea* result = allocate(); in create()
DRegionFactory.cpp27 MemoryRegion* result = Alloc::allocate(); in produce()
/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()
DMCLinker.cpp103 LDSymbol* input_sym = m_LDSymbolFactory.allocate(); in addSymbolFromObject()
120 output_sym = m_LDSymbolFactory.allocate(); in addSymbolFromObject()
206 LDSymbol* input_sym = m_LDSymbolFactory.allocate(); in addSymbolFromDynObj()
261 output_sym = m_LDSymbolFactory.allocate(); in defineSymbolForcefully()
290 output_sym = m_LDSymbolFactory.allocate(); in defineSymbolForcefully()
346 output_sym = m_LDSymbolFactory.allocate(); in defineSymbolAsRefered()
381 output_sym = m_LDSymbolFactory.allocate(); in defineAndResolveSymbolForcefully()
559 sect_data = m_LDSectDataFactory.allocate(); in getOrCreateSectData()
DInputFactory.cpp29 mcld::Input* result = Alloc::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.h140 pointer allocate(size_type N) {
157 pointer allocate() {
348 pointer allocate(size_type pNumOfElements, const void* = 0)
406 DataType* allocate(size_type pNumOfElements, const void* = 0) {
411 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/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/compile/mclinker/include/mcld/MC/
DMCLDFile.h160 mcld::MCLDFile* result = Alloc::allocate(); in produce()
168 mcld::MCLDFile* result = Alloc::allocate(); in produce()
/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/base/core/java/android/ddm/
DDdmHandleHello.java123 ByteBuffer out = ByteBuffer.allocate(20 in handleHELO()
161 ByteBuffer out = ByteBuffer.allocate(size); in handleFEAT()
/frameworks/compile/linkloader/include/impl/
DELFSectionNoBits.hxx35 if (!result->chunk.allocate(sh->getSize())) { in read()
/frameworks/native/libs/binder/
DMemoryDealer.cpp132 size_t allocate(size_t size, uint32_t flags = 0);
239 sp<IMemory> MemoryDealer::allocate(size_t size) in allocate() function in android::MemoryDealer
242 const ssize_t offset = allocator()->allocate(size); in allocate()
293 size_t SimpleBestFitAllocator::allocate(size_t size, uint32_t flags) in allocate() function in android::SimpleBestFitAllocator
/frameworks/base/tests/SerialChat/src/com/android/serialchat/
DSerialChat.java65 mInputBuffer = ByteBuffer.allocate(1024); in onCreate()
66 mOutputBuffer = ByteBuffer.allocate(1024); in onCreate()
/frameworks/compile/linkloader/include/
DMemChunk.h33 bool allocate(size_t size);
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallerInfoAsyncQuery.java313 c.allocate(context, contactRef); in startQuery()
397 c.allocate(context, contactRef); in startQuery()
445 private void allocate(Context context, Uri contactRef) { in allocate() method in CallerInfoAsyncQuery
/frameworks/native/include/binder/
DMemoryDealer.h39 virtual sp<IMemory> allocate(size_t size);

1234