| /external/oss-fuzz/projects/llvm/ |
| D | build.sh | 1 #!/bin/bash -eux 9 # http://www.apache.org/licenses/LICENSE-2.0 20 clang-fuzzer \ 21 clang-format-fuzzer \ 22 clang-objc-fuzzer \ 23 clangd-fuzzer \ 24 llvm-itanium-demangle-fuzzer \ 25 llvm-microsoft-demangle-fuzzer \ 26 llvm-dwarfdump-fuzzer \ 27 llvm-isel-fuzzer \ [all …]
|
| /external/llvm/test/CodeGen/AMDGPU/ |
| D | cgp-addressing-modes-flat.ll | 1 ; RUN: opt -S -codegenprepare -mtriple=amdgcn-unknown-unknown -mcpu=bonaire < %s | FileCheck -check… 2 ; RUN: opt -S -codegenprepare -mtriple=amdgcn-unknown-unknown -mcpu=tonga < %s | FileCheck -check-p… 3 ; RUN: llc -march=amdgcn -mcpu=bonaire -mattr=-promote-alloca < %s | FileCheck -check-prefix=GCN -c… 4 ; RUN: llc -march=amdgcn -mcpu=tonga -mattr=-promote-alloca < %s | FileCheck -check-prefix=GCN -che… 6 ; OPT-LABEL: @test_no_sink_flat_small_offset_i32( 7 ; OPT: getelementptr i32, i32 addrspace(4)* %in 8 ; OPT: br i1 9 ; OPT-NOT: ptrtoint 11 ; GCN-LABEL: {{^}}test_no_sink_flat_small_offset_i32: 14 define void @test_no_sink_flat_small_offset_i32(i32 addrspace(4)* %out, i32 addrspace(4)* %in, i32 … [all …]
|
| D | cgp-bitfield-extract.ll | 1 ; RUN: opt -S -mtriple=amdgcn-- -codegenprepare < %s | FileCheck -check-prefix=OPT %s 2 ; RUN: opt -S -mtriple=amdgcn-- -mcpu=tonga -codegenprepare < %s | FileCheck -check-prefix=OPT %s 3 ; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=SI … 4 ; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -chec… 9 ; OPT-LABEL: @sink_ubfe_i32( 10 ; OPT: entry: 11 ; OPT-NEXT: br i1 13 ; OPT: bb0: 14 ; OPT: %0 = lshr i32 %arg1, 8 15 ; OPT-NEXT: %val0 = and i32 %0, 255 [all …]
|
| D | cgp-addressing-modes.ll | 1 ; RUN: opt -S -codegenprepare -mtriple=amdgcn-unknown-unknown -mcpu=tahiti < %s | FileCheck -check-… 2 ; RUN: opt -S -codegenprepare -mtriple=amdgcn-unknown-unknown -mcpu=bonaire < %s | FileCheck -check… 3 ; RUN: opt -S -codegenprepare -mtriple=amdgcn-unknown-unknown -mcpu=tonga < %s | FileCheck -check-p… 4 ; RUN: llc -march=amdgcn -mcpu=tahiti -mattr=-promote-alloca -amdgpu-sroa=0 < %s | FileCheck -check… 5 ; RUN: llc -march=amdgcn -mcpu=bonaire -mattr=-promote-alloca -amdgpu-sroa=0 < %s | FileCheck -chec… 6 ; RUN: llc -march=amdgcn -mcpu=tonga -mattr=-promote-alloca -amdgpu-sroa=0 < %s | FileCheck -check-… 8 ; OPT-LABEL: @test_sink_global_small_offset_i32( 9 ; OPT-CI-NOT: getelementptr i32, i32 addrspace(1)* %in 10 ; OPT-VI: getelementptr i32, i32 addrspace(1)* %in 11 ; OPT: br i1 [all …]
|
| /external/libpng/scripts/ |
| D | options.awk | 1 #!/bin/awk -f 3 # scripts/options.awk - library build configuration control 5 # Copyright (c) 1998-2014 Glenn Randers-Pehrson 12 # the variable 'out'. The script is run twice, once with 16 # awk -f scripts/options.awk out=options.tmp scripts/options.dfa 1>&2 17 # awk -f scripts/options.awk out=options.dfn options.tmp 1>&2 32 out="" # intermediate, preprocessed, file 33 pre=-1 # preprocess (first line) 36 err=0 # in-line exit sets this 43 # consequence the output cannot contain a 'raw' double quote - instead put [all …]
|
| /external/flac/src/metaflac/ |
| D | options.c | 1 /* metaflac - Command-line FLAC metadata editor 2 * Copyright (C) 2001-2009 Josh Coalson 3 * Copyright (C) 2011-2023 Xiph.Org Foundation 17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 42 { "preserve-modtime", 0, 0, 0 }, 43 { "with-filename", 0, 0, 0 }, 44 { "no-filename", 0, 0, 0 }, 45 { "no-utf8-convert", 0, 0, 0 }, 46 { "dont-use-padding", 0, 0, 0 }, 47 { "no-cued-seekpoints", 0, 0, 0 }, [all …]
|
| /external/icu/icu4j/samples/src/main/java/com/ibm/icu/samples/shaping/ |
| D | ArabicShapingSample.java | 5 * Copyright (C) 2001-2009, International Business Machines 17 …* Invoke from a command line passing args and strings. Use '-help' to see description of argument… 28 int sl = -1; in main() 30 int dl = -1; in main() 35 if (arg.charAt(0) == '-') { in main() 36 String opt = arg.substring(1); in main() local 37 String val = opt; in main() 39 if (index != -1) { in main() 40 opt = opt.substring(0, Math.min(index, 3)); in main() 44 if (opt.equalsIgnoreCase("len")) { in main() [all …]
|
| /external/tensorflow/tensorflow/python/training/experimental/ |
| D | mixed_precision_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 43 # Enable the tests to be run on pre-Volta GPUs by telling the grappler pass 60 opt = gradient_descent_v1.GradientDescentOptimizer(1.0) 61 opt = mixed_precision.enable_mixed_precision_graph_rewrite_v1(opt, 123.) 63 opt, loss_scale_optimizer_v1.MixedPrecisionLossScaleOptimizer) 64 self.assertEqual(self.evaluate(opt._loss_scale()), 123.) 68 opt = 1 69 expected_regex = ('"opt" must be an instance of a tf.train.Optimizer or ' 72 mixed_precision.enable_mixed_precision_graph_rewrite_v1(opt) 76 opt = gradient_descent_v1.GradientDescentOptimizer(1.0) [all …]
|
| /external/skia/site/docs/user/ |
| D | build.md | 1 --- 6 --- 14 ## `is_official_build` and Third-party Dependencies 20 with no debug symbols, dynamically linked against its third-party dependencies 23 In contrast, the developer-oriented default is an unoptimized build with full 24 debug symbols and all third-party dependencies built from source and embedded 27 Skia offers several features that make use of third-party libraries, like 28 libpng, libwebp, or libjpeg-turbo to decode images, or ICU and sftnly to subset 29 fonts. All these third-party dependencies are optional and can be controlled by 45 prioritization; there is nothing fundamentally wrong with non-Clang compilers. [all …]
|
| /external/llvm/tools/opt/ |
| D | opt.cpp | 1 //===- opt.cpp - The LLVM Modular Optimizer -------------------------------===// 8 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===// 67 // to run over the module. This flag switches opt to use the new pass manager 70 static cl::opt<std::string> PassPipeline( 77 static cl::opt<std::string> 79 cl::init("-"), cl::value_desc("filename")); 81 static cl::opt<std::string> 85 static cl::opt<bool> 88 static cl::opt<bool> [all …]
|
| /external/sdv/vsomeip/third_party/boost/type_traits/examples/ |
| D | copy_example.cpp | 4 * (C) Copyright John Maddock 1999-2005. 9 * This file provides some example of type_traits usage - 12 * opt::copy - optimised for trivial copy (cf std::copy) 30 namespace opt{ namespace 33 // opt::copy 41 I2 copy_imp(I1 first, I1 last, I2 out, const boost::integral_constant<bool, b>&) in copy_imp() argument 45 *out = *first; in copy_imp() 46 ++out; in copy_imp() 49 return out; in copy_imp() 53 T* copy_imp(const T* first, const T* last, T* out, const boost::true_type&) in copy_imp() argument [all …]
|
| /external/libvpx/build/make/ |
| D | gen_asm_deps.sh | 5 ## Use of this source code is governed by a BSD-style license 23 echo "See $0 --help for available options." 26 for opt do 27 optval="${opt#*=}" 28 case "$opt" in 29 --build-pfx=*) pfx="${optval}" 31 --depfile=*) out="${optval}" 33 -I*) raw_inc_paths="${raw_inc_paths} ${opt}" 34 inc_path="${inc_path} ${opt#-I}" 36 -h|--help) show_help [all …]
|
| /external/iptables/iptables/tests/shell/testcases/ip6tables/ |
| D | 0002-verbose-output_0 | 3 set -e 4 #set -x 8 RULE1='-i eth2 -o eth3 -s feed:babe::1 -d feed:babe::2 -j ACCEPT' 9 VOUT1='ACCEPT all opt -- in eth2 out eth3 feed:babe::1 -> feed:babe::2' 10 RULE2='-i eth2 -o eth3 -s feed:babe::4 -d feed:babe::5 -j ACCEPT' 11 VOUT2='ACCEPT all opt -- in eth2 out eth3 feed:babe::4 -> feed:babe::5' 12 RULE3='-p icmpv6 -m icmp6 --icmpv6-type no-route' 13 VOUT3=' ipv6-icmp opt -- in * out * ::/0 -> ::/0 ipv6-icmptype 1 code 0' 14 RULE4='-m dst --dst-len 42 -m rt --rt-type 23' 15 VOUT4=' all opt -- in * out * ::/0 -> ::/0 dst length:42 rt type:23' [all …]
|
| /external/angle/third_party/spirv-tools/src/source/fuzz/ |
| D | transformation_add_loop_preheader.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 18 #include "source/opt/instruction.h" 37 opt::IRContext* ir_context, in IsApplicable() 40 opt::BasicBlock* loop_header_block = in IsApplicable() 42 if (!loop_header_block || !loop_header_block->IsLoopHeader()) { in IsApplicable() 54 ir_context->cfg()->preds(message_.loop_header_block()).size(); in IsApplicable() 56 // The block must have at least 2 predecessors (the back-edge block and in IsApplicable() 70 loop_header_block->ForEachPhiInst( in IsApplicable() 71 [&num_phi_insts](opt::Instruction* /* unused */) { num_phi_insts++; }); in IsApplicable() 90 opt::IRContext* ir_context, in Apply() [all …]
|
| /external/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
| D | transformation_add_loop_preheader.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 18 #include "source/opt/instruction.h" 37 opt::IRContext* ir_context, in IsApplicable() 40 opt::BasicBlock* loop_header_block = in IsApplicable() 42 if (!loop_header_block || !loop_header_block->IsLoopHeader()) { in IsApplicable() 54 ir_context->cfg()->preds(message_.loop_header_block()).size(); in IsApplicable() 56 // The block must have at least 2 predecessors (the back-edge block and in IsApplicable() 70 loop_header_block->ForEachPhiInst( in IsApplicable() 71 [&num_phi_insts](opt::Instruction* /* unused */) { num_phi_insts++; }); in IsApplicable() 90 opt::IRContext* ir_context, in Apply() [all …]
|
| /external/deqp-deps/SPIRV-Tools/source/fuzz/ |
| D | transformation_add_loop_preheader.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 18 #include "source/opt/instruction.h" 37 opt::IRContext* ir_context, in IsApplicable() 40 opt::BasicBlock* loop_header_block = in IsApplicable() 42 if (!loop_header_block || !loop_header_block->IsLoopHeader()) { in IsApplicable() 54 ir_context->cfg()->preds(message_.loop_header_block()).size(); in IsApplicable() 56 // The block must have at least 2 predecessors (the back-edge block and in IsApplicable() 70 loop_header_block->ForEachPhiInst( in IsApplicable() 71 [&num_phi_insts](opt::Instruction* /* unused */) { num_phi_insts++; }); in IsApplicable() 90 opt::IRContext* ir_context, in Apply() [all …]
|
| /external/oss-fuzz/projects/openvpn/ |
| D | fuzz_verify_cert.c | 5 http://www.apache.org/licenses/LICENSE-2.0 32 static int parse_x509(const uint8_t *data, size_t size, X509 **out) { in parse_x509() argument 33 *out = d2i_X509(NULL, (const unsigned char **)&data, size); in parse_x509() 34 if (*out == NULL) { in parse_x509() 35 return -1; in parse_x509() 58 struct tls_options *opt; in init_session_opt() local 62 if (opt == NULL) { in init_session_opt() 63 return -1; in init_session_opt() 66 opt = *_opt; in init_session_opt() 68 memset(opt, 0xFE, sizeof(struct tls_options)); in init_session_opt() [all …]
|
| /external/linux-kselftest/tools/testing/selftests/bpf/ |
| D | test_sockmap.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2017-2018 Covalent IO, Inc. http://covalent.io 153 void (*tester)(int cg_fd, struct sockmap_options *opt); 186 env.type = o->map; in test_start_subtest() 187 env.subtest = t->title; in test_start_subtest() 188 env.prepend = o->prepend; in test_start_subtest() 198 int error = env.fail_cnt - env.fail_last; in test_end_subtest() 221 printf(" Usage: %s --cgroup <cgroup_path>\n", argv[0]); in usage() 224 printf(" --%-12s", long_options[i].name); in usage() 229 printf(" -%c\n", long_options[i].val); in usage() [all …]
|
| /external/llvm/tools/llvm-mc/ |
| D | llvm-mc.cpp | 1 //===-- llvm-mc.cpp - Machine Code Hacking Driver ---------------*- C++ -*-===// 8 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===// 45 static cl::opt<std::string> 46 InputFilename(cl::Positional, cl::desc("<input file>"), cl::init("-")); 48 static cl::opt<std::string> 52 static cl::opt<bool> 53 ShowEncoding("show-encoding", cl::desc("Show instruction encodings")); 55 static cl::opt<bool> RelaxELFRel( 56 "relax-relocations", cl::init(true), [all …]
|
| /external/llvm/tools/bugpoint/ |
| D | OptimizerDriver.cpp | 1 //===- OptimizerDriver.cpp - Allow BugPoint to run passes safely ----------===// 8 //===----------------------------------------------------------------------===// 16 //===----------------------------------------------------------------------===// 42 extern cl::opt<std::string> OutputPrefix; 45 static cl::opt<bool> PreserveBitcodeUseListOrder( 46 "preserve-bc-uselistorder", 47 cl::desc("Preserve use-list order when writing LLVM bitcode."), 51 // ChildOutput - This option captures the name of the child output file that 53 cl::opt<std::string> ChildOutput("child-output", cl::ReallyHidden); 54 cl::opt<std::string> OptCmd("opt-command", cl::init(""), [all …]
|
| /external/llvm/utils/ |
| D | findmisopt | 34 # determined by diffing the program's output with the non-optimized 37 if [ "$#" -lt 3 ] ; then 43 if [ -x "$dir/Release/bin/bugpoint" ] ; then 45 elif [ -x "$dir/Debug/bin/bugpoint" ] ; then 56 if [ ! -f "$input" ] ; then 64 out="$outdir/${name}.out" 65 optbc="$outdir/${name}.opt.bc" 66 optll="$outdir/${name}.opt.ll" 67 opts="$outdir/${name}.opt.s" 68 optprog="$outdir/${name}.opt" [all …]
|
| /external/grpc-grpc/tools/buildgen/ |
| D | _mako_renderer.py | 8 # http://www.apache.org/licenses/LICENSE-2.0 42 def out(msg: str) -> None: function 46 def showhelp() -> None: 47 out( 48 "mako-renderer.py [-o out] [-m cache] [-P preprocessed_input] [-d dict]" 49 " [-d dict...] [-t template] [-w preprocessed_output]" 53 def render_template(template: Template, context: Context) -> None: 62 out(exceptions.text_error_template().render()) 66 def main(argv: List[str]) -> None: 80 out("Unknown option") [all …]
|
| /external/rust/crates/grpcio-sys/grpc/tools/buildgen/ |
| D | _mako_renderer.py | 8 # http://www.apache.org/licenses/LICENSE-2.0 41 def out(msg: str) -> None: function 45 def showhelp() -> None: 46 out('mako-renderer.py [-o out] [-m cache] [-P preprocessed_input] [-d dict] [-d dict...]' 47 ' [-t template] [-w preprocessed_output]') 50 def render_template(template: Template, context: Context) -> None: 59 out(exceptions.text_error_template().render()) 63 def main(argv: List[str]) -> None: 77 out('Unknown option') 81 for opt, arg in opts: [all …]
|
| /external/iperf3/src/ |
| D | iperf_sctp.c | 2 * iperf, Copyright (c) 2014-2019, The Regents of the University of 13 * acting on its behalf a paid-up, nonexclusive, irrevocable, 19 * and others acting on its behalf a paid-up, nonexclusive, 63 r = Nread(sp->socket, sp->buffer, sp->settings->blksize, Psctp); in iperf_sctp_recv() 68 if (sp->test->state == TEST_RUNNING) { in iperf_sctp_recv() 69 sp->result->bytes_received += r; in iperf_sctp_recv() 70 sp->result->bytes_received_this_interval += r; in iperf_sctp_recv() 73 if (sp->test->debug) in iperf_sctp_recv() 74 printf("Late receive, state = %d\n", sp->test->state); in iperf_sctp_recv() 80 return -1; in iperf_sctp_recv() [all …]
|
| /external/mesa3d/src/nouveau/compiler/ |
| D | nak_nir.c | 3 * SPDX-License-Identifier: MIT 12 #define OPT(nir, pass, ...) ({ \ macro 25 switch (nir->info.stage) { in nak_nir_workgroup_has_one_subgroup() 42 if (nir->info.workgroup_size_variable) in nak_nir_workgroup_has_one_subgroup() 45 uint16_t wg_sz = nir->info.workgroup_size[0] * in nak_nir_workgroup_has_one_subgroup() 46 nir->info.workgroup_size[1] * in nak_nir_workgroup_has_one_subgroup() 47 nir->info.workgroup_size[2]; in nak_nir_workgroup_has_one_subgroup() 63 (nir->options->lower_flrp16 ? 16 : 0) | in optimize_nir() 64 (nir->options->lower_flrp32 ? 32 : 0) | in optimize_nir() 65 (nir->options->lower_flrp64 ? 64 : 0); in optimize_nir() [all …]
|