Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DCasting.cpp192 std::unique_ptr<base> newb() { return llvm::make_unique<derived>(); } in newb() function
233 auto B2 = unique_dyn_cast<derived>(newb()); in TEST()
236 auto B3 = unique_dyn_cast<base>(newb()); in TEST()
239 auto F2 = unique_dyn_cast<foo>(newb()); in TEST()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_texture.c516 struct pipe_resource *newb = in r600_texture_get_handle() local
518 if (!newb) in r600_texture_get_handle()
523 u_box_1d(0, newb->width0, &box); in r600_texture_get_handle()
524 rctx->b.resource_copy_region(&rctx->b, newb, 0, 0, 0, 0, in r600_texture_get_handle()
527 r600_replace_buffer_storage(&rctx->b, &res->b.b, newb); in r600_texture_get_handle()
528 pipe_resource_reference(&newb, NULL); in r600_texture_get_handle()
/external/mesa3d/src/gallium/drivers/radeon/
Dr600_texture.c770 struct pipe_resource *newb = in r600_texture_get_handle() local
772 if (!newb) in r600_texture_get_handle()
777 u_box_1d(0, newb->width0, &box); in r600_texture_get_handle()
778 rctx->b.resource_copy_region(&rctx->b, newb, 0, 0, 0, 0, in r600_texture_get_handle()
782 si_replace_buffer_storage(&rctx->b, &res->b.b, newb); in r600_texture_get_handle()
783 pipe_resource_reference(&newb, NULL); in r600_texture_get_handle()