Home
last modified time | relevance | path

Searched full:setup (Results 1 – 25 of 7236) sorted by relevance

12345678910>>...290

/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup.c65 try_update_scene_state(struct lp_setup_context *setup);
69 lp_setup_wait_empty_scene(struct lp_setup_context *setup) in lp_setup_wait_empty_scene() argument
72 if (setup->scenes[0]->fence) { in lp_setup_wait_empty_scene()
73 lp_fence_wait(setup->scenes[0]->fence); in lp_setup_wait_empty_scene()
74 lp_scene_end_rasterization(setup->scenes[0]); in lp_setup_wait_empty_scene()
81 lp_setup_get_empty_scene(struct lp_setup_context *setup) in lp_setup_get_empty_scene() argument
83 assert(setup->scene == NULL); in lp_setup_get_empty_scene()
87 for (i = 0; i < setup->num_active_scenes; i++) { in lp_setup_get_empty_scene()
88 if (setup->scenes[i]->fence) { in lp_setup_get_empty_scene()
89 if (lp_fence_signalled(setup->scenes[i]->fence)) { in lp_setup_get_empty_scene()
[all …]
Dlp_setup_vbuf.c29 * Interface between 'draw' module's output and the llvmpipe rasterizer/setup
32 * call the point/line/tri setup functions.
70 struct lp_setup_context *setup = lp_setup_context(vbr); in lp_setup_get_vertex_info() local
75 lp_setup_update_state(setup, false); in lp_setup_get_vertex_info()
77 return setup->vertex_info; in lp_setup_get_vertex_info()
85 struct lp_setup_context *setup = lp_setup_context(vbr); in lp_setup_allocate_vertices() local
88 if (setup->vertex_buffer_size < size) { in lp_setup_allocate_vertices()
89 align_free(setup->vertex_buffer); in lp_setup_allocate_vertices()
90 setup->vertex_buffer = align_malloc(size, 16); in lp_setup_allocate_vertices()
91 setup->vertex_buffer_size = size; in lp_setup_allocate_vertices()
[all …]
Dlp_setup_point.c63 constant_coef(struct lp_setup_context *setup, in constant_coef() argument
76 point_persp_coeff(struct lp_setup_context *setup, in point_persp_coeff() argument
99 * Setup automatic texcoord coefficients (for sprite rendering).
100 * \param slot the vertex attribute slot to setup
107 texcoord_coef(struct lp_setup_context *setup, in texcoord_coef() argument
118 const float pixel_offset = setup->multisample ? 0.0 : setup->pixel_offset; in texcoord_coef()
166 * Special coefficient setup for gl_FragCoord. X and Y are trivial. Z and W
171 setup_point_fragcoord_coef(struct lp_setup_context *setup, in setup_point_fragcoord_coef() argument
192 constant_coef(setup, info, slot, info->v0[0][2], 2); in setup_point_fragcoord_coef()
197 constant_coef(setup, info, slot, info->v0[0][3], 3); in setup_point_fragcoord_coef()
[all …]
Dlp_setup_rect.c29 * Setup/binning code for screen-aligned quads.
84 lp_setup_whole_tile(struct lp_setup_context *setup, in lp_setup_whole_tile() argument
88 struct lp_scene *scene = setup->scene; in lp_setup_whole_tile()
98 * fb_max_layer and not setup->layer_slot to determine this since even in lp_setup_whole_tile()
118 setup->fs.stored, in lp_setup_whole_tile()
124 setup->fs.stored, in lp_setup_whole_tile()
131 setup->fs.stored, in lp_setup_whole_tile()
139 lp_setup_is_blit(const struct lp_setup_context *setup, in lp_setup_is_blit() argument
143 setup->fs.current.variant; in lp_setup_is_blit()
150 &setup->fs.current.jit_resources.textures[0]; in lp_setup_is_blit()
[all …]
Dlp_setup.h49 lp_setup_reset(struct lp_setup_context *setup);
56 lp_setup_clear(struct lp_setup_context *setup,
63 lp_setup_flush(struct lp_setup_context *setup,
67 lp_setup_bind_framebuffer(struct lp_setup_context *setup,
71 lp_setup_bind_rasterizer(struct lp_setup_context *setup,
75 lp_setup_set_setup_variant(struct lp_setup_context *setup,
79 lp_setup_set_fs_variant(struct lp_setup_context *setup,
83 lp_setup_set_fs_constants(struct lp_setup_context *setup,
88 lp_setup_set_fs_ssbos(struct lp_setup_context *setup,
94 lp_setup_set_fs_images(struct lp_setup_context *setup,
[all …]
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_setup.c55 float dx; /**< X(v1) - X(v0), used only during setup */
56 float dy; /**< Y(v1) - Y(v0), used only during setup */
72 * Triangle setup info.
126 * Clip setup->quad against the scissor/surface bounds.
129 quad_clip(struct setup_context *setup, struct quad_header *quad) in quad_clip() argument
132 const struct pipe_scissor_state *cliprect = &setup->softpipe->cliprect[viewport_index]; in quad_clip()
161 clip_emit_quad(struct setup_context *setup, struct quad_header *quad) in clip_emit_quad() argument
163 quad_clip(setup, quad); in clip_emit_quad()
166 struct softpipe_context *sp = setup->softpipe; in clip_emit_quad()
169 setup->numFragsEmitted += util_bitcount(quad->inout.mask); in clip_emit_quad()
[all …]
/third_party/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_render_cl.c49 static inline void rcl_u8(struct vc4_rcl_setup *setup, u8 val) in rcl_u8() argument
51 *(u8 *)(setup->rcl->vaddr + setup->next_offset) = val; in rcl_u8()
52 setup->next_offset += 1; in rcl_u8()
55 static inline void rcl_u16(struct vc4_rcl_setup *setup, u16 val) in rcl_u16() argument
57 *(u16 *)(setup->rcl->vaddr + setup->next_offset) = val; in rcl_u16()
58 setup->next_offset += 2; in rcl_u16()
61 static inline void rcl_u32(struct vc4_rcl_setup *setup, u32 val) in rcl_u32() argument
63 *(u32 *)(setup->rcl->vaddr + setup->next_offset) = val; in rcl_u32()
64 setup->next_offset += 4; in rcl_u32()
73 static void vc4_store_before_load(struct vc4_rcl_setup *setup) in vc4_store_before_load() argument
[all …]
/third_party/vk-gl-cts/data/gles2/shaders/
Dkeywords.test17 ${SETUP}
34 ${SETUP}
51 ${SETUP}
68 ${SETUP}
85 ${SETUP}
102 ${SETUP}
119 ${SETUP}
136 ${SETUP}
153 ${SETUP}
170 ${SETUP}
[all …]
/third_party/vk-gl-cts/data/gles3/shaders/
Dkeywords.test18 ${SETUP}
36 ${SETUP}
54 ${SETUP}
72 ${SETUP}
90 ${SETUP}
108 ${SETUP}
126 ${SETUP}
144 ${SETUP}
162 ${SETUP}
180 ${SETUP}
[all …]
Dinvalid_texture_functions.test17 ${SETUP}
36 ${SETUP}
55 ${SETUP}
74 ${SETUP}
93 ${SETUP}
112 ${SETUP}
131 ${SETUP}
150 ${SETUP}
169 ${SETUP}
188 ${SETUP}
[all …]
/third_party/python/Doc/distutils/
Dexamples.rst27 ``py_modules`` option in the setup script.
29 In the simplest case, you'll have two files to worry about: a setup script and
33 setup.py
37 directory.) A minimal setup script to describe this situation would be::
39 from distutils.core import setup
40 setup(name='foo',
53 setup might look like this::
56 setup.py
60 and the setup script might be ::
62 from distutils.core import setup
[all …]
/third_party/rust/rust/tests/ui/traits/new-solver/
Dobject-unsafety.stderr1 error[E0277]: the trait bound `dyn Setup<From = T>: Setup` is not satisfied
4 LL | copy::<dyn Setup<From=T>>(t)
5 | ^^^^^^^^^^^^^^^^^ the trait `Setup` is not implemented for `dyn Setup<From = T>`
10 LL | fn copy<U: Setup + ?Sized>(from: &U::From) -> U::From {
14 LL | pub fn copy_any<T>(t: &T) -> T where dyn Setup<From = T>: Setup {
17 error: the type `&<dyn Setup<From = T> as Setup>::From` is not well-formed
20 LL | copy::<dyn Setup<From=T>>(t)
26 LL | copy::<dyn Setup<From=T>>(t)
31 = note: expected reference `&<dyn Setup<From = T> as Setup>::From`
36 LL | fn copy<U: Setup + ?Sized>(from: &U::From) -> U::From {
[all …]
/third_party/gn/src/gn/
Druntime_deps_unittest.cc17 void InitTargetWithType(TestWithScope& setup, in InitTargetWithType() argument
22 target->SetToolchain(setup.toolchain()); in InitTargetWithType()
48 TestWithScope setup; in TEST_F() local
56 Target stat(setup.settings(), Label(SourceDir("//"), "stat")); in TEST_F()
57 InitTargetWithType(setup, &stat, Target::STATIC_LIBRARY); in TEST_F()
61 Target shared(setup.settings(), Label(SourceDir("//"), "shared")); in TEST_F()
62 InitTargetWithType(setup, &shared, Target::SHARED_LIBRARY); in TEST_F()
66 Target loadable(setup.settings(), Label(SourceDir("//"), "loadable")); in TEST_F()
67 InitTargetWithType(setup, &loadable, Target::LOADABLE_MODULE); in TEST_F()
71 Target set(setup.settings(), Label(SourceDir("//"), "set")); in TEST_F()
[all …]
Dscope_unittest.cc37 TestWithScope setup; in TEST() local
39 setup.scope()->AddBuildDependencyFile(source_file); in TEST()
41 Scope new_scope(setup.scope()); in TEST()
47 TestWithScope setup; in TEST() local
59 setup.scope()->SetValue("v", old_value, &assignment); in TEST()
61 setup.scope()->SetValue(private_var_name, old_value, &assignment); in TEST()
65 scoped_refptr<Template> templ(new Template(setup.scope(), &templ_definition)); in TEST()
66 setup.scope()->AddTemplate("templ", templ.get()); in TEST()
68 new Template(setup.scope(), &templ_definition)); in TEST()
69 setup.scope()->AddTemplate("_templ", private_templ.get()); in TEST()
[all …]
Dninja_build_writer_unittest.cc40 TestWithScope setup; in TEST_F() local
43 // Setup sets the default root dir to ".". in TEST_F()
55 setup.build_settings()->SetRootPath(root_realpath); in TEST_F()
56 cmd_out = GetSelfInvocationCommandLine(setup.build_settings()); in TEST_F()
62 setup.build_settings()->SetRootPath(root_realpath); in TEST_F()
63 setup.build_settings()->set_dotfile_name(gn_realpath); in TEST_F()
64 cmd_out = GetSelfInvocationCommandLine(setup.build_settings()); in TEST_F()
71 TestWithScope setup; in TEST_F() local
74 Target target_foo(setup.settings(), Label(SourceDir("//foo/"), "bar")); in TEST_F()
79 target_foo.SetToolchain(setup.toolchain()); in TEST_F()
[all …]
Dfunctions_target_rust_unittest.cc16 TestWithScope setup; in TEST_F() local
20 setup.scope()->set_item_collector(&item_collector); in TEST_F()
21 setup.scope()->set_source_dir(SourceDir("/")); in TEST_F()
30 exe_input.parsed()->Execute(setup.scope(), &err); in TEST_F()
41 lib_input.parsed()->Execute(setup.scope(), &err); in TEST_F()
50 TestWithScope setup; in TEST_F() local
54 setup.scope()->set_item_collector(&item_collector); in TEST_F()
55 setup.scope()->set_source_dir(SourceDir("/")); in TEST_F()
64 normal_input.parsed()->Execute(setup.scope(), &err); in TEST_F()
78 normal_shlib_input.parsed()->Execute(setup.scope(), &err); in TEST_F()
[all …]
Dsetup_unittest.cc5 #include "gn/setup.h"
41 // Run setup and check that the .gn file is in the scheduler's gen deps. in TEST_F()
42 Setup setup; in TEST_F() local
44 setup.DoSetup(FilePathToUTF8(build_temp_dir.GetPath()), true, cmdline)); in TEST_F()
73 // Run setup and check that the .gn file is in the scheduler's gen deps. in TEST_F()
74 Setup setup; in TEST_F() local
76 EXPECT_TRUE(setup.DoSetupWithErr(FilePathToUTF8(build_temp_dir.GetPath()), in TEST_F()
104 // Run setup and check that the .gn file is in the scheduler's gen deps. in TEST_F()
105 Setup setup; in TEST_F() local
107 EXPECT_FALSE(setup.DoSetupWithErr(FilePathToUTF8(build_temp_dir.GetPath()), in TEST_F()
[all …]
Dfunction_forward_variables_from_unittest.cc26 TestWithScope setup; in TEST_F() local
32 input.parsed()->Execute(setup.scope(), &err); in TEST_F()
35 EXPECT_EQ("target, 1, 2\n", setup.print_output()); in TEST_F()
36 setup.print_output().clear(); in TEST_F()
40 TestWithScope setup; in TEST_F() local
49 clobber.parsed()->Execute(setup.scope(), &err); in TEST_F()
56 TestWithScope setup; in TEST_F() local
69 input.parsed()->Execute(setup.scope(), &err); in TEST_F()
72 EXPECT_EQ("1 2 3\n", setup.print_output()); in TEST_F()
73 setup.print_output().clear(); in TEST_F()
[all …]
Dtarget_unittest.cc42 TestWithScope setup; in TEST_F() local
46 TestTarget a(setup, "//foo:a", Target::EXECUTABLE); in TEST_F()
47 TestTarget b(setup, "//foo:b", Target::STATIC_LIBRARY); in TEST_F()
48 TestTarget c(setup, "//foo:c", Target::STATIC_LIBRARY); in TEST_F()
53 Config config(setup.settings(), Label(SourceDir("//foo/"), "config")); in TEST_F()
59 Config all(setup.settings(), Label(SourceDir("//foo/"), "all")); in TEST_F()
65 Config direct(setup.settings(), Label(SourceDir("//foo/"), "direct")); in TEST_F()
87 TestTarget a_fwd(setup, "//foo:a_fwd", Target::EXECUTABLE); in TEST_F()
88 TestTarget b_fwd(setup, "//foo:b_fwd", Target::STATIC_LIBRARY); in TEST_F()
104 TestWithScope setup; in TEST_F() local
[all …]
Dninja_action_target_writer_unittest.cc19 TestWithScope setup; in TEST() local
21 Target target(setup.settings(), Label(SourceDir("//foo/"), "bar")); in TEST()
27 target.SetToolchain(setup.toolchain()); in TEST()
43 TestWithScope setup; in TEST() local
45 Target target(setup.settings(), Label(SourceDir("//foo++/"), "bar")); in TEST()
54 target.SetToolchain(setup.toolchain()); in TEST()
57 setup.build_settings()->set_python_path( in TEST()
79 TestWithScope setup; in TEST() local
81 Target target(setup.settings(), Label(SourceDir("//foo/"), "bar")); in TEST()
90 Pool pool(setup.settings(), in TEST()
[all …]
Dninja_create_bundle_target_writer_unittest.cc27 std::unique_ptr<Target> NewAction(const TestWithScope& setup) { in NewAction() argument
29 auto action = std::make_unique<Target>(setup.settings(), in NewAction()
38 action->SetToolchain(setup.toolchain()); in NewAction()
47 TestWithScope setup; in TEST() local
49 std::unique_ptr<Target> action = NewAction(setup); in TEST()
52 Target bundle_data(setup.settings(), Label(SourceDir("//foo/"), "data")); in TEST()
58 bundle_data.SetToolchain(setup.toolchain()); in TEST()
63 setup.settings(), in TEST()
64 Label(SourceDir("//baz/"), "bar", setup.toolchain()->label().dir(), in TEST()
65 setup.toolchain()->label().name())); in TEST()
[all …]
/third_party/python/Lib/unittest/test/
Dtest_functiontestcase.py15 # "When a setUp() method is defined, the test runner will run that method
18 # setUp() was used to create a fresh sequence for each test."
20 # Make sure the proper call order is maintained, even if setUp() raises
26 def setUp(): function
27 events.append('setUp')
28 raise RuntimeError('raised by setUp')
36 expected = ['startTest', 'setUp', 'addError', 'stopTest']
37 unittest.FunctionTestCase(test, setUp, tearDown).run(result)
40 # "When a setUp() method is defined, the test runner will run that method
43 # setUp() was used to create a fresh sequence for each test."
[all …]
/third_party/skia/m133/tests/graphite/
DProxyCacheTest.cpp114 ProxyCacheSetup setup; in setup_test() local
116 bool success1 = ToolUtils::GetResourceAsBitmap("images/mandrill_32.png", &setup.fBitmap1); in setup_test()
117 bool success2 = ToolUtils::GetResourceAsBitmap("images/mandrill_64.png", &setup.fBitmap2); in setup_test()
124 setup.fProxy1 = proxyCache->findOrCreateCachedProxy(recorder, setup.fBitmap1, in setup_test()
136 setup.fTimeBetweenProxyCreation = skgpu::StdSteadyClock::now(); in setup_test()
139 setup.fProxy2 = proxyCache->findOrCreateCachedProxy(recorder, setup.fBitmap2, in setup_test()
151 setup.fTimeAfterAllProxyCreation = skgpu::StdSteadyClock::now(); in setup_test()
154 return setup; in setup_test()
169 ProxyCacheSetup setup = setup_test(context, testContext, recorder.get(), r); in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_ALL_CONTEXTS() local
170 REPORTER_ASSERT(r, setup.valid()); in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
[all …]
/third_party/python/Lib/distutils/tests/
Dtest_core.py14 # setup script that uses __file__
19 from distutils.core import setup
20 setup()
28 from distutils.core import setup
29 setup()
33 from distutils.core import setup
34 setup()
39 from distutils.core import setup
45 setup(cmdclass={'install': install})
50 def setUp(self): member in CoreTestCase
[all …]
/third_party/benchmark/test/
Dbenchmark_setup_teardown_test.cc11 // Test that Setup() and Teardown() are called exactly once
20 // Setup/Teardown should never be called with any thread_idx != 0. in DoSetup1()
39 ->Setup(DoSetup1)
42 // Test that Setup() and Teardown() are called once for each group of threads.
66 ->Setup(DoSetup2)
73 // Testing interaction with Fixture::Setup/Teardown
75 int setup = 0; variable
83 void SetUp(const ::benchmark::State&) override { in SetUp() function in FIXTURE_BECHMARK_NAME
96 fixture_interaction::setup++; in DoSetupWithFixture()
104 ->Setup(DoSetupWithFixture)
[all …]

12345678910>>...290