Home
last modified time | relevance | path

Searched refs:capacity (Results 1 – 11 of 11) sorted by relevance

/device/generic/goldfish-opengl/android-emu/android/base/
Daddress_space.h57 int capacity; member
151 address_space_assert(allocator->capacity >= 1); in address_space_allocator_split_block()
153 address_space_assert(allocator->size <= allocator->capacity); in address_space_allocator_split_block()
158 if (allocator->size == allocator->capacity) { in address_space_allocator_split_block()
159 int new_capacity = address_space_allocator_grow_capacity(allocator->capacity); in address_space_allocator_split_block()
166 allocator->capacity = new_capacity; in address_space_allocator_split_block()
325 allocator->capacity = initial_capacity; in address_space_allocator_init()
336 address_space_assert(allocator->capacity >= allocator->size); in address_space_allocator_destroy()
DAndroidSubAllocator.cpp64 stream->putBe32(allocator->capacity); in save()
92 allocator->capacity = stream->getBe32(); in load()
/device/generic/goldfish-opengl/android-emu/android/base/containers/
DSmallVector.h105 size_type capacity() const { return mCapacity; } in capacity() function
141 if (newCap <= this->capacity()) { in reserve()
173 void init(iterator begin, iterator end, size_type capacity) { in init() argument
176 this->mCapacity = capacity; in init()
212 if (newSize > capacity()) { in grow_for_size()
213 set_capacity(std::max(newSize, capacity() + capacity() / 2)); in grow_for_size()
/device/generic/goldfish/audio/
Dring_buffer.h35 RingBuffer(size_t capacity);
37 size_t capacity() const { return mCapacity; } in capacity() function
Dring_buffer.cpp26 RingBuffer::RingBuffer(size_t capacity) in RingBuffer() argument
27 : mBuffer(new uint8_t[capacity]) in RingBuffer()
28 , mCapacity(capacity) {} in RingBuffer()
/device/generic/goldfish-opengl/android-emu/android/base/synchronization/
DAndroidMessageChannel.cpp21 MessageChannelBase::MessageChannelBase(size_t capacity) : mCapacity(capacity) {} in MessageChannelBase() argument
DAndroidMessageChannel.h46 MessageChannelBase(size_t capacity);
202 constexpr size_t capacity() const { return CAPACITY; } in capacity() function
/device/generic/goldfish/dhcp/common/include/
Dmessage.h66 size_t capacity() const { return sizeof(dhcpData); } in capacity() function
/device/generic/goldfish/dhcp/common/
Dsocket.cpp241 iov.iov_len = message->capacity(); in receiveFromInterface()
279 iov[2].iov_len = message->capacity(); in receiveRawUdp()
/device/google/contexthub/util/nanotool/
Dandroidcontexthub.cpp367 message.resize(message.capacity()); in ReadEventFromFd()
370 int ret = read(fd, message.data(), message.capacity()); in ReadEventFromFd()
/device/google/crosshatch/
Dinit.hardware.rc478 chown system system /sys/class/power_supply/wireless/capacity