Searched refs:allocate (Results 51 - 75 of 162) sorted by relevance

1234567

/frameworks/base/services/net/java/android/net/dhcp/
H A DDhcpNakPacket.java45 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH);
H A DDhcpRequestPacket.java47 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH);
H A DDhcpAckPacket.java57 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH);
H A DDhcpOfferPacket.java59 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH);
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DMockGateKeeperService.java42 ByteBuffer buffer = ByteBuffer.allocate(handle.length);
52 ByteBuffer buffer = ByteBuffer.allocate(1 + Long.BYTES + password.length);
70 ByteBuffer buffer = ByteBuffer.allocate(handle.length);
79 ByteBuffer buffer = ByteBuffer.allocate(1 + Long.BYTES + Long.BYTES);
/frameworks/compile/mclinker/include/mcld/ADT/
H A DTreeAllocator.h44 NodeType* result = Alloc::allocate();
/frameworks/compile/mclinker/include/mcld/Support/
H A DGCFactory.h124 value_type* allocate(size_t N) { function in class:mcld::GCFactoryBase
125 value_type* result = Alloc::allocate(N);
131 value_type* allocate() { function in class:mcld::GCFactoryBase
133 return Alloc::allocate();
H A DAllocators.h134 /// allocate - allocate N data in order.
135 // - Disallow to allocate a chunk whose size is bigger than a chunk.
139 pointer allocate(size_type N) { function in class:mcld::LinearAllocatorBase
155 /// allocate - clone function of allocating one datum.
156 pointer allocate() { function in class:mcld::LinearAllocatorBase
261 * deallocation. Interleaving 'allocate' and 'deallocate' increases the size
331 pointer allocate(size_type pNumOfElements, const void* = 0) { function in class:mcld::MallocAllocator
379 DataType* allocate(size_type pNumOfElements, const void* = 0) { function in class:mcld::MallocAllocator
384 pointer allocate(size_typ function in class:mcld::MallocAllocator
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DLDSymbol.cpp51 LDSymbol* result = g_LDSymbolFactory->allocate();
H A DELFSegment.cpp85 ELFSegment* seg = g_ELFSegmentFactory->allocate();
H A DLDSection.cpp72 LDSection* result = g_SectFactory->allocate();
/frameworks/compile/mclinker/lib/Script/
H A DWildcardPattern.cpp50 WildcardPattern* result = g_WildcardPatternFactory->allocate();
/frameworks/compile/mclinker/unittests/
H A DGCFactoryListTraitsTest.h59 Node* result = allocate();
/frameworks/native/include/ui/
H A DGraphicBufferAllocator.h51 status_t allocate(uint32_t w, uint32_t h, PixelFormat format,
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
H A DNAIRealmElementTest.java47 ByteBuffer buffer = ByteBuffer.allocate(dataLength + 2).order(ByteOrder.LITTLE_ENDIAN);
/frameworks/base/core/java/android/ddm/
H A DDdmHandleHello.java141 ByteBuffer out = ByteBuffer.allocate(28
190 ByteBuffer out = ByteBuffer.allocate(size);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DByteArrayHelpers.java167 ByteBuffer byteBuffer = ByteBuffer.allocate(numbers.length * (Double.SIZE / Byte.SIZE))
229 ByteBuffer byteBuffer = ByteBuffer.allocate(byteLength).order(ByteOrder.nativeOrder());
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DBackingStore.java267 backing.allocate(mType);
339 public abstract void allocate(FrameType frameType); method in class:BackingStore.Backing
406 throw new RuntimeException("Cannot allocate texture with non-RGBA data type!");
408 throw new RuntimeException("Cannot allocate non 2-dimensional texture!");
419 public void allocate(FrameType frameType) { method in class:BackingStore.ObjectBacking
492 public void allocate(FrameType frameType) { method in class:BackingStore.BitmapBacking
586 public void allocate(FrameType frameType) { method in class:BackingStore.TextureBacking
678 mTexture.allocate(mDimensions[0], mDimensions[1]);
699 public void allocate(FrameType frameType) { method in class:BackingStore.ByteBufferBacking
806 public void allocate(FrameTyp method in class:BackingStore.AllocationBacking
[all...]
H A DTextureSource.java63 public void allocate(int width, int height) { method in class:TextureSource
/frameworks/base/tests/SerialChat/src/com/android/serialchat/
H A DSerialChat.java65 mInputBuffer = ByteBuffer.allocate(1024);
66 mOutputBuffer = ByteBuffer.allocate(1024);
/frameworks/native/libs/ui/
H A DGraphicBufferAllocator.cpp95 status_t GraphicBufferAllocator::allocate(uint32_t width, uint32_t height, function in class:android::GraphicBufferAllocator
102 // make sure to not allocate a N x 0 or 0 x N buffer, since this is
103 // allowed from an API stand-point allocate a 1x1 buffer instead.
118 Gralloc2::Error error = mAllocator->allocate(info, stride, handle);
136 ALOGE("Failed to allocate (%u x %u) layerCount %u format %d "
/frameworks/av/include/media/stagefright/
H A DRemoteDataSource.h86 mMemory = memoryDealer->allocate(kBufferSize);
88 ALOGE("Failed to allocate memory!");
/frameworks/av/media/libstagefright/foundation/include/
H A DRemoteDataSource.h86 mMemory = memoryDealer->allocate(kBufferSize);
88 ALOGE("Failed to allocate memory!");
/frameworks/av/media/libstagefright/include/
H A DRemoteDataSource.h86 mMemory = memoryDealer->allocate(kBufferSize);
88 ALOGE("Failed to allocate memory!");
/frameworks/compile/mclinker/lib/Core/
H A DModule.cpp57 AliasList* result = gc_aliaslist_factory.allocate();

Completed in 9582 milliseconds

1234567