Searched refs:base (Results 1 - 25 of 67) sorted by relevance

123

/hardware/ti/omap4xxx/test/CameraHal/
H A DAndroid.mk22 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 Dionalloc.h44 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 Dmemalloc.h44 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 Dionalloc.cpp72 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 Dmapper.cpp72 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 Dgpu.cpp45 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 Dfb_priv.h39 gralloc_module_t base; member in struct:private_module_t
/hardware/msm7k/libgralloc/
H A Dmapper.cpp68 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 Dgralloc_priv.h38 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 Dgralloc.cpp96 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 Dmapper.cpp59 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 Dgralloc_priv.h38 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 Dframebuffer.cpp97 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 DqdMetaData.cpp51 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 DAndroid.mk10 frameworks/base/include/utils \
11 frameworks/base/libs/hwui \
18 frameworks/base/opengl/include/GLES2
/hardware/msm7k/libgralloc-qsd8k/
H A Dpmemalloc.cpp98 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 Dmapper.cpp68 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 Dpmemalloc.h40 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 Dframebuffer.cpp104 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 Dgpu.cpp38 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 Dpmemalloc_test.cpp326 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 Dat_tok.c94 * "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 Dperf_common.h86 #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 Dhal_public.h46 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 Dmapper.cpp50 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...]

Completed in 827 milliseconds

123