Home
last modified time | relevance | path

Searched refs:vaddr (Results 1 – 23 of 23) sorted by relevance

/frameworks/native/opengl/tests/gralloc/
Dgralloc.cpp59 void* vaddr; in main() local
62 &vaddr); in main()
67 memset(vaddr, 0, size); in main()
79 memcpy(temp, vaddr, size); in main()
85 memcpy(vaddr, temp, size); in main()
98 lamecpy(temp, vaddr, size); in main()
104 lamecpy(vaddr, temp, size); in main()
/frameworks/native/libs/sensor/
DBitTube.cpp105 ssize_t BitTube::write(void const* vaddr, size_t size) in write() argument
109 len = ::send(mSendFd, vaddr, size, MSG_DONTWAIT | MSG_NOSIGNAL); in write()
116 ssize_t BitTube::read(void* vaddr, size_t size) in read() argument
120 len = ::recv(mReceiveFd, vaddr, size, MSG_DONTWAIT); in read()
146 const char* vaddr = reinterpret_cast<const char*>(events); in sendObjects() local
147 ssize_t size = tube->write(vaddr, count*objSize); in sendObjects()
161 char* vaddr = reinterpret_cast<char*>(events); in recvObjects() local
162 ssize_t size = tube->read(vaddr, count*objSize); in recvObjects()
/frameworks/native/libs/gui/
DBitTube.cpp89 ssize_t BitTube::write(void const* vaddr, size_t size) { in write() argument
92 len = ::send(mSendFd, vaddr, size, MSG_DONTWAIT | MSG_NOSIGNAL); in write()
99 ssize_t BitTube::read(void* vaddr, size_t size) { in read() argument
102 len = ::recv(mReceiveFd, vaddr, size, MSG_DONTWAIT); in read()
133 const char* vaddr = reinterpret_cast<const char*>(events); in sendObjects() local
134 ssize_t size = tube->write(vaddr, count * objSize); in sendObjects()
147 char* vaddr = reinterpret_cast<char*>(events); in recvObjects() local
148 ssize_t size = tube->read(vaddr, count * objSize); in recvObjects()
DSurface.cpp1877 void* vaddr; in lock() local
1880 newDirtyRegion.bounds(), &vaddr, fenceFd); in lock()
1893 outBuffer->bits = vaddr; in lock()
/frameworks/native/libs/ui/
DGraphicBufferMapper.cpp109 void** vaddr, int32_t* outBytesPerPixel, in lock() argument
111 return lockAsync(handle, usage, bounds, vaddr, -1, outBytesPerPixel, outBytesPerStride); in lock()
132 void** vaddr, int fenceFd, int32_t* outBytesPerPixel, in lockAsync() argument
134 return lockAsync(handle, usage, usage, bounds, vaddr, fenceFd, outBytesPerPixel, in lockAsync()
139 uint64_t consumerUsage, const Rect& bounds, void** vaddr, in lockAsync() argument
146 return mMapper->lock(handle, usage, bounds, fenceFd, vaddr, outBytesPerPixel, in lockAsync()
DGraphicBuffer.cpp262 status_t GraphicBuffer::lock(uint32_t inUsage, void** vaddr, int32_t* outBytesPerPixel, in lock() argument
265 status_t res = lock(inUsage, lockBounds, vaddr, outBytesPerPixel, outBytesPerStride); in lock()
269 status_t GraphicBuffer::lock(uint32_t inUsage, const Rect& rect, void** vaddr, in lock() argument
279 status_t res = getBufferMapper().lock(handle, inUsage, rect, vaddr, outBytesPerPixel, in lock()
312 status_t GraphicBuffer::lockAsync(uint32_t inUsage, void** vaddr, int fenceFd, in lockAsync() argument
316 lockAsync(inUsage, lockBounds, vaddr, fenceFd, outBytesPerPixel, outBytesPerStride); in lockAsync()
320 status_t GraphicBuffer::lockAsync(uint32_t inUsage, const Rect& rect, void** vaddr, int fenceFd, in lockAsync() argument
322 return lockAsync(inUsage, inUsage, rect, vaddr, fenceFd, outBytesPerPixel, outBytesPerStride); in lockAsync()
326 const Rect& rect, void** vaddr, int fenceFd, in lockAsync() argument
337 vaddr, fenceFd, outBytesPerPixel, outBytesPerStride); in lockAsync()
/frameworks/base/native/webview/plat_support/
Dgraphic_buffer_impl.cpp54 int GraphicBufferImpl::MapStatic(long buffer_id, AwMapMode mode, void** vaddr) { in MapStatic() argument
56 return buffer->Map(mode, vaddr); in MapStatic()
77 status_t GraphicBufferImpl::Map(AwMapMode mode, void** vaddr) { in Map() argument
93 return mBuffer->lock(usage, vaddr); in Map()
Dgraphic_buffer_impl.h35 static int MapStatic(long buffer_id, AwMapMode mode, void** vaddr);
41 status_t Map(AwMapMode mode, void** vaddr);
Ddraw_gl.h106 typedef int AwMapFunction(long buffer_id, AwMapMode mode, void** vaddr);
/frameworks/native/libs/ui/include_vndk/ui/
DGraphicBufferMapper.h63 status_t lock(buffer_handle_t handle, uint32_t usage, const Rect& bounds, void** vaddr,
71 status_t lockAsync(buffer_handle_t handle, uint32_t usage, const Rect& bounds, void** vaddr,
76 const Rect& bounds, void** vaddr, int fenceFd,
DGraphicBuffer.h184 status_t lock(uint32_t inUsage, void** vaddr, int32_t* outBytesPerPixel = nullptr,
186 status_t lock(uint32_t inUsage, const Rect& rect, void** vaddr,
195 status_t lockAsync(uint32_t inUsage, void** vaddr, int fenceFd,
197 status_t lockAsync(uint32_t inUsage, const Rect& rect, void** vaddr, int fenceFd,
200 void** vaddr, int fenceFd, int32_t* outBytesPerPixel = nullptr,
/frameworks/native/libs/ui/include/ui/
DGraphicBufferMapper.h63 status_t lock(buffer_handle_t handle, uint32_t usage, const Rect& bounds, void** vaddr,
71 status_t lockAsync(buffer_handle_t handle, uint32_t usage, const Rect& bounds, void** vaddr,
76 const Rect& bounds, void** vaddr, int fenceFd,
DGraphicBuffer.h184 status_t lock(uint32_t inUsage, void** vaddr, int32_t* outBytesPerPixel = nullptr,
186 status_t lock(uint32_t inUsage, const Rect& rect, void** vaddr,
195 status_t lockAsync(uint32_t inUsage, void** vaddr, int fenceFd,
197 status_t lockAsync(uint32_t inUsage, const Rect& rect, void** vaddr, int fenceFd,
200 void** vaddr, int fenceFd, int32_t* outBytesPerPixel = nullptr,
/frameworks/native/libs/sensor/include/sensor/
DBitTube.h73 ssize_t write(void const* vaddr, size_t size);
77 ssize_t read(void* vaddr, size_t size);
/frameworks/native/libs/gui/include/private/gui/
DBitTube.h82 ssize_t write(void const* vaddr, size_t size);
86 ssize_t read(void* vaddr, size_t size);
/frameworks/native/opengl/libagl/
DTextureObjectManager.h52 void setImageBits(void* vaddr) { surface.data = (GGLubyte*)vaddr; } in setImageBits() argument
Dtexture.cpp136 void* vaddr; in ogles_lock_textures() local
139 &vaddr); in ogles_lock_textures()
141 u.texture->setImageBits(vaddr); in ogles_lock_textures()
Degl.cpp262 status_t lock(ANativeWindowBuffer* buf, int usage, void** vaddr);
458 ANativeWindowBuffer* buf, int usage, void** vaddr) in lock() argument
462 android::Rect(buf->width, buf->height), vaddr); in lock()
/frameworks/compile/mclinker/lib/Target/
DGNULDBackend.cpp568 (*exec_start)->vaddr()); in finalizeStandardSymbols()
580 f_pEText->setValue(f_pEText->value() + (*etext)->vaddr() + in finalizeStandardSymbols()
584 f_p_EText->setValue(f_p_EText->value() + (*etext)->vaddr() + in finalizeStandardSymbols()
589 f_p__EText->setValue(f_p__EText->value() + (*etext)->vaddr() + in finalizeStandardSymbols()
608 f_pEData->setValue(f_pEData->value() + (*edata)->vaddr() + in finalizeStandardSymbols()
612 f_p_EData->setValue(f_p_EData->value() + (*edata)->vaddr() + in finalizeStandardSymbols()
617 f_pBSSStart->setValue(f_pBSSStart->value() + (*edata)->vaddr() + in finalizeStandardSymbols()
622 f_pEnd->setValue(f_pEnd->value() + (*edata)->vaddr() + in finalizeStandardSymbols()
626 f_p_End->setValue(f_p_End->value() + (*edata)->vaddr() + in finalizeStandardSymbols()
658 pSymbol.setValue(value + addr - (*tls_seg)->vaddr()); in finalizeTLSSymbol()
[all …]
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsELFDynamic.cpp85 return m_pParent.elfSegmentTable().end() == baseSeg ? 0 : (*baseSeg)->vaddr(); in getBaseAddress()
/frameworks/compile/mclinker/include/mcld/LD/
DELFSegment.h61 uint64_t vaddr() const { return m_Vaddr; } in vaddr() function
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonLDBackend.cpp672 f_pEData->setValue((*edata)->vaddr() + (*edata)->filesz()); in finalizeTargetSymbols()
675 f_p_EData->setValue((*edata)->vaddr() + (*edata)->filesz()); in finalizeTargetSymbols()
679 f_pBSSStart->setValue((*edata)->vaddr() + (*edata)->filesz()); in finalizeTargetSymbols()
682 f_pEnd->setValue((((*edata)->vaddr() + (*edata)->memsz()) + 7) & ~7); in finalizeTargetSymbols()
685 f_p_End->setValue((((*edata)->vaddr() + (*edata)->memsz()) + 7) & ~7); in finalizeTargetSymbols()
/frameworks/compile/mclinker/lib/LD/
DELFObjectWriter.cpp355 phdr[index].p_vaddr = (*seg)->vaddr(); in emitProgramHeader()