/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/base/services/tests/servicestests/src/com/android/server/integrity/parser/ |
D | RuleBinaryParserTest.java | 117 ByteBuffer.allocate(DEFAULT_FORMAT_VERSION_BYTES.length + ruleBytes.length); in testBinaryStream_validCompoundFormula_noIndexing() 156 ByteBuffer.allocate(DEFAULT_FORMAT_VERSION_BYTES.length + ruleBytes.length); in testBinaryString_validCompoundFormula_notConnector_noIndexing() 201 ByteBuffer.allocate(DEFAULT_FORMAT_VERSION_BYTES.length + ruleBytes.length); in testBinaryString_validCompoundFormula_andConnector_noIndexing() 249 ByteBuffer.allocate(DEFAULT_FORMAT_VERSION_BYTES.length + ruleBytes.length); in testBinaryString_validCompoundFormula_orConnector_noIndexing() 288 ByteBuffer.allocate(DEFAULT_FORMAT_VERSION_BYTES.length + ruleBytes.length); in testBinaryString_validAtomicFormula_stringValue_noIndexing() 320 ByteBuffer.allocate(DEFAULT_FORMAT_VERSION_BYTES.length + ruleBytes.length); in testBinaryString_validAtomicFormula_hashedValue_noIndexing() 352 ByteBuffer.allocate(DEFAULT_FORMAT_VERSION_BYTES.length + ruleBytes.length); in testBinaryString_validAtomicFormula_integerValue_noIndexing() 380 ByteBuffer.allocate(DEFAULT_FORMAT_VERSION_BYTES.length + ruleBytes.length); in testBinaryString_validAtomicFormula_booleanValue_noIndexing() 407 ByteBuffer.allocate(DEFAULT_FORMAT_VERSION_BYTES.length + ruleBytes.length); in testBinaryString_invalidAtomicFormula_noIndexing() 420 ByteBuffer rule = ByteBuffer.allocate(DEFAULT_FORMAT_VERSION_BYTES.length); in testBinaryString_withNoRuleList_noIndexing() [all …]
|
/frameworks/native/libs/ui/tests/ |
D | GraphicBufferAllocator_test.cpp | 53 allocate) in setUpAllocateExpectations() 73 status_t err = mAllocator.allocate(kTestWidth, kTestHeight, format, kTestLayerCount, kTestUsage, in TEST_F() 87 status_t err = mAllocator.allocate(kTestWidth, kTestHeight, format, kTestLayerCount, kTestUsage, in TEST_F() 111 status_t err = mAllocator.allocate(width, height, format, kTestLayerCount, kTestUsage, &handle, in TEST_F()
|
/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 | 251 allocate(mOffset + 1); in putInt8() 258 allocate(mOffset + 1); in putUInt8() 265 allocate(mOffset + 2); in putInt16() 273 allocate(mOffset + 2); in putUInt16() 281 allocate(mOffset + 4); in putInt32() 291 allocate(mOffset + 4); in putUInt32() 301 allocate(mOffset + 8); in putInt64() 315 allocate(mOffset + 8); in putUInt64() 461 allocate(length + MTP_CONTAINER_HEADER_SIZE); in writeData() 481 allocate(totalLength); in read() [all …]
|
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/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/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) {
|
/frameworks/base/services/core/java/com/android/server/ |
D | PersistentDataBlockService.java | 317 ByteBuffer buf = ByteBuffer.allocate(DIGEST_SIZE_BYTES); in computeAndWriteDigestLocked() 382 ByteBuffer buf = ByteBuffer.allocate(header_size); in formatPartitionLocked() 392 buf = ByteBuffer.allocate(payload_size in formatPartitionLocked() 402 buf = ByteBuffer.allocate(FRP_CREDENTIAL_RESERVED_SIZE); in formatPartitionLocked() 407 buf = ByteBuffer.allocate(FRP_CREDENTIAL_RESERVED_SIZE); in formatPartitionLocked() 428 ByteBuffer data = ByteBuffer.allocate(1); in doSetOemUnlockEnabledLocked() 499 ByteBuffer headerAndData = ByteBuffer.allocate( 708 writeDataBuffer(getTestHarnessModeDataOffset(), ByteBuffer.allocate(size)); 722 ByteBuffer dataBuffer = ByteBuffer.allocate(dataLength + 4);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | FakeGateKeeperService.java | 42 ByteBuffer buffer = ByteBuffer.allocate(handle.length); in VerifyHandle() 52 ByteBuffer buffer = ByteBuffer.allocate(1 + Long.BYTES + password.length); in toBytes() 70 ByteBuffer buffer = ByteBuffer.allocate(handle.length); in AuthToken() 79 ByteBuffer buffer = ByteBuffer.allocate(1 + Long.BYTES + Long.BYTES); in toBytes()
|
/frameworks/compile/mclinker/lib/LD/ |
D | RelocationFactory.cpp | 72 Relocation* result = allocate(); in produce() 78 Relocation* result = allocate(); in produceEmptyEntry()
|
/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/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
|
/frameworks/av/media/bufferpool/1.0/ |
D | Connection.cpp | 71 ResultStatus Connection::allocate( in allocate() function in android::hardware::media::bufferpool::V1_0::implementation::Connection 75 return mAccessor->allocate(mConnectionId, params, bufferId, handle); in allocate()
|
/frameworks/base/core/tests/privacytests/src/android/privacy/ |
D | RapporEncoderTest.java | 189 return ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN).putLong(value).array(); in toBytes() 193 ByteBuffer buffer = ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN).put(bytes); in toLong() 204 return ByteBuffer.allocate(48).put(digest).put(digest).put(digest).array(); in makeTestingUserSecret()
|
/frameworks/av/media/bufferpool/2.0/ |
D | Connection.cpp | 78 ResultStatus Connection::allocate( in allocate() function in android::hardware::media::bufferpool::V2_0::implementation::Connection 82 return mAccessor->allocate(mConnectionId, params, bufferId, handle); in allocate()
|
/frameworks/av/media/bufferpool/1.0/vts/ |
D | single.cpp | 103 status = mManager->allocate(mConnectionId, vecParams, &allocHandle, &buffer[i]); in TEST_F() 125 status = mManager->allocate(mConnectionId, vecParams, &allocHandle, &buffer); in TEST_F() 148 status = mManager->allocate(mConnectionId, vecParams, &allocHandle, &sbuffer); in TEST_F()
|
/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/core/java/android/util/ |
D | EventLog.java | 223 return ByteBuffer.allocate(1 + 4) in encodeObject() 229 return ByteBuffer.allocate(1 + 8) in encodeObject() 235 return ByteBuffer.allocate(1 + 4) in encodeObject() 248 return ByteBuffer.allocate(1 + 4 + bytes.length) in encodeObject() 265 ByteBuffer buffer = ByteBuffer.allocate(1 + 1 + totalLength) in encodeObject()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | VersionedPasswordMetrics.java | 53 final ByteBuffer buffer = ByteBuffer.allocate(Integer.BYTES * 11); in serialize() 70 final ByteBuffer buffer = ByteBuffer.allocate(data.length); in deserialize()
|