/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_setup.c | 64 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 …]
|
D | lp_setup_vbuf.c | 63 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 …]
|
D | lp_setup.h | 50 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 …]
|
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 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 …]
|
D | lp_setup_line.c | 63 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 …]
|
D | lp_setup_tri.c | 119 lp_setup_print_vertex(struct lp_setup_context *setup, in lp_setup_print_vertex() argument 123 const struct lp_setup_variant_key *key = &setup->setup.variant->key; in lp_setup_print_vertex() 154 lp_setup_print_triangle(struct lp_setup_context *setup, in lp_setup_print_triangle() argument 177 lp_setup_print_vertex(setup, "v0", v0); in lp_setup_print_triangle() 178 lp_setup_print_vertex(setup, "v1", v1); in lp_setup_print_triangle() 179 lp_setup_print_vertex(setup, "v2", v2); in lp_setup_print_triangle() 218 lp_setup_whole_tile(struct lp_setup_context *setup, in lp_setup_whole_tile() argument 222 struct lp_scene *scene = setup->scene; in lp_setup_whole_tile() 249 setup->fs.stored, in lp_setup_whole_tile() 255 setup->fs.stored, in lp_setup_whole_tile() [all …]
|
D | lp_setup_context.h | 154 } 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 …]
|
D | lp_state_derived.c | 172 lp_setup_set_vertex_info(llvmpipe->setup, vinfo); in compute_vertex_info() 216 lp_setup_set_rasterizer_discard(llvmpipe->setup, discard); in llvmpipe_update_derived() 225 lp_setup_set_blend_color(llvmpipe->setup, in llvmpipe_update_derived() 229 lp_setup_set_scissors(llvmpipe->setup, llvmpipe->scissors); in llvmpipe_update_derived() 232 lp_setup_set_alpha_ref_value(llvmpipe->setup, in llvmpipe_update_derived() 234 lp_setup_set_stencil_ref_values(llvmpipe->setup, in llvmpipe_update_derived() 239 lp_setup_set_fs_constants(llvmpipe->setup, in llvmpipe_update_derived() 244 lp_setup_set_fragment_sampler_views(llvmpipe->setup, in llvmpipe_update_derived() 249 lp_setup_set_fragment_sampler_state(llvmpipe->setup, in llvmpipe_update_derived() 260 lp_setup_set_viewports(llvmpipe->setup, in llvmpipe_update_derived()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_setup.c | 128 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 …]
|
D | sp_prim_vbuf.c | 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() 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/ |
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 …]
|
/external/python/cpython2/Lib/ |
D | timeit.py | 94 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/python/cpython2/Doc/distutils/ |
D | examples.rst | 25 ``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/ltp/testcases/kernel/syscalls/mq_timedreceive/ |
D | mq_timedreceive01.c | 46 void (*setup)(void); member 64 .setup = create_queue, 72 .setup = create_queue, 80 .setup = create_queue, 88 .setup = create_queue, 97 .setup = create_queue, 121 .setup = open_fd, 127 .setup = create_queue_nonblock, 135 .setup = create_queue, 143 .setup = create_queue, [all …]
|
/external/avb/examples/uefi/ |
D | uefi_avb_boot.c | 85 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/autotest/client/site_tests/security_Minijail0/ |
D | security_Minijail0.py | 24 setup = '' 28 setup = m.group(1) 29 return setup 52 setup = self.get_test_option(file(path), 'setup') 58 if setup: 59 if '%T' in setup: 61 setup = setup.replace('%T', td) 62 if '%S' in setup: 63 setup = setup.replace('%S', self.srcdir) 64 utils.system(setup) [all …]
|
/external/protobuf/python/ |
D | tox.ini | 13 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/libchrome/testing/ |
D | multiprocess_func_list.cc | 16 ProcessFunctions() : main(NULL), setup(NULL) {} in ProcessFunctions() 17 ProcessFunctions(TestMainFunctionPtr main, SetupFunctionPtr setup) in ProcessFunctions() 19 setup(setup) { in ProcessFunctions() 22 SetupFunctionPtr setup; member 48 if (process_functions.setup) in InvokeChildProcessTest() 49 (*process_functions.setup)(); in InvokeChildProcessTest()
|
/external/aac/libFDK/src/ |
D | FDK_hybrid.cpp | 214 HANDLE_FDK_HYBRID_SETUP setup = NULL; in FDKhybridAnalysisInit() local 217 case THREE_TO_TEN: setup = (HANDLE_FDK_HYBRID_SETUP)&setup_3_10; break; in FDKhybridAnalysisInit() 218 case THREE_TO_TWELVE: setup = (HANDLE_FDK_HYBRID_SETUP)&setup_3_12; break; in FDKhybridAnalysisInit() 219 case THREE_TO_SIXTEEN: setup = (HANDLE_FDK_HYBRID_SETUP)&setup_3_16; break; in FDKhybridAnalysisInit() 224 hAnalysisHybFilter->pSetup = setup; in FDKhybridAnalysisInit() 225 hAnalysisHybFilter->bufferLFpos = setup->protoLen-1; in FDKhybridAnalysisInit() 232 if ( ((2*setup->nrQmfBands*setup->protoLen*sizeof(FIXP_DBL)) > hAnalysisHybFilter->LFmemorySize) in FDKhybridAnalysisInit() 233 …|| ((setup->filterDelay*((qmfBands-setup->nrQmfBands)+(cplxBands-setup->nrQmfBands))*sizeof(FIXP_D… in FDKhybridAnalysisInit() 241 for (k=0; k<setup->nrQmfBands; k++) { in FDKhybridAnalysisInit() 242 hAnalysisHybFilter->bufferLFReal[k] = pMem; pMem += setup->protoLen; in FDKhybridAnalysisInit() [all …]
|
/external/ltp/testcases/kernel/syscalls/setns/ |
D | setns01.c | 52 void (*setup) (struct testcase_t *, int i); member 56 static void setup(void); 72 .setup = setup0, 78 .setup = setup1, 86 .setup = setup2, 92 .setup = setup3, 98 .setup = setup4, 162 if (t->setup) in test_setns() 163 t->setup(t, i); in test_setns() 195 setup(); in main() [all …]
|
/external/ltp/testcases/kernel/syscalls/waitid/ |
D | waitid02.c | 61 void (*setup) (struct testcase_t *); member 65 static void setup(void); 100 .setup = setup2, 108 .setup = setup3, 115 .setup = setup4, 122 .setup = setup5, 130 .setup = setup6, 140 .setup = setup2, 238 static void setup(void) in setup() function 255 if (t->setup) in test_waitid() [all …]
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_prim_emit.c | 213 struct setup_stage *setup = CALLOC_STRUCT(setup_stage); in i915_draw_render_stage() local 215 setup->i915 = i915; in i915_draw_render_stage() 216 setup->stage.draw = i915->draw; in i915_draw_render_stage() 217 setup->stage.point = setup_point; in i915_draw_render_stage() 218 setup->stage.line = setup_line; in i915_draw_render_stage() 219 setup->stage.tri = setup_tri; in i915_draw_render_stage() 220 setup->stage.flush = setup_flush; in i915_draw_render_stage() 221 setup->stage.reset_stipple_counter = reset_stipple_counter; in i915_draw_render_stage() 222 setup->stage.destroy = render_destroy; in i915_draw_render_stage() 224 return &setup->stage; in i915_draw_render_stage()
|
/external/mesa3d/src/gallium/drivers/ilo/core/ |
D | ilo_state_raster.c | 62 const struct ilo_state_raster_setup_info *setup = &info->setup; in raster_set_gen6_3DSTATE_CLIP() local 121 if (setup->first_vertex_provoking) { in raster_set_gen6_3DSTATE_CLIP() 178 const struct ilo_state_raster_setup_info *setup = &info->setup; in raster_get_gen6_effective_line() local 208 if (setup->line_msaa_enable || in raster_get_gen6_effective_line() 211 if (setup->line_msaa_enable || line->aa_enable) { in raster_get_gen6_effective_line() 222 const struct ilo_state_raster_setup_info *setup = &info->setup; in raster_validate_gen8_raster() local 235 assert(!setup->cv_is_rectangle); in raster_validate_gen8_raster() 242 const struct ilo_state_raster_setup_info *setup) in raster_setup_get_gen6_msrast_mode() argument 246 if (setup->line_msaa_enable) { in raster_setup_get_gen6_msrast_mode() 247 return (setup->msaa_enable) ? GEN6_MSRASTMODE_ON_PATTERN : in raster_setup_get_gen6_msrast_mode() [all …]
|
/external/ltp/testcases/kernel/syscalls/sendto/ |
D | sendto01.c | 64 void (*setup) (void); member 69 static void setup(void); 90 .setup = setup0, 104 .setup = setup0, 120 .setup = setup1, 135 .setup = setup1, 149 .setup = setup3, 163 .setup = setup1, 179 .setup = setup1, 194 .setup = setup1, [all …]
|
/external/autotest/client/bin/net/ |
D | net_tc.py | 97 def setup(self, netif): member in tcclass 100 self._leaf_qdisc.setup(netif) 104 child.setup() 205 def setup(self, netif): member in tcfilter 230 def setup(self, netif): member in u32filter 293 def setup(self, netif): member in qdisc 324 def setup(self, netif): member in classful_qdisc 325 super(classful_qdisc, self).setup(netif) 329 child.setup(netif) 333 filter.setup(netif) [all …]
|