/frameworks/compile/mclinker/unittests/ |
D | RTLinearAllocatorTest.cpp | 39 Data* pointer = m_pTestee->allocate(10); in TEST_F() 45 TEST_F(RTLinearAllocatorTest, allocate) { in TEST_F() argument 46 Data* pointer = m_pTestee->allocate(); in TEST_F() 53 Data* pointer = m_pTestee->allocate(CHUNK_SIZE + 1); in TEST_F() 60 Data* pointer = m_pTestee->allocate(); in TEST_F() 69 Data* pointer = m_pTestee->allocate(); in TEST_F() 80 Data* pointer = m_pTestee->allocate(10); in TEST_F() 89 Data* pointer = m_pTestee->allocate(10); in TEST_F() 101 Data* pointer = m_pTestee->allocate(); in TEST_F() 118 Data* pointer = m_pTestee->allocate(10); in TEST_F()
|
D | LinearAllocatorTest.cpp | 38 Data* pointer = m_pTestee->allocate(10); in TEST_F() 44 TEST_F(LinearAllocatorTest, allocate) { in TEST_F() argument 45 Data* pointer = m_pTestee->allocate(); in TEST_F() 52 Data* pointer = m_pTestee->allocate(CHUNK_SIZE + 1); in TEST_F() 59 Data* pointer = m_pTestee->allocate(); in TEST_F() 68 Data* pointer = m_pTestee->allocate(); in TEST_F() 79 Data* pointer = m_pTestee->allocate(10); in TEST_F() 88 Data* pointer = m_pTestee->allocate(10); in TEST_F() 100 Data* pointer = m_pTestee->allocate(); in TEST_F() 117 Data* pointer = m_pTestee->allocate(10); in TEST_F()
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | DiagGOTPLT.inc | 7 "fial to allocate memory for GOT", 8 "fial to allocate memory for GOT") 11 "fial to allocate memory for PLT", 12 "fial to allocate memory for PLT")
|
/frameworks/compile/mclinker/lib/Script/ |
D | Operand.cpp | 53 SymOperand* result = g_SymOperandFactory->allocate(); in create() 86 IntOperand* result = g_IntOperandFactory->allocate(); in create() 118 SectOperand* result = g_SectOperandFactory->allocate(); in create() 154 SectDescOperand* result = g_SectDescOperandFactory->allocate(); in create() 192 FragOperand* result = g_FragOperandFactory->allocate(); in create()
|
/frameworks/compile/mclinker/lib/Support/ |
D | MemoryAreaFactory.cpp | 29 MemoryArea* result = allocate(); in produce() 43 MemoryArea* result = allocate(); in produce() 56 MemoryArea* result = allocate(); in produce()
|
/frameworks/av/media/mtp/ |
D | MtpDataPacket.cpp | 228 allocate(mOffset + 1); in putInt8() 235 allocate(mOffset + 1); in putUInt8() 242 allocate(mOffset + 2); in putInt16() 250 allocate(mOffset + 2); in putUInt16() 258 allocate(mOffset + 4); in putInt32() 268 allocate(mOffset + 4); in putUInt32() 278 allocate(mOffset + 8); in putInt64() 292 allocate(mOffset + 8); in putUInt64() 438 allocate(length + MTP_CONTAINER_HEADER_SIZE); in writeData() 458 allocate(totalLength); in read()
|
D | MtpPacket.cpp | 50 allocate(MTP_CONTAINER_HEADER_SIZE); in reset() 55 void MtpPacket::allocate(size_t length) { in allocate() function in android::MtpPacket 89 allocate(length); in copyFrom()
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/ |
D | ObexAppParameters.java | 104 byte[] bval = ByteBuffer.allocate(1).put(val).array(); in add() 109 byte[] bval = ByteBuffer.allocate(2).putShort(val).array(); in add() 114 byte[] bval = ByteBuffer.allocate(4).putInt(val).array(); in add() 119 byte[] bval = ByteBuffer.allocate(8).putLong(val).array(); in add()
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
D | Charsets.java | 53 CharBuffer cb = CharBuffer.allocate(length); in toAsciiBytes() 63 CharBuffer cb = CharBuffer.allocate(length); in toIsoLatin1Bytes() 73 CharBuffer cb = CharBuffer.allocate(length); in toUtf8Bytes()
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | GCFactory.h | 124 value_type* allocate(size_t N) { in allocate() function 125 value_type* result = Alloc::allocate(N); in allocate() 131 value_type* allocate() { in allocate() function 133 return Alloc::allocate(); in allocate()
|
D | Allocators.h | 139 pointer allocate(size_type N) { in allocate() function 156 pointer allocate() { in allocate() function 331 pointer allocate(size_type pNumOfElements, const void* = 0) { 379 DataType* allocate(size_type pNumOfElements, const void* = 0) { 384 pointer allocate(size_type pNumOfElements, const void* = 0) {
|
D | UniqueGCFactory.h | 60 DataType* data = Alloc::allocate(); in produce() 73 DataType* data = Alloc::allocate(); in produce()
|
/frameworks/compile/mclinker/lib/MC/ |
D | ContextFactory.cpp | 27 result = UniqueGCFactoryBase<sys::fs::Path, LDContext, 0>::allocate(); in produce() 39 LDContext* result = allocate(); in produce()
|
D | InputFactory.cpp | 37 Input* result = Alloc::allocate(); in produce() 46 Input* result = Alloc::allocate(); in produce()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/nan/ |
D | TlvBufferUtilsTest.java | 47 tlv11.allocate(15); in testTlvBuild() 58 tlv01.allocate(15); in testTlvBuild() 72 tlv22.allocate(18); in testTlvIterate() 105 tlv02.allocate(15); in testTlvIterate()
|
D | WifiNanHalTest.java | 118 tlvTx.allocate(150).putByte(0, (byte) 10).putInt(0, 100).putString(0, "some string") in testPublishUnsolicited() 122 tlvRx.allocate(150).putByte(0, (byte) 66).putInt(0, 127).putString(0, "some other string") in testPublishUnsolicited() 139 tlvTx.allocate(150).putByte(0, (byte) 10).putInt(0, 100).putString(0, "some string") in testPublishSolicited() 143 tlvRx.allocate(150).putByte(0, (byte) 66).putInt(0, 127).putString(0, "some other string") in testPublishSolicited() 174 tlvTx.allocate(150).putByte(0, (byte) 10).putInt(0, 100).putString(0, "some string") in testSubscribePassive() 178 tlvRx.allocate(150).putByte(0, (byte) 66).putInt(0, 127).putString(0, "some other string") in testSubscribePassive() 195 tlvTx.allocate(150).putByte(0, (byte) 10).putInt(0, 100).putString(0, "some string") in testSubscribeActive() 199 tlvRx.allocate(150).putByte(0, (byte) 66).putInt(0, 127).putString(0, "some other string") in testSubscribeActive()
|
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
D | BufferPool.java | 48 return ByteBuffer.allocate(chooseCapacity(mInitialBufferSize, needed)); in acquire() 72 buffer = ByteBuffer.allocate(capacity); in grow()
|
/frameworks/compile/mclinker/lib/LD/ |
D | RelocationFactory.cpp | 72 Relocation* result = allocate(); in produce() 78 Relocation* result = allocate(); in produceEmptyEntry()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | BackingStore.java | 267 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/base/media/mca/filterfw/java/android/filterfw/core/ |
D | NativeBuffer.java | 40 allocate(count * getElementSize()); in NativeBuffer() 126 private native boolean allocate(int size); in allocate() method in NativeBuffer
|
D | NativeProgram.java | 38 allocate(); in NativeProgram() 155 private native boolean allocate(); in allocate() method in NativeProgram
|
D | ShaderProgram.java | 56 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/docs/html/guide/topics/renderscript/ |
D | advanced.jd | 94 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/libs/binder/ |
D | MemoryDealer.cpp | 132 size_t allocate(size_t size, uint32_t flags = 0); 241 sp<IMemory> MemoryDealer::allocate(size_t size) in allocate() function in android::MemoryDealer 244 const ssize_t offset = allocator()->allocate(size); in allocate() 301 size_t SimpleBestFitAllocator::allocate(size_t size, uint32_t flags) in allocate() function in android::SimpleBestFitAllocator
|
/frameworks/base/tests/SerialChat/src/com/android/serialchat/ |
D | SerialChat.java | 65 mInputBuffer = ByteBuffer.allocate(1024); in onCreate() 66 mOutputBuffer = ByteBuffer.allocate(1024); in onCreate()
|