/hardware/qcom/display/msm8226/libgralloc/ |
framebuffer.cpp | 90 private_handle_t *hnd = static_cast<private_handle_t*> local 92 const unsigned int offset = (unsigned int) (hnd->base -
|
/hardware/qcom/display/msm8909/gralloc/ |
gr_device_impl.cpp | 202 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local 203 if (!device || (private_handle_t::validate(hnd) != 0)) { 317 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local 318 *outWidth = UINT(hnd->GetUnalignedWidth()); 319 *outHeight = UINT(hnd->GetUnalignedHeight()); 353 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local 354 *outUsage = hnd->GetProducerUsage(); 395 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local 397 status = dev->buf_mgr_->RetainBuffer(hnd); 408 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer) local 422 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local 455 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local 492 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local 508 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local [all...] |
/hardware/qcom/display/msm8909/libgralloc/ |
framebuffer.cpp | 83 private_handle_t *hnd = static_cast<private_handle_t*> local 86 const unsigned int offset = (unsigned int) (hnd->base -
|
mapper.cpp | 59 private_handle_t* hnd = (private_handle_t*)handle; local 60 hnd->base_metadata = 0; 61 IMemAlloc* memalloc = getAllocator(hnd->flags) ; 64 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { 68 hnd->offset_metadata, hnd->fd_metadata); 71 hnd, hnd->fd_metadata, strerror(errno)); 74 hnd->base_metadata = uint64_t(mappedAddress); 86 private_handle_t* hnd = (private_handle_t*)handle 221 private_handle_t* hnd = (private_handle_t*)handle; local 259 private_handle_t* hnd = (private_handle_t*)handle; local 272 private_handle_t* hnd = (private_handle_t*)handle; local 287 private_handle_t* hnd = (private_handle_t*)handle; local 324 private_handle_t* hnd = (private_handle_t*)native_handle_create( local 361 const private_handle_t* hnd = va_arg(args, private_handle_t*); local 376 const private_handle_t* hnd = va_arg(args, private_handle_t*); local 408 private_handle_t* hnd = va_arg(args, private_handle_t*); local 445 private_handle_t* hnd = va_arg(args, private_handle_t*); local 454 private_handle_t* hnd = va_arg(args, private_handle_t*); local 470 private_handle_t* hnd = va_arg(args, private_handle_t*); local 485 private_handle_t* hnd = va_arg(args, private_handle_t*); local 494 private_handle_t* hnd = va_arg(args, private_handle_t*); local 511 private_handle_t* hnd = va_arg(args, private_handle_t*); local [all...] |
/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
hwc_color_manager.cpp | 305 private_handle_t const *hnd = reinterpret_cast<private_handle_t const *>(layer.handle); local 307 if (hnd) 308 delete hnd;
|
/hardware/qcom/display/msm8909w_3100/libgralloc/ |
framebuffer.cpp | 83 private_handle_t *hnd = static_cast<private_handle_t*> local 86 const unsigned int offset = (unsigned int) (hnd->base -
|
mapper.cpp | 59 private_handle_t* hnd = (private_handle_t*)handle; local 60 hnd->base_metadata = 0; 61 IMemAlloc* memalloc = getAllocator(hnd->flags) ; 64 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { 68 hnd->offset_metadata, hnd->fd_metadata); 71 hnd, hnd->fd_metadata, strerror(errno)); 74 hnd->base_metadata = uint64_t(mappedAddress); 86 private_handle_t* hnd = (private_handle_t*)handle 221 private_handle_t* hnd = (private_handle_t*)handle; local 259 private_handle_t* hnd = (private_handle_t*)handle; local 272 private_handle_t* hnd = (private_handle_t*)handle; local 287 private_handle_t* hnd = (private_handle_t*)handle; local 324 private_handle_t* hnd = (private_handle_t*)native_handle_create( local 361 const private_handle_t* hnd = va_arg(args, private_handle_t*); local 376 const private_handle_t* hnd = va_arg(args, private_handle_t*); local 408 private_handle_t* hnd = va_arg(args, private_handle_t*); local 445 private_handle_t* hnd = va_arg(args, private_handle_t*); local 454 private_handle_t* hnd = va_arg(args, private_handle_t*); local 470 private_handle_t* hnd = va_arg(args, private_handle_t*); local 485 private_handle_t* hnd = va_arg(args, private_handle_t*); local 494 private_handle_t* hnd = va_arg(args, private_handle_t*); local 511 private_handle_t* hnd = va_arg(args, private_handle_t*); local [all...] |
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
gr_device_impl.cpp | 202 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local 203 if (!device || (private_handle_t::validate(hnd) != 0)) { 317 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local 318 *outWidth = UINT(hnd->GetUnalignedWidth()); 319 *outHeight = UINT(hnd->GetUnalignedHeight()); 353 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local 354 *outUsage = hnd->GetProducerUsage(); 395 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local 397 status = dev->buf_mgr_->RetainBuffer(hnd); 406 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer) local 423 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local 456 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local 493 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local 509 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local [all...] |
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
hwc_color_manager.cpp | 305 private_handle_t const *hnd = reinterpret_cast<private_handle_t const *>(layer.handle); local 307 if (hnd) 308 delete hnd;
|
/hardware/qcom/display/msm8960/libgralloc/ |
framebuffer.cpp | 90 private_handle_t *hnd = static_cast<private_handle_t*> local 92 const size_t offset = hnd->base - m->framebuffer->base;
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
hwc.cpp | 373 private_handle_t *hnd = (private_handle_t *)fbLayer->handle; local 375 hnd = ctx->mCopyBit[dpy]->getCurrentRenderBuffer(); 378 if(hnd) { 379 if (!ctx->mFBUpdate[dpy]->draw(ctx, hnd)) { 420 private_handle_t *hnd = (private_handle_t *)fbLayer->handle; local 422 hnd = ctx->mCopyBit[dpy]->getCurrentRenderBuffer(); 425 if(hnd) { 426 if (!ctx->mFBUpdate[dpy]->draw(ctx, hnd)) {
|
hwc_mdpcomp.h | 107 buffer_handle_t hnd[MAX_NUM_APP_LAYERS]; member in struct:qhwc::MDPComp::LayerCache
|
/hardware/qcom/display/msm8994/libgralloc/ |
alloc_controller.cpp | 654 int getYUVPlaneInfo(private_handle_t* hnd, struct android_ycbcr* ycbcr) 662 switch (hnd->format) { 668 ystride = cstride = hnd->width; 669 ycbcr->y = (void*)hnd->base; 670 ycbcr->cb = (void*)(hnd->base + ystride * hnd->height); 671 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height + 1); 683 ystride = cstride = hnd->width; 684 ycbcr->y = (void*)hnd->base 745 private_handle_t* hnd = new private_handle_t(data.fd, data.size, local [all...] |
framebuffer.cpp | 91 private_handle_t *hnd = static_cast<private_handle_t*> local 94 const unsigned int offset = (unsigned int) (hnd->base -
|
mapper.cpp | 61 private_handle_t* hnd = (private_handle_t*)handle; local 62 hnd->base_metadata = 0; 63 IMemAlloc* memalloc = getAllocator(hnd->flags) ; 66 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { 70 hnd->offset_metadata, hnd->fd_metadata); 73 hnd, hnd->fd_metadata, strerror(errno)); 76 hnd->base_metadata = uint64_t(mappedAddress); 88 private_handle_t* hnd = (private_handle_t*)handle 223 private_handle_t* hnd = (private_handle_t*)handle; local 261 private_handle_t* hnd = (private_handle_t*)handle; local 274 private_handle_t* hnd = (private_handle_t*)handle; local 289 private_handle_t* hnd = (private_handle_t*)handle; local 387 private_handle_t* hnd = (private_handle_t*)native_handle_create( local 418 private_handle_t* hnd = va_arg(args, private_handle_t*); local 434 private_handle_t* hnd = va_arg(args, private_handle_t*); local 468 private_handle_t* hnd = va_arg(args, private_handle_t*); local 482 private_handle_t* hnd = va_arg(args, private_handle_t*); local 491 private_handle_t* hnd = va_arg(args, private_handle_t*); local 513 auto hnd = va_arg(args, private_handle_t*); local 522 auto hnd = va_arg(args, private_handle_t*); local 531 auto hnd = va_arg(args, private_handle_t*); local 538 auto hnd = va_arg(args, private_handle_t*); local 545 auto hnd = va_arg(args, private_handle_t*); local 552 auto hnd = va_arg(args, private_handle_t*); local 559 auto hnd = va_arg(args, private_handle_t*); local 569 auto hnd = va_arg(args, private_handle_t*); local 576 auto hnd = va_arg(args, private_handle_t*); local [all...] |
/hardware/qcom/display/msm8996/libgralloc/ |
framebuffer.cpp | 78 private_handle_t *hnd = static_cast<private_handle_t*> local 81 const unsigned int offset = (unsigned int) (hnd->base -
|
mapper.cpp | 60 private_handle_t* hnd = (private_handle_t*)handle; local 61 hnd->base_metadata = 0; 62 IMemAlloc* memalloc = getAllocator(hnd->flags) ; 65 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { 69 hnd->offset_metadata, hnd->fd_metadata); 72 hnd, hnd->fd_metadata, strerror(errno)); 75 hnd->base_metadata = uint64_t(mappedAddress); 87 private_handle_t* hnd = (private_handle_t*)handle 222 private_handle_t* hnd = (private_handle_t*)handle; local 260 private_handle_t* hnd = (private_handle_t*)handle; local 273 private_handle_t* hnd = (private_handle_t*)handle; local 288 private_handle_t* hnd = (private_handle_t*)handle; local 386 private_handle_t* hnd = (private_handle_t*)native_handle_create( local 419 const private_handle_t* hnd = va_arg(args, private_handle_t*); local 434 const private_handle_t* hnd = va_arg(args, private_handle_t*); local 467 private_handle_t* hnd = va_arg(args, private_handle_t*); local 481 private_handle_t* hnd = va_arg(args, private_handle_t*); local 490 private_handle_t* hnd = va_arg(args, private_handle_t*); local 506 private_handle_t* hnd = va_arg(args, private_handle_t*); local 521 private_handle_t* hnd = va_arg(args, private_handle_t*); local 530 private_handle_t* hnd = va_arg(args, private_handle_t*); local 547 private_handle_t* hnd = va_arg(args, private_handle_t*); local 563 auto hnd = va_arg(args, private_handle_t*); local 572 auto hnd = va_arg(args, private_handle_t*); local 581 auto hnd = va_arg(args, private_handle_t*); local 588 auto hnd = va_arg(args, private_handle_t*); local 595 auto hnd = va_arg(args, private_handle_t*); local 602 auto hnd = va_arg(args, private_handle_t*); local 609 auto hnd = va_arg(args, private_handle_t*); local 619 auto hnd = va_arg(args, private_handle_t*); local 626 auto hnd = va_arg(args, private_handle_t*); local [all...] |
/hardware/qcom/display/msm8996/libgralloc1/ |
gr_device_impl.cpp | 190 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local 191 if (!device || (private_handle_t::validate(hnd) != 0)) { 305 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local 306 *outWidth = UINT(hnd->GetUnalignedWidth()); 307 *outHeight = UINT(hnd->GetUnalignedHeight()); 337 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local 338 *outUsage = hnd->GetProducerUsage(); 371 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local 373 status = dev->buf_mgr_->RetainBuffer(hnd); 382 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer) local 395 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local 427 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local 464 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local 477 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local [all...] |
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
hwc_color_manager.cpp | 305 private_handle_t const *hnd = reinterpret_cast<private_handle_t const *>(layer.handle); local 307 if (hnd) 308 delete hnd;
|
/hardware/qcom/display/msm8998/libgralloc1/ |
gr_device_impl.cpp | 208 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local 209 if (!device || (private_handle_t::validate(hnd) != 0)) { 323 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local 324 *outWidth = UINT(hnd->GetUnalignedWidth()); 325 *outHeight = UINT(hnd->GetUnalignedHeight()); 355 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local 356 *outUsage = hnd->GetProducerUsage(); 389 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local 391 status = dev->buf_mgr_->RetainBuffer(hnd); 402 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer) local 412 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local 447 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local 484 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local 497 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); local [all...] |
/device/linaro/hikey/gralloc/ |
gralloc_priv.h | 316 const private_handle_t *hnd = (const private_handle_t *)h; local 318 if (!h || h->version != sizeof(native_handle) || hnd->magic != sMagic) 326 if (hnd->share_fd < 0) {
|
/device/linaro/hikey/gralloc960/ |
gralloc_priv.h | 261 const private_handle_t* hnd = (const private_handle_t*)h; local 266 hnd->magic != sMagic)
|
/external/selinux/libselinux/src/ |
matchpathcon.c | 68 static __thread struct selabel_handle *hnd; variable in typeref:struct:selabel_handle 350 hnd = selabel_open(SELABEL_CTX_FILE, options, SELABEL_NOPT); 351 return hnd ? 0 : -1; 365 if (hnd) { 366 selabel_close(hnd); 367 hnd = NULL; 435 if (!hnd && (matchpathcon_init_prefix(NULL, NULL) < 0)) 448 selabel_lookup_raw(hnd, con, path, mode) : 449 selabel_lookup(hnd, con, path, mode); 464 selabel_stats(hnd); [all...] |
/hardware/qcom/display/msm8084/libhwcomposer/ |
hwc.cpp | 144 private_handle_t *hnd = (private_handle_t *)layer->handle; local 149 if (UNLIKELY(isYuvBuffer(hnd)) && canUseRotator(ctx, dpy) && 604 private_handle_t *hnd = (private_handle_t *)fbLayer->handle; local 606 hnd = ctx->mCopyBit[dpy]->getCurrentRenderBuffer(); 609 if(hnd) { 610 if (!ctx->mFBUpdate[dpy]->draw(ctx, hnd)) { 674 private_handle_t *hnd = (private_handle_t *)fbLayer->handle; local 677 hnd = (private_handle_t *)extLayer->handle; 679 hnd = ctx->mCopyBit[dpy]->getCurrentRenderBuffer(); 682 if(hnd && !isYuvBuffer(hnd)) [all...] |
/hardware/qcom/display/msm8226/libhwcomposer/ |
hwc.cpp | 154 private_handle_t *hnd = (private_handle_t *)layer->handle; local 160 has90Transform(layer) && isRotationDoable(ctx, hnd)) { 600 private_handle_t *hnd = (private_handle_t *)fbLayer->handle; local 605 if(hnd) { 606 if(hnd->base) { 607 deltaPanelRendering((unsigned char *)hnd->base, DELTA_PANEL_WIDTH, 609 IMemAlloc* memalloc = getAllocator(hnd->flags); 610 memalloc->clean_buffer((void*)hnd->base, hnd->size, hnd->offset, hnd->fd 704 private_handle_t *hnd = (private_handle_t *)fbLayer->handle; local [all...] |