/external/pigweed/pw_presubmit/py/pw_presubmit/ |
D | pigweed_presubmit.py | 9 # https://www.apache.org/licenses/LICENSE-2.0 38 from pw_presubmit import build, cli, format_code, git_repo 58 # -02: GCC 9.3 emits spurious maybe-uninitialized warnings 59 # -0s: GCC 8.1 (Mingw-w64) emits a spurious nonnull warning 70 # Build presubmit checks 73 build.gn_gen(ctx.root, ctx.output_dir) 74 build.ninja(ctx.output_dir, *_at_all_optimization_levels('host_clang')) 79 build.gn_gen(ctx.root, ctx.output_dir) 80 build.ninja(ctx.output_dir, *_at_all_optimization_levels('host_gcc')) 87 build.gn_gen(ctx.root, ctx.output_dir) [all …]
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/ |
D | CertificateChainCleanerTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 32 HeldCertificate root = new HeldCertificate.Builder() in normalizeSingleSelfSignedCertificate() local 34 .build(); in normalizeSingleSelfSignedCertificate() 36 new RealTrustRootIndex(root.certificate)); in normalizeSingleSelfSignedCertificate() 37 assertEquals(list(root), council.clean(list(root))); in normalizeSingleSelfSignedCertificate() 41 HeldCertificate root = new HeldCertificate.Builder() in normalizeUnknownSelfSignedCertificate() local 43 .build(); in normalizeUnknownSelfSignedCertificate() 47 council.clean(list(root)); in normalizeUnknownSelfSignedCertificate() 54 HeldCertificate root = new HeldCertificate.Builder() in orderedChainOfCertificatesWithRoot() local 56 .build(); in orderedChainOfCertificatesWithRoot() [all …]
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | TextFormatParseInfoTreeTest.java | 1 // Protocol Buffers - Google's data interchange format 3 // https://developers.google.com/protocol-buffers/ 66 TextFormatParseInfoTree tree = rootBuilder.build(); in testBuildEmptyParseTree() 72 TextFormatParseInfoTree root = rootBuilder.build(); in testGetLocationReturnsSingleLocation() local 73 assertEquals(LOC0, root.getLocation(OPTIONAL_INT32, 0)); in testGetLocationReturnsSingleLocation() 74 assertEquals(1, root.getLocations(OPTIONAL_INT32).size()); in testGetLocationReturnsSingleLocation() 78 assertTrue(rootBuilder.build().getLocations(OPTIONAL_INT32).isEmpty()); in testGetLocationsReturnsNoParseLocationsForUnknownField() 80 TextFormatParseInfoTree root = rootBuilder.build(); in testGetLocationsReturnsNoParseLocationsForUnknownField() local 81 assertTrue(root.getLocations(OPTIONAL_INT32).isEmpty()); in testGetLocationsReturnsNoParseLocationsForUnknownField() 82 assertEquals(LOC0, root.getLocations(OPTIONAL_BOOLEAN).get(0)); in testGetLocationsReturnsNoParseLocationsForUnknownField() [all …]
|
/external/llvm-project/polly/lib/External/isl/ |
D | isl_test_python.py | 1 # Copyright 2016-2017 Tobias Grosser 5 # Written by Tobias Grosser, Weststrasse 47, CH-8003, Zurich 13 # - construction from a string 14 # - construction from an integer 15 # - static constructor without a parameter 16 # - conversion construction 17 # - construction of empty union set 55 test_int(-sys.maxsize - 1) 113 neg_one = isl.val("-1") 138 context = isl.set("[n] -> { : }") [all …]
|
D | isl_test_cpp-generic.cc | 1 /* Copyright 2016-2017 Tobias Grosser 5 * Written by Tobias Grosser, Weststrasse 47, CH-8003, Zurich 18 * - construction from an isl C object 19 * - check that constructed objects are non-null 20 * - get a non-owned C pointer from an isl C++ object usable in __isl_keep 22 * - use copy to get an owned C pointer from an isl C++ object which is usable 25 * - use release to get an owned C pointer from an isl C++ object which is 46 * - construction of a null object 47 * - construction from a string 48 * - construction from an integer [all …]
|
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/helper_scripts/ |
D | build_python.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 set -ex 18 # change to grpc repo root 25 PLATFORM=$(uname -s) 60 if [[ -n "${VIRTUAL_ENV}" ]]; then 67 $1 -c "import sys; print('py{}{}'.format(*sys.version_info[:2]))" 94 if [ -x "$(command -v realpath)" ]; then 96 elif [ -x "$(command -v grealpath)" ]; then 107 PYTHON=${1:-python2.7} 108 VENV=${2:-$(venv "$PYTHON")} [all …]
|
/external/openssh/contrib/redhat/ |
D | openssh.spec | 8 # Version of ssh-askpass 11 # Do we want to disable building of x11-askpass? (1=yes 0=no) 14 # Do we want to disable building of gnome-askpass? (1=yes 0=no) 23 # Use GTK2 instead of GNOME in gnome-ssh-askpass 44 # rpm -ba|--rebuild --define 'skip_xxx 1' 48 # Add option to build without GTK2 for older platforms with only GTK+. 50 # rpm -ba|--rebuild --define 'no_gtk2 1' 53 # Is this a build for RHL 6.x or earlier? 62 # rpm -ba|--rebuild --define "static_openssl 1" 65 # Options for Smartcard support: (needs libsectok and openssl-engine) [all …]
|
/external/conscrypt/release/ |
D | README.md | 4 One-Time Setup 5 -------------- 22 <!-- TODO(flooey): Expand and link these, there's probably more --> 31 - Follow the instructions on [this 32 page](http://central.sonatype.org/pages/ossrh-guide.html) to set up an 34 - You only need to create the account, not set up a new project 35 - Contact a Conscrypt maintainer to add your account after you have created it. 36 - Install GnuPG and [generate your key 38 - [Publish your public key](https://www.gnupg.org/gph/en/manual.html#AEN464) 40 (e.g. `gpg --keyserver pgp.mit.edu --send-key <key ID>`). [all …]
|
/external/toybox/scripts/ |
D | help.txt | 1 toybox - Build toybox. 2 COMMANDNAME - Build individual toybox command as a standalone binary. 3 list - List COMMANDNAMEs you can build standalone. 4 list_pending - List unfinished COMMANDNAMEs out of toys/pending. 5 change - Build each command standalone under change/. 6 baseline - Create toybox_old for use by bloatcheck. 7 bloatcheck - Report size differences between old and current versions 8 test_COMMAND - Run tests for COMMAND (test_ps, test_cat, etc.) 9 tests - Run test suite against all compiled commands. 12 clean - Delete temporary files. [all …]
|
D | mkroot.sh | 4 [ -z "$NOCLEAR" ] && exec env -i NOCLEAR=1 HOME="$HOME" PATH="$PATH" \ 8 while [ $# -ne 0 ]; do 10 { [ "$1" != '--' ] && PKG="${PKG:-plumbing} $1"; } 15 announce() { echo -e "\033]2;$CROSS $*\007\n=== $*"; } 17 # Create target-independent working directories (cmdline can change locations) 18 TOP="$PWD/root" 19 mkdir -p ${BUILD:=$TOP/build} ${AIRLOCK:=$TOP/airlock} ${LOG:=$TOP/log} ||exit 1 22 if [ ! -z "$CROSS" ]; then 23 [ ! -d "${CCC:=$PWD/ccc}" ] && die "No ccc symlink to compiler directory." 24 CROSS_COMPILE="$(echo "$CCC/$CROSS"-*cross/bin/"$CROSS"*-cc | sed 's/cc$//')" [all …]
|
/external/dagger2/java/dagger/hilt/processor/internal/root/ |
D | RootGenerator.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 17 package dagger.hilt.processor.internal.root; 47 /** Generates components and any other classes needed for a root. */ 60 private final Root root; field in RootGenerator 65 this.root = metadata.root(); in RootGenerator() 74 .addMethod(MethodSpec.constructorBuilder().addModifiers(Modifier.PRIVATE).build()); in generateComponents() 90 .build(); in generateComponents() 96 root.element(), in generateComponents() 104 .generate().toBuilder().addModifiers(Modifier.STATIC).build()); in generateComponents() 108 JavaFile.builder(root.classname().packageName(), componentsWrapper.build()).build(), in generateComponents() [all …]
|
/external/compiler-rt/lib/tsan/ |
D | check_cmake.sh | 2 set -u 3 set -e 5 ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 6 if [ -d "$ROOT/llvm-build" ]; then 7 cd $ROOT/llvm-build 9 mkdir -p $ROOT/llvm-build 10 cd $ROOT/llvm-build 11 …CC=clang CXX=clang++ cmake -G Ninja -DLLVM_ENABLE_WERROR=ON -DCMAKE_BUILD_TYPE=Release -DLLVM_ENAB… 14 ninja check-sanitizer 15 ninja check-tsan [all …]
|
/external/llvm-project/compiler-rt/lib/tsan/ |
D | check_cmake.sh | 2 set -u 3 set -e 5 ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 6 if [ -d "$ROOT/llvm-build" ]; then 7 cd $ROOT/llvm-build 9 mkdir -p $ROOT/llvm-build 10 cd $ROOT/llvm-build 11 …CC=clang CXX=clang++ cmake -G Ninja -DLLVM_ENABLE_WERROR=ON -DCMAKE_BUILD_TYPE=Release -DLLVM_ENAB… 14 ninja check-sanitizer 15 ninja check-tsan [all …]
|
/external/autotest/site_utils/admin/ |
D | clean_staged_images.py | 3 # Use of this source code is governed by a BSD-style license that can be 11 1. Check if the build target is in the list of targets that need to keep the 12 latest build. Skip processing the directory if that's True. 34 def get_all_timestamp_dirs(root): argument 37 @param root: The top folder to look for timestamp file. 40 for dir_path, dir_names, file_names in os.walk(root): 50 """Test to see if the build at |build_path| is older than |max_age_hours|. 52 @param build_path: The path to the build (ie. 'build_dir/R21-2035.0.0') 53 @param max_age_hours: The maximum allowed age of a build in hours. 54 @return: True if the build is older than |max_age_hours|, False otherwise. [all …]
|
/external/swiftshader/docs/ |
D | dEQP.md | 7 ------------- 13 5. Install [MinGW-W64](http://mingw-w64.org/doku.php/download) 15 6. Install [Git](https://git-scm.com/download/win) 18 9. Set environment variables: Config Panel -> System and Security -> System -> Advanced system sett… 20 * Add `<path to MinGW-W64>\bin` to your PATH environment variable 23 … is in the Android SDK, typically in `C:\Users\<username>\AppData\Local\Android\sdk\platform-tools` 28 ---------------- 32 `git clone https://github.com/KhronosGroup/VK-GL-CTS` 34 You may wish to check out a stable vulkan-cts-* branch. 36 13. Get dEQP's dependencies. In your dEQP root directory, open 'cmd' and run: [all …]
|
/external/testng/bin/ |
D | run-tests.sh | 1 ROOT=~/java/testng 3 JAR14=$ROOT/testng-$VERSION-jdk14.jar 4 JAR15=$ROOT/testng-$VERSION-jdk15.jar 6 java -ea -classpath test/build:$ROOT/3rdparty/junit.jar:$JAVA_HOME/lib/tools.jar:$JAR15:$CLASSPATH … 8 java -ea -classpath test/v4/build:$ROOT/3rdparty/junit.jar:$JAVA_HOME/lib/tools.jar:$JAR15:$CLASSPA… 10 java -ea -classpath test-14/build:$ROOT/3rdparty/junit.jar:$JAVA_HOME/lib/tools.jar:$JAR14:$CLASSPA… 12 …a -ea -classpath test-14/v4/build:$ROOT/3rdparty/junit.jar:$JAVA_HOME/lib/tools.jar:$JAR14:$CLASSP…
|
/external/fmtlib/test/fuzzing/ |
D | build.sh | 4 # - oss-fuzz emulated mode (makes sure a simulated invocation by oss-fuzz works) 5 # - libFuzzer build (you will need clang) 6 # - afl build (you will need afl) 13 set -e 15 root=$(readlink -f "$(dirname "$0")/../..") 18 echo $me: root=$root 22 CXXFLAGSALL="-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION= -g" 23 CMAKEFLAGSALL="$root -GNinja -DCMAKE_BUILD_TYPE=Debug -DFMT_DOC=Off -DFMT_TEST=Off -DFMT_FUZZ=On -D… 26 builddir=$here/build-fuzzers-perfanalysis 27 mkdir -p $builddir [all …]
|
/external/capstone/bindings/python/ |
D | Makefile | 10 rm -rf src/ 11 if test -n "${DESTDIR}"; then \ 12 $(PYTHON2) setup.py build install --root="${DESTDIR}"; \ 14 $(PYTHON2) setup.py build install; \ 18 rm -rf src/ 19 if test -n "${DESTDIR}"; then \ 20 $(PYTHON3) setup.py build install --root="${DESTDIR}"; \ 22 $(PYTHON3) setup.py build install; \ 25 # NOTE: Newer cython can be installed by: sudo pip install --upgrade cython 27 rm -rf src/ [all …]
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | quantize_nodes_test.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 67 TF_ASSERT_OK(float_session->Create(float_graph_def)); in TestTransformedVersusFloatGraph() 70 float_session->Run(float_inputs, output_names, {}, &float_outputs)); in TestTransformedVersusFloatGraph() 84 TF_ASSERT_OK(transformed_session->Create(*transformed_graph_def)); in TestTransformedVersusFloatGraph() 86 TF_ASSERT_OK(transformed_session->Run(transformed_inputs, output_names, {}, in TestTransformedVersusFloatGraph() 156 auto root = tensorflow::Scope::NewRootScope(); in TestIgnoreOps() local 157 using namespace ::tensorflow::ops; // NOLINT(build/namespaces) in TestIgnoreOps() 164 return Const(root.WithOpName(name), Input::Initializer(tensor)); in TestIgnoreOps() 175 Output mat_mul_op = MatMul(root.WithOpName("mat_mul_op"), a_op, b_op); in TestIgnoreOps() 176 Output mul_op = Mul(root.WithOpName("mul"), c_op, d_op); in TestIgnoreOps() [all …]
|
/external/python/cpython2/Tools/buildbot/ |
D | clean.bat | 5 set root=%~dp0..\.. variable 6 set pcbuild=%root%\PCbuild 8 echo Deleting build 9 call "%pcbuild%\build.bat" -t Clean -k %* 10 call "%pcbuild%\build.bat" -t Clean -k -d %* 13 del /s "%root%\Lib\*.pyc" "%root%\Lib\*.pyo" 16 rmdir /s /q "%root%\build"
|
/external/python/cpython3/Tools/buildbot/ |
D | clean.bat | 5 set root=%~dp0..\.. variable 6 set pcbuild=%root%\PCbuild 8 echo Deleting build 9 call "%pcbuild%\build.bat" -t Clean -k %* 10 call "%pcbuild%\build.bat" -t Clean -k -d %* 13 del /s "%root%\Lib\*.pyc" "%root%\Lib\*.pyo" 16 rmdir /s /q "%root%\build"
|
/external/libcxx/utils/ci/ |
D | macos-trunk.sh | 3 set -ue 7 $(basename ${0}) [-h|--help] --libcxx-root <LIBCXX-ROOT> --libcxxabi-root <LIBCXXABI-ROOT> --std <S… 11 --libcxx-root Full path to the root of the libc++ repository to test. 12 --libcxxabi-root Full path to the root of the libc++abi repository to test. 13 --std Version of the C++ Standard to run the tests under (c++03, c++11, etc..). 14 --arch Architecture to build the tests for (32, 64). 15 …[--lit-args] Additional arguments to pass to lit (optional). If there are multiple arguments,… 16 …[--no-cleanup] Do not cleanup the temporary directory that was used for testing at the end. Thi… 17 [-h, --help] Print this help. 21 while [[ $# -gt 0 ]]; do [all …]
|
/external/swiftshader/third_party/marl/src/ |
D | dag_test.cpp | 7 // https://www.apache.org/licenses/LICENSE-2.0 40 // [A] --> [B] --> [C] | 45 builder.root() in TEST_P() 50 auto dag = builder.build(); in TEST_P() 51 dag->run(); in TEST_P() 56 // [A] --> [B] --> [C] | 60 builder.root() in TEST_P() 65 auto dag = builder.build(); in TEST_P() 68 dag->run(data); in TEST_P() 73 // [A] --> [B] --> [C] | [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | algebraic_simplifier_test.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 69 auto computation = m->AddEntryComputation(builder.Build()); in TEST_F() 70 HloInstruction* root = computation->root_instruction(); in TEST_F() local 71 EXPECT_EQ(root->opcode(), HloOpcode::kAdd); in TEST_F() 74 root = computation->root_instruction(); in TEST_F() 75 EXPECT_EQ(root, param0); in TEST_F() 87 ROOT sum = s32[8] add(x, y) in TEST_F() 94 m->entry_computation()->root_instruction(), in TEST_F() 99 // A*C + B*C => (A+B)*C if C is a floating-point power of 2. 109 ROOT sum = f32[] add(x, y) in TEST_F() [all …]
|
/external/tensorflow/tensorflow/lite/g3doc/guide/ |
D | build_ios.md | 1 # Build TensorFlow Lite for iOS 3 This document describes how to build TensorFlow Lite iOS library on your own. 4 Normally, you do not need to locally build TensorFlow Lite iOS library. If you 11 In some cases, you might wish to use a local build of TensorFlow Lite, for 15 you need to build it using Bazel on a macOS machine. 20 using `xcode-select`: 23 xcode-select --install 30 sudo xcodebuild -license accept 35 Bazel is the primary build system for TensorFlow. Install Bazel as per the 36 [instructions on the Bazel website][bazel-install]. Make sure to choose a [all …]
|