Searched refs:allocate (Results 1 - 25 of 118) sorted by relevance

12345

/frameworks/compile/mclinker/unittests/
H A DLinearAllocatorTest.cpp38 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(1
[all...]
H A DRTLinearAllocatorTest.cpp39 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(1
[all...]
/frameworks/compile/mclinker/lib/MC/
H A DContextFactory.cpp27 result = UniqueGCFactoryBase<sys::fs::Path, LDContext, 0>::allocate();
39 LDContext* result = allocate();
H A DInputFactory.cpp37 Input* result = Alloc::allocate();
46 Input* result = Alloc::allocate();
/frameworks/compile/mclinker/lib/Support/
H A DMemoryAreaFactory.cpp29 MemoryArea* result = allocate();
43 MemoryArea* result = allocate();
56 MemoryArea* result = allocate();
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
H A DCharsets.java53 CharBuffer cb = CharBuffer.allocate(length);
63 CharBuffer cb = CharBuffer.allocate(length);
73 CharBuffer cb = CharBuffer.allocate(length);
/frameworks/compile/mclinker/lib/LD/
H A DSectionData.cpp32 SectionData* result = g_SectDataFactory->allocate();
H A DRelocationFactory.cpp72 Relocation* result = allocate();
78 Relocation* result = allocate();
H A DRelocData.cpp31 RelocData* result = g_RelocDataFactory->allocate();
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DNativeBuffer.java40 allocate(count * getElementSize());
50 throw new RuntimeException("Unable to allocate a copy of " + getClass() + "! Make " +
126 private native boolean allocate(int size); method in class:NativeBuffer
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
H A DBufferPool.java48 return ByteBuffer.allocate(chooseCapacity(mInitialBufferSize, needed));
72 buffer = ByteBuffer.allocate(capacity);
/frameworks/av/media/mtp/
H A DMtpPacket.h45 void allocate(size_t length);
H A DMtpPacket.cpp50 allocate(MTP_CONTAINER_HEADER_SIZE);
55 void MtpPacket::allocate(size_t length) { function in class:android::MtpPacket
89 allocate(length);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DOrderedDataOutputStream.java26 private final ByteBuffer mByteBuffer = ByteBuffer.allocate(4);
/frameworks/base/services/net/java/android/net/dhcp/
H A DDhcpDeclinePacket.java44 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH);
H A DDhcpDiscoverPacket.java43 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH);
H A DDhcpInformPacket.java44 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH);
/frameworks/compile/mclinker/lib/Script/
H A DFileToken.cpp34 FileToken* result = g_FileTokenFactory->allocate();
H A DNameSpec.cpp34 NameSpec* result = g_NameSpecFactory->allocate();
H A DStrToken.cpp34 StrToken* result = g_StrTokenFactory->allocate();
H A DStringList.cpp42 StringList* result = g_StringListFactory->allocate();
H A DOperand.cpp53 SymOperand* result = g_SymOperandFactory->allocate();
86 IntOperand* result = g_IntOperandFactory->allocate();
118 SectOperand* result = g_SectOperandFactory->allocate();
154 SectDescOperand* result = g_SectDescOperandFactory->allocate();
192 FragOperand* result = g_FragOperandFactory->allocate();
/frameworks/native/include/binder/
H A DMemoryDealer.h40 virtual sp<IMemory> allocate(size_t size);
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
H A DObexAppParameters.java104 byte[] bval = ByteBuffer.allocate(1).put(val).array();
109 byte[] bval = ByteBuffer.allocate(2).putShort(val).array();
114 byte[] bval = ByteBuffer.allocate(4).putInt(val).array();
119 byte[] bval = ByteBuffer.allocate(8).putLong(val).array();
/frameworks/compile/mclinker/include/mcld/Support/
H A DUniqueGCFactory.h60 DataType* data = Alloc::allocate();
73 DataType* data = Alloc::allocate();

Completed in 973 milliseconds

12345