/device/generic/goldfish-opengl/android-emu/android/base/ |
D | StringView.h | 69 constexpr StringView() : mString(""), mSize(0U) {} in StringView() 72 mString(other.data()), mSize(other.size()) {} in StringView() 86 mString(buf), mSize(size - 1) {} in StringView() 93 mString(buf), mSize(strlen(buf)) {} in StringView() 108 mString(string ? string : ""), mSize(string ? strlen(string) : 0) {} in StringView() 111 mString(str.c_str()), mSize(str.size()) {} in StringView() 114 : mString(str ? str : ""), mSize(len) {} in StringView() 117 : mString(begin ? begin : ""), mSize(begin ? end - begin : 0) {} in StringView() 120 mString(""), mSize(0) {} in StringView() 122 std::string str() const { return std::string(mString, mString + mSize); } in str() [all …]
|
D | AlignedBuf.h | 41 AlignedBuf(const AlignedBuf& other) : AlignedBuf(other.mSize) { in AlignedBuf() 43 std::copy(other.mBuffer, other.mBuffer + other.mSize, mBuffer); in AlignedBuf() 59 mSize = other.mSize; 62 other.mSize = 0; 84 size_t size() const { return mSize; } in size() 93 return 0 == std::memcmp(mBuffer, other.mBuffer, sizeof(T) * std::min(mSize, other.mSize)); 101 size_t keepSize = std::min(newSize, mSize); in resizeImpl() 112 mSize = newSize; in resizeImpl() 142 size_t mSize = 0; variable
|
/device/google/contexthub/util/common/ |
D | ring.cpp | 26 : mSize(size), in RingBuffer() 27 mData((sensors_event_t *)malloc(sizeof(sensors_event_t) * mSize)), in RingBuffer() 41 size_t numAvailableToWrite = mSize - numAvailableToRead; in write() 47 size_t writePos = (mWritePos % mSize); in write() 48 size_t copy = mSize - writePos; in write() 86 size_t readPos = (mReadPos % mSize); in read() 87 size_t copy = mSize - readPos; in read() 105 : mData((sensors_event_t *)buf), mSize(size/sizeof(sensors_event_t)), in LockfreeBuffer() 111 memset(mData, 0, mSize*sizeof(sensors_event_t)); in ~LockfreeBuffer() 115 if (!mSize) { in write() [all …]
|
D | ring.h | 39 size_t mSize; member 54 size_t mSize; member
|
/device/generic/goldfish/wifi/ipv6proxy/ |
D | message.h | 21 size_t size() const { return mSize; } in size() 26 void setSize(size_t size) { mSize = size; } in setSize() 30 size_t mSize; variable
|
/device/generic/goldfish/dhcp/common/ |
D | message.h | 61 const uint8_t* end() const { return data() + mSize; } in end() 64 size_t size() const { return mSize; } in size() 65 void setSize(size_t size) { mSize = size; } in setSize() 127 size_t mSize; variable
|
D | message.cpp | 43 mSize = 0; in Message() 49 mSize = size; in Message() 52 mSize = 0; in Message() 312 mSize = optionsEnd - reinterpret_cast<uint8_t*>(&dhcpData); in updateSize()
|
/device/generic/opengl-transport/host/libs/virglrenderer/ |
D | ProtocolUtils.h | 153 mOrigBuff(ptr), mSize(size) { 175 memcpy(mOrigBuff, mPtr, mSize); 186 size_t mSize;
|
/device/google/contexthub/sensorhal/ |
D | directchannel.cpp | 54 mSize = mem->size; in AshmemDirectChannel() 62 mBuffer = std::unique_ptr<LockfreeBuffer>(new LockfreeBuffer(mBase, mSize)); in AshmemDirectChannel() 71 ::munmap(mBase, mSize); in ~AshmemDirectChannel() 303 mSize = mem->size; in GrallocDirectChannel() 304 mBuffer = std::make_unique<LockfreeBuffer>(mBase, mSize); in GrallocDirectChannel()
|
D | directchannel.h | 32 DirectChannelBase() : mError(NO_INIT), mSize(0), mBase(nullptr) { } in DirectChannelBase() 44 size_t mSize; variable
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiVfrCompile/ |
D | VfrFormPkg.cpp | 673 UINT8 mSize; member 817 mObjBinLen = (ObjBinLen == 0) ? gOpcodeSizesScopeTable[OpCode].mSize : ObjBinLen; in CIfrObj() 851 mHeader->Length = (Length == 0) ? gOpcodeSizesScopeTable[OpCode].mSize : Length; in CIfrOpHeader()
|
D | VfrUtilityLib.cpp | 559 UINT32 mSize; member 817 New->mTotalSize = gInternalTypesTable[Index].mSize; in InternalTypesListInit()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/ |
D | VfrFormPkg.cpp | 2237 UINT8 mSize; member 2390 mObjBinLen = (ObjBinLen == 0) ? gOpcodeSizesScopeTable[OpCode].mSize : ObjBinLen; in CIfrObj() 2426 mHeader->Length = (Length == 0) ? gOpcodeSizesScopeTable[OpCode].mSize : Length; in CIfrOpHeader()
|
D | VfrUtilityLib.cpp | 482 UINT32 mSize; member 780 New->mTotalSize = gInternalTypesTable[Index].mSize; in InternalTypesListInit()
|