Home
last modified time | relevance | path

Searched refs:newb (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/llvm/unittests/Support/
DCasting.cpp197 std::unique_ptr<base> newb() { return std::make_unique<derived>(); } in newb() function
238 auto B2 = unique_dyn_cast<derived>(newb()); in TEST()
241 auto B3 = unique_dyn_cast<base>(newb()); in TEST()
244 auto F2 = unique_dyn_cast<foo>(newb()); in TEST()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_texture.c535 struct pipe_resource *newb = in r600_texture_get_handle() local
537 if (!newb) in r600_texture_get_handle()
542 u_box_1d(0, newb->width0, &box); in r600_texture_get_handle()
543 rctx->b.resource_copy_region(&rctx->b, newb, 0, 0, 0, 0, in r600_texture_get_handle()
546 r600_replace_buffer_storage(&rctx->b, &res->b.b, newb); in r600_texture_get_handle()
547 pipe_resource_reference(&newb, NULL); in r600_texture_get_handle()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_texture.c764 struct pipe_resource *newb = screen->resource_create(screen, &templ); in si_texture_get_handle() local
765 if (!newb) in si_texture_get_handle()
770 u_box_1d(0, newb->width0, &box); in si_texture_get_handle()
771 sctx->b.resource_copy_region(&sctx->b, newb, 0, 0, 0, 0, &res->b.b, 0, &box); in si_texture_get_handle()
774 si_replace_buffer_storage(&sctx->b, &res->b.b, newb); in si_texture_get_handle()
775 pipe_resource_reference(&newb, NULL); in si_texture_get_handle()