/hardware/ti/omap4xxx/test/CameraHal/ |
H A D | Android.mk | 22 frameworks/base/include/ui \ 23 frameworks/base/include/surfaceflinger \ 24 frameworks/base/include/camera \ 25 frameworks/base/include/media \
|
/hardware/qcom/display/libgralloc/ |
H A D | ionalloc.h | 44 virtual int free_buffer(void *base, size_t size, 50 virtual int unmap_buffer(void *base, size_t size, 53 virtual int clean_buffer(void*base, size_t size,
|
H A D | memalloc.h | 44 void *base; member in struct:gralloc::alloc_data 64 virtual int free_buffer(void *base, size_t size, 72 virtual int unmap_buffer(void *base, size_t size, 76 virtual int clean_buffer(void *base, size_t size,
|
H A D | ionalloc.cpp | 72 void *base = 0; local 103 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE, 105 if(base == MAP_FAILED) { 112 memset(base, 0, ionAllocData.len); 114 clean_buffer(base, data.size, data.offset, fd_data.fd, 118 data.base = base; 121 ALOGD_IF(DEBUG, "ion: Allocated buffer base:%p size:%d fd:%d", 122 data.base, ionAllocData.len, data.fd); 127 int IonAlloc::free_buffer(void* base, size_ argument 146 void *base = 0; local 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...] |
H A D | mapper.cpp | 72 hnd->base = 0; 76 hnd->base = intptr_t(mappedAddress) + hnd->offset; 98 void* base = (void*)hnd->base; local 102 err = memalloc->unmap_buffer(base, size, hnd->offset); 104 ALOGE("Could not unmap memory at address %p", base); 106 base = (void*)hnd->base_metadata; 108 err = memalloc->unmap_buffer(base, size, hnd->offset_metadata); 110 ALOGE("Could not unmap memory at address %p", base); 116 hnd->base 319 void* base = va_arg(args, void*); local [all...] |
H A D | gpu.cpp | 45 common.module = const_cast<hw_module_t*>(&module->base.common); 65 data.base = 0; 85 eData.base = 0; 144 int eBaseAddr = int(eData.base) + eData.offset; 150 hnd->base = int(data.base) + data.offset; 212 intptr_t vaddr = intptr_t(m->framebuffer->base); 228 hnd->base = vaddr; 229 hnd->offset = vaddr - intptr_t(m->framebuffer->base); 311 int index = (hnd->base [all...] |
H A D | fb_priv.h | 39 gralloc_module_t base; member in struct:private_module_t
|
/hardware/msm7k/libgralloc/ |
H A D | mapper.cpp | 68 hnd->base = 0; 71 hnd->base = intptr_t(mappedAddress) + hnd->offset; 75 *vaddr = (void*)hnd->base; 84 void* base = (void*)hnd->base; local 87 base = (void*)(intptr_t(base) - hnd->offset); 90 //ALOGD("unmapping from %p, size=%d, flags=%08x", base, size, hnd->flags); 91 if (munmap(base, size) < 0) { 95 hnd->base [all...] |
H A D | gralloc_priv.h | 38 gralloc_module_t base; member in struct:private_module_t 85 int base; member in struct:private_handle_t 96 base(0), pid(getpid())
|
H A D | gralloc.cpp | 96 base: { 161 intptr_t vaddr = intptr_t(m->framebuffer->base); 175 hnd->base = vaddr; 176 hnd->offset = vaddr - intptr_t(m->framebuffer->base); 210 void* base = mmap(0, size, local 212 if (base == MAP_FAILED) { 214 base = 0; 219 m->pmem_master_base = base; 270 void* base = mmap(0, ALLOCATORREGION_RESERVED_SIZE, local 274 if (base 322 void* base = 0; local [all...] |
/hardware/libhardware/modules/gralloc/ |
H A D | mapper.cpp | 59 hnd->base = intptr_t(mappedAddress) + hnd->offset; 63 *vaddr = (void*)hnd->base; 72 void* base = (void*)hnd->base; local 74 //ALOGD("unmapping from %p, size=%d", base, size); 75 if (munmap(base, size) < 0) { 79 hnd->base = 0; 146 if (hnd->base) 162 if (hnd->base) { 187 *vaddr = (void*)hnd->base; [all...] |
H A D | gralloc_priv.h | 38 gralloc_module_t base; member in struct:private_module_t 78 int base; member in struct:private_handle_t 88 base(0), pid(getpid())
|
H A D | framebuffer.cpp | 97 const size_t offset = hnd->base - m->framebuffer->base; 102 m->base.unlock(&m->base, buffer); 114 m->base.lock(&m->base, m->framebuffer, 119 m->base.lock(&m->base, buffer, 126 m->base.unlock(&m->base, buffe [all...] |
/hardware/qcom/display/libqdutils/ |
H A D | qdMetaData.cpp | 51 void *base = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_SHARED, local 53 if (!base) { 57 MetaData_t *data = reinterpret_cast <MetaData_t *>(base); 85 if(munmap(base, size)) 86 ALOGE("%s: failed to unmap ptr 0x%x, err %d", __func__, (int)base,
|
/hardware/qcom/display/libtilerenderer/ |
H A D | Android.mk | 10 frameworks/base/include/utils \ 11 frameworks/base/libs/hwui \ 18 frameworks/base/opengl/include/GLES2
|
/hardware/msm7k/libgralloc-qsd8k/ |
H A D | pmemalloc.cpp | 98 void* base = deps.mmap(0, size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, local 100 if (base == MAP_FAILED) { 104 base = 0; 109 master_base = base; 151 void* base = master_base; local 183 memset((char*)base + offset, 0, size); 184 *pBase = base; 196 int PmemUserspaceAllocator::free_pmem_buffer(size_t size, void* base, int offset, int fd) 282 void* base = deps.mmap(0, size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); local 283 if (base 303 free_pmem_buffer(size_t size, void* base, int offset, int fd) argument [all...] |
H A D | mapper.cpp | 68 hnd->base = 0; 71 hnd->base = intptr_t(mappedAddress) + hnd->offset; 75 *vaddr = (void*)hnd->base; 84 void* base = (void*)hnd->base; local 87 base = (void*)(intptr_t(base) - hnd->offset); 90 //ALOGD("unmapping from %p, size=%d", base, size); 91 if (munmap(base, size) < 0) { 95 hnd->base [all...] |
H A D | pmemalloc.h | 40 virtual int free_pmem_buffer(size_t size, void* base, int offset, int fd) = 0; 93 virtual int free_pmem_buffer(size_t size, void* base, int offset, int fd); 97 void set_master_values(int fd, void* base) { argument 99 master_base = base; 152 virtual int free_pmem_buffer(size_t size, void* base, int offset, int fd);
|
H A D | framebuffer.cpp | 104 m->base.unlock(&m->base, m->currentBuffer); 110 m->base.lock(&m->base, buffer, 114 const size_t offset = hnd->base - m->framebuffer->base; 119 m->base.unlock(&m->base, buffer); 128 m->base.lock(&m->base, [all...] |
H A D | gpu.cpp | 38 common.module = const_cast<hw_module_t*>(&module->base.common); 81 intptr_t vaddr = intptr_t(m->framebuffer->base); 95 hnd->base = vaddr; 96 hnd->offset = vaddr - intptr_t(m->framebuffer->base); 120 void* base = 0; // XXX JMG: This should change to just get an address from local 121 // the PmemAllocator rather than getting the base & offset separately 165 err = pma->alloc_pmem_buffer(size, usage, &base, &offset, &fd); 189 hnd->base = int(base)+offset; 280 int index = (hnd->base [all...] |
/hardware/msm7k/libgralloc-qsd8k/tests/ |
H A D | pmemalloc_test.cpp | 326 void* base = 0; local 330 int result = pma.alloc_pmem_buffer(size, flags, &base, &offset, &fd); 353 void* base = 0; local 357 int result = pma.alloc_pmem_buffer(size, flags, &base, &offset, &fd); 392 void* base = 0; local 396 int result = pma.alloc_pmem_buffer(size, flags, &base, &offset, &fd); 425 void* base = 0; local 429 int result = pma.alloc_pmem_buffer(size, flags, &base, &offset, &fd); 459 void* base = 0; local 463 int result = pma.alloc_pmem_buffer(size, flags, &base, 495 void* base = 0; local 518 void* base = 0; local 553 void* base = 0; local 590 void* base = 0; local [all...] |
/hardware/ril/reference-ril/ |
H A D | at_tok.c | 94 * "base" is the same as the base param in strtol 97 static int at_tok_nextint_base(char **p_cur, int *p_out, int base, int uns) argument 114 l = strtoul(ret, &end, base); 116 l = strtol(ret, &end, base); 129 * Parses the next base 10 integer in the AT response line 140 * Parses the next base 16 integer in the AT response line
|
/hardware/ti/omap3/omx/system/src/openmax_il/perf/inc/ |
H A D | perf_common.h | 86 #define TIME_DELTA(time, base) \ 87 ((TIME_SECONDS(time) - TIME_SECONDS(base)) * 1000000 + \ 88 (TIME_MICROSECONDS(time) - TIME_MICROSECONDS(base)))
|
/hardware/ti/omap4xxx/hwc/ |
H A D | hal_public.h | 46 native_handle_t base; member in struct:__anon1538 103 framebuffer_device_t base; member in struct:__anon1539 116 gralloc_module_t base; member in struct:IMG_gralloc_module_public_t
|
/hardware/samsung_slsi/exynos5/gralloc/ |
H A D | mapper.cpp | 50 ALOGV("%s: base %p %d %d %d %d\n", __func__, mappedAddress, hnd->size, 52 hnd->base = mappedAddress; 60 if (!hnd->base) 63 if (munmap(hnd->base, hnd->size) < 0) { 65 hnd->base, hnd->size); 67 ALOGV("%s: base %p %d %d %d %d\n", __func__, hnd->base, hnd->size, 69 hnd->base = 0; 107 ALOGV("%s: base %p %d %d %d %d\n", __func__, hnd->base, hn [all...] |