Home
last modified time | relevance | path

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

12345678910>>...43

/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/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/
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/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/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/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/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/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/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()
/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/interfaces/camera/common/1.0/default/include/
DCameraMetadata.h44 CameraMetadata(size_t entryCapacity, size_t dataCapacity = 10);
116 size_t entryCount() const;
134 const uint8_t *data, size_t data_count);
136 const int32_t *data, size_t data_count);
138 const float *data, size_t data_count);
140 const int64_t *data, size_t data_count);
142 const double *data, size_t data_count);
144 const camera_metadata_rational_t *data, size_t data_count);
214 status_t updateImpl(uint32_t tag, const void *data, size_t data_count);
219 status_t resizeIfNeeded(size_t extraEntries, size_t extraData);
/hardware/google/av/codec2/vndk/
DC2AllocatorIon.cpp35 constexpr size_t USAGE_LRU_CACHE_SIZE = 1024;
39 constexpr inline int size2intLo(size_t s) { in size2intLo()
43 constexpr inline int size2intHi(size_t s) { in size2intHi()
48 constexpr inline size_t ints2size(int intLo, int intHi) { in ints2size()
50 return size_t(unsigned(intLo)) | size_t(uint64_t(unsigned(intHi)) << 32); in ints2size()
69 C2HandleIon(int bufferFd, size_t size) in C2HandleIon()
77 size_t size() const { in size()
78 return size_t(unsigned(mInts.mSizeLo)) in size()
79 | size_t(uint64_t(unsigned(mInts.mSizeHi)) << 32); in size()
127 size_t offset, size_t size, C2MemoryUsage usage, C2Fence *fence,
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DObd2SensorStore.h37 Obd2SensorStore(size_t numVendorIntegerSensors, size_t numVendorFloatSensors);
42 StatusCode setIntegerSensor(size_t index, int32_t value);
47 StatusCode setFloatSensor(size_t index, float value);
62 BitmaskInVector(size_t numBits = 0);
63 void resize(size_t numBits);
64 bool get(size_t index) const;
65 void set(size_t index, bool value);
/hardware/qcom/camera/msm8998/QCamera2/HAL/test/
Dqcamera_test.h58 size_t Size;
99 size_t buffer_size, ReadMode_t ReadMode);
118 size_t calcBufferSize(int width, int height);
119 size_t calcStride(int width);
120 size_t calcYScanLines(int height);
121 size_t calcUVScanLines(int height);
162 size_t mSectionsRead;
163 size_t mSectionsAllocated;
180 size_t mCurrentPreviewSizeIdx;
182 size_t mCurrentPictureSizeIdx;
[all …]
/hardware/google/av/media/sfplugin/
DSkipCutBuffer.h36 SkipCutBuffer(size_t skip, size_t cut, size_t num16Channels);
45 size_t size(); // how many bytes are currently stored in the buffer
51 void write(const char *src, size_t num);
52 size_t read(char *dst, size_t num);
/hardware/google/av/codec2/vndk/bufferpool/
DAccessorImpl.h102 size_t mSizeCached;
104 size_t mBuffersCached;
106 size_t mSizeInUse;
108 size_t mBuffersInUse;
111 size_t mTotalAllocations;
114 size_t mTotalRecycles;
116 size_t mTotalTransfers;
118 size_t mTotalFetches;
125 void onBufferAllocated(size_t allocSize) { in onBufferAllocated()
136 void onBufferEvicted(size_t allocSize) { in onBufferEvicted()
[all …]

12345678910>>...43