HomeSort by relevance Sort by last modified time
    Searched refs:hnd (Results 1 - 25 of 27) sorted by null

1 2

  /hardware/msm7k/libgralloc-qsd8k/
mapper.cpp 57 private_handle_t* hnd = (private_handle_t*)handle; local
58 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) {
59 size_t size = hnd->size;
61 size += hnd->offset;
64 PROT_READ|PROT_WRITE, MAP_SHARED, hnd->fd, 0);
67 handle, hnd->fd, strerror(errno));
68 hnd->base = 0;
71 hnd->base = intptr_t(mappedAddress) + hnd->offset;
73 // hnd->fd, hnd->offset, hnd->size, mappedAddress)
82 private_handle_t* hnd = (private_handle_t*)handle; local
199 private_handle_t* hnd = (private_handle_t*)handle; local
341 private_handle_t* hnd = (private_handle_t*)native_handle_create( local
    [all...]
gpu.cpp 82 private_handle_t* hnd = new private_handle_t(dup(m->framebuffer->fd), size, local
95 hnd->base = vaddr;
96 hnd->offset = vaddr - intptr_t(m->framebuffer->base);
97 *pHandle = hnd;
187 private_handle_t* hnd = new private_handle_t(fd, size, flags); local
188 hnd->offset = offset;
189 hnd->base = int(base)+offset;
190 hnd->lockState = lockState;
191 *pHandle = hnd;
275 int gpu_context_t::free_impl(private_handle_t const* hnd) {
321 private_handle_t const* hnd = reinterpret_cast<private_handle_t const*>(handle); local
    [all...]
gpu.h 49 private_handle_t* hnd) = 0;
60 int free_impl(private_handle_t const* hnd);
gr.h 44 int terminateBuffer(gralloc_module_t const* module, private_handle_t* hnd);
gralloc_priv.h 145 const private_handle_t* hnd = (const private_handle_t*)h; local
148 hnd->magic != sMagic)
gralloc.cpp 125 private_handle_t* hnd) {
126 return ::terminateBuffer(module, hnd);
framebuffer.cpp 99 private_handle_t const* hnd = reinterpret_cast<private_handle_t const*>(buffer); local
108 if (hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) {
114 const size_t offset = hnd->base - m->framebuffer->base;
  /hardware/libhardware/modules/gralloc/
mapper.cpp 50 private_handle_t* hnd = (private_handle_t*)handle; local
51 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) {
52 size_t size = hnd->size;
54 PROT_READ|PROT_WRITE, MAP_SHARED, hnd->fd, 0);
59 hnd->base = intptr_t(mappedAddress) + hnd->offset;
61 // hnd->fd, hnd->offset, hnd->size, mappedAddress);
63 *vaddr = (void*)hnd->base
70 private_handle_t* hnd = (private_handle_t*)handle; local
97 private_handle_t* hnd = (private_handle_t*)handle; local
    [all...]
gralloc.cpp 138 private_handle_t* hnd = new private_handle_t(dup(m->framebuffer->fd), size, local
150 hnd->base = vaddr;
151 hnd->offset = vaddr - intptr_t(m->framebuffer->base);
152 *pHandle = hnd;
183 private_handle_t* hnd = new private_handle_t(fd, size, 0); local
186 err = mapBuffer(module, hnd);
188 *pHandle = hnd;
252 private_handle_t const* hnd = reinterpret_cast<private_handle_t const*>(handle); local
253 if (hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) {
258 int index = (hnd->base - m->framebuffer->base) / bufferSize
    [all...]
gr.h 44 int terminateBuffer(gralloc_module_t const* module, private_handle_t* hnd);
45 int mapBuffer(gralloc_module_t const* module, private_handle_t* hnd);
gralloc_priv.h 99 const private_handle_t* hnd = (const private_handle_t*)h; local
102 hnd->magic != sMagic)
framebuffer.cpp 97 private_handle_t const* hnd = reinterpret_cast<private_handle_t const*>(buffer); local
101 if (hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) {
102 const size_t offset = hnd->base - m->framebuffer->base;
  /hardware/msm7k/libgralloc/
mapper.cpp 57 private_handle_t* hnd = (private_handle_t*)handle; local
58 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) {
59 size_t size = hnd->size;
61 size += hnd->offset;
64 PROT_READ|PROT_WRITE, MAP_SHARED, hnd->fd, 0);
67 handle, hnd->fd, strerror(errno));
68 hnd->base = 0;
71 hnd->base = intptr_t(mappedAddress) + hnd->offset;
73 // hnd->fd, hnd->offset, hnd->size, mappedAddress)
82 private_handle_t* hnd = (private_handle_t*)handle; local
113 private_handle_t* hnd = (private_handle_t*)handle; local
225 private_handle_t* hnd = (private_handle_t*)native_handle_create( local
    [all...]
gr.h 44 int terminateBuffer(gralloc_module_t const* module, private_handle_t* hnd);
45 int mapBuffer(gralloc_module_t const* module, private_handle_t* hnd);
gralloc.cpp 162 private_handle_t* hnd = new private_handle_t(dup(m->framebuffer->fd), size, local
175 hnd->base = vaddr;
176 hnd->offset = vaddr - intptr_t(m->framebuffer->base);
177 *pHandle = hnd;
435 private_handle_t* hnd = new private_handle_t(fd, size, flags); local
439 err = mapBuffer(module, hnd);
441 *pHandle = hnd;
446 hnd->offset = offset;
447 hnd->base = int(base)+offset;
448 hnd->gpu_fd = gpu_fd
524 private_handle_t const* hnd = reinterpret_cast<private_handle_t const*>(handle); local
    [all...]
gralloc_priv.h 107 const private_handle_t* hnd = (const private_handle_t*)h; local
110 hnd->magic != sMagic)
framebuffer.cpp 95 private_handle_t const* hnd = reinterpret_cast<private_handle_t const*>(buffer); local
99 if (hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) {
100 const size_t offset = hnd->base - m->framebuffer->base;
  /frameworks/base/libs/ui/
GraphicBufferMapper.cpp 167 sw_gralloc_handle_t* hnd = new sw_gralloc_handle_t(); local
168 hnd->fd = fd;
169 hnd->size = size;
170 hnd->base = intptr_t(base);
171 hnd->prot = prot;
173 *pHandle = hnd;
178 status_t sw_gralloc_handle_t::free(sw_gralloc_handle_t* hnd)
180 if (hnd->base) {
181 munmap((void*)hnd->base, hnd->size)
    [all...]
  /frameworks/base/include/private/ui/
sw_gralloc_handle.h 59 const sw_gralloc_handle_t* hnd = (const sw_gralloc_handle_t*)h; local
62 hnd->magic != sMagic)
71 static status_t free(sw_gralloc_handle_t* hnd);
72 static status_t registerBuffer(sw_gralloc_handle_t* hnd);
73 static status_t unregisterBuffer(sw_gralloc_handle_t* hnd);
74 static status_t lock(sw_gralloc_handle_t* hnd, int usage,
76 static status_t unlock(sw_gralloc_handle_t* hnd);
  /frameworks/base/opengl/libs/EGL/
Loader.cpp 67 status_t Loader::driver_t::set(void* hnd, int32_t api)
71 dso[0] = hnd;
74 dso[1] = hnd;
77 dso[2] = hnd;
140 driver_t* hnd = 0; local
146 hnd = new driver_t(dso);
151 hnd = new driver_t(dso);
154 hnd->set( load_driver("GLESv1_CM", tag, cnx, GLESv1_CM), GLESv1_CM );
156 hnd->set( load_driver("GLESv2", tag, cnx, GLESv2), GLESv2 );
161 LOG_FATAL_IF(!index && !impl && !hnd,
170 driver_t* hnd = (driver_t*)driver; local
    [all...]
Loader.h 52 status_t set(void* hnd, int32_t api);
  /hardware/msm7k/libcopybit/
copybit.cpp 136 private_handle_t* hnd = (private_handle_t*)rhs->handle; local
140 img->offset = hnd->offset;
142 if (hnd->flags & private_handle_t::PRIV_FLAGS_USES_GPU) {
143 img->offset += hnd->map_offset;
144 img->memory_id = hnd->gpu_fd;
150 img->memory_id = hnd->fd;
153 img->memory_id = hnd->fd;
  /external/qemu/distrib/sdl-1.2.12/src/audio/nas/
SDL_nasaudio.c 175 event_handler(AuServer* aud, AuEvent* ev, AuEventHandlerRec* hnd)
  /hardware/broadcom/wlan/bcm4329/src/
Makerules 135 GCFLAGS += -I/projects/hnd/tools/linux/hndtools-arm-eabi-4.2.1/arm-eabi/include/bionic/libc/include
136 GCFLAGS += -I/projects/hnd/tools/linux/hndtools-arm-eabi-4.2.1/arm-eabi/include/bionic/libc/arch-arm/include/
  /external/wpa_supplicant/
driver_ndis.c 2289 DWORD i, hnd, len; local
    [all...]

Completed in 426 milliseconds

1 2