Searched refs:size (Results 251 - 275 of 1405) sorted by relevance

<<11121314151617181920>>

/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/tangier/
H A DTngGrallocBufferMapper.h37 bool gttMap(void *vaddr, uint32_t size, uint32_t gttAlign, int *offset);
/hardware/interfaces/wifi/1.2/default/tests/
H A Dringbuffer_unit_tests.cpp45 ASSERT_EQ(2u, buffer_.getData().size());
57 ASSERT_EQ(2u, buffer_.getData().size());
69 ASSERT_EQ(1u, buffer_.getData().size());
90 ASSERT_EQ(1u, buffer_.getData().size());
/hardware/invensense/6515/libsensors_iio/
H A DMPLSupport.h23 int read_attribute_sensor(int fd, char* data, unsigned int size);
/hardware/libhardware/modules/usbcamera/
H A DCameraHAL.cpp72 ALOGV("%s: %zu", __func__, mCameras.size());
73 return static_cast<int>(mCameras.size());
79 if (id < 0 || id >= static_cast<int>(mCameras.size())) {
107 } else if (id < 0 || id >= static_cast<int>(mCameras.size())) {
/hardware/nxp/secure_element/libese-spi/p73/pal/
H A DphNxpEsePal.cpp227 * data in len size
243 * data in len size
260 * \param[in] size - number of bytes to be allocated
265 void* phPalEse_memalloc(uint32_t size) { return malloc(size); } argument
276 void* phPalEse_calloc(size_t datatype, size_t size) { argument
277 return calloc(datatype, size);
/hardware/nxp/secure_element/libese-spi/p73/utils/
H A Dringbuffer.h30 // Create a ringbuffer with the specified size
33 ringbuffer_t* ringbuffer_init(const size_t size);
39 // Returns remaining buffer size
42 // Returns size of data in buffer
/hardware/qcom/display/msm8084/libgralloc/
H A Dmapper.cpp65 size_t size = hnd->size; local
67 int err = memalloc->map_buffer(&mappedAddress, size,
78 size = ROUND_UP_PAGESIZE(sizeof(MetaData_t));
79 err = memalloc->map_buffer(&mappedAddress, size,
102 size_t size = hnd->size; local
105 err = memalloc->unmap_buffer(base, size, hnd->offset);
110 size = ROUND_UP_PAGESIZE(sizeof(MetaData_t));
111 err = memalloc->unmap_buffer(base, size, hn
310 size_t size = va_arg(args, size_t); local
[all...]
/hardware/qcom/display/msm8226/libgralloc/
H A Dmapper.cpp65 unsigned int size = hnd->size; local
67 int err = memalloc->map_buffer(&mappedAddress, size,
78 size = ROUND_UP_PAGESIZE(sizeof(MetaData_t));
79 err = memalloc->map_buffer(&mappedAddress, size,
102 unsigned int size = hnd->size; local
105 err = memalloc->unmap_buffer(base, size, hnd->offset);
110 size = ROUND_UP_PAGESIZE(sizeof(MetaData_t));
111 err = memalloc->unmap_buffer(base, size, hn
310 unsigned int size = va_arg(args, unsigned int); local
[all...]
/hardware/qcom/display/msm8960/libgralloc/
H A Dmapper.cpp64 size_t size = hnd->size; local
66 int err = memalloc->map_buffer(&mappedAddress, size,
77 size = ROUND_UP_PAGESIZE(sizeof(MetaData_t));
78 err = memalloc->map_buffer(&mappedAddress, size,
98 size_t size = hnd->size; local
101 err = memalloc->unmap_buffer(base, size, hnd->offset);
106 size = ROUND_UP_PAGESIZE(sizeof(MetaData_t));
107 err = memalloc->unmap_buffer(base, size, hn
340 size_t size = va_arg(args, size_t); local
[all...]
/hardware/qcom/display/msm8996/sdm/include/core/
H A Dbuffer_allocator.h65 uint32_t size = 0; //!< Specifies the size of the allocated buffer. member in struct:sdm::AllocatedBufferInfo
112 /*! @brief Method to get the buffer size.
114 @details This method returns buffer size for a specific configuration mentioned in buffer info.
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/common/inc/
H A Dvidc_vendor_extensions.h121 return (OMX_U32)mParams.size();
207 return index < mExt.size() ? mExt[index] : mInvalid;
209 OMX_U32 size() const { function in struct:VendorExtensionStore
210 return mExt.size();
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/common/inc/
H A Dvidc_vendor_extensions.h121 return (OMX_U32)mParams.size();
207 return index < mExt.size() ? mExt[index] : mInvalid;
209 OMX_U32 size() const { function in struct:VendorExtensionStore
210 return mExt.size();
/hardware/qcom/msm8994/kernel-headers/media/
H A Dmsm_vidc.h24 unsigned int size; member in struct:msm_vidc_extradata_header
54 unsigned int size; member in struct:msm_vidc_aspect_ratio_payload
74 unsigned int size; member in struct:msm_vidc_input_crop_payload
85 unsigned int size; member in struct:msm_vidc_digital_zoom_payload
/hardware/qcom/msm8994/original-kernel-headers/media/
H A Dmsm_vidc.h7 unsigned int size; member in struct:msm_vidc_extradata_header
31 unsigned int size; member in struct:msm_vidc_aspect_ratio_payload
47 unsigned int size; member in struct:msm_vidc_input_crop_payload
56 unsigned int size; member in struct:msm_vidc_digital_zoom_payload
/hardware/qcom/msm8x84/kernel-headers/media/
H A Dmsm_vidc.h24 unsigned int size; member in struct:msm_vidc_extradata_header
54 unsigned int size; member in struct:msm_vidc_aspect_ratio_payload
74 unsigned int size; member in struct:msm_vidc_input_crop_payload
85 unsigned int size; member in struct:msm_vidc_digital_zoom_payload
/hardware/qcom/msm8x84/original-kernel-headers/media/
H A Dmsm_vidc.h7 unsigned int size; member in struct:msm_vidc_extradata_header
31 unsigned int size; member in struct:msm_vidc_aspect_ratio_payload
47 unsigned int size; member in struct:msm_vidc_input_crop_payload
56 unsigned int size; member in struct:msm_vidc_digital_zoom_payload
/hardware/google/av/codec2/1.0/mts/component/
H A DMtsHalC2V1_0TargetComponentTest.cpp93 // Flushed output expected to be of 0 size, as no input has been fed
96 ASSERT_EQ(_flushedWorkBundle.works.size(), 0u)
98 ASSERT_EQ(_flushedWorkBundle.baseBlocks.size(), 0u);
133 ALOGE("TEMP - Params capacity - %zu", _p.size());
138 for (size_t i = 0; i < params.size(); i++) {
162 // Fileds size should match
163 ASSERT_EQ(inFields.size(), outFields.size());
183 ASSERT_EQ(_f.size(), 0u);
187 // Fileds size shoul
[all...]
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
H A DValidateRequest.cpp54 ASSERT_NE(0ul, supported.size());
119 vec->resize(vec->size() - 1);
126 const uint32_t index = vec->size();
135 for (size_t input = 0; input < request.inputs.size(); ++input) {
145 for (size_t output = 0; output < request.outputs.size(); ++output) {
170 if (inputs_info.size() <= static_cast<size_t>(index)) inputs_info.resize(index + 1);
192 if (outputs_info.size() <= static_cast<size_t>(index)) outputs_info.resize(index + 1);
210 if (pools[INPUT].size() == 0 || pools[OUTPUT].size() == 0) {
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
H A DValidateRequest.cpp54 ASSERT_NE(0ul, supported.size());
120 vec->resize(vec->size() - 1);
127 const uint32_t index = vec->size();
136 for (size_t input = 0; input < request.inputs.size(); ++input) {
146 for (size_t output = 0; output < request.outputs.size(); ++output) {
171 if (inputs_info.size() <= static_cast<size_t>(index)) inputs_info.resize(index + 1);
193 if (outputs_info.size() <= static_cast<size_t>(index)) outputs_info.resize(index + 1);
211 if (pools[INPUT].size() == 0 || pools[OUTPUT].size() == 0) {
/hardware/qcom/display/msm8909/gralloc/
H A Dgr_allocator.cpp116 int Allocator::MapBuffer(void **base, unsigned int size, unsigned int offset, int fd) { argument
118 return ion_allocator_->MapBuffer(base, size, offset, fd);
131 int Allocator::FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, argument
134 return ion_allocator_->FreeBuffer(base, size, offset, fd, handle);
140 int Allocator::CleanBuffer(void *base, unsigned int size, unsigned int offset, int handle, int op) { argument
142 return ion_allocator_->CleanBuffer(base, size, offset, handle, op);
171 // For same format type, find the descriptor with bigger size
173 unsigned int size = GetSize(GetBufferInfo(*descriptors[i]), alignedw, alignedh); local
174 if (max_size < size) {
176 max_size = size;
[all...]
/hardware/qcom/display/msm8909w_3100/libgralloc1/
H A Dgr_allocator.cpp116 int Allocator::MapBuffer(void **base, unsigned int size, unsigned int offset, int fd) { argument
118 return ion_allocator_->MapBuffer(base, size, offset, fd);
131 int Allocator::FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, argument
134 return ion_allocator_->FreeBuffer(base, size, offset, fd, handle);
140 int Allocator::CleanBuffer(void *base, unsigned int size, unsigned int offset, int handle, int op) { argument
142 return ion_allocator_->CleanBuffer(base, size, offset, handle, op);
171 // For same format type, find the descriptor with bigger size
173 unsigned int size = GetSize(GetBufferInfo(*descriptors[i]), alignedw, alignedh); local
174 if (max_size < size) {
176 max_size = size;
[all...]
/hardware/google/av/codec2/include/
H A DC2Buffer.h252 uint32_t size; member in struct:C2Segment
256 size(size_) {
260 return size == 0;
264 return offset <= ~size;
281 && offset + size >= other.offset + other.size;
289 return offset == other.offset && size == other.size;
315 return offset + size;
331 return C2Segment(offset, c2_min(size, ~offse
381 inline constexpr uint32_t size() const { return mSize; } function in class:_C2LinearRangeAspect
389 _C2LinearRangeAspect(uint32_t capacity_, size_t offset, size_t size) argument
411 _C2LinearRangeAspect(const _C2LinearCapacityAspect *parent, size_t offset, size_t size) argument
418 _C2LinearRangeAspect(const _C2LinearRangeAspect *parent, size_t offset, size_t size) argument
444 C2LinearRange(const _C2LinearCapacityAspect &parent, size_t offset, size_t size) argument
447 C2LinearRange(const _C2LinearRangeAspect &parent, size_t offset, size_t size) argument
509 setSize(uint32_t size) argument
536 setSize_be(uint32_t size) argument
[all...]
/hardware/google/av/codec2/hidl/1.0/utils/
H A Dtypes.cpp65 "DstVector's component size does not match Common");
67 "SrcVector's component size does not match Common");
68 d->resize(s.size());
71 reinterpret_cast<const Common*>(&s[0] + s.size()),
79 d->fieldId.size = static_cast<uint32_t>(_C2ParamInspector::GetSize(s));
90 static_cast<uint32_t>(s.fieldId.size)) {
145 d->values.resize(s.values.size());
290 d->aliases.resize(s.aliases.size());
291 for (size_t ix = s.aliases.size(); ix > 0; ) {
332 s.aliases.size());
1402 size_t size = blob.size(); local
1432 size_t size = 0; local
[all...]
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
H A DQCamera3Mem.cpp72 mMemInfo[i].size = 0;
131 cache_inv_data.length = (unsigned int)mMemInfo[index].size;
174 * DESCRIPTION: return buffer size of the indexed buffer
179 * RETURN : buffer size
193 return (ssize_t)mMemInfo[index].size;
238 bufDef.frame_len = mMemInfo[index].size;
294 * DESCRIPTION: impl of allocating one buffers of certain size
299 * @size : [input] lenght of the buffer to be allocated
306 unsigned int heap_id, size_t size, bool isCached)
319 allocData.len = size;
305 allocOneBuffer(QCamera3MemInfo &memInfo, unsigned int heap_id, size_t size, bool isCached) argument
563 allocate(size_t size) argument
622 allocateOne(size_t size, bool isCached) argument
[all...]
/hardware/interfaces/camera/common/1.0/default/
H A DVendorTagDescriptor.cpp38 size_t len = mReverseMapping.size();
61 size_t len = mReverseMapping.size();
67 len = src.mReverseMapping.size();
84 size_t size = mTagToNameMap.size(); local
85 if (size == 0) {
88 return size;
92 size_t size = mTagToNameMap.size(); local
93 for (size_t i = 0; i < size;
151 size_t size = mTagToNameMap.size(); local
[all...]

Completed in 727 milliseconds

<<11121314151617181920>>