Home
last modified time | relevance | path

Searched refs:size_t (Results 1 – 25 of 1282) sorted by relevance

12345678910>>...52

/hardware/ril/libril/
Dril_service.h27 int token, RIL_Errno e, void *response, size_t responselen);
31 size_t responselen);
35 size_t responselen);
39 size_t responselen);
43 size_t responselen);
47 size_t responselen);
51 size_t responselen);
55 void *response, size_t responselen);
59 size_t responselen);
62 int responseType, int serial, RIL_Errno e, void *response, size_t responselen);
[all …]
/hardware/qcom/sdm845/media/libc2dcolorconvert/
DC2DColorConverter.h161 size_t mSrcWidth;
162 size_t mSrcHeight;
163 size_t mSrcStride;
164 size_t mDstWidth;
165 size_t mDstHeight;
166 size_t mSrcSize;
167 size_t mDstSize;
168 size_t mSrcYSize;
169 size_t mDstYSize;
185 bool isPropChanged(size_t srcWidth, size_t srcHeight, size_t dstWidth,
[all …]
/hardware/libhardware/tests/hardware/
Dstruct-size.cpp27 template<size_t> static constexpr size_t CheckSizeHelper(size_t, size_t) __attribute((unused));
29 template<> constexpr size_t CheckSizeHelper<4>(size_t size32, size_t /* size64 */) { in CheckSizeHelper() argument
33 template<> constexpr size_t CheckSizeHelper<8>(size_t /* size32 */, size_t size64) { in CheckSizeHelper() argument
37 template<typename T, size_t size32, size_t size64> static void CheckTypeSize() { in CheckTypeSize()
38 const size_t mySize = CheckSizeHelper<sizeof(void *)>(size32, size64); in CheckTypeSize()
/hardware/nxp/secure_element/libese-spi/p73/utils/
Dringbuffer.h33 ringbuffer_t* ringbuffer_init(const size_t size);
40 size_t ringbuffer_available(const ringbuffer_t* rb);
43 size_t ringbuffer_size(const ringbuffer_t* rb);
48 size_t ringbuffer_insert(ringbuffer_t* rb, const uint8_t* p, size_t length);
54 size_t ringbuffer_peek(const ringbuffer_t* rb, off_t offset, uint8_t* p,
55 size_t length);
58 size_t ringbuffer_pop(ringbuffer_t* rb, uint8_t* p, size_t length);
62 size_t ringbuffer_delete(ringbuffer_t* rb, size_t length);
Dringbuffer.cpp25 size_t total;
26 size_t available;
32 ringbuffer_t* ringbuffer_init(const size_t size) { in ringbuffer_init()
49 size_t ringbuffer_available(const ringbuffer_t* rb) { in ringbuffer_available()
54 size_t ringbuffer_size(const ringbuffer_t* rb) { in ringbuffer_size()
59 size_t ringbuffer_insert(ringbuffer_t* rb, const uint8_t* p, size_t length) { in ringbuffer_insert()
65 for (size_t i = 0; i != length; ++i) { in ringbuffer_insert()
74 size_t ringbuffer_delete(ringbuffer_t* rb, size_t length) { in ringbuffer_delete()
86 size_t ringbuffer_peek(const ringbuffer_t* rb, off_t offset, uint8_t* p, in ringbuffer_peek()
87 size_t length) { in ringbuffer_peek()
[all …]
/hardware/qcom/display/msm8084/libgralloc/
Dmemalloc.h46 size_t offset;
47 size_t size;
48 size_t align;
64 virtual int free_buffer(void *base, size_t size,
65 size_t offset, int fd) = 0;
68 virtual int map_buffer(void **pBase, size_t size,
69 size_t offset, int fd) = 0;
72 virtual int unmap_buffer(void *base, size_t size,
73 size_t offset) = 0;
76 virtual int clean_buffer(void *base, size_t size,
[all …]
Dionalloc.h44 virtual int free_buffer(void *base, size_t size,
45 size_t offset, int fd);
47 virtual int map_buffer(void **pBase, size_t size,
48 size_t offset, int fd);
50 virtual int unmap_buffer(void *base, size_t size,
51 size_t offset);
53 virtual int clean_buffer(void*base, size_t size,
54 size_t offset, int fd, int op);
/hardware/interfaces/bluetooth/1.0/default/
Dhci_internals.h31 const size_t HCI_COMMAND_PREAMBLE_SIZE = 3;
32 const size_t HCI_LENGTH_OFFSET_CMD = 2;
35 const size_t HCI_ACL_PREAMBLE_SIZE = 4;
36 const size_t HCI_LENGTH_OFFSET_ACL = 2;
39 const size_t HCI_SCO_PREAMBLE_SIZE = 3;
40 const size_t HCI_LENGTH_OFFSET_SCO = 2;
43 const size_t HCI_EVENT_PREAMBLE_SIZE = 2;
44 const size_t HCI_LENGTH_OFFSET_EVT = 1;
46 const size_t HCI_PREAMBLE_SIZE_MAX = HCI_ACL_PREAMBLE_SIZE;
/hardware/libhardware/include/hardware/
Dkeymaster0.h57 uint8_t** key_blob, size_t* key_blob_length);
68 const uint8_t* key, const size_t key_length,
69 uint8_t** key_blob, size_t* key_blob_length);
79 const uint8_t* key_blob, const size_t key_blob_length,
80 uint8_t** x509_data, size_t* x509_data_length);
91 const uint8_t* key_blob, const size_t key_blob_length);
112 const uint8_t* key_blob, const size_t key_blob_length,
113 const uint8_t* data, const size_t data_length,
114 uint8_t** signed_data, size_t* signed_data_length);
124 const uint8_t* key_blob, const size_t key_blob_length,
[all …]
Dkeymaster1.h57 const void* key_params, uint8_t** key_blob, size_t* key_blob_length);
67 const size_t key_length, uint8_t** key_blob, size_t* key_blob_length);
77 const size_t key_blob_length, uint8_t** x509_data,
78 size_t* x509_data_length);
89 const size_t key_blob_length);
109 const uint8_t* key_blob, const size_t key_blob_length, const uint8_t* data,
110 const size_t data_length, uint8_t** signed_data, size_t* signed_data_length);
119 const uint8_t* key_blob, const size_t key_blob_length,
120 const uint8_t* signed_data, const size_t signed_data_length,
121 const uint8_t* signature, const size_t signature_length);
[all …]
Dgps.h346 size_t size;
370 size_t size;
381 size_t size;
394 size_t size;
447 size_t size;
460 size_t size;
577 size_t size;
591 size_t size;
609 size_t size;
677 size_t size;
[all …]
/hardware/libhardware/modules/audio_remote_submix/tests/
Dremote_submix_tests.cpp68 void GenerateData(char* buffer, size_t bufferSize);
73 void ReadFromStream(audio_stream_in_t* streamIn, char* buffer, size_t bufferSize);
74 void VerifyBufferAllZeroes(char* buffer, size_t bufferSize);
75 void VerifyBufferNotZeroes(char* buffer, size_t bufferSize);
77 audio_stream_out_t* streamOut, size_t outBufferSize,
78 audio_stream_in_t* streamIn, size_t inBufferSize, size_t repeats);
79 void WriteIntoStream(audio_stream_out_t* streamOut, const char* buffer, size_t bufferSize);
80 void WriteSomethingIntoStream(audio_stream_out_t* streamOut, size_t bufferSize, size_t repeats);
100 void RemoteSubmixTest::GenerateData(char* buffer, size_t bufferSize) { in GenerateData()
101 for (size_t i = 0; i < bufferSize; ++i) { in GenerateData()
[all …]
/hardware/qcom/media/msm8974/libc2dcolorconvert/
DC2DColorConverter.cpp57 …(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConvertFormat srcForma…
66 void *getDummySurfaceDef(ColorConvertFormat format, size_t width, size_t height, bool isSource);
70 size_t calcStride(ColorConvertFormat format, size_t width);
71 size_t calcYSize(ColorConvertFormat format, size_t width, size_t height);
72 size_t calcSize(ColorConvertFormat format, size_t width, size_t height);
73 void *getMappedGPUAddr(int bufFD, void *bufPtr, size_t bufLen);
75 size_t calcLumaAlign(ColorConvertFormat format);
76 size_t calcSizeAlign(ColorConvertFormat format);
96 size_t mSrcWidth;
97 size_t mSrcHeight;
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DObd2SensorStore.cpp28 Obd2SensorStore::BitmaskInVector::BitmaskInVector(size_t numBits) { in BitmaskInVector()
32 void Obd2SensorStore::BitmaskInVector::resize(size_t numBits) { in resize()
36 void Obd2SensorStore::BitmaskInVector::set(size_t index, bool value) { in set()
37 const size_t byteIndex = index / 8; in set()
38 const size_t bitIndex = index % 8; in set()
44 bool Obd2SensorStore::BitmaskInVector::get(size_t index) const { in get()
45 const size_t byteIndex = index / 8; in get()
46 const size_t bitIndex = index % 8; in get()
55 Obd2SensorStore::Obd2SensorStore(size_t numVendorIntegerSensors, size_t numVendorFloatSensors) { in Obd2SensorStore()
57 const size_t numSystemIntegerSensors = in Obd2SensorStore()
[all …]
/hardware/qcom/sdm845/gps/sdm845/utils/
Dloc_gps.h533 size_t size;
559 size_t size;
570 size_t size;
583 size_t size;
636 size_t size;
649 size_t size;
765 size_t size;
779 size_t size;
797 size_t size;
865 size_t size;
[all …]
/hardware/qcom/gps/msm8909w_3100/utils/
Dloc_gps.h533 size_t size;
559 size_t size;
570 size_t size;
583 size_t size;
636 size_t size;
649 size_t size;
765 size_t size;
779 size_t size;
797 size_t size;
865 size_t size;
[all …]
/hardware/qcom/sdm845/gps/msm8998/utils/
Dloc_gps.h531 size_t size;
555 size_t size;
566 size_t size;
579 size_t size;
632 size_t size;
645 size_t size;
761 size_t size;
775 size_t size;
793 size_t size;
861 size_t size;
[all …]
/hardware/qcom/gps/msm8998/utils/
Dloc_gps.h531 size_t size;
555 size_t size;
566 size_t size;
579 size_t size;
632 size_t size;
645 size_t size;
761 size_t size;
775 size_t size;
793 size_t size;
861 size_t size;
[all …]
/hardware/interfaces/sensors/common/vts/utils/
DSensorsTestSharedMemory.cpp38 size_t SensorsTestSharedMemory::getSize() const { in getSize()
42 std::vector<Event> SensorsTestSharedMemory::parseEvents(int64_t lastCounter, size_t offset) const { in parseEvents()
43 constexpr size_t kEventSize = static_cast<size_t>(SensorsEventFormatOffset::TOTAL_LENGTH); in parseEvents()
44 constexpr size_t kOffsetSize = static_cast<size_t>(SensorsEventFormatOffset::SIZE_FIELD); in parseEvents()
45 constexpr size_t kOffsetToken = static_cast<size_t>(SensorsEventFormatOffset::REPORT_TOKEN); in parseEvents()
46 constexpr size_t kOffsetType = static_cast<size_t>(SensorsEventFormatOffset::SENSOR_TYPE); in parseEvents()
47 constexpr size_t kOffsetAtomicCounter = in parseEvents()
48 static_cast<size_t>(SensorsEventFormatOffset::ATOMIC_COUNTER); in parseEvents()
49 constexpr size_t kOffsetTimestamp = static_cast<size_t>(SensorsEventFormatOffset::TIMESTAMP); in parseEvents()
50 constexpr size_t kOffsetData = static_cast<size_t>(SensorsEventFormatOffset::DATA); in parseEvents()
[all …]
/hardware/qcom/sdm845/gps/msm8998/location/
DLocationAPI.h417 size_t size; // set to sizeof(Location)
433 size_t size; // set to sizeof(LocationOptions)
441 size_t size; // set to sizeof(GeofenceOption)
448 size_t size; // set to sizeof(GeofenceInfo)
455 size_t size; // set to sizeof(GeofenceBreachNotification)
456 size_t count; // number of ids in array
464 size_t size; // set to sizeof(GeofenceBreachNotification)
470 size_t size; // set to sizeof(GnssLocationInfo)
485 size_t size; // set to sizeof(GnssNiNotification)
498 size_t size; // set to sizeof(GnssSv)
[all …]
/hardware/qcom/gps/msm8998/location/
DLocationAPI.h418 size_t size; // set to sizeof(Location)
434 size_t size; // set to sizeof(LocationOptions)
442 size_t size; // set to sizeof(GeofenceOption)
449 size_t size; // set to sizeof(GeofenceInfo)
456 size_t size; // set to sizeof(GeofenceBreachNotification)
457 size_t count; // number of ids in array
465 size_t size; // set to sizeof(GeofenceBreachNotification)
471 size_t size; // set to sizeof(GnssLocationInfo)
486 size_t size; // set to sizeof(GnssNiNotification)
499 size_t size; // set to sizeof(GnssSv)
[all …]
/hardware/qcom/gps/msm8909w_3100/location/
DLocationAPI.h439 size_t size; // set to sizeof(Location)
455 size_t size; // set to sizeof(LocationOptions)
463 size_t size;
468 size_t size;
473 size_t size; // set to sizeof(GeofenceOption)
480 size_t size; // set to sizeof(GeofenceInfo)
487 size_t size; // set to sizeof(GeofenceBreachNotification)
488 size_t count; // number of ids in array
496 size_t size; // set to sizeof(GeofenceBreachNotification)
502 size_t size; // set to sizeof(GnssLocationInfo)
[all …]
/hardware/qcom/media/msm8996/libc2dcolorconvert/
DC2DColorConverter.cpp58 …(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConvertFormat srcForma…
67 void *getDummySurfaceDef(ColorConvertFormat format, size_t width, size_t height, bool isSource);
71 size_t calcStride(ColorConvertFormat format, size_t width);
72 size_t calcYSize(ColorConvertFormat format, size_t width, size_t height);
73 size_t calcSize(ColorConvertFormat format, size_t width, size_t height);
74 void *getMappedGPUAddr(int bufFD, void *bufPtr, size_t bufLen);
76 size_t calcLumaAlign(ColorConvertFormat format);
77 size_t calcSizeAlign(ColorConvertFormat format);
100 size_t mSrcWidth;
101 size_t mSrcHeight;
[all …]
/hardware/qcom/media/msm8998/libc2dcolorconvert/
DC2DColorConverter.cpp58 …(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConvertFormat srcForma…
67 void *getDummySurfaceDef(ColorConvertFormat format, size_t width, size_t height, bool isSource);
71 size_t calcStride(ColorConvertFormat format, size_t width);
72 size_t calcYSize(ColorConvertFormat format, size_t width, size_t height);
73 size_t calcSize(ColorConvertFormat format, size_t width, size_t height);
74 void *getMappedGPUAddr(int bufFD, void *bufPtr, size_t bufLen);
76 size_t calcLumaAlign(ColorConvertFormat format);
77 size_t calcSizeAlign(ColorConvertFormat format);
100 size_t mSrcWidth;
101 size_t mSrcHeight;
[all …]
/hardware/libhardware/modules/sensors/dynamic_sensor/
DRingBuffer.cpp24 RingBuffer::RingBuffer(size_t size) in RingBuffer()
36 ssize_t RingBuffer::write(const sensors_event_t *ev, size_t size) { in write()
39 size_t numAvailableToRead = mWritePos - mReadPos; in write()
40 size_t numAvailableToWrite = mSize - numAvailableToRead; in write()
46 size_t writePos = (mWritePos % mSize); in write()
47 size_t copy = mSize - writePos; in write()
68 ssize_t RingBuffer::read(sensors_event_t *ev, size_t size) { in read()
71 size_t numAvailableToRead; in read()
85 size_t readPos = (mReadPos % mSize); in read()
86 size_t copy = mSize - readPos; in read()

12345678910>>...52