/hardware/msm7k/librpc/ |
H A D | ops.c | 28 int r_read(int handle, char *buf, uint32 size) argument 30 int rc = read((int) handle, (void *)buf, size); 46 int r_write (int handle, const char *buf, uint32 size) argument 48 int rc = write(handle, (void *)buf, size);
|
/hardware/ti/omap4xxx/camera/inc/OMXCameraAdapter/ |
H A D | OMXSceneModeTables.h | 45 const unsigned int size; member in struct:CameraToSensorModesLUTEntry
|
/hardware/invensense/mlsdk/platform/include/ |
H A D | mlos.h | 77 static inline void *kmalloc(size_t size, argument 80 return inv_malloc((unsigned int)size); 82 static inline void *kzalloc(size_t size, unsigned int gfp_flags) argument 84 void *tmp = inv_malloc((unsigned int)size); 86 memset(tmp, 0, size);
|
/hardware/msm7k/libstagefrighthw/ |
H A D | QComOMXPlugin.cpp | 91 size_t size, 97 return (*mComponentNameEnum)(name, size, index); 89 enumerateComponents( OMX_STRING name, size_t size, OMX_U32 index) argument
|
/hardware/ril/mock-ril/src/cpp/ |
H A D | util.cpp | 66 int size = end + 1; local 69 size += 1; 71 char *error_string = new char[size]; 74 error_string[size-1] = 0;
|
/hardware/ti/omap3/libstagefrighthw/ |
H A D | TIOMXPlugin.cpp | 91 size_t size, 97 return (*mComponentNameEnum)(name, size, index); 89 enumerateComponents( OMX_STRING name, size_t size, OMX_U32 index) argument
|
/hardware/libhardware/include/hardware/ |
H A D | qemud.h | 132 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 D | mapper.cpp | 52 size_t size = hnd->size; local 53 void* mappedAddress = mmap(0, size, 60 //LOGD("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 //LOGD("unmapping from %p, size=%d", base, size); 75 if (munmap(base, size) < [all...] |
H A D | gralloc.cpp | 48 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 D | gralloc_priv.h | 74 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/msm7k/libgralloc/ |
H A D | allocator.cpp | 30 SimpleBestFitAllocator::SimpleBestFitAllocator(size_t size) argument 33 setSize(size); 43 ssize_t SimpleBestFitAllocator::setSize(size_t size) argument 48 mHeapSize = ((size + pagesize-1) & ~(pagesize-1)); 51 return size; 55 size_t SimpleBestFitAllocator::size() const function in class:SimpleBestFitAllocator 60 ssize_t SimpleBestFitAllocator::allocate(size_t size, uint32_t flags) argument 64 ssize_t offset = alloc(size, flags); 79 ssize_t SimpleBestFitAllocator::alloc(size_t size, uint32_t flags) argument 81 if (size [all...] |
H A D | allocator.h | 99 SimpleBestFitAllocator(size_t size); 102 ssize_t setSize(size_t size); 104 ssize_t allocate(size_t size, uint32_t flags = 0); 106 size_t size() const; 110 chunk_t(size_t start, size_t size) argument 111 : start(start), size(size), free(1), prev(0), next(0) { 114 size_t size : 28; member in struct:SimpleBestFitAllocator::chunk_t 120 ssize_t alloc(size_t size, uint32_t flags);
|
H A D | mapper.cpp | 59 size_t size = hnd->size; local 61 size += hnd->offset; 63 void* mappedAddress = mmap(0, size, 72 //LOGD("gralloc_map() succeeded fd=%d, off=%d, size=%d, vaddr=%p", 73 // hnd->fd, hnd->offset, hnd->size, mappedAddress); 85 size_t size = hnd->size; local 88 size += hnd->offset; 90 //LOGD("unmapping from %p, size [all...] |
H A D | gralloc_priv.h | 80 int size; member in struct:private_handle_t 94 private_handle_t(int fd, int size, int flags) : argument 95 fd(fd), magic(sMagic), flags(flags), size(size), offset(0),
|
/hardware/msm7k/libgralloc-qsd8k/ |
H A D | allocator.cpp | 30 SimpleBestFitAllocator::SimpleBestFitAllocator(size_t size) argument 33 setSize(size); 43 ssize_t SimpleBestFitAllocator::setSize(size_t size) argument 48 mHeapSize = ((size + pagesize-1) & ~(pagesize-1)); 51 return size; 55 size_t SimpleBestFitAllocator::size() const function in class:SimpleBestFitAllocator 60 ssize_t SimpleBestFitAllocator::allocate(size_t size, uint32_t flags) argument 64 ssize_t offset = alloc(size, flags); 79 ssize_t SimpleBestFitAllocator::alloc(size_t size, uint32_t flags) argument 81 if (size [all...] |
H A D | allocator.h | 100 SimpleBestFitAllocator(size_t size); 103 virtual ssize_t setSize(size_t size); 105 virtual ssize_t allocate(size_t size, uint32_t flags = 0); 107 virtual size_t size() const; 111 chunk_t(size_t start, size_t size) argument 112 : start(start), size(size), free(1), prev(0), next(0) { 115 size_t size : 28; member in struct:SimpleBestFitAllocator::chunk_t 121 ssize_t alloc(size_t size, uint32_t flags);
|
H A D | gralloc.cpp | 34 size_t size, int usage, buffer_handle_t* pHandle); 67 virtual size_t getPmemTotalSize(int fd, size_t* size) { argument 71 *size = region.len; 80 virtual int mapPmem(int fd, int offset, size_t size) { argument 81 struct pmem_region sub = { offset, size }; 85 virtual int unmapPmem(int fd, int offset, size_t size) { argument 86 struct pmem_region sub = { offset, size }; 116 virtual int ashmem_create_region(const char *name, size_t size) { argument 117 return ::ashmem_create_region(name, size);
|
H A D | mapper.cpp | 59 size_t size = hnd->size; local 61 size += hnd->offset; 63 void* mappedAddress = mmap(0, size, 72 //LOGD("gralloc_map() succeeded fd=%d, off=%d, size=%d, vaddr=%p", 73 // hnd->fd, hnd->offset, hnd->size, mappedAddress); 85 size_t size = hnd->size; local 88 size += hnd->offset; 90 //LOGD("unmapping from %p, size [all...] |
H A D | pmemalloc.cpp | 89 size_t size = 0; local 90 err = deps.getPmemTotalSize(fd, &size); 94 size = 8<<20; // 8 MiB 96 allocator.setSize(size); 98 void* base = deps.mmap(0, size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 145 int PmemUserspaceAllocator::alloc_pmem_buffer(size_t size, int usage, argument 152 int offset = allocator.allocate(size); 172 err = deps.mapPmem(fd, offset, size); 182 LOGV("%s: mapped fd %d at offset %d, size %d", pmemdev, fd, offset, size); 261 alloc_pmem_buffer(size_t size, int usage, void** pBase,int* pOffset, int* pFd) argument 303 free_pmem_buffer(size_t size, void* base, int offset, int fd) argument [all...] |
/hardware/qcom/media/libstagefrighthw/ |
H A D | QComOMXPlugin.cpp | 110 size_t size, 116 OMX_ERRORTYPE res = (*mComponentNameEnum)(name, size, index); 108 enumerateComponents( OMX_STRING name, size_t size, OMX_U32 index) argument
|
/hardware/qcom/media/mm-video/vidc/venc/inc/ |
H A D | omx_video_common.h | 68 unsigned size; member in struct:pmem
|
/hardware/ti/omap4xxx/domx/mm_osal/src/ |
H A D | timm_osal_memory.c | 116 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 D | timm_osal_pipes.c | 182 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 D | TIOMXPlugin.cpp | 99 size_t size, 106 return (*mComponentNameEnum)(name, size, index); 97 enumerateComponents( OMX_STRING name, size_t size, OMX_U32 index) argument
|
/hardware/qcom/media/mm-video/vidc/vdec/inc/ |
H A D | Map.h | 57 int size(); 129 int Map<T,T2>::size() function in class:Map
|