| /external/mesa3d/src/gallium/drivers/llvmpipe/ |
| D | lp_setup.c | 20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 31 * Builds per-tile display lists and executes them on calls to 65 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() [all …]
|
| D | lp_setup_vbuf.c | 20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 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 73 * The draw module may have issued additional state-change commands. in lp_setup_get_vertex_info() 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() [all …]
|
| D | lp_setup_point.c | 20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 60 * Compute a0 for a constant-valued coefficient (GL_FLAT shading). 63 constant_coef(struct lp_setup_context *setup, in constant_coef() argument 69 info->a0[slot][i] = value; in constant_coef() 70 info->dadx[slot][i] = 0.0f; in constant_coef() 71 info->dady[slot][i] = 0.0f; in constant_coef() 76 point_persp_coeff(struct lp_setup_context *setup, in point_persp_coeff() argument 82 * Fragment shader expects pre-multiplied w for LP_INTERP_PERSPECTIVE. A in point_persp_coeff() 84 * generating the fragment shader key, and therefore avoid the per-fragment in point_persp_coeff() 88 float w0 = info->v0[0][3]; in point_persp_coeff() [all …]
|
| D | lp_setup_rect.c | 3 * Copyright 2010-2021 VMware, Inc. 20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 29 * Setup/binning code for screen-aligned quads. 43 #define UNDETERMINED_BLIT -1 56 * The memory is allocated from the per-scene pool, not per-tile. 71 rect->inputs.stride = input_array_sz; in lp_setup_alloc_rectangle() 78 * The rectangle covers the whole tile- shade whole tile. 79 * XXX no rectangle/triangle dependencies in this file - share it with 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() [all …]
|
| D | lp_setup_tri.c | 20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 39 altivec.h inclusion in -std=c++98..11 causes bool to be redefined 88 * The memory is allocated from the per-scene pool, not per-tile. 111 tri->inputs.stride = input_array_sz; in lp_setup_alloc_triangle() 117 assert(b - a == tri_size); in lp_setup_alloc_triangle() 125 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() 135 for (int i = 0; i < key->num_inputs; i++) { in lp_setup_print_vertex() 136 const float *in = v[key->inputs[i].src_index]; in lp_setup_print_vertex() 140 name, key->inputs[i].src_index, in lp_setup_print_vertex() [all …]
|
| D | lp_setup_line.c | 20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 61 * Compute a0 for a constant-valued coefficient (GL_FLAT shading). 64 constant_coef(struct lp_setup_context *setup, in constant_coef() argument 70 info->a0[slot][i] = value; in constant_coef() 71 info->dadx[slot][i] = 0.0f; in constant_coef() 72 info->dady[slot][i] = 0.0f; in constant_coef() 81 linear_coef(struct lp_setup_context *setup, in linear_coef() argument 87 float a1 = info->v1[vert_attr][i]; in linear_coef() 88 float a2 = info->v2[vert_attr][i]; in linear_coef() 89 float da21 = a1 - a2; in linear_coef() [all …]
|
| /external/mesa3d/src/gallium/drivers/softpipe/ |
| D | sp_setup.c | 20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 55 float dx; /**< X(v1) - X(v0), used only during setup */ 56 float dy; /**< Y(v1) - Y(v0), used only during setup */ 65 * This can't be arbitrarily increased since we depend on some 32-bit 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() 133 const int minx = (int) cliprect->minx; in quad_clip() 134 const int maxx = (int) cliprect->maxx; in quad_clip() [all …]
|
| D | sp_prim_vbuf.c | 20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 29 * 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 84 return softpipe_get_vbuf_vertex_info(cvbr->softpipe); in sp_vbuf_get_vertex_info() 95 if (cvbr->vertex_buffer_size < size) { in sp_vbuf_allocate_vertices() 96 align_free(cvbr->vertex_buffer); in sp_vbuf_allocate_vertices() 97 cvbr->vertex_buffer = align_malloc(size, 16); in sp_vbuf_allocate_vertices() 98 cvbr->vertex_buffer_size = size; in sp_vbuf_allocate_vertices() 101 cvbr->vertex_size = vertex_size; in sp_vbuf_allocate_vertices() [all …]
|
| /external/mesa3d/src/gallium/drivers/vc4/kernel/ |
| D | vc4_render_cl.c | 2 * Copyright © 2014-2015 Broadcom 29 * user-submitted command list is hard to get right and has high CPU overhead, 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() [all …]
|
| /external/python/setuptools/docs/deprecated/distutils/ |
| D | examples.rst | 20 .. _pure-mod: 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 :: [all …]
|
| /external/python/cpython3/Doc/distutils/ |
| D | examples.rst | 20 .. _pure-mod: 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 :: [all …]
|
| /external/skia/tests/graphite/ |
| D | ProxyCacheTest.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 33 std::unique_ptr<Recorder> recorder = context->makeRecorder(); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS() 34 ProxyCache* proxyCache = recorder->priv().proxyCache(); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS() 43 REPORTER_ASSERT(r, proxyCache->numCached() == 0); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS() 45 sk_sp<TextureProxy> proxy = proxyCache->findOrCreateCachedProxy(recorder.get(), bitmap, in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS() 48 REPORTER_ASSERT(r, proxyCache->numCached() == 1); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS() 52 proxyCache->forceProcessInvalidKeyMsgs(); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS() 54 REPORTER_ASSERT(r, proxyCache->numCached() == 0); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS() 60 std::unique_ptr<Recorder> recorder1 = context->makeRecorder(); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS() 61 ProxyCache* proxyCache1 = recorder1->priv().proxyCache(); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS() [all …]
|
| /external/python/setuptools/docs/userguide/ |
| D | quickstart.rst | 10 pip install --upgrade setuptools 16 only provide backend support, no longer being the de-facto packaging tool in 19 be generated with whatever tool that provides a ``build sdist``-like 22 change is driven under :pep:`PEP 517 <517#build-requirements>`. To learn more about Python packagin… 23 navigate to the :ref:`bottom <packaging-resources>` of this page. 32 .. code-block:: toml 34 [build-system] 36 build-backend = "setuptools.build_meta" 41 Setuptools currently supports configurations from either ``setup.cfg``, 42 ``setup.py`` or ``pyproject.toml`` [#experimental]_ files, however, configuring new [all …]
|
| /external/python/cpython2/Lib/ |
| D | timeit.py | 12 python timeit.py [-n N] [-r N] [-s S] [-t] [-c] [-h] [--] [statement] 15 -n/--number N: how many times to execute 'statement' (default: see below) 16 -r/--repeat N: how many times to repeat the timer (default 3) 17 -s/--setup S: statement to be executed once initially (default 'pass') 18 -t/--time: use time.time() (default on Unix) 19 -c/--clock: use time.clock() (default on Windows) 20 -v/--verbose: print raw timing results; repeat for more digits precision 21 -h/--help: print this usage message and exit 22 --: separate options from statement, use when statement starts with - 25 A multi-line statement may be given by specifying each line as a [all …]
|
| /external/python/setuptools/setuptools/tests/ |
| D | test_build_meta.py | 17 SETUP_SCRIPT_STUB = "__import__('setuptools').setup()" 26 reason="The combination of PyPy + Windows + pytest-xdist + ProcessPoolExecutor " 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(""" [all …]
|
| /external/python/cpython2/Doc/distutils/ |
| D | examples.rst | 18 .. _pure-mod: 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 :: [all …]
|
| /external/libopus/dnn/torch/lpcnet/ |
| D | train_lpcnet.py | 9 - Redistributions of source code must retain the above copyright 12 - Redistributions in binary form must reproduce the above copyright 57 'setup' : 'setup.yml', 63 'no-redirect': False 67 parser.add_argument('setup', type=str, help='setup yaml file') 69 parser.add_argument('--device', type=str, help='compute device', default=None) 70 …parser.add_argument('--test-features', type=str, help='test feature file in v2 format', default=No… 71 …parser.add_argument('--finalize', action='store_true', help='run single training round with lr=1e-… 72 parser.add_argument('--initial-checkpoint', type=str, help='initial checkpoint', default=None) 73 … parser.add_argument('--no-redirect', action='store_true', help='disables re-direction of output') [all …]
|
| /external/libopus/dnn/torch/osce/ |
| D | train_model.py | 9 - Redistributions of source code must retain the above copyright 12 - Redistributions in binary form must reproduce the above copyright 71 parser.add_argument('setup', type=str, help='setup yaml file') 73 parser.add_argument('--device', type=str, help='compute device', default=None) 74 parser.add_argument('--initial-checkpoint', type=str, help='initial checkpoint', default=None) 75 parser.add_argument('--testdata', type=str, help='path to features and signal for testing', default… 76 parser.add_argument('--no-redirect', action='store_true', help='disables re-direction of stdout') 84 with open(args.setup, 'r') as f: 85 setup = yaml.load(f.read(), yaml.FullLoader) variable 89 setup_name = 'setup.yml' [all …]
|
| D | train_vocoder.py | 9 - Redistributions of source code must retain the above copyright 12 - Redistributions in binary form must reproduce the above copyright 62 parser.add_argument('setup', type=str, help='setup yaml file') 64 parser.add_argument('--device', type=str, help='compute device', default=None) 65 parser.add_argument('--initial-checkpoint', type=str, help='initial checkpoint', default=None) 66 parser.add_argument('--test-features', type=str, help='path to features for testing', default=None) 67 parser.add_argument('--no-redirect', action='store_true', help='disables re-direction of stdout') 74 with open(args.setup, 'r') as f: 75 setup = yaml.load(f.read(), yaml.FullLoader) variable 79 setup_name = 'setup.yml' [all …]
|
| D | adv_train_model.py | 9 - Redistributions of source code must retain the above copyright 12 - Redistributions in binary form must reproduce the above copyright 66 parser.add_argument('setup', type=str, help='setup yaml file') 68 parser.add_argument('--device', type=str, help='compute device', default=None) 69 parser.add_argument('--initial-checkpoint', type=str, help='initial checkpoint', default=None) 70 parser.add_argument('--testdata', type=str, help='path to features and signal for testing', default… 71 parser.add_argument('--no-redirect', action='store_true', help='disables re-direction of stdout') 78 with open(args.setup, 'r') as f: 79 setup = yaml.load(f.read(), yaml.FullLoader) variable 83 setup_name = 'setup.yml' [all …]
|
| /external/google-benchmark/test/ |
| D | benchmark_setup_teardown_test.cc | 11 // Test that Setup() and Teardown() are called exactly once 12 // for each benchmark run (single-threaded). 20 // Setup/Teardown should never be called with any thread_idx != 0. in DoSetup1() 34 ->Arg(1) 35 ->Arg(3) 36 ->Arg(5) 37 ->Arg(7) 38 ->Iterations(100) 39 ->Setup(DoSetup1) 40 ->Teardown(DoTeardown1); [all …]
|
| /external/cronet/third_party/google_benchmark/src/test/ |
| D | benchmark_setup_teardown_test.cc | 11 // Test that Setup() and Teardown() are called exactly once 12 // for each benchmark run (single-threaded). 20 // Setup/Teardown should never be called with any thread_idx != 0. in DoSetup1() 34 ->Arg(1) 35 ->Arg(3) 36 ->Arg(5) 37 ->Arg(7) 38 ->Iterations(100) 39 ->Setup(DoSetup1) 40 ->Teardown(DoTeardown1); [all …]
|
| /external/aac/libSACdec/src/ |
| D | sac_dec.cpp | 1 /* ----------------------------------------------------------------------------- 4 © Copyright 1995 - 2020 Fraunhofer-Gesellschaft zur Förderung der angewandten 13 AAC's HE-AAC and HE-AAC v2 versions are regarded as today's most efficient 14 general perceptual audio codecs. AAC-ELD is considered the best-performing 15 full-bandwidth communications codec by independent studies and is widely 29 Commercially-licensed AAC software libraries, including floating-point versions 58 must be replaced by the term "Third-Party Modified Version of the Fraunhofer FDK 65 Fraunhofer provides no warranty of patent non-infringement with respect to this 87 Attention: Audio and Multimedia Departments - FDK AAC LL 92 amm-info@iis.fraunhofer.de [all …]
|
| /external/trusty/lk/dev/usb/ |
| D | usb.c | 2 * Copyright (c) 2008-2015 Travis Geiselbrecht 58 uint8_t *ptr = malloc(desc->len + len); in append_desc_data() 62 memcpy(ptr, desc->desc, desc->len); in append_desc_data() 63 memcpy(ptr + desc->len, dat, len); in append_desc_data() 66 if ((desc->flags & USB_DESC_FLAG_STATIC) == 0) in append_desc_data() 67 free(desc->desc); in append_desc_data() 68 desc->flags &= ~USB_DESC_FLAG_STATIC; in append_desc_data() 70 desc->desc = ptr; in append_desc_data() 71 desc->len += len; in append_desc_data() 78 return ((uint8_t *)desc->desc)[4]; in usb_get_current_iface_num() [all …]
|
| /external/ComputeLibrary/tests/validation/fixtures/ |
| D | ElementwiseOperationsFixture.h | 2 * Copyright (c) 2018-2021 Arm Limited. 4 * SPDX-License-Identifier: MIT 50 void setup(ArithmeticOperation op, const TensorShape &shape0, const TensorShape &shape1, 71 … library->fill_tensor_uniform_ranged(tensor, i, { std::pair<float, float>(-0.001f, 0.001f) }); in fill() 74 library->fill_tensor_uniform(tensor, i, 0.0f, 5.0f); in fill() 77 library->fill_tensor_uniform(tensor, i); in fill() 82 library->fill_tensor_uniform(tensor, i); in fill() 95 // Check whether do in-place computation and whether inputs are broadcast compatible in compute_target() 115 // - At configure time, all input tensors are marked as dynamic using set_tensor_dynamic() in compute_target() 116 // - After configure, tensors are marked as static for run using set_tensor_static() in compute_target() [all …]
|