/hardware/google/gfxstream/guest/mesa/src/util/ |
D | u_dynarray.h | 52 unsigned capacity; member 63 util_dynarray_init_from_stack(struct util_dynarray *buf, void *data, unsigned capacity) in util_dynarray_init_from_stack() argument 68 buf->capacity = capacity; in util_dynarray_init_from_stack() 96 if (newcap > buf->capacity) { in util_dynarray_ensure_cap() 97 unsigned capacity = MAX3(DYN_ARRAY_INITIAL_SIZE, buf->capacity * 2, newcap); in util_dynarray_ensure_cap() local 101 data = malloc(capacity); in util_dynarray_ensure_cap() 107 data = reralloc_size(buf->mem_ctx, buf->data, capacity); in util_dynarray_ensure_cap() 109 data = realloc(buf->data, capacity); in util_dynarray_ensure_cap() 115 buf->capacity = capacity; in util_dynarray_ensure_cap() 172 if (buf->size != buf->capacity) { in util_dynarray_trim() [all …]
|
D | string_buffer.c | 30 if (needed_capacity <= str->capacity) in ensure_capacity() 34 uint32_t new_capacity = str->capacity * 2; in ensure_capacity() 42 str->capacity = new_capacity; in ensure_capacity() 56 str->capacity = initial_capacity ? initial_capacity : 32; in _mesa_string_buffer_create() 57 str->buf = ralloc_array(str, char, str->capacity); in _mesa_string_buffer_create() 115 uint32_t space_left = str->capacity - str->length; in _mesa_string_buffer_vprintf()
|
D | string_buffer.h | 41 uint32_t capacity; member 84 str->capacity); in _mesa_string_buffer_crimp_to_fit() 88 str->capacity = str->length + 1; in _mesa_string_buffer_crimp_to_fit()
|
/hardware/google/aemu/base/include/aemu/base/testing/ |
D | TestInputBufferSocketServerThread.h | 79 size_t capacity = mString.size(); in main() local 80 if (size >= capacity) { in main() 81 mString.resize(1024 + capacity * 2); in main() 82 capacity = mString.size(); in main() 84 size_t avail = capacity - size; in main()
|
/hardware/interfaces/health/2.1/ |
D | types.hal | 27 * Battery capacity level. This enum provides additional information along side 28 * with the battery capacity. 30 * battery capacity. 34 * Battery capacity level is unsupported. 35 * Battery capacity level must be set to this value if and only if the 40 * Battery capacity level is unknown. 41 * Battery capacity level must be set to this value if and only if battery 42 * is not present or the battery capacity level is unknown/uninitialized. 85 * Battery capacity level. See BatteryCapacityLevel for more details. 99 * Estimated battery full charge design capacity (in microamp hours, uAh).
|
/hardware/google/aemu/base/include/aemu/base/ |
D | address_space.h | 57 int capacity; member 177 address_space_assert(allocator->capacity >= 1); in address_space_allocator_split_block() 179 address_space_assert(allocator->size <= allocator->capacity); in address_space_allocator_split_block() 184 if (allocator->size == allocator->capacity) { in address_space_allocator_split_block() 185 int new_capacity = address_space_allocator_grow_capacity(allocator->capacity); in address_space_allocator_split_block() 192 allocator->capacity = new_capacity; in address_space_allocator_split_block() 244 address_space_assert(allocator->capacity >= 1); in address_space_allocator_split_block_at_offset() 246 address_space_assert(allocator->size <= allocator->capacity); in address_space_allocator_split_block_at_offset() 265 if (allocator->size + new_block_index_offset >= allocator->capacity) { in address_space_allocator_split_block_at_offset() 266 …int new_capacity = address_space_allocator_grow_capacity(allocator->capacity + new_block_index_off… in address_space_allocator_split_block_at_offset() [all …]
|
/hardware/google/gfxstream/guest/android-emu/aemu/base/ |
D | address_space.h | 57 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()
|
/hardware/google/aemu/base/include/aemu/base/streams/ |
D | RingStreambuf.h | 54 RingStreambuf(uint32_t capacity, 75 size_t capacity() { return mRingbuffer.capacity() - 1; } in capacity() function
|
/hardware/google/aemu/base/include/aemu/base/containers/ |
D | CircularBuffer.h | 37 explicit CircularBuffer(int capacity) : in CircularBuffer() argument 38 mBuf(capacity), mSize(0), mFrontIdx(0), mBackIdx(0) { in CircularBuffer() 39 assert(capacity > 0); in CircularBuffer()
|
D | SmallVector.h | 105 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()
|
D | BufferQueue.h | 64 BufferQueue(int capacity, android::base::Lock& lock) in BufferQueue() argument 65 : mBuffers(capacity), mLock(lock) {} in BufferQueue() 251 mBuffers.resize(mBuffers.capacity()); in grow()
|
/hardware/interfaces/media/bufferpool/aidl/default/tests/ |
D | allocator.cpp | 23 uint32_t capacity; member 85 AllocationAshmem(int ashmemFd, size_t capacity, bool res) in AllocationAshmem() argument 86 : mHandle(ashmemFd, capacity), in AllocationAshmem() 151 AllocationAshmem::Alloc(ashmemParams.data.capacity)); in allocate() 157 *allocSize = ashmemParams.data.capacity; in allocate()
|
/hardware/google/gfxstream/guest/android-emu/aemu/base/containers/ |
D | SmallVector.h | 105 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()
|
/hardware/libhardware/modules/sensors/ |
D | SensorEventQueue.cpp | 26 SensorEventQueue::SensorEventQueue(int capacity) { in SensorEventQueue() argument 27 mCapacity = capacity; in SensorEventQueue()
|
D | SensorEventQueue.h | 41 explicit SensorEventQueue(int capacity);
|
/hardware/google/pixel/power-libperfmgr/aidl/ |
D | GpuCapacityNode.cpp | 79 bool GpuCapacityNode::set_gpu_capacity(Cycles capacity) const { in set_gpu_capacity() 81 auto const capacity_str = std::to_string(static_cast<int>(capacity)); in set_gpu_capacity() 82 ATRACE_INT("gpuCapacitySet", static_cast<int>(static_cast<int>(capacity))); in set_gpu_capacity()
|
D | UClampVoter.h | 95 std::chrono::nanoseconds durationNs, Cycles capacity) in GpuVote() 96 : VoteRange(active, startTime, durationNs), mCapacity(capacity) {} in GpuVote()
|
/hardware/google/aemu/base/ |
D | MessageChannel.cpp | 20 MessageChannelBase::MessageChannelBase(size_t capacity) : mCapacity(capacity) {} in MessageChannelBase() argument
|
/hardware/google/gfxstream/guest/android-emu/aemu/base/synchronization/ |
D | AndroidMessageChannel.cpp | 20 MessageChannelBase::MessageChannelBase(size_t capacity) : mCapacity(capacity) {} in MessageChannelBase() argument
|
D | AndroidMessageChannel.h | 45 MessageChannelBase(size_t capacity); 201 constexpr size_t capacity() const { return CAPACITY; } in capacity() function
|
/hardware/interfaces/automotive/evs/aidl/aidl_api/android.hardware.automotive.evs/2/android/hardware/automotive/evs/ |
D | Histogram.aidl | 40 int capacity;
|
/hardware/interfaces/automotive/evs/aidl/aidl_api/android.hardware.automotive.evs/current/android/hardware/automotive/evs/ |
D | Histogram.aidl | 40 int capacity;
|
/hardware/interfaces/automotive/evs/aidl/android/hardware/automotive/evs/ |
D | Histogram.aidl | 36 int capacity;
|
/hardware/interfaces/health/1.0/ |
D | types.hal | 78 * remaining capacity). 110 * batteryCapacityPath - file path to read remaining battery capacity. 190 /** Remaining battery capacity in percent */ 214 /** Instantaneous battery capacity in uA-h */
|
/hardware/interfaces/health/2.0/ |
D | IHealth.hal | 66 * Get battery capacity in microampere-hours(µAh). 72 * @return value battery capacity, or 0 if not successful. 109 * Get remaining battery capacity percentage of total capacity 116 * @return value remaining battery capacity, or 0 if not successful.
|