Home
last modified time | relevance | path

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

12345678910>>...26

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/
Dvpx_mem.h66 int vpx_mem_set_heap_size(size_t size);
68 void *vpx_memalign(size_t align, size_t size);
69 void *vpx_malloc(size_t size);
70 void *vpx_calloc(size_t num, size_t size);
71 void *vpx_realloc(void *memblk, size_t size);
74 void *vpx_memcpy(void *dest, const void *src, size_t length);
75 void *vpx_memset(void *dest, int val, size_t length);
76 void *vpx_memmove(void *dest, const void *src, size_t count);
79 void *vpx_mem_alloc(int id, size_t size, size_t align);
80 void vpx_mem_free(int id, void *mem, size_t size);
[all …]
Dvpx_mem.c44 static size_t g_mm_memory_size = TOTAL_MEMORY_TO_ALLOCATE;
50 static void *vpx_mm_realloc(void *memblk, size_t size);
87 int vpx_mem_set_heap_size(size_t size) { in vpx_mem_set_heap_size()
109 void *vpx_memalign(size_t align, size_t size) { in vpx_memalign()
131 ((size_t *)x)[-1] = (size_t)addr; in vpx_memalign()
137 void *vpx_malloc(size_t size) { in vpx_malloc()
141 void *vpx_calloc(size_t num, size_t size) { in vpx_calloc()
152 void *vpx_realloc(void *memblk, size_t size) { in vpx_realloc()
170 addr = (void *)(((size_t *)memblk)[-1]); in vpx_realloc()
181 new_addr = (void *)(((size_t) in vpx_realloc()
[all …]
/hardware/libhardware/tests/hardware/
Dstruct-size.cpp28 template<size_t> static constexpr size_t CheckSizeHelper(size_t, size_t);
30 template<> constexpr size_t CheckSizeHelper<4>(size_t size32, size_t size64) { in CheckSizeHelper()
34 template<> constexpr size_t CheckSizeHelper<8>(size_t size32, size_t size64) { in CheckSizeHelper()
38 template<typename T, size_t size32, size_t size64> static void CheckTypeSize() { in CheckTypeSize()
39 const size_t mySize = CheckSizeHelper<sizeof(void *)>(size32, size64); in CheckTypeSize()
/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/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/include/
Dvpx_mem_tracker.h27 size_t addr;
73 void vpx_memory_tracker_add(size_t addr, unsigned int size,
90 int vpx_memory_tracker_remove(size_t addr);
100 struct mem_block *vpx_memory_tracker_find(size_t addr);
150 typedef void *(* mem_track_malloc_func)(size_t);
151 typedef void *(* mem_track_calloc_func)(size_t, size_t);
152 typedef void *(* mem_track_realloc_func)(void *, size_t);
154 typedef void *(* mem_track_memcpy_func)(void *, const void *, size_t);
155 typedef void *(* mem_track_memset_func)(void *, int, size_t);
156 typedef void *(* mem_track_memmove_func)(void *, const void *, size_t);
/hardware/qcom/media/libc2dcolorconvert/
DC2DColorConverter.cpp54 …(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConvertFormat srcForma…
63 void *getDummySurfaceDef(ColorConvertFormat format, size_t width, size_t height, bool isSource);
67 size_t calcStride(ColorConvertFormat format, size_t width);
68 size_t calcYSize(ColorConvertFormat format, size_t width, size_t height);
69 size_t calcSize(ColorConvertFormat format, size_t width, size_t height);
70 void *getMappedGPUAddr(int bufFD, void *bufPtr, size_t bufLen);
72 size_t calcLumaAlign(ColorConvertFormat format);
73 size_t calcSizeAlign(ColorConvertFormat format);
93 size_t mSrcWidth;
94 size_t mSrcHeight;
[all …]
/hardware/libhardware/include/hardware/
Dgps.h428 size_t size;
451 size_t size;
458 size_t size;
472 size_t size;
566 size_t size;
582 size_t size;
643 size_t size;
656 size_t size;
662 size_t (*get_internal_state)(char* buffer, size_t bufferSize);
668 size_t size;
[all …]
Dkeymaster.h204 uint8_t** key_blob, size_t* key_blob_length);
215 const uint8_t* key, const size_t key_length,
216 uint8_t** key_blob, size_t* key_blob_length);
226 const uint8_t* key_blob, const size_t key_blob_length,
227 uint8_t** x509_data, size_t* x509_data_length);
238 const uint8_t* key_blob, const size_t key_blob_length);
259 const uint8_t* key_blob, const size_t key_blob_length,
260 const uint8_t* data, const size_t data_length,
261 uint8_t** signed_data, size_t* signed_data_length);
271 const uint8_t* key_blob, const size_t key_blob_length,
[all …]
/hardware/ti/omap4-aah/system-core-headers-ti/ion/
Dion.h31 int ion_alloc(int fd, size_t len, size_t align, unsigned int flags,
33 int ion_alloc_tiler(int fd, size_t w, size_t h, int fmt, unsigned int flags,
34 struct ion_handle **handle, size_t *stride);
37 int ion_map(int fd, struct ion_handle *handle, size_t length, int prot,
41 int ion_map_cacheable(int fd, struct ion_handle *handle, size_t length,
43 int ion_flush_cached(int fd, struct ion_handle *handle, size_t length,
45 int ion_inval_cached(int fd, struct ion_handle *handle, size_t length,
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/nestegg/halloc/
Dhalloc.h23 void * halloc (void * block, size_t len);
29 void * h_malloc (size_t len);
30 void * h_calloc (size_t n, size_t len);
31 void * h_realloc(void * p, size_t len);
38 typedef void * (* realloc_t)(void * ptr, size_t len);
/hardware/libhardware/tests/keymaster/
Dkeymaster_test.cpp44 UniqueBlob(size_t length) : in UniqueBlob()
48 UniqueBlob(uint8_t* bytes, size_t length) : in UniqueBlob()
60 for (size_t i = 0; i < mLength; i++) { in operator ==()
69 size_t length() const { in length()
76 size_t mLength;
80 const size_t length = blob.mLength; in operator <<()
84 for (size_t i = 0; i < length; i++) { in operator <<()
95 UniqueKey(keymaster_device_t** dev, uint8_t* bytes, size_t length) : in UniqueKey()
114 UniqueReadOnlyBlob(uint8_t* data, size_t dataSize) : in UniqueReadOnlyBlob()
152 size_t length() const { in length()
[all …]
/hardware/ti/omap4xxx/ion/
Dion.h26 int ion_alloc(int fd, size_t len, size_t align, unsigned int flags,
28 int ion_alloc_tiler(int fd, size_t w, size_t h, int fmt, unsigned int flags,
29 struct ion_handle **handle, size_t *stride);
31 int ion_map(int fd, struct ion_handle *handle, size_t length, int prot,
/hardware/ti/omap4-aah/ion/
Dion.h26 int ion_alloc(int fd, size_t len, size_t align, unsigned int flags,
28 int ion_alloc_tiler(int fd, size_t w, size_t h, int fmt, unsigned int flags,
29 struct ion_handle **handle, size_t *stride);
31 int ion_map(int fd, struct ion_handle *handle, size_t length, int prot,
/hardware/qcom/display/msm8960/libgralloc/
Dmemalloc.h47 size_t size;
48 size_t align;
64 virtual int free_buffer(void *base, size_t size,
68 virtual int map_buffer(void **pBase, size_t size,
72 virtual int unmap_buffer(void *base, size_t size,
76 virtual int clean_buffer(void *base, size_t size,
/hardware/qcom/display/msm8974/libgralloc/
Dmemalloc.h47 size_t size;
48 size_t align;
64 virtual int free_buffer(void *base, size_t size,
68 virtual int map_buffer(void **pBase, size_t size,
72 virtual int unmap_buffer(void *base, size_t size,
76 virtual int clean_buffer(void *base, size_t size,
/hardware/intel/common/libmix/videodecoder/
Duse_util_sse4.h20 inline void stream_memcpy(void* dst_buff, const void* src_buff, size_t size) in stream_memcpy()
22 bool isAligned = (((size_t)(src_buff) | (size_t)(dst_buff)) & 0xF) == 0; in stream_memcpy()
28 static const size_t regs_count = 8; in stream_memcpy()
33 size_t remain_data = size & (regs_count * sizeof(xmm_data0) - 1); in stream_memcpy()
34 size_t end_position = 0; in stream_memcpy()
73 for (size_t i = 0; i < end_position; ++i) in stream_memcpy()
87 for (size_t i = 0; i < remain_data; ++i) in stream_memcpy()
/hardware/qcom/msm8x84/kernel-headers/linux/
Dmsm_kgsl.h161 size_t gmem_sizebytes;
205 size_t size;
255 size_t sizedwords;
264 size_t sizebytes;
322 size_t len;
324 size_t offset;
439 size_t size;
446 size_t len;
457 size_t len;
477 size_t size;
[all …]
/hardware/qcom/msm8x84/original-kernel-headers/linux/
Dmsm_kgsl.h179 size_t gmem_sizebytes;
227 size_t size;
274 size_t sizedwords;
294 size_t sizebytes;
407 size_t len;
408 size_t offset;
554 size_t size;
563 size_t len;
581 size_t len; /* Size of the event specific blob */
636 size_t size;
[all …]
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
Dml_stored_data.h39 inv_error_t inv_read_cal(unsigned char **, size_t *);
40 inv_error_t inv_write_cal(unsigned char *cal, size_t len);
41 inv_error_t inv_load_cal_V0(unsigned char *calData, size_t len);
42 inv_error_t inv_load_cal_V1(unsigned char *calData, size_t len);
48 inv_error_t inv_store_cal(unsigned char *calData, size_t length);
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/linux/
Dml_stored_data.h39 inv_error_t inv_read_cal(unsigned char **, size_t *);
40 inv_error_t inv_write_cal(unsigned char *cal, size_t len);
41 inv_error_t inv_load_cal_V0(unsigned char *calData, size_t len);
42 inv_error_t inv_load_cal_V1(unsigned char *calData, size_t len);
48 inv_error_t inv_store_cal(unsigned char *calData, size_t length);
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
Dml_stored_data.h39 inv_error_t inv_read_cal(unsigned char **, size_t *);
40 inv_error_t inv_write_cal(unsigned char *cal, size_t len);
41 inv_error_t inv_load_cal_V0(unsigned char *calData, size_t len);
42 inv_error_t inv_load_cal_V1(unsigned char *calData, size_t len);
48 inv_error_t inv_store_cal(unsigned char *calData, size_t length);
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
DExynos_OSAL_ETC.c41 ssize_t getline(char **ppLine, size_t *pLen, FILE *pStream) in getline()
44 size_t const chunk = 512; in getline()
46 size_t defaultBufferSize = chunk + 1; in getline()
47 size_t retSize = 0; in getline()
69 size_t i; in getline()
70 size_t j = 0; in getline()
71 size_t readByte = 0; in getline()
131 OMX_PTR Exynos_OSAL_Strncpy(OMX_PTR dest, OMX_PTR src, size_t num) in Exynos_OSAL_Strncpy()
141 OMX_S32 Exynos_OSAL_Strncmp(OMX_PTR str1, OMX_PTR str2, size_t num) in Exynos_OSAL_Strncmp()
151 OMX_PTR Exynos_OSAL_Strncat(OMX_PTR dest, OMX_PTR src, size_t num) in Exynos_OSAL_Strncat()
[all …]
/hardware/ti/omap4xxx/camera/inc/OMXCameraAdapter/
DOMXCameraAdapter.h161 size_t width, height;
352 OMXCameraAdapter(size_t sensor_index);
405 …virtual status_t useBuffers(CameraMode mode, void* bufArr, int num, size_t length, unsigned int qu…
407 virtual status_t getFrameSize(size_t &width, size_t &height);
408 virtual status_t getPictureBufferSize(size_t &length, size_t bufferCount);
409 virtual status_t getFrameDataSize(size_t &dataFrameSize, size_t bufferCount);
471 status_t encodeFocusDistance(OMX_U32 dist, char *buffer, size_t length);
557 size_t previewWidth,
558 size_t previewHeight);
561 size_t previewWidth,
[all …]
/hardware/qcom/keymaster/
Dkeymaster_qcom.h108 size_t key_blob_len;
127 size_t pkcs8_key_len;
143 size_t key_blob_len;
164 size_t dlen;
179 size_t sig_len;
203 size_t signed_dlen;
205 size_t slen;

12345678910>>...26