Home
last modified time | relevance | path

Searched +full:expand +full:- +full:archive (Results 1 – 25 of 241) sorted by relevance

12345678910

/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/examples/
DExpander.java10 * http://www.apache.org/licenses/LICENSE-2.0
57 * Expands {@code archive} into {@code targetDirectory}.
59 * <p>Tries to auto-detect the archive's format.</p>
61 * @param archive the file to expand
64 * @throws ArchiveException if the archive cannot be read for other reasons
66 public void expand(File archive, File targetDirectory) throws IOException, ArchiveException { in expand() method in Expander
68 try (InputStream i = new BufferedInputStream(Files.newInputStream(archive.toPath()))) { in expand()
71 expand(format, archive, targetDirectory); in expand()
75 * Expands {@code archive} into {@code targetDirectory}.
77 * @param archive the file to expand
[all …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/examples/
DExpanderTest.java10 * http://www.apache.org/licenses/LICENSE-2.0
56 private File archive; field in ExpanderTest
61 new Expander().expand("7z", archive, resultDir); in sevenZTwoFileVersion()
68 new Expander().expand(archive, resultDir); in sevenZTwoFileVersionWithAutoDetection()
75 try (InputStream i = new BufferedInputStream(Files.newInputStream(archive.toPath()))) { in sevenZInputStreamVersion()
76 new Expander().expand("7z", i, resultDir); in sevenZInputStreamVersion()
83 try (InputStream i = new BufferedInputStream(Files.newInputStream(archive.toPath()))) { in sevenZInputStreamVersionWithAutoDetection()
84 new Expander().expand(i, resultDir); in sevenZInputStreamVersionWithAutoDetection()
91 try (SeekableByteChannel c = FileChannel.open(archive.toPath(), StandardOpenOption.READ)) { in sevenZChannelVersion()
92 new Expander().expand("7z", c, resultDir); in sevenZChannelVersion()
[all …]
DParameterizedExpanderTest.java10 * http://www.apache.org/licenses/LICENSE-2.0
62 private File archive; field in ParameterizedExpanderTest
72 archive = new File(dir, "test." + format); in setUp()
78 .createArchiveOutputStream(format, Files.newOutputStream(archive.toPath()))) { in setUp()
97 new Expander().expand(format, archive, resultDir); in fileVersion()
103 new Expander().expand(archive, resultDir); in fileVersionWithAutoDetection()
109 try (InputStream i = new BufferedInputStream(Files.newInputStream(archive.toPath()))) { in inputStreamVersion()
110 new Expander().expand(format, i, resultDir); in inputStreamVersion()
117 try (InputStream i = new BufferedInputStream(Files.newInputStream(archive.toPath()))) { in inputStreamVersionWithAutoDetection()
118 new Expander().expand(i, resultDir); in inputStreamVersionWithAutoDetection()
[all …]
/external/pdfium/testing/tools/
Dgenerate_cas_paths.py3 # Use of this source code is governed by a BSD-style license that can be
5 """Tool for converting GN runtime_deps to CAS archive paths."""
28 """Converts paths to CAS archive paths format."""
41 # Expand specific children if any are excluded.
55 expand = False
60 expand = True
64 return expanded_paths if expand else []
87 parser.add_argument('--root')
95 help='CAS archive paths in JSON format',
/external/mesa3d/.gitlab-ci/windows/
Dmesa_deps_d3d.ps17 $depsInstallPath="C:\mesa-deps"
9 Write-Host "Downloading DirectX 12 Agility SDK at:"
10 Get-Date
11 Invoke-WebRequest -Uri https://www.nuget.org/api/v2/package/Microsoft.Direct3D.D3D12/1.610.2 -OutFi…
12 Expand-Archive -Path 'agility.zip' -DestinationPath 'C:\agility'
13 # Copy Agility SDK into mesa-deps\bin\D3D12
14 New-Item -ErrorAction SilentlyContinue -ItemType Directory -Path $depsInstallPath\bin -Name 'D3D12'
15 Copy-Item 'C:\agility\build\native\bin\x64\*.dll' -Destination $depsInstallPath\bin\D3D12
16 Remove-Item 'agility.zip'
17 Remove-Item -Recurse 'C:\agility'
[all …]
/external/cronet/net/third_party/quiche/src/quiche/oblivious_http/buffers/
Doblivious_http_response.cc30 quiche_random->RandBytes(dest, len); in random()
46 // https://www.ietf.org/archive/id/draft-ietf-ohai-ohttp-03.html#section-4.2-4
55 "Decapsulation on Client-side."); in CreateClientObliviousResponse()
77 // https://www.ietf.org/archive/id/draft-ietf-ohai-ohttp-03.html#section-4.2-2.1 in CreateClientObliviousResponse()
86 // https://www.ietf.org/archive/id/draft-ietf-ohai-ohttp-03.html#section-4.2-2.2 in CreateClientObliviousResponse()
107 // https://www.ietf.org/archive/id/draft-ietf-ohai-ohttp-03.html#section-4.2-6 in CreateClientObliviousResponse()
127 // Follows the Ohttp spec section-4.2 (Encapsulation of Responses) Ref
128 // https://www.ietf.org/archive/id/draft-ietf-ohai-ohttp-03.html#section-4.2
139 "Encapsulation on Server-side."); in CreateServerObliviousResponse()
157 const size_t nonce_size = aead_params_st->secret_len; in CreateServerObliviousResponse()
[all …]
/external/crosvm/tools/
Dinstall-deps.ps118 …b.com/protocolbuffers/protobuf/releases/download/v$PROTOC_VERSION/protoc-$PROTOC_VERSION-win64.zip"
25 …RUSTUP_INIT_URL = "https://static.rust-lang.org/rustup/archive/$RUSTUP_INIT_VERSION/x86_64-pc-wind…
26 $RUSTUP_INIT = $BASE_DIR + 'rustup-init.exe'
29 … = "https://github.com/cargo-bins/cargo-binstall/releases/download/$CARGO_BINSTALL_VERSION/cargo-b…
31 Write-Host "Installing in $BASE_DIR"
33 if (!(Test-Path $BASE_DIR -PathType Container)) {
34 New-Item -ItemType Directory -Force -Path $BASE_DIR
37 Set-Location $BASE_DIR
40 Invoke-WebRequest $PROTOC_URL -Out $PROTOC_ZIP
41 Write-Host "Verifying protoc integrity"
[all …]
/external/libchrome/build/
Dextract_from_cab.py3 # Use of this source code is governed by a BSD-style license that can be
6 """Extracts a single file from a CAB archive."""
15 """Run 'expand' suppressing noisy output. Returns returncode from process."""
19 # expand emits errors to stdout, so if we fail, then print that out.
30 # Expand.exe does its work in a fixed-named temporary directory created within
37 # Invoke the Windows expand utility to extract the file.
38 level = run_quiet('expand', cab_path, '-F:' + archived_file, temp_dir)
40 # Move the output file into place, preserving expand.exe's behavior of
54 # The expand utility preserves the modification date and time of the archived
/external/cronet/build/
Dextract_from_cab.py3 # Use of this source code is governed by a BSD-style license that can be
6 """Extracts a single file from a CAB archive."""
16 """Run 'expand' suppressing noisy output. Returns returncode from process."""
20 # expand emits errors to stdout, so if we fail, then print that out.
31 # Expand.exe does its work in a fixed-named temporary directory created within
38 # Invoke the Windows expand utility to extract the file.
39 level = run_quiet('expand', cab_path, '-F:' + archived_file, temp_dir)
41 # Move the output file into place, preserving expand.exe's behavior of
55 # The expand utility preserves the modification date and time of the archived
/external/angle/build/
Dextract_from_cab.py3 # Use of this source code is governed by a BSD-style license that can be
6 """Extracts a single file from a CAB archive."""
16 """Run 'expand' suppressing noisy output. Returns returncode from process."""
20 # expand emits errors to stdout, so if we fail, then print that out.
31 # Expand.exe does its work in a fixed-named temporary directory created within
38 # Invoke the Windows expand utility to extract the file.
39 level = run_quiet('expand', cab_path, '-F:' + archived_file, temp_dir)
41 # Move the output file into place, preserving expand.exe's behavior of
55 # The expand utility preserves the modification date and time of the archived
/external/skia/tools/testrunners/common/android/
Dadb_test.bzl6 def _adb_test_runner_transition_impl(settings, attr): # buildifier: disable=unused-variable
9 # If no platform was specified via --adb_platform, use the host platform. This allows us to
32 …build/rules_go/blob/5933b6ed063488472fc14ceca232b3115e8bc39f/go/private/platforms.bzl#LL30C9-L30C9.
45 # Map the --adb_platform CPU part to GOARCH style, which we differ from for readability.
50 # This transition allows us to cross-compile the Go test runner (i.e. the program that issues adb
51 # commands) for a different platform, for example when "bazel build"-ing on an x86 GCE machine and
64 if [[ -z "${TEST_UNDECLARED_OUTPUTS_DIR}" ]]; then
72 output_dir_flag = "--output-dir $TEST_UNDECLARED_OUTPUTS_DIR"
79 # Print commands and expand variables for easier debugging.
80 set -x
[all …]
/external/libxkbcommon/.github/workflows/
Dmain.yml11 runs-on: ubuntu-18.04
16 - uses: actions/checkout@v2
17 - uses: actions/setup-python@v1
19 python-version: '3.7'
20 - name: Install dependencies
22 python -m pip install --upgrade pip meson
23 sudo apt update -y
24 sudo env DEBIAN_FRONTEND=noninteractive apt install -y \
25 doxygen libxcb-xkb-dev valgrind ninja-build \
26 libwayland-dev wayland-protocols bison graphviz
[all …]
/external/sg3_utils/
DChangeLog5 Changelog for pre-release sg3_utils-1.48 [20221112] [svn: r983]
6 - some utilities: add experimental --json[=JO] option
7 - sg_z_act_query: new utility for sending either a
9 - sg_rep_density: new utility for decoding the response of
11 - sg_rem_rest_elem: new utility for removing or restoring
13 - sg_rtpg: https://github.com/hreinecke/sg3_utils/pull/79
15 - rescan-scsi-bus.sh: with '-r' it crashed due to change in
18 - undo regression in rev 815 that added newline after
20 - rev 815 changed the order of listing hosts from
22 - https://github.com/doug-gilbert/sg3_utils/pull/17
[all …]
/external/conscrypt/benchmark-android/
Dbuild.gradle63 depsJarApi project(path: ':conscrypt-android'),
67 depsJarImplementation project(':conscrypt-benchmark-base'),
68 project(path: ":conscrypt-testing", configuration: "shadow"),
69 project(':conscrypt-libcore-stub')
71 implementation 'com.google.caliper:caliper:1.0-beta-2'
78 // Since we're examining the contents of the archive files, we need to prevent evaluation of
92 ].collect { config ->
93 config.findResults { archive ->
94 // For Android library archives (.aar), we need to expand the classes.jar
96 if (archive.name.endsWith(".aar")) {
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
DZipArchiveEntry.java9 * http://www.apache.org/licenses/LICENSE-2.0
57 public static final int CRC_UNKNOWN = -1;
68 * The name has been read from the archive using the encoding
69 * of the archive specified when creating the {@link
75 * The name has been read from the archive and the archive
77 * encoded as UTF-8.
93 * The comment has been read from the archive using the encoding
94 * of the archive specified when creating the {@link
111 * The default value -1 means that the method has not been specified.
113 * @see <a href="https://issues.apache.org/jira/browse/COMPRESS-93"
[all …]
/external/python/cpython3/.azure-pipelines/windows-release/
Dstage-test-embed.yml2 - job: Test_Embed
7 vmImage: windows-2022
20 - checkout: none
22 - task: DownloadBuildArtifacts@0
28 - powershell: |
29 $p = gi "$(Build.BinariesDirectory)\embed\python*embed-$(Name).zip"
30 Expand-Archive -Path $p -DestinationPath "$(Build.BinariesDirectory)\Python"
32 Write-Host "##vso[task.prependpath]$(Split-Path -Parent $p)"
35 - script: |
36 python -c "import sys; print(sys.version)"
[all …]
/external/llvm/tools/llvm-readobj/
Dllvm-readobj.cpp1 //===- llvm-readobj.cpp - Dump contents of an Object File -----------------===//
8 //===----------------------------------------------------------------------===//
20 //===----------------------------------------------------------------------===//
22 #include "llvm-readobj.h"
26 #include "llvm/Object/Archive.h"
53 // -file-headers, -h
54 cl::opt<bool> FileHeaders("file-headers",
57 cl::desc("Alias for --file-headers"),
60 // -sections, -s
64 cl::desc("Alias for --sections"),
[all …]
/external/libxml2/m4/
Dax_require_defined.m42 # https://www.gnu.org/software/autoconf-archive/ax_require_defined.html
14 # non-fatal:
18 # It's like AC_REQUIRE except it doesn't expand the required macro.
30 # and this notice are preserved. This file is offered as-is, without any
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/m4/
Dax_require_defined.m42 # https://www.gnu.org/software/autoconf-archive/ax_require_defined.html
14 # non-fatal:
18 # It's like AC_REQUIRE except it doesn't expand the required macro.
30 # and this notice are preserved. This file is offered as-is, without any
/external/expat/expat/conftools/
Dax-require-defined.m42 # https://www.gnu.org/software/autoconf-archive/ax_require_defined.html
14 # non-fatal:
18 # It's like AC_REQUIRE except it doesn't expand the required macro.
30 # and this notice are preserved. This file is offered as-is, without any
/external/google-breakpad/m4/
Dax_require_defined.m42 # http://www.gnu.org/software/autoconf-archive/ax_require_defined.html
14 # non-fatal:
18 # It's like AC_REQUIRE except it doesn't expand the required macro.
30 # and this notice are preserved. This file is offered as-is, without any
/external/libffi/m4/
Dax_require_defined.m42 # https://www.gnu.org/software/autoconf-archive/ax_require_defined.html
14 # non-fatal:
18 # It's like AC_REQUIRE except it doesn't expand the required macro.
30 # and this notice are preserved. This file is offered as-is, without any
/external/libxml2/.gitlab-ci/
DTest-Msvc.ps13 if (-not (Test-Path cmake-$Env:CMAKE_VERSION-win64-x64)) {
4 Invoke-WebRequest `
5-Uri http://github.com/Kitware/CMake/releases/download/v$Env:CMAKE_VERSION/cmake-$Env:CMAKE_VERSIO…
6 -OutFile cmake-$Env:CMAKE_VERSION-win64-x64.zip
7 Expand-Archive cmake-$Env:CMAKE_VERSION-win64-x64.zip -DestinationPath .
9 $Env:Path="$Env:CI_PROJECT_DIR\cmake-$Env:CMAKE_VERSION-win64-x64\bin;$Env:Path"
11 if (-not (Test-Path 7za.exe)) {
12 Invoke-WebRequest `
13 -Uri https://www.7-zip.org/a/7z1900-extra.7z `
14 -OutFile 7z1900-extra.7z
[all …]
/external/bazelbuild-rules_go/go/private/actions/
Dcompilepkg.bzl7 # http://www.apache.org/licenses/LICENSE-2.0
68 [archive.data.export_file for archive in archives] +
74 args.add_all(sources, before_each = "-src")
75 args.add_all(embedsrcs, before_each = "-embedsrc", expand_directories = False)
79 before_each = "-embedroot",
86 before_each = "-embedlookupdir",
92 args.add("-arc", _archive(go.coverdata))
94 args.add("-cover_mode", "atomic")
96 args.add("-cover_mode", "set")
97 args.add("-cover_format", go.cover_format)
[all …]
/external/ot-br-posix/tests/scripts/
Dbootstrap.sh30 set -euxo pipefail
33 [[ -d $TOOLS_HOME ]] || mkdir -p "$TOOLS_HOME"
41 if [[ -f ${OTBR_APT_CONF_FILE} ]] && grep Install-Recommends "${OTBR_APT_CONF_FILE}"; then
45 sudo tee -a /etc/apt/apt.conf <<EOF
46 APT::Get::Install-Recommends "false";
47 APT::Get::Install-Suggests "false";
54 sudo apt-get install --no-install-recommends -y \
55 libdbus-1-dev \
56 ninja-build \
59 net-tools \
[all …]

12345678910