Home
last modified time | relevance | path

Searched refs:mSize (Results 1 – 25 of 34) sorted by relevance

12

/hardware/libhardware/modules/sensors/
DSensorEventQueue.cpp30 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()
DSensorEventQueue.h36 int mSize; // number of readable items variable
/hardware/libhardware/modules/sensors/dynamic_sensor/
DRingBuffer.cpp25 : 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()
DRingBuffer.h40 size_t mSize; variable
/hardware/qcom/gps/msm8998/utils/
DLocHeap.cpp35 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/
DLocHeap.cpp35 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/
DLocHeap.cpp35 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/
DLocHeap.cpp35 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/intel/img/hwcomposer/merrifield/ips/common/
DTTMBufferMapper.cpp29 mSize(0) in TTMBufferMapper()
75 mSize = 0; in map()
90 mSize = 0; in unmap()
DTTMBufferMapper.h41 return mSize; in getSize()
63 uint32_t mSize; variable
DGrallocBufferMapperBase.cpp32 mSize[i] = 0; in GrallocBufferMapperBase()
59 return mSize[subIndex]; in getSize()
DGrallocBufferMapperBase.h45 uint32_t mSize[SUB_BUFFER_MAX]; variable
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
DTTMBufferMapper.cpp29 mSize(0) in TTMBufferMapper()
75 mSize = 0; in map()
90 mSize = 0; in unmap()
DTTMBufferMapper.h41 return mSize; in getSize()
63 uint32_t mSize; variable
DGrallocBufferMapperBase.cpp32 mSize[i] = 0; in GrallocBufferMapperBase()
59 return mSize[subIndex]; in getSize()
DGrallocBufferMapperBase.h45 uint32_t mSize[SUB_BUFFER_MAX]; variable
/hardware/intel/common/libmix/videoencoder/
DIntelMetadataBuffer.cpp335 mSize = 0; in IntelMetadataBuffer()
349 mSize = 0; in IntelMetadataBuffer()
370 mExtraValues_Count(imb.mExtraValues_Count), mBytes(NULL), mSize(imb.mSize) in IntelMetadataBuffer()
386 mBytes = new uint8_t[mSize]; in IntelMetadataBuffer()
387 memcpy(mBytes, imb.mBytes, mSize); in IntelMetadataBuffer()
399 mSize = imb.mSize; in operator =()
415 mBytes = new uint8_t[mSize]; in operator =()
416 memcpy(mBytes, imb.mBytes, mSize); in operator =()
628 mSize = sizeof(mType) + sizeof(mValue); in Serialize()
631 mSize += sizeof(ValueInfo); in Serialize()
[all …]
/hardware/google/av/media/codecs/vpx/
DC2SoftVpxEnc.h272 DefineParam(mSize, C2_NAME_STREAM_VIDEO_SIZE_SETTING) in IntfImpl()
275 C2F(mSize, width).inRange(2, 2048, 2), in IntfImpl()
276 C2F(mSize, height).inRange(2, 2048, 2), in IntfImpl()
313 uint32_t getWidth() const { return mSize->width; } in getWidth()
314 uint32_t getHeight() const { return mSize->height; } in getHeight()
324 std::shared_ptr<C2VideoSizeStreamTuning::input> mSize; variable
DC2SoftVpxDec.cpp66 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()
157 std::shared_ptr<C2VideoSizeStreamInfo::output> mSize; member in android::C2SoftVpxDec::IntfImpl
/hardware/google/av/codec2/include/
DC2Buffer.h380 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()
421mSize(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/mpeg4_h263/
DC2SoftMpeg4Dec.cpp71 DefineParam(mSize, C2_PARAMKEY_PICTURE_SIZE) in IntfImpl()
75 C2F(mSize, width).inRange(16, 352, 2), in IntfImpl()
76 C2F(mSize, height).inRange(16, 288, 2), in IntfImpl()
78 C2F(mSize, width).inRange(16, 352, 16), in IntfImpl()
79 C2F(mSize, height).inRange(16, 288, 16), in IntfImpl()
100 .withSetter(ProfileLevelSetter, mSize) in IntfImpl()
118 .withSetter(ProfileLevelSetter, mSize) in IntfImpl()
172 std::shared_ptr<C2VideoSizeStreamInfo::output> mSize; member in android::C2SoftMpeg4Dec::IntfImpl
DC2SoftMpeg4Enc.cpp89 DefineParam(mSize, C2_NAME_STREAM_VIDEO_SIZE_SETTING) in IntfImpl()
92 C2F(mSize, width).inRange(16, 176, 16), in IntfImpl()
93 C2F(mSize, height).inRange(16, 144, 16), in IntfImpl()
130 uint32_t getWidth() const { return mSize->width; } in getWidth()
131 uint32_t getHeight() const { return mSize->height; } in getHeight()
141 std::shared_ptr<C2VideoSizeStreamTuning::input> mSize; member in android::C2SoftMpeg4Enc::IntfImpl
/hardware/interfaces/sensors/1.0/vts/functional/
DVtsHalSensorsV1_0TargetTest.cpp237 size_t mSize; member in SensorsTestSharedMemory
248 .size = static_cast<uint32_t>(mSize), in getSharedMemInfo()
272 while (offset + kEventSize <= mSize) { in parseEvents()
311 : mType(type), mSize(0), mBuffer(nullptr) { in SensorsTestSharedMemory()
371 mSize = size; in SensorsTestSharedMemory()
379 if (mSize != 0) { in ~SensorsTestSharedMemory()
380 ::munmap(mBuffer, mSize); in ~SensorsTestSharedMemory()
387 mSize = 0; in ~SensorsTestSharedMemory()
392 if (mSize != 0) { in ~SensorsTestSharedMemory()
397 mSize = 0; in ~SensorsTestSharedMemory()
[all …]
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/tangier/
DTngGrallocBufferMapper.cpp147 mSize[i] = size[i]; in map()
182 mSize[i] = 0; in unmap()
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/
DTngGrallocBufferMapper.cpp147 mSize[i] = size[i]; in map()
182 mSize[i] = 0; in unmap()

12