Home
last modified time | relevance | path

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

12345678910>>...847

/external/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 …]
Dlp_setup_tri.c125 lp_setup_print_vertex(struct lp_setup_context *setup, in lp_setup_print_vertex() argument
129 const struct lp_setup_variant_key *key = &setup->setup.variant->key; in lp_setup_print_vertex()
159 lp_setup_print_triangle(struct lp_setup_context *setup, in lp_setup_print_triangle() argument
182 lp_setup_print_vertex(setup, "v0", v0); in lp_setup_print_triangle()
183 lp_setup_print_vertex(setup, "v1", v1); in lp_setup_print_triangle()
184 lp_setup_print_vertex(setup, "v2", v2); in lp_setup_print_triangle()
237 check_opaque(const struct lp_setup_context *setup, in check_opaque() argument
243 setup->fs.current.variant; in check_opaque()
253 const float *constants = setup->fs.current.jit_resources.constants[0].f; in check_opaque()
270 * Do basic setup for triangle rasterization and determine which
[all …]
/external/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 …]
Dsp_prim_vbuf.c29 * Interface between 'draw' module's output and the softpipe rasterizer/setup
32 * call the point/line/tri setup functions.
61 struct setup_context *setup; member
139 struct setup_context *setup_ctx = cvbr->setup; in sp_vbuf_set_primitive()
166 struct setup_context *setup = cvbr->setup; in sp_vbuf_draw_elements() local
173 sp_setup_point( setup, in sp_vbuf_draw_elements()
180 sp_setup_line( setup, in sp_vbuf_draw_elements()
188 sp_setup_line( setup, in sp_vbuf_draw_elements()
196 sp_setup_line( setup, in sp_vbuf_draw_elements()
201 sp_setup_line( setup, in sp_vbuf_draw_elements()
[all …]
/external/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 …]
/external/deqp/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 …]
/external/deqp/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 …]
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowNativeStaticLayout.java107 NativeStaticLayoutSetup setup = nativeObjectRegistry.getNativeObject(nativePtr); in nFreeBuilder() local
110 LineBreakerNatives.nGetReleaseResultFunc(), setup.lineBreakerResultPtr); in nFreeBuilder()
128 NativeStaticLayoutSetup setup = nativeObjectRegistry.getNativeObject(nativePtr); in nSetLocale() local
129 setup.localePaint.setTextLocale(Locale.forLanguageTag(locale)); in nSetLocale()
134 NativeStaticLayoutSetup setup = nativeObjectRegistry.getNativeObject(nativePtr); in nSetIndents() local
135 setup.indents = indents; in nSetIndents()
151 NativeStaticLayoutSetup setup = nativeObjectRegistry.getNativeObject(nativePtr); in nSetupParagraph() local
152 setup.text = text; in nSetupParagraph()
153 setup.length = length; in nSetupParagraph()
154 setup.firstWidth = firstWidth; in nSetupParagraph()
[all …]
/external/python/cpython3/Lib/test/test_unittest/
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 …]
/external/libopus/dnn/torch/lpcnet/
Dtrain_lpcnet.py57 'setup' : 'setup.yml',
67 parser.add_argument('setup', type=str, help='setup yaml file')
80 with open(args.setup, 'r') as f:
81 setup = yaml.load(f.read(), yaml.FullLoader) variable
87 if 'sparsification' in setup['lpcnet']['config']:
88 for sp_job in setup['lpcnet']['config']['sparsification'].values():
91 setup['training']['lr'] = 1.0e-5
92 setup['training']['lr_decay_factor'] = 0.0
93 setup['training']['epochs'] = 1
102 setup_name = 'setup.yml'
[all …]
/external/skia/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 …]
/external/libopus/dnn/torch/osce/
Dtrain_model.py71 parser.add_argument('setup', type=str, help='setup yaml file')
84 with open(args.setup, 'r') as f:
85 setup = yaml.load(f.read(), yaml.FullLoader) variable
89 setup_name = 'setup.yml'
94 if not 'name' in setup['model']:
95 print(f'warning: did not find model entry in setup, using default PitchPostFilter')
98 model_name = setup['model']['name']
116 # add repo info to setup
121 setup['repo'] = dict()
131 setup['repo']['hash'] = hash
[all …]
Dtrain_vocoder.py62 parser.add_argument('setup', type=str, help='setup yaml file')
74 with open(args.setup, 'r') as f:
75 setup = yaml.load(f.read(), yaml.FullLoader) variable
79 setup_name = 'setup.yml'
84 if not 'name' in setup['model']:
85 print(f'warning: did not find model entry in setup, using default PitchPostFilter')
88 model_name = setup['model']['name']
106 # add repo info to setup
111 setup['repo'] = dict()
119 setup['repo']['hash'] = hash
[all …]
Dadv_train_model.py66 parser.add_argument('setup', type=str, help='setup yaml file')
78 with open(args.setup, 'r') as f:
79 setup = yaml.load(f.read(), yaml.FullLoader) variable
83 setup_name = 'setup.yml'
88 if not 'name' in setup['model']:
89 print(f'warning: did not find model entry in setup, using default PitchPostFilter')
92 model_name = setup['model']['name']
110 # add repo info to setup
115 setup['repo'] = dict()
123 setup['repo']['hash'] = hash
[all …]
Dadv_train_vocoder.py66 parser.add_argument('setup', type=str, help='setup yaml file')
78 with open(args.setup, 'r') as f:
79 setup = yaml.load(f.read(), yaml.FullLoader) variable
83 setup_name = 'setup.yml'
88 if not 'name' in setup['model']:
89 print(f'warning: did not find model entry in setup, using default PitchPostFilter')
92 model_name = setup['model']['name']
110 # add repo info to setup
115 setup['repo'] = dict()
123 setup['repo']['hash'] = hash
[all …]
/external/ComputeLibrary/tests/validation/fixtures/
DElementwiseOperationsFixture.h50 void setup(ArithmeticOperation op, const TensorShape &shape0, const TensorShape &shape1,
191 void setup(ArithmeticOperation op, const TensorShape &shape0, const TensorShape &shape1,
195 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(op, shape0, s…
281 …void setup(const TensorShape &shape0, const TensorShape &shape1, DataType data_type0, DataType dat… in setup() function
283 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(ArithmeticOpe… in setup()
294 …void setup(const TensorShape &shape, DataType data_type0, DataType data_type1, DataType output_dat… in setup() function
296 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(ArithmeticOpe… in setup()
307 …void setup(const TensorShape &shape0, const TensorShape &shape1, DataType data_type0, DataType dat… in setup() function
309 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(ArithmeticOpe… in setup()
320 …void setup(const TensorShape &shape, DataType data_type0, DataType data_type1, DataType output_dat… in setup() function
[all …]
/external/cronet/tot/third_party/google_benchmark/src/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 …]
/external/google-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 …]
/external/cronet/stable/third_party/google_benchmark/src/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 …]
/external/pigweed/pw_build/python_dist/
DREADME.md2 Setup and usage instructions for Pigweed Python distributables.
7 ## Setup section in Python Distributables
8 Run the included setup script found inside the unzipped directory. The setup
13 setup.sh
16 Alternatively, the Linux/MacOS version of the setup script also allows
20 setup.sh <PATH_TO_EXISTING_VENV>
25 setup.bat
29 Both the Linux/MacOS and Windows versions of the setup script support the use
31 directory as the setup script, it will automatically be used during setup to
39 Once setup is complete, the Python tools can be invoked as runnable modules:

12345678910>>...847