Searched defs:size (Results 26 - 50 of 269) sorted by relevance

1234567891011

/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
H A Dml_stored_data.c56 // obtain file size
71 MPL_LOGE("bytes read (%d) don't match file size (%d)\n",
96 MPL_LOGI("cal data size to write = %d", len);
127 * size is 2777 bytes (header and checksum included).
166 * Test and its size is 36 bytes (header and checksum included).
250 size_t size; local
254 inv_get_mpl_state_size(&size);
256 MPL_LOGI("inv_get_mpl_state_size() : size=%d", size);
259 res = inv_save_mpl_states(calData, size);
[all...]
/hardware/libhardware/include/hardware/
H A Dbt_av.h53 size_t size; member in struct:__anon190
72 size_t size; member in struct:__anon191
H A Dbt_pan.h47 size_t size; member in struct:__anon240
52 /** set to size of this struct*/
53 size_t size; member in struct:__anon241
H A Dqemud.h132 int size, avail; local
139 if (sscanf(header, "%04x", &size) != 1) {
143 if (size > msgsize)
146 if (qemud_fd_read(fd, msg, size) != size) {
150 return size;
/hardware/libhardware/modules/gralloc/
H A Dmapper.cpp52 size_t size = hnd->size; local
53 void* mappedAddress = mmap(0, size,
60 //ALOGD("gralloc_map() succeeded fd=%d, off=%d, size=%d, vaddr=%p",
61 // hnd->fd, hnd->offset, hnd->size, mappedAddress);
73 size_t size = hnd->size; local
74 //ALOGD("unmapping from %p, size=%d", base, size);
75 if (munmap(base, size) <
[all...]
H A Dgralloc.cpp48 size_t size, int usage, buffer_handle_t* pHandle);
105 size_t size, int usage, buffer_handle_t* pHandle)
138 private_handle_t* hnd = new private_handle_t(dup(m->framebuffer->fd), size,
158 size_t size, int usage, buffer_handle_t* pHandle)
163 int err = gralloc_alloc_framebuffer_locked(dev, size, usage, pHandle);
169 size_t size, int usage, buffer_handle_t* pHandle)
174 size = roundUpToPageSize(size);
176 fd = ashmem_create_region("gralloc-buffer", size);
183 private_handle_t* hnd = new private_handle_t(fd, size,
104 gralloc_alloc_framebuffer_locked(alloc_device_t* dev, size_t size, int usage, buffer_handle_t* pHandle) argument
157 gralloc_alloc_framebuffer(alloc_device_t* dev, size_t size, int usage, buffer_handle_t* pHandle) argument
168 gralloc_alloc_buffer(alloc_device_t* dev, size_t size, int usage, buffer_handle_t* pHandle) argument
[all...]
H A Dgralloc_priv.h74 int size; member in struct:private_handle_t
86 private_handle_t(int fd, int size, int flags) : argument
87 fd(fd), magic(sMagic), flags(flags), size(size), offset(0),
/hardware/qcom/camera/QCamera2/HAL3/
H A DQCamera3Mem.h70 uint32_t size; member in struct:qcamera::QCamera3Memory::QCamera3MemInfo
88 int allocate(int count, int size, bool queueAll);
96 int alloc(int count, int size, int heap_id);
99 int allocOneBuffer(struct QCamera3MemInfo &memInfo, int heap_id, int size);
/hardware/qcom/display/msm8960/libgralloc/
H A Dionalloc.cpp74 ionAllocData.len = data.size;
114 clean_buffer(base, data.size, data.offset, fd_data.fd,
121 ALOGD_IF(DEBUG, "ion: Allocated buffer base:%p size:%d fd:%d",
127 int IonAlloc::free_buffer(void* base, size_t size, int offset, int fd) argument
130 ALOGD_IF(DEBUG, "ion: Freeing buffer base:%p size:%d fd:%d",
131 base, size, fd);
138 err = unmap_buffer(base, size, offset);
143 int IonAlloc::map_buffer(void **pBase, size_t size, int offset, int fd) argument
153 base = mmap(0, size, PROT_READ| PROT_WRITE,
161 ALOGD_IF(DEBUG, "ion: Mapped buffer base:%p size
167 unmap_buffer(void *base, size_t size, int offset) argument
179 clean_buffer(void *base, size_t size, int offset, int fd, int op) argument
[all...]
/hardware/qcom/display/msm8960/libmemtrack/
H A Dkgsl.c84 unsigned long size; local
93 * gpuaddr useraddr size id flags type usage sglen
97 &uaddr, &size, line_type);
129 accounted_size += size;
135 unaccounted_size += size;
138 unaccounted_size += size;
/hardware/qcom/display/msm8960/libqservice/
H A DIQService.cpp80 static void getProcName(int pid, char *buf, int size);
150 static void getProcName(int pid, char *buf, int size) { argument
152 snprintf(buf, size, "/proc/%d/cmdline", pid);
157 int len = read(fd, buf, size - 1);
/hardware/qcom/display/msm8974/libgralloc/
H A Dionalloc.cpp74 ionAllocData.len = data.size;
122 ALOGD_IF(DEBUG, "ion: Allocated buffer base:%p size:%d fd:%d",
128 int IonAlloc::free_buffer(void* base, size_t size, int offset, int fd) argument
131 ALOGD_IF(DEBUG, "ion: Freeing buffer base:%p size:%d fd:%d",
132 base, size, fd);
139 err = unmap_buffer(base, size, offset);
144 int IonAlloc::map_buffer(void **pBase, size_t size, int offset, int fd) argument
154 base = mmap(0, size, PROT_READ| PROT_WRITE,
162 ALOGD_IF(DEBUG, "ion: Mapped buffer base:%p size:%d offset:%d fd:%d",
163 base, size, offse
168 unmap_buffer(void *base, size_t size, int offset) argument
180 clean_buffer(void *base, size_t size, int offset, int fd, int op) argument
[all...]
/hardware/qcom/display/msm8974/libmemtrack/
H A Dkgsl.c84 unsigned long size; local
93 * gpuaddr useraddr size id flags type usage sglen
97 &uaddr, &size, line_type);
129 accounted_size += size;
135 unaccounted_size += size;
138 unaccounted_size += size;
/hardware/qcom/display/msm8974/libqservice/
H A DIQService.cpp80 static void getProcName(int pid, char *buf, int size);
150 static void getProcName(int pid, char *buf, int size) { argument
152 snprintf(buf, size, "/proc/%d/cmdline", pid);
157 int len = read(fd, buf, size - 1);
/hardware/qcom/display/msm8x26/libgralloc/
H A Dionalloc.cpp74 ionAllocData.len = data.size;
114 clean_buffer(base, data.size, data.offset, fd_data.fd,
121 ALOGD_IF(DEBUG, "ion: Allocated buffer base:%p size:%d fd:%d",
127 int IonAlloc::free_buffer(void* base, size_t size, int offset, int fd) argument
130 ALOGD_IF(DEBUG, "ion: Freeing buffer base:%p size:%d fd:%d",
131 base, size, fd);
138 err = unmap_buffer(base, size, offset);
143 int IonAlloc::map_buffer(void **pBase, size_t size, int offset, int fd) argument
153 base = mmap(0, size, PROT_READ| PROT_WRITE,
161 ALOGD_IF(DEBUG, "ion: Mapped buffer base:%p size
167 unmap_buffer(void *base, size_t size, int offset) argument
179 clean_buffer(void *base, size_t size, int offset, int fd, int op) argument
[all...]
/hardware/qcom/display/msm8x26/libqservice/
H A DIQService.cpp80 static void getProcName(int pid, char *buf, int size);
150 static void getProcName(int pid, char *buf, int size) { argument
152 snprintf(buf, size, "/proc/%d/cmdline", pid);
157 int len = read(fd, buf, size - 1);
/hardware/qcom/media/mm-video-legacy/vidc/venc/inc/
H A Domx_video_common.h71 unsigned size; member in struct:pmem
/hardware/qcom/media/mm-video-v4l2/vidc/venc/inc/
H A Domx_video_common.h69 unsigned size; member in struct:pmem
/hardware/samsung_slsi/exynos5/include/
H A DExynosBuffer.h79 //! Buffer size
83 } size; member in struct:ExynosBuffer
94 size. extS[i] = 0;
106 size. extS[i] = other->size.extS[i];
118 size. extS[i] = other.size.extS[i];
138 && size. extS[0] == other.size.extS[0]
139 && size
[all...]
/hardware/ti/omap4xxx/domx/mm_osal/src/
H A Dtimm_osal_memory.c116 TIMM_OSAL_PTR TIMM_OSAL_Malloc(TIMM_OSAL_U32 size, argument
126 pData = malloc((size_t) size);
129 pData = memalign((size_t) unBlockAlignment, (size_t) size);
138 pData = malloc((size_t) size); /*size_t is long long */
H A Dtimm_osal_pipes.c182 void *pMessage, TIMM_OSAL_U32 size, TIMM_OSAL_S32 timeout)
189 if (size == 0)
191 TIMM_OSAL_Error("0 size!!!");
195 lSizeWritten = write(pHandle->pfd[1], pMessage, size);
197 if (lSizeWritten != size)
204 /*Update message count and size */
206 pHandle->totalBytesInPipe += size;
225 void *pMessage, TIMM_OSAL_U32 size, TIMM_OSAL_S32 timeout)
236 if (size == 0)
242 lSizeWritten = write(pHandle->pfd[1], pMessage, size);
181 TIMM_OSAL_WriteToPipe(TIMM_OSAL_PTR pPipe, void *pMessage, TIMM_OSAL_U32 size, TIMM_OSAL_S32 timeout) argument
224 TIMM_OSAL_WriteToFrontOfPipe(TIMM_OSAL_PTR pPipe, void *pMessage, TIMM_OSAL_U32 size, TIMM_OSAL_S32 timeout) argument
304 TIMM_OSAL_ReadFromPipe(TIMM_OSAL_PTR pPipe, void *pMessage, TIMM_OSAL_U32 size, TIMM_OSAL_U32 * actualSize, TIMM_OSAL_S32 timeout) argument
[all...]
/hardware/ti/omap4xxx/libstagefrighthw/
H A DTIOMXPlugin.cpp98 size_t size,
105 return (*mComponentNameEnum)(name, size, index);
96 enumerateComponents( OMX_STRING name, size_t size, OMX_U32 index) argument
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
H A Dstorage_manager.c38 long size; member in struct:data_header_t
65 * @param[in] size The size in bytes of the amount of data you want loaded and saved.
71 inv_error_t (*save_func)(unsigned char *data), size_t size, unsigned int key)
86 ds.hd[ds.num].size = size;
89 ds.total_size += size + sizeof(struct data_header_t);
95 /** Returns the memory size needed to perform a store
96 * @param[out] size Size in bytes of memory needed to store.
99 inv_error_t inv_get_mpl_state_size(size_t *size) argument
70 inv_register_load_store(inv_error_t (load_func)const unsigned char *data), inv_error_t (*save_func)(unsigned char *data), size_t size, unsigned int key) argument
[all...]
/hardware/qcom/audio/legacy/alsa_sound/
H A DAudioUtil.cpp138 long size = ftell(fpaudiocaps); local
139 ALOGV("audiocaps size is %ld\n",size);
140 data = (unsigned char*) malloc(size);
144 fread(data, 1, size, fpaudiocaps);
218 long size = ftell(fpspkrfile); local
219 ALOGV("fpspkrfile size is %ld\n",size);
220 data = (unsigned char*)malloc(size);
224 fread(data,1,size,fpspkrfil
[all...]
/hardware/qcom/camera/QCamera2/HAL/
H A DQCameraMem.h55 virtual int allocate(int count, int size) = 0;
74 uint32_t size; member in struct:qcamera::QCameraMemory::QCameraMemInfo
77 int alloc(int count, int size, int heap_id);
79 int allocOneBuffer(struct QCameraMemInfo &memInfo, int heap_id, int size);
95 virtual int allocate(int count, int size);
114 virtual int allocate(int count, int size);
134 virtual int allocate(int count, int size);
155 virtual int allocate(int count, int size);

Completed in 1021 milliseconds

1234567891011