/hardware/libhardware/modules/sensors/ |
D | SensorEventQueue.cpp | 30 mSize = 0; in SensorEventQueue() 42 if (mSize == mCapacity || requestedLength <= 0) { in getWritableRegion() 47 int firstWritable = (mStart + mSize) % mCapacity; in getWritableRegion() 64 mSize += count; in markAsWritten() 68 return mSize; in getSize() 72 if (mSize == 0) return NULL; in peek() 77 if (mSize == 0) return; in dequeue() 78 if (mSize == mCapacity) { in dequeue() 81 mSize--; in dequeue() 88 while (mSize == mCapacity) { in waitForSpace()
|
D | SensorEventQueue.h | 36 int mSize; // number of readable items variable
|
/hardware/interfaces/sensors/common/vts/utils/ |
D | SensorsTestSharedMemory.cpp | 29 .size = static_cast<uint32_t>(mSize), in getSharedMemInfo() 39 return mSize; in getSize() 55 while (offset + kEventSize <= mSize) { in parseEvents() 97 : mType(type), mSize(0), mBuffer(nullptr) { in SensorsTestSharedMemory() 137 mSize = size; in SensorsTestSharedMemory() 145 if (mSize != 0) { in ~SensorsTestSharedMemory() 146 ::munmap(mBuffer, mSize); in ~SensorsTestSharedMemory() 153 mSize = 0; in ~SensorsTestSharedMemory() 158 if (mSize != 0) { in ~SensorsTestSharedMemory() 161 mSize = 0; in ~SensorsTestSharedMemory() [all …]
|
/hardware/libhardware/modules/sensors/dynamic_sensor/ |
D | RingBuffer.cpp | 25 : mSize(size), in RingBuffer() 26 mData((sensors_event_t *)malloc(sizeof(sensors_event_t) * mSize)), in RingBuffer() 40 size_t numAvailableToWrite = mSize - numAvailableToRead; in write() 46 size_t writePos = (mWritePos % mSize); in write() 47 size_t copy = mSize - writePos; in write() 85 size_t readPos = (mReadPos % mSize); in read() 86 size_t copy = mSize - readPos; in read()
|
D | RingBuffer.h | 40 size_t mSize; variable
|
/hardware/qcom/sdm845/gps/sdm845/utils/ |
D | LocHeap.cpp | 35 int mSize; member in LocHeapNode 41 mSize(1), mLeft(NULL), mRight(NULL), mData(&data) {} in LocHeapNode() 69 inline int getSize() { return mSize; } in getSize() 118 } else if (mLeft->mSize <= mRight->mSize) { in push() 123 mSize++; in push() 143 top->mSize--; in pop() 188 top->mSize--; in remove() 199 int totalSize = mSize; in checkNodes() 206 totalSize -= mLeft->mSize; in checkNodes() 215 totalSize -= mRight->mSize; in checkNodes()
|
/hardware/qcom/sdm845/gps/msm8996/utils/ |
D | LocHeap.cpp | 35 int mSize; member in LocHeapNode 41 mSize(1), mLeft(NULL), mRight(NULL), mData(&data) {} in LocHeapNode() 69 inline int getSize() { return mSize; } in getSize() 118 } else if (mLeft->mSize <= mRight->mSize) { in push() 123 mSize++; in push() 143 top->mSize--; in pop() 188 top->mSize--; in remove() 199 int totalSize = mSize; in checkNodes() 206 totalSize -= mLeft->mSize; in checkNodes() 215 totalSize -= mRight->mSize; in checkNodes()
|
/hardware/qcom/sm8150/gps/utils/ |
D | LocHeap.cpp | 35 int mSize; member in LocHeapNode 41 mSize(1), mLeft(NULL), mRight(NULL), mData(&data) {} in LocHeapNode() 69 inline int getSize() { return mSize; } in getSize() 118 } else if (mLeft->mSize <= mRight->mSize) { in push() 123 mSize++; in push() 143 top->mSize--; in pop() 188 top->mSize--; in remove() 199 int totalSize = mSize; in checkNodes() 206 totalSize -= mLeft->mSize; in checkNodes() 215 totalSize -= mRight->mSize; in checkNodes()
|
/hardware/qcom/gps/msm8996/utils/ |
D | LocHeap.cpp | 35 int mSize; member in LocHeapNode 41 mSize(1), mLeft(NULL), mRight(NULL), mData(&data) {} in LocHeapNode() 69 inline int getSize() { return mSize; } in getSize() 118 } else if (mLeft->mSize <= mRight->mSize) { in push() 123 mSize++; in push() 143 top->mSize--; in pop() 188 top->mSize--; in remove() 199 int totalSize = mSize; in checkNodes() 206 totalSize -= mLeft->mSize; in checkNodes() 215 totalSize -= mRight->mSize; in checkNodes()
|
/hardware/qcom/gps/msm8909w_3100/utils/ |
D | LocHeap.cpp | 35 int mSize; member in LocHeapNode 41 mSize(1), mLeft(NULL), mRight(NULL), mData(&data) {} in LocHeapNode() 69 inline int getSize() { return mSize; } in getSize() 118 } else if (mLeft->mSize <= mRight->mSize) { in push() 123 mSize++; in push() 143 top->mSize--; in pop() 188 top->mSize--; in remove() 199 int totalSize = mSize; in checkNodes() 206 totalSize -= mLeft->mSize; in checkNodes() 215 totalSize -= mRight->mSize; in checkNodes()
|
/hardware/qcom/sdm845/gps/msm8998/utils/ |
D | LocHeap.cpp | 35 int mSize; member in LocHeapNode 41 mSize(1), mLeft(NULL), mRight(NULL), mData(&data) {} in LocHeapNode() 69 inline int getSize() { return mSize; } in getSize() 118 } else if (mLeft->mSize <= mRight->mSize) { in push() 123 mSize++; in push() 143 top->mSize--; in pop() 188 top->mSize--; in remove() 199 int totalSize = mSize; in checkNodes() 206 totalSize -= mLeft->mSize; in checkNodes() 215 totalSize -= mRight->mSize; in checkNodes()
|
/hardware/qcom/gps/msm8998/utils/ |
D | LocHeap.cpp | 35 int mSize; member in LocHeapNode 41 mSize(1), mLeft(NULL), mRight(NULL), mData(&data) {} in LocHeapNode() 69 inline int getSize() { return mSize; } in getSize() 118 } else if (mLeft->mSize <= mRight->mSize) { in push() 123 mSize++; in push() 143 top->mSize--; in pop() 188 top->mSize--; in remove() 199 int totalSize = mSize; in checkNodes() 206 totalSize -= mLeft->mSize; in checkNodes() 215 totalSize -= mRight->mSize; in checkNodes()
|
/hardware/qcom/sdm845/gps/msm8909/utils/ |
D | LocHeap.cpp | 35 int mSize; member in LocHeapNode 41 mSize(1), mLeft(NULL), mRight(NULL), mData(&data) {} in LocHeapNode() 69 inline int getSize() { return mSize; } in getSize() 118 } else if (mLeft->mSize <= mRight->mSize) { in push() 123 mSize++; in push() 143 top->mSize--; in pop() 188 top->mSize--; in remove() 199 int totalSize = mSize; in checkNodes() 206 totalSize -= mLeft->mSize; in checkNodes() 215 totalSize -= mRight->mSize; in checkNodes()
|
/hardware/qcom/gps/msm8909/utils/ |
D | LocHeap.cpp | 35 int mSize; member in LocHeapNode 41 mSize(1), mLeft(NULL), mRight(NULL), mData(&data) {} in LocHeapNode() 69 inline int getSize() { return mSize; } in getSize() 118 } else if (mLeft->mSize <= mRight->mSize) { in push() 123 mSize++; in push() 143 top->mSize--; in pop() 188 top->mSize--; in remove() 199 int totalSize = mSize; in checkNodes() 206 totalSize -= mLeft->mSize; in checkNodes() 215 totalSize -= mRight->mSize; in checkNodes()
|
/hardware/google/av/media/codecs/mpeg4_h263/ |
D | C2SoftMpeg4Enc.cpp | 89 DefineParam(mSize, C2_NAME_STREAM_VIDEO_SIZE_SETTING) in IntfImpl() 93 C2F(mSize, width).inRange(16, 176, 16), in IntfImpl() 94 C2F(mSize, height).inRange(16, 144, 16), in IntfImpl() 96 C2F(mSize, width).oneOf({176, 352}), in IntfImpl() 97 C2F(mSize, height).oneOf({144, 288}), in IntfImpl() 208 std::shared_ptr<C2StreamPictureSizeInfo::input> getSize_l() const { return mSize; } in getSize_l() 225 std::shared_ptr<C2VideoSizeStreamTuning::input> mSize; member in android::C2SoftMpeg4Enc::IntfImpl 334 mEncParams->encWidth[0] = mSize->width; in initEncParams() 335 mEncParams->encHeight[0] = mSize->height; in initEncParams() 352 if (mSize->width % 16 != 0 || mSize->height % 16 != 0) { in initEncParams() [all …]
|
D | C2SoftMpeg4Dec.cpp | 71 DefineParam(mSize, C2_PARAMKEY_PICTURE_SIZE) in IntfImpl() 75 C2F(mSize, width).inRange(2, 1920, 2), in IntfImpl() 76 C2F(mSize, height).inRange(2, 1088, 2), in IntfImpl() 78 C2F(mSize, width).inRange(2, 352, 2), in IntfImpl() 79 C2F(mSize, height).inRange(2, 288, 2), in IntfImpl() 105 .withSetter(ProfileLevelSetter, mSize) in IntfImpl() 123 .withSetter(ProfileLevelSetter, mSize) in IntfImpl() 136 C2F(mSize, width).inRange(2, 1920, 2), in IntfImpl() 137 C2F(mSize, height).inRange(2, 1088, 2), in IntfImpl() 139 C2F(mSize, width).inRange(2, 352, 2), in IntfImpl() [all …]
|
D | C2SoftMpeg4Enc.h | 65 std::shared_ptr<C2StreamPictureSizeInfo::input> mSize; member
|
/hardware/interfaces/identity/support/src/ |
D | cppbor_parse.cpp | 114 IncompleteArray(size_t size) : mSize(size) {} in IncompleteArray() 117 size_t size() const override { return mSize; } in size() 120 mEntries.reserve(mSize); in add() 125 size_t mSize; member in cppbor::__anonb6f809bc0111::IncompleteArray 130 IncompleteMap(size_t size) : mSize(size) {} in IncompleteMap() 133 size_t size() const override { return mSize; } in size() 136 mEntries.reserve(mSize * 2); in add() 141 size_t mSize; member in cppbor::__anonb6f809bc0111::IncompleteMap
|
/hardware/google/av/codec2/include/ |
D | C2Buffer.h | 380 inline constexpr uint32_t endOffset() const { return mOffset + mSize; } in endOffset() 381 inline constexpr uint32_t size() const { return mSize; } in size() 384 return C2Segment(mOffset, mSize); in C2Segment() 392 mSize(c2_min(size, capacity() - mOffset)) { in _C2LinearRangeAspect() 400 mSize(other.size()) { in _C2LinearRangeAspect() 407 mSize(capacity()) { in _C2LinearRangeAspect() 414 mSize(c2_min(size, capacity() - mOffset)) { in _C2LinearRangeAspect() 421 … mSize(std::min(c2_min(size, parent == nullptr ? 0 : parent->size()), capacity() - mOffset)) { in _C2LinearRangeAspect() 427 mSize, in childRange() 429 c2_min(c2_min(size, mSize), capacity() - c2_min(c2_max(offset, mOffset), capacity()))); in childRange() [all …]
|
/hardware/google/av/media/codecs/vpx/ |
D | C2SoftVpxEnc.cpp | 120 mSize = mIntf->getSize_l(); in initEncoder() 157 mCodecConfiguration->g_w = mSize->width; in initEncoder() 158 mCodecConfiguration->g_h = mSize->height; in initEncoder() 314 uint32_t width = mSize->width; in initEncoder() 315 uint32_t height = mSize->height; in initEncoder() 458 if (inBuffer.width() != mSize->width || in process() 459 inBuffer.height() != mSize->height) { in process() 461 inBuffer.width(), mSize->width, inBuffer.height(), in process() 462 mSize->height); in process()
|
D | C2SoftVpxEnc.h | 215 std::shared_ptr<C2StreamPictureSizeInfo::input> mSize; member 266 DefineParam(mSize, C2_NAME_STREAM_VIDEO_SIZE_SETTING) in IntfImpl() 269 C2F(mSize, width).inRange(2, 2048, 2), in IntfImpl() 270 C2F(mSize, height).inRange(2, 2048, 2), in IntfImpl() 403 std::shared_ptr<C2StreamPictureSizeInfo::input> getSize_l() const { return mSize; } in getSize_l() 424 std::shared_ptr<C2VideoSizeStreamTuning::input> mSize; variable
|
D | C2SoftVpxDec.cpp | 66 DefineParam(mSize, C2_PARAMKEY_PICTURE_SIZE) in IntfImpl() 69 C2F(mSize, width).inRange(2, 2048, 2), in IntfImpl() 70 C2F(mSize, height).inRange(2, 2048, 2), in IntfImpl() 97 .withSetter(ProfileLevelSetter, mSize) in IntfImpl() 159 C2F(mSize, width).inRange(2, 2048, 2), in IntfImpl() 160 C2F(mSize, height).inRange(2, 2048, 2), in IntfImpl() 162 .withSetter(MaxPictureSizeSetter, mSize) in IntfImpl() 254 std::shared_ptr<C2StreamPictureSizeInfo::output> mSize; member in android::C2SoftVpxDec::IntfImpl
|
/hardware/google/av/media/codecs/avc/ |
D | C2SoftAvcEnc.cpp | 76 DefineParam(mSize, C2_NAME_STREAM_VIDEO_SIZE_SETTING) in IntfImpl() 79 C2F(mSize, width).inRange(2, 2560, 2), in IntfImpl() 80 C2F(mSize, height).inRange(2, 2560, 2), in IntfImpl() 140 .withSetter(ProfileLevelSetter, mSize, mFrameRate, mBitrate) in IntfImpl() 321 std::shared_ptr<C2StreamPictureSizeInfo::input> getSize_l() const { return mSize; } in getSize_l() 333 std::shared_ptr<C2VideoSizeStreamTuning::input> mSize; member in android::C2SoftAvcEnc::IntfImpl 450 s_dimensions_ip.u4_ht = mSize->height; in setDimensions() 451 s_dimensions_ip.u4_wd = mSize->width; in setDimensions() 846 mSize = mIntf->getSize_l(); in initEncoder() 854 uint32_t width = mSize->width; in initEncoder() [all …]
|
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/ |
D | SensorsTestSharedMemory.h | 45 size_t mSize; variable
|
/hardware/google/av/media/codecs/hevc/ |
D | C2SoftHevcDec.cpp | 62 DefineParam(mSize, C2_PARAMKEY_PICTURE_SIZE) in IntfImpl() 65 C2F(mSize, width).inRange(2, 4096, 2), in IntfImpl() 66 C2F(mSize, height).inRange(2, 4096, 2), in IntfImpl() 90 .withSetter(ProfileLevelSetter, mSize) in IntfImpl() 97 C2F(mSize, width).inRange(2, 4096, 2), in IntfImpl() 98 C2F(mSize, height).inRange(2, 4096, 2), in IntfImpl() 100 .withSetter(MaxPictureSizeSetter, mSize) in IntfImpl() 284 std::shared_ptr<C2StreamPictureSizeInfo::output> mSize; member in android::C2SoftHevcDec::IntfImpl
|