Searched refs:mSize (Results 1 - 22 of 22) sorted by relevance

/system/security/keystore/include/keystore/
H A DKeystoreArg.h28 KeystoreArg(const void* data, size_t len) : mData(data), mSize(len) {}
32 size_t size() const { return mSize; }
36 size_t mSize; member in class:android::security::KeystoreArg
/system/chre/util/include/chre/util/
H A Dfixed_size_vector_impl.h34 CHRE_ASSERT(mSize > 0);
35 return data()[mSize - 1];
40 CHRE_ASSERT(mSize > 0);
41 return data()[mSize - 1];
46 CHRE_ASSERT(mSize > 0);
52 CHRE_ASSERT(mSize > 0);
68 return mSize;
78 return (mSize == 0);
83 return (mSize == kCapacity);
91 new (&data()[mSize
107 CHRE_ASSERT(index < mSize); if (index >= mSize) argument
118 CHRE_ASSERT(index < mSize); if (index >= mSize) argument
[all...]
H A Ddynamic_vector_impl.h37 mSize(other.mSize),
41 other.mSize = 0;
63 mSize = other.mSize;
68 other.mSize = 0;
76 destroy(mData, mSize);
77 mSize = 0;
93 return mSize;
104 return (mSize
[all...]
H A Darray_queue_impl.h37 return (mSize == 0);
42 return (mSize == kCapacity);
47 return mSize;
52 CHRE_ASSERT(mSize > 0);
58 CHRE_ASSERT(mSize > 0);
64 CHRE_ASSERT(mSize > 0);
70 CHRE_ASSERT(mSize > 0);
76 CHRE_ASSERT(index < mSize);
83 CHRE_ASSERT(index < mSize);
107 if (mSize >
[all...]
H A Dfixed_size_vector.h197 size_t mSize = 0; member in class:chre::FixedSizeVector
H A Ddynamic_vector.h371 size_t mSize = 0; member in class:chre::DynamicVector
H A Darray_queue.h242 * mSize = (mTail - mHead)%kCapacity + 1 for mSize > 0.
251 size_t mSize = 0; member in class:chre::ArrayQueue
277 * Pulls mHead to the next element in the array queue and decrements mSize
283 * Pulls mTail to the previous element in the array queue and decrements mSize
289 * Pushes mTail to the next available storage space and increments mSize
/system/tools/hidl/
H A DHidlTypeAssertion.h39 size_t mSize; member in struct:android::HidlTypeAssertion
H A DHidlTypeAssertion.cpp33 : mSize(size) {
38 return mSize;
/system/core/libutils/
H A DSharedBuffer.cpp43 sb->mSize = size;
59 SharedBuffer* sb = alloc(mSize);
71 if (buf->mSize == newSize) return buf;
79 buf->mSize = newSize;
85 const size_t mySize = mSize;
H A DSharedBuffer.h104 size_t mSize; member in class:android::SharedBuffer
123 return mSize;
135 return data ? bufferFromData(data)->mSize : 0;
/system/libhidl/base/
H A DHidlSupport.cpp142 mSize(0),
209 return std::string(mBuffer, mSize);
228 mSize = static_cast<uint32_t>(size);
236 mSize = other.mSize;
249 mSize = 0;
260 mSize = static_cast<uint32_t>(size);
269 return mSize;
273 return mSize == 0;
/system/libhidl/base/include/hidl/
H A DHidlSupport.h165 uint32_t mSize; // NOT including the terminating '\0'. member in struct:android::hardware::hidl_string
207 hidl_memory() : mHandle(nullptr), mSize(0), mName("") {
215 : mHandle(std::move(handle)), mSize(size), mName(name) {}
225 mSize(size),
238 mSize = other.mSize;
254 mSize = other.mSize;
256 other.mSize = 0;
275 return mSize;
288 uint64_t mSize __attribute__ ((aligned(8))); member in struct:android::hardware::hidl_memory
557 uint32_t mSize; member in namespace:android::hardware
[all...]
/system/libhidl/libhidlcache/
H A DHidlMemoryCache.cpp64 : IMemoryDecorator(heap), mSize(size), mOffset(offset), mHeapSize(heap->getSize()) {}
66 return (start + length < mSize) && (start + length >= start) &&
67 (mOffset + mSize < mHeapSize);
85 Return<uint64_t> getSize() override { return mSize; }
92 uint64_t mSize; member in class:android::hardware::IMemoryBlock
/system/core/libpixelflinger/codeflinger/
H A DCodeCache.cpp102 : mCount(0), mSize(0)
108 mSize = size;
131 return mSize;
145 mSize = newSize;
H A DCodeCache.h75 size_t mSize; member in class:android::Assembly
/system/vold/model/
H A DDisk.h62 uint64_t getSize() { return mSize; }
94 uint64_t mSize; member in class:android::vold::Disk
H A DDisk.cpp119 mDevice(device), mSize(-1), mNickname(nickname), mFlags(flags), mCreated(
233 mSize = -1;
238 if (ioctl(fd, BLKGETSIZE64, &mSize)) {
239 mSize = -1;
302 mSize, mLabel, mSysPath); local
515 uint64_t splitMb = ((mSize / 100) * ratio) / 1024 / 1024;
/system/libhwbinder/
H A DTextOutput.cpp54 , mSize(size)
/system/libhwbinder/include/hwbinder/
H A DTextOutput.h115 size_t mSize; member in class:android::hardware::HexDump
196 inline size_t HexDump::size() const { return mSize; }
/system/security/keystore/
H A Dblob.cpp55 ArrayEraser(uint8_t* arr, size_t size) : mArr(arr), mSize(size) {}
56 OPTNONE ~ArrayEraser() { std::fill(mArr, mArr + mSize, 0); }
60 size_t mSize; member in class:__anon2578::ArrayEraser
/system/netd/server/
H A DXfrmController.cpp356 mSize = max - min + 1;
357 mCount = mSize;
364 return (mNext++ % mSize) + mMin;
369 uint32_t mSize; member in class:android::net::__anon2103::RandomSpi

Completed in 1813 milliseconds