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

1234567

/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
H A DIPAddressTypeAvailabilityElementTest.java49 IPAddressTypeAvailabilityElement.parse(ByteBuffer.allocate(0));
60 ByteBuffer buffer = ByteBuffer.allocate(
65 IPAddressTypeAvailabilityElement.parse(ByteBuffer.allocate(0));
76 ByteBuffer buffer = ByteBuffer.allocate(
H A DHSWanMetricsElementTest.java49 ByteBuffer buffer = ByteBuffer.allocate(HSWanMetricsElement.EXPECTED_BUFFER_SIZE)
71 HSWanMetricsElement.parse(ByteBuffer.allocate(0));
82 ByteBuffer buffer = ByteBuffer.allocate(HSWanMetricsElement.EXPECTED_BUFFER_SIZE - 1);
96 ByteBuffer buffer = ByteBuffer.allocate(HSWanMetricsElement.EXPECTED_BUFFER_SIZE + 1);
H A DProtocolPortTupleTest.java47 ByteBuffer buffer = ByteBuffer.allocate(ProtocolPortTuple.RAW_BYTE_SIZE)
63 ProtocolPortTuple.parse(ByteBuffer.allocate(0));
74 ByteBuffer buffer = ByteBuffer.allocate(ProtocolPortTuple.RAW_BYTE_SIZE - 1);
H A DHSConnectionCapabilityElementTest.java61 ByteBuffer buffer = ByteBuffer.allocate(tuples.length * ProtocolPortTuple.RAW_BYTE_SIZE)
79 HSConnectionCapabilityElement.parse(ByteBuffer.allocate(0));
91 ByteBuffer buffer = ByteBuffer.allocate(ProtocolPortTuple.RAW_BYTE_SIZE - 1);
106 ByteBuffer buffer = ByteBuffer.allocate(ProtocolPortTuple.RAW_BYTE_SIZE + 1);
H A DHSFriendlyNameElementTest.java86 assertTrue(HSFriendlyNameElement.parse(ByteBuffer.allocate(0)).getNames().isEmpty());
99 ByteBuffer buffer = ByteBuffer.allocate(testData.length - 1);
114 ByteBuffer buffer = ByteBuffer.allocate(testData.length);
140 ByteBuffer buffer = ByteBuffer.allocate(testData.length);
164 ByteBuffer buffer = ByteBuffer.allocate(testData.length);
/frameworks/native/include/ui/
H A DGralloc2.h91 Error allocate(BufferDescriptor descriptor, uint32_t count,
94 Error allocate(BufferDescriptor descriptor, function in class:android::Gralloc2::Allocator
97 return allocate(descriptor, 1, outStride, outBufferHandle);
100 Error allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, uint32_t count, function in class:android::Gralloc2::Allocator
106 error = allocate(descriptor, count, outStride, outBufferHandles);
111 Error allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, function in class:android::Gralloc2::Allocator
114 return allocate(descriptorInfo, 1, outStride, outBufferHandle);
/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/av/services/oboeservice/
H A DAAudioMixer.h30 void allocate(int32_t samplesPerFrame, int32_t framesPerBurst);
H A DSharedRingBuffer.h44 aaudio_result_t allocate(android::fifo_frames_t bytesPerFrame, android::fifo_frames_t capacityInFrames);
/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();
/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/include/media/audiohal/
H A DEffectBufferHalInterface.h50 static status_t allocate(size_t size, sp<EffectBufferHalInterface>* buffer);
/frameworks/av/media/libaudiohal/include/
H A DEffectBufferHalInterface.h50 static status_t allocate(size_t size, sp<EffectBufferHalInterface>* buffer);
/frameworks/av/media/mtp/
H A DMtpPacket.h47 void allocate(size_t 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);

Completed in 376 milliseconds

1234567