Home
last modified time | relevance | path

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

12345678910>>...579

/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
121 float x0 = info->v0[0][0] - setup->pixel_offset; in texcoord_coef()
122 float y0 = info->v0[0][1] - setup->pixel_offset; in texcoord_coef()
136 float x0 = info->v0[0][0] - setup->pixel_offset; in texcoord_coef()
137 float y0 = info->v0[0][1] - setup->pixel_offset; in texcoord_coef()
165 * Special coefficient setup for gl_FragCoord. X and Y are trivial. Z and W
[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 …]
/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 …]
/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.java111 NativeStaticLayoutSetup setup = nativeObjectRegistry.getNativeObject(nativePtr); in nFreeBuilder() local
114 LineBreakerNatives.nGetReleaseResultFunc(), setup.lineBreakerResultPtr); in nFreeBuilder()
132 NativeStaticLayoutSetup setup = nativeObjectRegistry.getNativeObject(nativePtr); in nSetLocale() local
133 setup.localePaint.setTextLocale(Locale.forLanguageTag(locale)); in nSetLocale()
138 NativeStaticLayoutSetup setup = nativeObjectRegistry.getNativeObject(nativePtr); in nSetIndents() local
139 setup.indents = indents; in nSetIndents()
155 NativeStaticLayoutSetup setup = nativeObjectRegistry.getNativeObject(nativePtr); in nSetupParagraph() local
156 setup.text = text; in nSetupParagraph()
157 setup.length = length; in nSetupParagraph()
158 setup.firstWidth = firstWidth; in nSetupParagraph()
[all …]
/external/python/setuptools/docs/deprecated/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 …]
/external/python/cpython3/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 …]
/external/python/cpython2/Doc/distutils/
Dexamples.rst25 ``py_modules`` option in the setup script.
27 In the simplest case, you'll have two files to worry about: a setup script and
31 setup.py
35 directory.) A minimal setup script to describe this situation would be::
37 from distutils.core import setup
38 setup(name='foo',
51 setup might look like this::
54 setup.py
58 and the setup script might be ::
60 from distutils.core import setup
[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/python/cpython3/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 …]
/external/python/cpython2/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 …]
/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/python/setuptools/docs/userguide/
Dquickstart.rst41 Setuptools currently supports configurations from either ``setup.cfg``,
42 ``setup.py`` or ``pyproject.toml`` [#experimental]_ files, however, configuring new
43 projects via ``setup.py`` is discouraged [#setup.py]_.
47 .. tab:: setup.cfg
63 .. tab:: setup.py [#setup.py]_
67 from setuptools import setup
69 setup(
99 setup.cfg # or setup.py
112 more information to your setup script to help people find or learn about your
122 the ``packages`` keyword in ``setup.cfg``. However, for very large projects,
[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 …]
/external/python/cpython2/Lib/
Dtimeit.py17 -s/--setup S: statement to be executed once initially (default 'pass')
78 # in Timer.__init__() depend on setup being indented 4 spaces and stmt
82 %(setup)s
94 def _template_func(setup, func): argument
97 setup()
109 statement used for setup, and a timer function. Both statements
121 def __init__(self, stmt="pass", setup="pass", timer=default_timer): argument
127 if isinstance(setup, basestring):
128 compile(setup, dummy_src_name, "exec")
129 compile(setup + '\n' + stmt, dummy_src_name, "exec")
[all …]
/external/python/setuptools/setuptools/_distutils/tests/
Dtest_core.py15 # setup script that uses __file__
20 from distutils.core import setup
21 setup()
29 from distutils.core import setup
30 setup()
34 from distutils.core import setup
35 setup()
40 from distutils.core import setup
46 setup(cmdclass={'install': install})
50 from distutils.core import setup
[all …]
/external/python/setuptools/setuptools/tests/
Dtest_build_meta.py17 SETUP_SCRIPT_STUB = "__import__('setuptools').setup()"
95 { # simple setup.py script
96 'setup.py': DALS("""
97 __import__('setuptools').setup(
109 { # setup.py that relies on __name__
110 'setup.py': DALS("""
112 __import__('setuptools').setup(
124 { # setup.py script that runs arbitrary code
125 'setup.py': DALS("""
130 __import__('setuptools').setup(
[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 …]

12345678910>>...579