| /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/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/libbpf/docs/ |
| D | libbpf_build.rst | 1 .. SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 8 pkg-config is used by default to find libelf, and the program called 11 If using pkg-config at build time is not desired, it can be disabled by 14 To build both static libbpf.a and shared libbpf.so: 16 .. code-block:: bash 21 To build only static libbpf.a library in directory build/ and install them 22 together with libbpf headers in a staging directory root/: 24 .. code-block:: bash 27 $ mkdir build root 28 $ BUILD_STATIC_ONLY=y OBJDIR=build DESTDIR=root make install [all …]
|
| /external/cronet/third_party/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/ 74 TextFormatParseInfoTree tree = rootBuilder.build(); in testBuildEmptyParseTree() 81 TextFormatParseInfoTree root = rootBuilder.build(); in testGetLocationReturnsSingleLocation() local 82 assertThat(root.getLocation(OPTIONAL_INT32, 0)).isEqualTo(LOC0); in testGetLocationReturnsSingleLocation() 83 assertThat(root.getLocations(OPTIONAL_INT32)).hasSize(1); in testGetLocationReturnsSingleLocation() 88 assertThat(rootBuilder.build().getLocations(OPTIONAL_INT32)).isEmpty(); in testGetLocationsReturnsNoParseLocationsForUnknownField() 90 TextFormatParseInfoTree root = rootBuilder.build(); in testGetLocationsReturnsNoParseLocationsForUnknownField() local 91 assertThat(root.getLocations(OPTIONAL_INT32)).isEmpty(); in testGetLocationsReturnsNoParseLocationsForUnknownField() 92 assertThat(root.getLocations(OPTIONAL_BOOLEAN).get(0)).isEqualTo(LOC0); in testGetLocationsReturnsNoParseLocationsForUnknownField() [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/ 74 TextFormatParseInfoTree tree = rootBuilder.build(); in testBuildEmptyParseTree() 81 TextFormatParseInfoTree root = rootBuilder.build(); in testGetLocationReturnsSingleLocation() local 82 assertThat(root.getLocation(OPTIONAL_INT32, 0)).isEqualTo(LOC0); in testGetLocationReturnsSingleLocation() 83 assertThat(root.getLocations(OPTIONAL_INT32)).hasSize(1); in testGetLocationReturnsSingleLocation() 88 assertThat(rootBuilder.build().getLocations(OPTIONAL_INT32)).isEmpty(); in testGetLocationsReturnsNoParseLocationsForUnknownField() 90 TextFormatParseInfoTree root = rootBuilder.build(); in testGetLocationsReturnsNoParseLocationsForUnknownField() local 91 assertThat(root.getLocations(OPTIONAL_INT32)).isEmpty(); in testGetLocationsReturnsNoParseLocationsForUnknownField() 92 assertThat(root.getLocations(OPTIONAL_BOOLEAN).get(0)).isEqualTo(LOC0); in testGetLocationsReturnsNoParseLocationsForUnknownField() [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/mkroot/ |
| D | mkroot.sh | 3 # ------------------------------ Part 1: Setup ------------------------------- 6 [ -z "$NOCLEAR" ] && exec env -i NOCLEAR=1 HOME="$HOME" PATH="$PATH" \ 9 ! [ -d mkroot ] && echo "Run mkroot/mkroot.sh from toybox source dir." && exit 1 13 [ "${i/=/}" != "$i" ] && export "$i" || { [ "$i" != -- ] && PKG="$PKG $i"; } 17 : ${TOP:=$PWD/root} ${BUILD:=$TOP/build} ${LOG:=$BUILD/log} 18 : ${AIRLOCK:=$BUILD/airlock} ${CCC:=$PWD/ccc} ${PKGDIR:=$PWD/mkroot/root} 23 # ----- Are we cross compiling (via CROSS_COMPILE= or CROSS=) 25 if [ -n "$CROSS_COMPILE" ]; then 27 [ -z "${X:=$(command -v "$CROSS_COMPILE"cc)}" ] && die "no ${CROSS_COMPILE}cc" 28 CROSS_COMPILE="$(realpath -s "${X%cc}")" [all …]
|
| /external/tensorflow/tensorflow/compiler/xla/service/ |
| D | hlo_cse_test.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 61 constant1->shape(), HloOpcode::kAdd, constant1, constant2)); in TEST_F() 64 auto computation = module->AddEntryComputation(builder.Build()); in TEST_F() 66 EXPECT_EQ(3, computation->instruction_count()); in TEST_F() 71 EXPECT_EQ(2, computation->instruction_count()); in TEST_F() 72 HloInstruction* constant = *computation->instructions().begin(); in TEST_F() 73 EXPECT_EQ(42.0f, constant->literal().Get<float>({})); in TEST_F() 75 auto result = ExecuteAndTransfer(module->Clone(), {}); in TEST_F() 77 EXPECT_TRUE(LiteralTestUtil::Near(expected, result, ErrorSpec(1e-4))); in TEST_F() 91 constant1->shape(), HloOpcode::kAdd, constant1, constant2)); in TEST_F() [all …]
|
| D | hlo_ordering_test.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 54 // This results in a diamond-shaped callgraph. in TEST_F() 62 module->AddEmbeddedComputation(builder_c.Build()); in TEST_F() 70 module->AddEmbeddedComputation(builder_b.Build()); in TEST_F() 76 module->AddEmbeddedComputation(builder_a.Build()); in TEST_F() 83 module->AddEntryComputation(builder.Build()); in TEST_F() 136 HloComputation* body = module->AddEmbeddedComputation(body_builder.Build()); in TEST_F() 144 module->AddEmbeddedComputation(cond_builder.Build()); in TEST_F() 151 module->AddEntryComputation(builder.Build()); in TEST_F() 185 module->AddEntryComputation(builder.Build()); in TEST_F() [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) 16 7. Set environment variables: Config Panel -> System and Security -> System -> Advanced system sett… 18 * Add `<path to MinGW-W64>\bin` to your PATH environment variable 23 ---------------- 27 `git clone https://github.com/KhronosGroup/VK-GL-CTS` 29 You may wish to check out a stable vulkan-cts-* branch. 31 13. Get dEQP's dependencies. In your dEQP root directory, open 'cmd' and run: 44 ----------------- [all …]
|
| /external/pigweed/pw_build/py/ |
| D | python_runner_test.py | 8 # https://www.apache.org/licenses/LICENSE-2.0 26 ROOT = Path(r'C:\gn_root' if platform.system() == 'Windows' else '/gn_root') variable 29 ROOT, 30 ROOT / 'out', 31 ROOT / 'some' / 'cwd', 49 self.assertEqual(label.dir, ROOT) 51 label.out_dir, ROOT.joinpath('out', toolchain, 'obj') 54 label.gen_dir, ROOT.joinpath('out', toolchain, 'gen') 61 self.assertEqual(label.dir, ROOT.joinpath('foo/bar')) 63 label.out_dir, ROOT.joinpath('out', toolchain, 'obj/foo/bar') [all …]
|
| /external/libbpf/ |
| D | README.md | 1 This is a mirror of [bpf-next Linux source 2 tree](https://kernel.googlesource.com/pub/scm/linux/kernel/git/bpf/bpf-next)'s 5 All the gory details of syncing can be found in `scripts/sync-kernel.sh` 10 [bpf-next](https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git/)'s 16 Please check out [libbpf-bootstrap](https://github.com/libbpf/libbpf-bootstrap) 17 and [the companion blog post](https://nakryiko.com/posts/libbpf-bootstrap/) for 19 [libbpf-tools](https://github.com/iovisor/bcc/tree/master/libbpf-tools) are also 20 a good source of the real-world libbpf-based tracing tools. 22 See also ["BPF CO-RE reference guide"](https://nakryiko.com/posts/bpf-core-reference-guide/) 23 for the coverage of practical aspects of building BPF CO-RE applications and [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/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_example - List example commands (often used by the test suite) 5 list_pending - List unfinished COMMANDNAMEs out of toys/pending. 6 change - Build each command standalone under change/. 7 baseline - Create toybox_old for use by bloatcheck. 8 bloatcheck - Report size differences between old and current versions 9 test_COMMAND - Run tests for COMMAND (test_ps, test_cat, etc.) 10 tests - Run test suite against all compiled commands. [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/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/expat/.github/workflows/ |
| D | autotools-cmake.yml | 8 # Copyright (c) 2021-2022 Sebastian Pipping <sebastian@pipping.org> 30 name: Ensure that GNU Autotools and CMake build systems agree 36 - cron: '0 2 * * 5' # Every Friday at 2am 40 name: Ensure that GNU Autotools and CMake build systems agree 44 - os: macos-11 47 - os: ubuntu-20.04 50 - os: ubuntu-20.04 51 configure_args: --host=i686-w64-mingw32 52 cmake_args: -DCMAKE_TOOLCHAIN_FILE=cmake/mingw-toolchain.cmake 56 runs-on: "${{ matrix.os }}" [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/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/armnn/build-tool/docker/ |
| D | Dockerfile | 3 # SPDX-License-Identifier: MIT 6 # Default build type is 'production'. Use 'dev' if supplying custom Arm NN / ACL repos from host 10 FROM ubuntu:${UBUNTU_VERSION} AS build-production 15 RUN apt-get update && \ 16 apt-get install -y --no-install-recommends \ 17 ca-certificates \ 21 apt-get clean && \ 22 rm -rf /var/lib/apt/lists/* 25 RUN locale-gen en_GB.UTF-8 && \ 26 update-locale LC_ALL=en_GB.UTF-8 LANG=en_GB.UTF-8 [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/dagger2/java/dagger/hilt/android/plugin/src/test/kotlin/ |
| D | IncrementalProcessorTest.kt | 8 * http://www.apache.org/licenses/LICENSE-2.0 in <lambda>() 32 * To run these tests first deploy artifacts to local maven via util/install-local-snapshot.sh. in <lambda>() 126 val projectRoot = testProjectDir.root in <lambda>() 128 File("src/test/data/simple-project").copyRecursively(projectRoot) in <lambda>() 130 // set up build file in <lambda>() 131 File(projectRoot, "build.gradle").writeText( in <lambda>() 139 classpath 'com.android.tools.build:gradle:4.2.0' in <lambda>() 177 implementation 'com.google.dagger:dagger:LOCAL-SNAPSHOT' in <lambda>() 178 annotationProcessor 'com.google.dagger:dagger-compiler:LOCAL-SNAPSHOT' in <lambda>() 179 implementation 'com.google.dagger:hilt-android:LOCAL-SNAPSHOT' in <lambda>() [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/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/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"
|