/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-opengl/system/codecs/omx/common/ |
D | goldfish_media_utils.cpp | 93 uint64_t mSize; member in GoldfishMediaTransportImpl 132 mSize = kParamSizeBytes + kInputSizeBytes + kOutputSizeBytes; in GoldfishMediaTransportImpl() 133 bool success = goldfish_address_space_allocate(mHandle, mSize, &mPhysAddr, &mOffset); in GoldfishMediaTransportImpl() 135 ALOGI("successfully allocated %d bytes in goldfish_address_block", (int)mSize); in GoldfishMediaTransportImpl() 136 mStartPtr = goldfish_address_space_map(mHandle, mOffset, mSize); in GoldfishMediaTransportImpl() 150 ALOGE("failed to allocate %d bytes in goldfish_address_block", (int)mSize); in GoldfishMediaTransportImpl()
|
/device/generic/goldfish-opengl/system/codecs/c2/decoders/base/ |
D | goldfish_media_utils.cpp | 96 uint64_t mSize; member in GoldfishMediaTransportImpl 135 mSize = kParamSizeBytes + kInputSizeBytes + kOutputSizeBytes; in GoldfishMediaTransportImpl() 137 goldfish_address_space_allocate(mHandle, mSize, &mPhysAddr, &mOffset); in GoldfishMediaTransportImpl() 140 (int)mSize); in GoldfishMediaTransportImpl() 141 mStartPtr = goldfish_address_space_map(mHandle, mOffset, mSize); in GoldfishMediaTransportImpl() 156 (int)mSize); in GoldfishMediaTransportImpl()
|
/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/generic/goldfish/dhcp/common/include/ |
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
|
/device/generic/goldfish-opengl/system/codecs/c2/decoders/hevcdec/ |
D | C2GoldfishHevcDec.cpp | 97 DefineParam(mSize, C2_PARAMKEY_PICTURE_SIZE) in IntfImpl() 100 C2F(mSize, width).inRange(2, 4096, 2), in IntfImpl() 101 C2F(mSize, height).inRange(2, 4096, 2), in IntfImpl() 110 C2F(mSize, width).inRange(2, 4096, 2), in IntfImpl() 111 C2F(mSize, height).inRange(2, 4096, 2), in IntfImpl() 113 .withSetter(MaxPictureSizeSetter, mSize) in IntfImpl() 135 .withSetter(ProfileLevelSetter, mSize) in IntfImpl() 346 int width() const { return mSize->width; } in width() 348 int height() const { return mSize->height; } in height() 359 std::shared_ptr<C2StreamPictureSizeInfo::output> mSize; member in android::C2GoldfishHevcDec::IntfImpl
|
/device/generic/goldfish-opengl/system/codecs/c2/decoders/vpxdec/ |
D | C2GoldfishVpxDec.cpp | 89 DefineParam(mSize, C2_PARAMKEY_PICTURE_SIZE) in IntfImpl() 92 C2F(mSize, width).inRange(2, 4096, 2), in IntfImpl() 93 C2F(mSize, height).inRange(2, 4096, 2), in IntfImpl() 119 .withSetter(ProfileLevelSetter, mSize) in IntfImpl() 181 C2F(mSize, width).inRange(2, 4096, 2), in IntfImpl() 182 C2F(mSize, height).inRange(2, 4096, 2), in IntfImpl() 184 .withSetter(MaxPictureSizeSetter, mSize) in IntfImpl() 433 int width() const { return mSize->width; } in width() 435 int height() const { return mSize->height; } in height() 460 std::shared_ptr<C2StreamPictureSizeInfo::output> mSize; member in android::C2GoldfishVpxDec::IntfImpl
|
/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/generic/goldfish-opengl/system/codecs/c2/decoders/avcdec/ |
D | C2GoldfishAvcDec.cpp | 133 DefineParam(mSize, C2_PARAMKEY_PICTURE_SIZE) in IntfImpl() 136 C2F(mSize, width).inRange(2, 4096, 2), in IntfImpl() 137 C2F(mSize, height).inRange(2, 4096, 2), in IntfImpl() 146 C2F(mSize, width).inRange(2, 4096, 2), in IntfImpl() 147 C2F(mSize, height).inRange(2, 4096, 2), in IntfImpl() 149 .withSetter(MaxPictureSizeSetter, mSize) in IntfImpl() 176 .withSetter(ProfileLevelSetter, mSize) in IntfImpl() 396 int width() const { return mSize->width; } in width() 398 int height() const { return mSize->height; } in height() 408 std::shared_ptr<C2StreamPictureSizeInfo::output> mSize; member in android::C2GoldfishAvcDec::IntfImpl
|
/device/generic/goldfish/dhcp/common/ |
D | message.cpp | 41 mSize = 0; in Message() 47 mSize = size; in Message() 50 mSize = 0; in Message() 310 mSize = optionsEnd - reinterpret_cast<uint8_t*>(&dhcpData); in updateSize()
|