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

/system/chre/util/include/chre/util/
H A Ddynamic_vector_impl.h35 mSize(other.mSize),
39 other.mSize = 0;
54 destroy(mData, mSize);
55 mSize = 0;
71 return mSize;
82 return (mSize == 0);
89 erase(mSize - 1);
97 new (&mData[mSize++]) ElementType(element);
107 new (&mData[mSize
126 CHRE_ASSERT(index < mSize); if (index >= mSize) argument
137 CHRE_ASSERT(index < mSize); if (index >= mSize) argument
[all...]
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 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(index < mSize); argument
71 CHRE_ASSERT(index < mSize);
95 if (mSize > 0) {
111 if (index >= mSize) {
122 // TODO: optimize by comparing headLength to mSize/
[all...]
H A Dfixed_size_vector.h197 size_t mSize = 0; member in class:chre::FixedSizeVector
H A Ddynamic_vector.h354 size_t mSize = 0; member in class:chre::DynamicVector
H A Darray_queue.h226 * mSize = (mTail - mHead)%kCapacity + 1 for mSize > 0.
235 size_t mSize = 0; member in class:chre::ArrayQueue
261 * Pulls mHead to the next element in the array queue and decrements mSize
267 * 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
206 hidl_memory() : mHandle(nullptr), mSize(0), mName("") {
217 mSize(size),
230 mSize = other.mSize;
246 mSize = other.mSize;
248 other.mSize = 0;
267 return mSize;
277 uint64_t mSize __attribute_ member in struct:android::hardware::hidl_memory
519 uint32_t mSize; member in namespace:android::hardware
[all...]
/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/
H A DDisk.h62 uint64_t getSize() { return mSize; }
97 uint64_t mSize; member in class:android::vold::Disk
H A DDisk.cpp115 mDevice(device), mSize(-1), mNickname(nickname), mFlags(flags), mCreated(
223 mSize = -1;
228 if (ioctl(fd, BLKGETSIZE64, &mSize)) {
229 mSize = -1;
284 notifyEvent(ResponseCode::DiskSizeChanged, StringPrintf("%" PRIu64, mSize));
508 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:__anon2487::ArrayEraser
H A DIKeystoreService.cpp42 KeystoreArg::KeystoreArg(const void* data, size_t len) : mData(data), mSize(len) {}
51 return mSize;
/system/netd/server/
H A DXfrmController.cpp293 mSize = max - min + 1;
294 mCount = mSize;
301 return (mNext++ % mSize) + mMin;
306 uint32_t mSize; member in class:android::net::__anon1944::RandomSpi
/system/security/keystore/include/keystore/
H A DIKeystoreService.h40 size_t mSize; member in class:android::KeystoreArg

Completed in 290 milliseconds