/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_setup.c | 66 static boolean try_update_scene_state(struct lp_setup_context *setup); 70 lp_setup_wait_empty_scene(struct lp_setup_context *setup) in lp_setup_wait_empty_scene() argument 73 if (setup->scenes[0]->fence) { in lp_setup_wait_empty_scene() 75 __FUNCTION__, setup->scenes[0]->fence->id); in lp_setup_wait_empty_scene() 76 lp_fence_wait(setup->scenes[0]->fence); in lp_setup_wait_empty_scene() 77 lp_scene_end_rasterization(setup->scenes[0]); in lp_setup_wait_empty_scene() 84 lp_setup_get_empty_scene(struct lp_setup_context *setup) in lp_setup_get_empty_scene() argument 86 assert(setup->scene == NULL); in lp_setup_get_empty_scene() 90 for (i = 0; i < setup->num_active_scenes; i++) { in lp_setup_get_empty_scene() 91 if (setup->scenes[i]->fence) { in lp_setup_get_empty_scene() [all …]
|
D | lp_setup_vbuf.c | 29 * 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 …]
|
D | lp_setup_rect.c | 29 * Setup/binning code for screen-aligned quads. 91 lp_setup_whole_tile(struct lp_setup_context *setup, in lp_setup_whole_tile() argument 95 struct lp_scene *scene = setup->scene; in lp_setup_whole_tile() 105 * fb_max_layer and not setup->layer_slot to determine this since even in lp_setup_whole_tile() 125 setup->fs.stored, in lp_setup_whole_tile() 131 setup->fs.stored, in lp_setup_whole_tile() 138 setup->fs.stored, in lp_setup_whole_tile() 146 lp_setup_is_blit(const struct lp_setup_context *setup, in lp_setup_is_blit() argument 150 setup->fs.current.variant; in lp_setup_is_blit() 157 &setup->fs.current.jit_context.textures[0]; in lp_setup_is_blit() [all …]
|
D | lp_setup_point.c | 64 constant_coef(struct lp_setup_context *setup, in constant_coef() argument 77 point_persp_coeff(struct lp_setup_context *setup, in point_persp_coeff() argument 100 * Setup automatic texcoord coefficients (for sprite rendering). 101 * \param slot the vertex attribute slot to setup 108 texcoord_coef(struct lp_setup_context *setup, in texcoord_coef() argument 122 float x0 = info->v0[0][0] - setup->pixel_offset; in texcoord_coef() 123 float y0 = info->v0[0][1] - setup->pixel_offset; in texcoord_coef() 138 float x0 = info->v0[0][0] - setup->pixel_offset; in texcoord_coef() 139 float y0 = info->v0[0][1] - setup->pixel_offset; in texcoord_coef() 169 * Special coefficient setup for gl_FragCoord. [all …]
|
D | lp_setup.h | 49 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/ |
D | sp_setup.c | 55 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/ |
D | vc4_render_cl.c | 49 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/ |
D | keywords.test | 17 ${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/ |
D | keywords.test | 18 ${SETUP} 36 ${SETUP} 54 ${SETUP} 72 ${SETUP} 90 ${SETUP} 108 ${SETUP} 126 ${SETUP} 144 ${SETUP} 162 ${SETUP} 180 ${SETUP} [all …]
|
D | invalid_texture_functions.test | 17 ${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/ |
D | examples.rst | 27 ``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/gn/src/gn/ |
D | runtime_deps_unittest.cc | 17 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 …]
|
D | scope_unittest.cc | 37 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 …]
|
D | ninja_build_writer_unittest.cc | 39 TestWithScope setup; in TEST_F() local 42 // Setup sets the default root dir to ".". in TEST_F() 54 setup.build_settings()->SetRootPath(root_realpath); in TEST_F() 55 cmd_out = GetSelfInvocationCommandLine(setup.build_settings()); in TEST_F() 61 setup.build_settings()->SetRootPath(root_realpath); in TEST_F() 62 setup.build_settings()->set_dotfile_name(gn_realpath); in TEST_F() 63 cmd_out = GetSelfInvocationCommandLine(setup.build_settings()); in TEST_F() 70 TestWithScope setup; in TEST_F() local 73 Target target_foo(setup.settings(), Label(SourceDir("//foo/"), "bar")); in TEST_F() 78 target_foo.SetToolchain(setup.toolchain()); in TEST_F() [all …]
|
D | functions_target_rust_unittest.cc | 16 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 …]
|
D | target_unittest.cc | 42 TestWithScope setup; in TEST_F() local 49 TestTarget z(setup, "//foo:z", Target::STATIC_LIBRARY); in TEST_F() 64 TestTarget shared(setup, "//foo:shared", Target::SHARED_LIBRARY); in TEST_F() 78 TestTarget exec(setup, "//foo:exec", Target::EXECUTABLE); in TEST_F() 88 TestWithScope setup; in TEST_F() local 95 TestTarget z(setup, "//foo:z", Target::STATIC_LIBRARY); in TEST_F() 110 TestTarget shared(setup, "//foo:shared", Target::SHARED_LIBRARY); in TEST_F() 124 TestTarget exec(setup, "//foo:exec", Target::EXECUTABLE); in TEST_F() 133 TestWithScope setup; in TEST_F() local 137 TestTarget a(setup, "//foo:a", Target::EXECUTABLE); in TEST_F() [all …]
|
D | function_forward_variables_from_unittest.cc | 26 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 …]
|
D | ninja_create_bundle_target_writer_unittest.cc | 27 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 …]
|
D | ninja_action_target_writer_unittest.cc | 19 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 …]
|
D | operators_unittest.cc | 102 TestWithScope setup; in TEST() local 106 setup.scope()->SetValue(sources, Value(nullptr, Value::LIST), nullptr); in TEST() 114 node.Execute(setup.scope(), &err); in TEST() 120 node.Execute(setup.scope(), &err); in TEST() 125 node.Execute(setup.scope(), &err); in TEST() 129 const Value* value = setup.scope()->GetValue(sources); in TEST() 142 TestWithScope setup; in TEST() local 146 setup.scope()->SetValue(foo, Value(nullptr, Value::LIST), nullptr); in TEST() 157 Value ret = ExecuteBinaryOperator(setup.scope(), &node, node.left(), in TEST() 166 Value result = *setup.scope()->GetValue(foo); in TEST() [all …]
|
D | rust_project_writer_unittest.cc | 29 TestWithScope setup; in TEST_F() local 30 setup.build_settings()->SetRootPath(UTF8ToFilePath("path")); in TEST_F() 32 Target target(setup.settings(), Label(SourceDir("//foo/"), "bar")); in TEST_F() 41 target.SetToolchain(setup.toolchain()); in TEST_F() 47 RustProjectWriter::RenderJSON(setup.build_settings(), targets, stream); in TEST_F() 84 TestWithScope setup; in TEST_F() local 86 Target dep(setup.settings(), Label(SourceDir("//tortoise/"), "bar")); in TEST_F() 94 dep.SetToolchain(setup.toolchain()); in TEST_F() 97 Target target(setup.settings(), Label(SourceDir("//hare/"), "bar")); in TEST_F() 106 target.SetToolchain(setup.toolchain()); in TEST_F() [all …]
|
D | function_foreach_unittest.cc | 9 TestWithScope setup; in TEST() local 21 input.parsed()->Execute(setup.scope(), &err); in TEST() 24 EXPECT_EQ("5 1\n6 2\n7 3\n8 6\n", setup.print_output()); in TEST() 28 TestWithScope setup; in TEST() local 36 input_good.parsed()->Execute(setup.scope(), &err); in TEST() 39 EXPECT_EQ("1\n2\n3\n", setup.print_output()); in TEST() 40 setup.print_output().clear(); in TEST() 51 input_bad.parsed()->Execute(setup.scope(), &err); in TEST() 57 TestWithScope setup; in TEST() local 66 input_good.parsed()->Execute(setup.scope(), &err); in TEST() [all …]
|
/third_party/python/Lib/unittest/test/ |
D | test_functiontestcase.py | 15 # "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/python/Lib/distutils/tests/ |
D | test_core.py | 14 # 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/ |
D | benchmark_setup_teardown_test.cc | 11 // 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&) BENCHMARK_OVERRIDE { in SetUp() function in FIXTURE_BECHMARK_NAME 96 fixture_interaction::setup++; in DoSetupWithFixture() 104 ->Setup(DoSetupWithFixture) [all …]
|