/system/chre/util/include/chre/util/ |
D | fixed_size_vector_impl.h | 36 CHRE_ASSERT(mSize > 0); in back() 37 return data()[mSize - 1]; in back() 42 CHRE_ASSERT(mSize > 0); in back() 43 return data()[mSize - 1]; in back() 48 CHRE_ASSERT(mSize > 0); in front() 54 CHRE_ASSERT(mSize > 0); in front() 70 return mSize; in size() 80 return (mSize == 0); in empty() 85 return (mSize == kCapacity); in full() 93 new (&data()[mSize++]) ElementType(element); in push_back() [all …]
|
D | dynamic_vector_impl.h | 50 mSize = other.mSize; 54 other.mSize = 0; 63 destroy(data(), mSize); in clear() 64 mSize = 0; in clear() 80 return mSize; in size() 91 return (mSize == 0); in empty() 97 erase(mSize - 1); in pop_back() 117 new (&data()[mSize++]) ElementType(element); in doPushBack() 127 new (&data()[mSize++]) ElementType(std::move(element)); in push_back() 138 new (&data()[mSize++]) ElementType(std::forward<Args>(args)...); in emplace_back() [all …]
|
D | array_queue_impl.h | 35 return (mSize == 0); in empty() 40 return (mSize == kCapacity); in full() 45 return mSize; in size() 50 CHRE_ASSERT(mSize > 0); in front() 56 CHRE_ASSERT(mSize > 0); in front() 62 CHRE_ASSERT(mSize > 0); in back() 68 CHRE_ASSERT(mSize > 0); in back() 74 CHRE_ASSERT(index < mSize); 81 CHRE_ASSERT(index < mSize); 121 if (mSize > 0) { in pop() [all …]
|
D | buffer_base.h | 38 size_t mSize = 0; variable
|
D | dynamic_vector_base.h | 86 size_t mSize = 0; variable
|
D | buffer.h | 58 return mSize; in size()
|
D | fixed_size_vector.h | 205 size_t mSize = 0; variable
|
D | array_queue.h | 266 size_t mSize = 0; variable
|
/system/chre/util/ |
D | dynamic_vector_base.cc | 28 mSize(other.mSize), in DynamicVectorBase() 31 other.mSize = 0; in DynamicVectorBase() 40 memcpy(newData, mData, mSize * elementSize); in doReserve() 59 } else if (mSize == mCapacity) { in getNextGrowthCapacity() 69 mSize--; in doErase() 70 size_t moveAmount = (mSize - index) * elementSize; in doErase() 79 memcpy(static_cast<uint8_t *>(mData) + (mSize * elementSize), in doPushBack() 81 mSize++; in doPushBack()
|
D | buffer_base.cc | 34 mSize = size; in wrap() 50 mSize = size; in copy_array() 65 mSize = 0; in reset()
|
/system/core/libutils/ |
D | SharedBuffer.cpp | 43 sb->mSize = size; in alloc() 59 SharedBuffer* sb = alloc(mSize); in edit() 71 if (buf->mSize == newSize) return buf; in editResize() 79 buf->mSize = newSize; in editResize() 85 const size_t mySize = mSize; in editResize()
|
D | SharedBuffer.h | 104 size_t mSize; variable 123 return mSize; in size() 135 return data ? bufferFromData(data)->mSize : 0; in sizeFromData()
|
/system/libhidl/libhidlcache/ |
D | HidlMemoryCache.cpp | 65 : mHeap(heap), mSize(size), mOffset(offset), mHeapSize(heap->getSize()) {} in MemoryBlockImpl() 67 return (start + length <= mSize) && (start + length >= start) && in validRange() 68 (mOffset + mSize <= mHeapSize); in validRange() 84 Return<void> read() override { return this->readRange(0, mSize); } in read() 85 Return<void> update() override { return this->updateRange(0, mSize); } in update() 87 Return<uint64_t> getSize() override { return mSize; } in getSize() 95 uint64_t mSize; member in android::hardware::MemoryBlockImpl
|
/system/libhidl/base/include/hidl/ |
D | HidlSupport.h | 175 uint32_t mSize; // NOT including the terminating '\0'. member 217 hidl_memory() : mHandle(nullptr), mSize(0), mName("") { in hidl_memory() 225 : mHandle(std::move(handle)), mSize(size), mName(name) {} in hidl_memory() 235 mSize(size), in hidl_memory() 248 mSize = other.mSize; 264 mSize = other.mSize; 266 other.mSize = 0; 285 return mSize; in size() 298 uint64_t mSize __attribute__ ((aligned(8))); member 369 mSize = static_cast<uint32_t>(size); in hidl_vec() [all …]
|
/system/libhidl/base/ |
D | HidlSupport.cpp | 211 return std::string(mBuffer, mSize); in operator std::string() 230 mSize = static_cast<uint32_t>(size); in copyFrom() 238 mSize = other.mSize; in moveFrom() 251 mSize = 0; in clear() 270 mSize = static_cast<uint32_t>(size); in setToExternal() 279 return mSize; in size() 283 return mSize == 0; in empty()
|
/system/tools/hidl/ |
D | HidlTypeAssertion.cpp | 33 : mSize(size) { in HidlTypeAssertion() 38 return mSize; in size()
|
D | HidlTypeAssertion.h | 39 size_t mSize;
|
/system/core/libpixelflinger/codeflinger/ |
D | CodeCache.cpp | 106 : mCount(0), mSize(0) in Assembly() 112 mSize = size; in Assembly() 135 return mSize; in size() 149 mSize = newSize; in resize()
|
D | CodeCache.h | 75 size_t mSize; variable
|
/system/vold/model/ |
D | Disk.h | 62 uint64_t getSize() const { return mSize; } in getSize() 94 uint64_t mSize; variable
|
D | Disk.cpp | 126 mSize(-1), in Disk() 243 mSize = -1; in readMetadata() 246 if (GetBlockDevSize(mDevPath, &mSize) != OK) { in readMetadata() 247 mSize = -1; in readMetadata() 323 if (listener) listener->onDiskMetadataChanged(getId(), mSize, mLabel, mSysPath); in readMetadata() 536 uint64_t splitMb = ((mSize / 100) * ratio) / 1024 / 1024; in partitionMixed()
|
/system/libhwbinder/ |
D | TextOutput.cpp | 54 , mSize(size) in HexDump()
|
/system/libhwbinder/include/hwbinder/ |
D | TextOutput.h | 115 size_t mSize; variable 196 inline size_t HexDump::size() const { return mSize; } in size()
|
/system/security/keystore/ |
D | blob.cpp | 64 ArrayEraser(uint8_t* arr, size_t size) : mArr(arr), mSize(size) {} in ArrayEraser() 65 OPTNONE ~ArrayEraser() { std::fill(mArr, mArr + mSize, 0); } in ~ArrayEraser() 69 size_t mSize; member in __anon63e3c1780111::ArrayEraser
|
/system/netd/server/ |
D | XfrmController.cpp | 372 mSize = max - min + 1; in RandomSpi() 373 mCount = mSize; in RandomSpi() 380 return (mNext++ % mSize) + mMin; in next() 385 uint32_t mSize; member in android::net::__anona502a72e0111::RandomSpi
|