Home
last modified time | relevance | path

Searched refs:setup (Results 1 – 25 of 3619) sorted by relevance

12345678910>>...145

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup.c64 static boolean try_update_scene_state( struct lp_setup_context *setup );
68 lp_setup_get_empty_scene(struct lp_setup_context *setup) in lp_setup_get_empty_scene() argument
70 assert(setup->scene == NULL); in lp_setup_get_empty_scene()
72 setup->scene_idx++; in lp_setup_get_empty_scene()
73 setup->scene_idx %= ARRAY_SIZE(setup->scenes); in lp_setup_get_empty_scene()
75 setup->scene = setup->scenes[setup->scene_idx]; in lp_setup_get_empty_scene()
77 if (setup->scene->fence) { in lp_setup_get_empty_scene()
80 __FUNCTION__, setup->scene->fence->id); in lp_setup_get_empty_scene()
82 lp_fence_wait(setup->scene->fence); in lp_setup_get_empty_scene()
85 lp_scene_begin_binning(setup->scene, &setup->fb, setup->rasterizer_discard); in lp_setup_get_empty_scene()
[all …]
Dlp_setup_vbuf.c63 struct lp_setup_context *setup = lp_setup_context(vbr); in lp_setup_get_vertex_info() local
68 lp_setup_update_state(setup, FALSE); in lp_setup_get_vertex_info()
70 return setup->vertex_info; in lp_setup_get_vertex_info()
78 struct lp_setup_context *setup = lp_setup_context(vbr); in lp_setup_allocate_vertices() local
81 if (setup->vertex_buffer_size < size) { in lp_setup_allocate_vertices()
82 align_free(setup->vertex_buffer); in lp_setup_allocate_vertices()
83 setup->vertex_buffer = align_malloc(size, 16); in lp_setup_allocate_vertices()
84 setup->vertex_buffer_size = size; in lp_setup_allocate_vertices()
87 setup->vertex_size = vertex_size; in lp_setup_allocate_vertices()
88 setup->nr_vertices = nr_vertices; in lp_setup_allocate_vertices()
[all …]
Dlp_setup.h50 void lp_setup_reset( struct lp_setup_context *setup );
57 lp_setup_clear(struct lp_setup_context *setup,
66 lp_setup_flush( struct lp_setup_context *setup,
72 lp_setup_bind_framebuffer( struct lp_setup_context *setup,
76 lp_setup_set_triangle_state( struct lp_setup_context *setup,
84 lp_setup_set_line_state( struct lp_setup_context *setup,
88 lp_setup_set_point_state( struct lp_setup_context *setup,
95 lp_setup_set_setup_variant( struct lp_setup_context *setup,
99 lp_setup_set_fs_variant( struct lp_setup_context *setup,
103 lp_setup_set_fs_constants(struct lp_setup_context *setup,
[all …]
Dlp_setup_point.c64 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
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()
175 setup_point_fragcoord_coef(struct lp_setup_context *setup, in setup_point_fragcoord_coef() argument
196 constant_coef(setup, info, slot, info->v0[0][2], 2); in setup_point_fragcoord_coef()
201 constant_coef(setup, info, slot, info->v0[0][3], 3); in setup_point_fragcoord_coef()
[all …]
Dlp_setup_line.c63 static void constant_coef( struct lp_setup_context *setup, in constant_coef() argument
79 static void linear_coef( struct lp_setup_context *setup, in linear_coef() argument
96 (dadx * (info->v1[0][0] - setup->pixel_offset) + in linear_coef()
97 dady * (info->v1[0][1] - setup->pixel_offset))); in linear_coef()
109 static void perspective_coef( struct lp_setup_context *setup, in perspective_coef() argument
128 (dadx * (info->v1[0][0] - setup->pixel_offset) + in perspective_coef()
129 dady * (info->v1[0][1] - setup->pixel_offset))); in perspective_coef()
133 setup_fragcoord_coef( struct lp_setup_context *setup, in setup_fragcoord_coef() argument
154 linear_coef(setup, info, slot, 0, 2); in setup_fragcoord_coef()
159 linear_coef(setup, info, slot, 0, 3); in setup_fragcoord_coef()
[all …]
Dlp_setup_tri.c116 lp_setup_print_vertex(struct lp_setup_context *setup, in lp_setup_print_vertex() argument
120 const struct lp_setup_variant_key *key = &setup->setup.variant->key; in lp_setup_print_vertex()
151 lp_setup_print_triangle(struct lp_setup_context *setup, in lp_setup_print_triangle() argument
174 lp_setup_print_vertex(setup, "v0", v0); in lp_setup_print_triangle()
175 lp_setup_print_vertex(setup, "v1", v1); in lp_setup_print_triangle()
176 lp_setup_print_vertex(setup, "v2", v2); in lp_setup_print_triangle()
215 lp_setup_whole_tile(struct lp_setup_context *setup, in lp_setup_whole_tile() argument
219 struct lp_scene *scene = setup->scene; in lp_setup_whole_tile()
246 setup->fs.stored, in lp_setup_whole_tile()
252 setup->fs.stored, in lp_setup_whole_tile()
[all …]
Dlp_setup_context.h154 } setup; member
186 void lp_setup_choose_triangle( struct lp_setup_context *setup );
187 void lp_setup_choose_line( struct lp_setup_context *setup );
188 void lp_setup_choose_point( struct lp_setup_context *setup );
190 void lp_setup_init_vbuf(struct lp_setup_context *setup);
192 boolean lp_setup_update_state( struct lp_setup_context *setup,
195 void lp_setup_destroy( struct lp_setup_context *setup );
197 boolean lp_setup_flush_and_restart(struct lp_setup_context *setup);
200 lp_setup_print_triangle(struct lp_setup_context *setup,
206 lp_setup_print_vertex(struct lp_setup_context *setup,
[all …]
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_setup.c128 quad_clip(struct setup_context *setup, struct quad_header *quad) in quad_clip() argument
131 const struct pipe_scissor_state *cliprect = &setup->softpipe->cliprect[viewport_index]; in quad_clip()
160 clip_emit_quad(struct setup_context *setup, struct quad_header *quad) in clip_emit_quad() argument
162 quad_clip(setup, quad); in clip_emit_quad()
165 struct softpipe_context *sp = setup->softpipe; in clip_emit_quad()
168 setup->numFragsEmitted += util_bitcount(quad->inout.mask); in clip_emit_quad()
199 flush_spans(struct setup_context *setup) in flush_spans() argument
202 const int xleft0 = setup->span.left[0]; in flush_spans()
203 const int xleft1 = setup->span.left[1]; in flush_spans()
204 const int xright0 = setup->span.right[0]; in flush_spans()
[all …]
Dsp_prim_vbuf.c61 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()
209 sp_setup_tri( setup, in sp_vbuf_draw_elements()
220 sp_setup_tri( 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/aac/libSACdec/src/
Dsac_dec.cpp181 SPATIAL_BS_FRAME *bsFrame, const SACDEC_CREATION_PARAMS *const setup) { in SpatialDecClearFrameData() argument
186 FDK_ASSERT(setup != NULL); in SpatialDecClearFrameData()
189 for (i = 0; i < setup->maxNumOutputChannels; in SpatialDecClearFrameData()
209 resQmfBands = setup->maxNumQmfBands; in SpatialDecClearFrameData()
211 for (i = 0; i < setup->bProcResidual in SpatialDecClearFrameData()
212 ? fMin(setup->maxNumResChannels, in SpatialDecClearFrameData()
213 setup->maxNumOttBoxes + setup->maxNumInputChannels) in SpatialDecClearFrameData()
244 SACDEC_CREATION_PARAMS setup; in FDK_SpatialDecOpen() local
248 setup.maxNumInputChannels = 1; in FDK_SpatialDecOpen()
249 setup.maxNumOutputChannels = 2; in FDK_SpatialDecOpen()
[all …]
/external/u-boot/drivers/i2c/
Dstm32f7_i2c.c196 struct stm32_i2c_setup *setup; member
486 static int stm32_i2c_compute_solutions(struct stm32_i2c_setup *setup, in stm32_i2c_compute_solutions() argument
492 setup->clock_src); in stm32_i2c_compute_solutions()
498 af_delay_min = setup->analog_filter ? in stm32_i2c_compute_solutions()
500 af_delay_max = setup->analog_filter ? in stm32_i2c_compute_solutions()
503 sdadel_min = setup->fall_time - i2c_specs[setup->speed].hddat_min - in stm32_i2c_compute_solutions()
504 af_delay_min - (setup->dnf + 3) * i2cclk; in stm32_i2c_compute_solutions()
506 sdadel_max = i2c_specs[setup->speed].vddat_max - setup->rise_time - in stm32_i2c_compute_solutions()
507 af_delay_max - (setup->dnf + 4) * i2cclk; in stm32_i2c_compute_solutions()
509 scldel_min = setup->rise_time + i2c_specs[setup->speed].sudat_min; in stm32_i2c_compute_solutions()
[all …]
/external/python/cpython2/Lib/
Dtimeit.py94 def _template_func(setup, func): argument
97 setup()
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")
133 if isinstance(setup, basestring):
134 setup = reindent(setup, 4)
135 src = template % {'stmt': stmt, 'setup': setup, 'init': ''}
136 elif hasattr(setup, '__call__'):
[all …]
/external/u-boot/drivers/usb/emul/
Dsandbox_hub.c205 struct devrequest *setup) in sandbox_hub_submit_control_msg() argument
211 switch (setup->requesttype) { in sandbox_hub_submit_control_msg()
213 switch (setup->request) { in sandbox_hub_submit_control_msg()
225 __func__, setup->requesttype, in sandbox_hub_submit_control_msg()
226 setup->request); in sandbox_hub_submit_control_msg()
230 switch (setup->request) { in sandbox_hub_submit_control_msg()
235 port = (setup->index & USB_HUB_PORT_MASK) - 1; in sandbox_hub_submit_control_msg()
245 __func__, setup->requesttype, setup->request); in sandbox_hub_submit_control_msg()
249 switch (setup->requesttype) { in sandbox_hub_submit_control_msg()
251 switch (setup->request) { in sandbox_hub_submit_control_msg()
[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/python/cpython3/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/freetype/builds/windows/
Ddetect.mk16 .PHONY: setup
103 $(info $(empty) make setup gcc (with Mingw))
104 $(info $(empty) make setup visualc Microsoft Visual C++)
105 $(info $(empty) make setup bcc32 Borland C/C++)
106 $(info $(empty) make setup lcc Win32-LCC)
107 $(info $(empty) make setup intelc Intel C/C++)
110 setup: dump_target_list
113 setup: std_setup
123 visualc: setup
132 visualc: setup
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AArch64/
Dldst-miflags.mir9 frame-setup STRWui $w1, $x0, 1 :: (store 4)
12 ; CHECK: frame-setup STRWui
13 ; CHECK-NOT: frame-setup
25 frame-setup STRWui $w1, $x0, 1 :: (store 4)
28 ; CHECK: frame-setup STRWui
29 ; CHECK-NOT: frame-setup
41 frame-setup STRWui $w1, $x0, 1 :: (store 4)
44 ; CHECK: frame-setup STRWui
45 ; CHECK-NOT: frame-setup
57 frame-setup STRHHui $wzr, $x0, 0 :: (store 4)
[all …]
/external/skqp/modules/pathkit/perf/
Dpath.bench.js61 function setup(ctx) { } function
71 benchmarkAndReport('path_path2dapi', setup, test, teardown).then(() => {
79 function setup(ctx) { function
93 benchmarkAndReport('path_copy', setup, test, teardown).then(() => {
100 function setup(ctx) { } function
116 benchmarkAndReport('path_from_api_calls', setup, test, teardown).then(() => {
123 function setup(ctx) { } function
139 benchmarkAndReport('path_fromCmds', setup, test, teardown).then(() => {
146 function setup(ctx) {} function
157 benchmarkAndReport('path_fromSVGString', setup, test, teardown).then(() => {
[all …]
/external/skia/modules/pathkit/perf/
Dpath.bench.js61 function setup(ctx) { } function
71 benchmarkAndReport('path_path2dapi', setup, test, teardown).then(() => {
79 function setup(ctx) { function
93 benchmarkAndReport('path_copy', setup, test, teardown).then(() => {
100 function setup(ctx) { } function
116 benchmarkAndReport('path_from_api_calls', setup, test, teardown).then(() => {
123 function setup(ctx) { } function
139 benchmarkAndReport('path_fromCmds', setup, test, teardown).then(() => {
146 function setup(ctx) {} function
157 benchmarkAndReport('path_fromSVGString', setup, test, teardown).then(() => {
[all …]
/external/python/cpython3/Lib/
Dtimeit.py100 def __init__(self, stmt="pass", setup="pass", timer=default_timer, argument
107 if isinstance(setup, str):
109 compile(setup, dummy_src_name, "exec")
110 stmtprefix = setup + '\n'
111 setup = reindent(setup, 4)
112 elif callable(setup):
113 local_ns['_setup'] = setup
116 setup = '_setup()'
129 src = template.format(stmt=stmt, setup=setup, init=init)
229 def timeit(stmt="pass", setup="pass", timer=default_timer, argument
[all …]
/external/avb/examples/uefi/
Duefi_avb_boot.c85 struct SetupHeader* setup);
87 struct SetupHeader* setup) { in linux_efi_handover() argument
92 (handover_f)((UINTN)setup->code32_start + 512 + setup->handover_offset); in linux_efi_handover()
93 handover(image, ST, setup); in linux_efi_handover()
98 struct SetupHeader* setup)
101 struct SetupHeader* setup) { in linux_efi_handover() argument
104 handover = (handover_f)((UINTN)setup->code32_start + setup->handover_offset); in linux_efi_handover()
105 handover(image, ST, setup); in linux_efi_handover()
134 struct SetupHeader* setup; in uefi_avb_boot_kernel() local
276 setup = (struct SetupHeader*)(UINTN)addr; in uefi_avb_boot_kernel()
[all …]
/external/u-boot/drivers/usb/host/
Dusb-sandbox.c17 struct devrequest *setup, struct udevice *emul) in usbmon_trace() argument
28 if (setup) { in usbmon_trace()
29 debug(" s %02x %02x %04x %04x %04x", setup->requesttype, in usbmon_trace()
30 setup->request, setup->value, setup->index, in usbmon_trace()
31 setup->length); in usbmon_trace()
42 struct devrequest *setup) in sandbox_submit_control() argument
51 usbmon_trace(bus, pipe, setup, emul); in sandbox_submit_control()
56 if (setup->request == USB_REQ_SET_ADDRESS) { in sandbox_submit_control()
58 ctrl->rootdev = le16_to_cpu(setup->value); in sandbox_submit_control()
62 ret = usb_emul_control(emul, udev, pipe, buffer, length, setup); in sandbox_submit_control()
/external/protobuf/python/
Dtox.ini13 python setup.py -q build_py
14 python: python setup.py -q build
15 cpp: python setup.py -q build --cpp_implementation --warnings_as_errors
16 python: python setup.py -q test -q
17 cpp: python setup.py -q test -q --cpp_implementation
18 python: python setup.py -q test_conformance
19 cpp: python setup.py -q test_conformance --cpp_implementation
21 # Keep this list of dependencies in sync with setup.py.
/external/aac/libFDK/src/
DFDK_hybrid.cpp224 HANDLE_FDK_HYBRID_SETUP setup = NULL; in FDKhybridAnalysisInit() local
228 setup = &setup_3_10; in FDKhybridAnalysisInit()
231 setup = &setup_3_12; in FDKhybridAnalysisInit()
234 setup = &setup_3_16; in FDKhybridAnalysisInit()
242 hAnalysisHybFilter->pSetup = setup; in FDKhybridAnalysisInit()
244 hAnalysisHybFilter->bufferLFpos = setup->protoLen - 1; in FDKhybridAnalysisInit()
252 if (((2 * setup->nrQmfBands * setup->protoLen * sizeof(FIXP_DBL)) > in FDKhybridAnalysisInit()
258 if (((setup->filterDelay * in FDKhybridAnalysisInit()
259 ((qmfBands - setup->nrQmfBands) + (cplxBands - setup->nrQmfBands)) * in FDKhybridAnalysisInit()
268 for (k = 0; k < setup->nrQmfBands; k++) { in FDKhybridAnalysisInit()
[all …]

12345678910>>...145