/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/pip/_internal/commands/ |
D | list.py | 1 import json 3 from optparse import Values 4 from typing import TYPE_CHECKING, Generator, List, Optional, Sequence, Tuple, cast 6 from pip._vendor.packaging.utils import canonicalize_name 8 from pip._internal.cli import cmdoptions 9 from pip._internal.cli.req_command import IndexGroupCommand 10 from pip._internal.cli.status_codes import SUCCESS 11 from pip._internal.exceptions import CommandError 12 from pip._internal.index.collector import LinkCollector 13 from pip._internal.index.package_finder import PackageFinder [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/pip/_internal/commands/ |
D | list.py | 1 import json 3 from optparse import Values 4 from typing import TYPE_CHECKING, Generator, List, Optional, Sequence, Tuple, cast 6 from pip._vendor.packaging.utils import canonicalize_name 8 from pip._internal.cli import cmdoptions 9 from pip._internal.cli.req_command import IndexGroupCommand 10 from pip._internal.cli.status_codes import SUCCESS 11 from pip._internal.exceptions import CommandError 12 from pip._internal.index.collector import LinkCollector 13 from pip._internal.index.package_finder import PackageFinder [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/pip/_internal/commands/ |
D | list.py | 1 import json 3 from optparse import Values 4 from typing import TYPE_CHECKING, Generator, List, Optional, Sequence, Tuple, cast 6 from pip._vendor.packaging.utils import canonicalize_name 8 from pip._internal.cli import cmdoptions 9 from pip._internal.cli.req_command import IndexGroupCommand 10 from pip._internal.cli.status_codes import SUCCESS 11 from pip._internal.exceptions import CommandError 12 from pip._internal.index.collector import LinkCollector 13 from pip._internal.index.package_finder import PackageFinder [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/pip/_internal/commands/ |
D | list.py | 1 import json 3 from optparse import Values 4 from typing import TYPE_CHECKING, Generator, List, Optional, Sequence, Tuple, cast 6 from pip._vendor.packaging.utils import canonicalize_name 8 from pip._internal.cli import cmdoptions 9 from pip._internal.cli.req_command import IndexGroupCommand 10 from pip._internal.cli.status_codes import SUCCESS 11 from pip._internal.exceptions import CommandError 12 from pip._internal.index.collector import LinkCollector 13 from pip._internal.index.package_finder import PackageFinder [all …]
|
/aosp_15_r20/external/python/setuptools/setuptools/tests/integration/ |
D | test_pip_install_sdist.py | 13 import json 17 from enum import Enum 18 from glob import glob 19 from hashlib import md5 20 from urllib.request import urlopen 23 from packaging.requirements import Requirement 25 from .helpers import Archive, run 41 # that `build-essential`, `gfortran` and `libopenblas-dev` are installed, 50 # --- Popular packages: https://hugovk.github.io/top-pypi-packages/ --- 68 VIRTUALENV = (sys.executable, "-m", "virtualenv") [all …]
|
/aosp_15_r20/external/python/setuptools/setuptools/tests/ |
D | test_setuptools.py | 1 """Tests for the 'setuptools' package""" 7 from distutils.errors import DistutilsOptionError 8 from distutils.errors import DistutilsSetupError 9 from distutils.core import Extension 10 from zipfile import ZipFile 14 from setuptools.extern.packaging import version 17 import setuptools.dist 19 from setuptools.depends import Require 28 """Return distribution from 'setup(**args)', without executing commands""" 50 # skip on non-bytecode platforms [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/pip/_internal/metadata/ |
D | base.py | 4 import json 9 from typing import ( 25 from pip._vendor.packaging.requirements import Requirement 26 from pip._vendor.packaging.specifiers import InvalidSpecifier, SpecifierSet 27 from pip._vendor.packaging.utils import NormalizedName 28 from pip._vendor.packaging.version import LegacyVersion, Version 30 from pip._internal.exceptions import NoneMetadataError 31 from pip._internal.locations import site_packages, user_site 32 from pip._internal.models.direct_url import ( 37 from pip._internal.utils.compat import stdlib_pkgs # TODO: Move definition here. [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/pip/_internal/metadata/ |
D | base.py | 4 import json 9 from typing import ( 25 from pip._vendor.packaging.requirements import Requirement 26 from pip._vendor.packaging.specifiers import InvalidSpecifier, SpecifierSet 27 from pip._vendor.packaging.utils import NormalizedName 28 from pip._vendor.packaging.version import LegacyVersion, Version 30 from pip._internal.exceptions import NoneMetadataError 31 from pip._internal.locations import site_packages, user_site 32 from pip._internal.models.direct_url import ( 37 from pip._internal.utils.compat import stdlib_pkgs # TODO: Move definition here. [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/pip/_internal/metadata/ |
D | base.py | 4 import json 9 from typing import ( 25 from pip._vendor.packaging.requirements import Requirement 26 from pip._vendor.packaging.specifiers import InvalidSpecifier, SpecifierSet 27 from pip._vendor.packaging.utils import NormalizedName 28 from pip._vendor.packaging.version import LegacyVersion, Version 30 from pip._internal.exceptions import NoneMetadataError 31 from pip._internal.locations import site_packages, user_site 32 from pip._internal.models.direct_url import ( 37 from pip._internal.utils.compat import stdlib_pkgs # TODO: Move definition here. [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/pip/_internal/metadata/ |
D | base.py | 4 import json 9 from typing import ( 25 from pip._vendor.packaging.requirements import Requirement 26 from pip._vendor.packaging.specifiers import InvalidSpecifier, SpecifierSet 27 from pip._vendor.packaging.utils import NormalizedName 28 from pip._vendor.packaging.version import LegacyVersion, Version 30 from pip._internal.exceptions import NoneMetadataError 31 from pip._internal.locations import site_packages, user_site 32 from pip._internal.models.direct_url import ( 37 from pip._internal.utils.compat import stdlib_pkgs # TODO: Move definition here. [all …]
|
/aosp_15_r20/development/tools/otagui/ |
H A D | web_server.py | 2 A local HTTP server for Android OTA package generation. 13 GET /download/<id> : download the ota package with <id> 15 arguments set in a json uploaded together 20 - Avoid unintentionally path leakage 21 - Avoid overwriting build when uploading build with same file name 23 Other GET request will be redirected to the static request under 'dist' directory 26 from http.server import BaseHTTPRequestHandler, SimpleHTTPRequestHandler, HTTPServer 27 from socketserver import ThreadingMixIn 28 from threading import Lock 29 from ota_interface import ProcessesManagement [all …]
|
/aosp_15_r20/build/soong/android/ |
H A D | module.go | 7 // http://www.apache.org/licenses/LICENSE-2.0 15 package android 42 // but GenerateAndroidBuildActions also has access to Android-specific information. 124 // The usage of this method is experimental and should not be used outside of fsgen package. 135 // The package (i.e. directory) in which the module is defined, without trailing / 138 // The name of the module, empty string if package. 153 // Get the id for the package containing this module. 158 panic(fmt.Errorf("Cannot get containing package id of root package")) 162 if index == -1 { 172 // A qualified id for a package module has no name. [all …]
|
/aosp_15_r20/external/python/cpython3/Lib/test/test_importlib/ |
D | test_main.py | 2 import json 11 from .stubs import fake_filesystem_unittest as ffs 13 from . import fixtures 14 from importlib.metadata import ( 31 dist = Distribution.from_name('distinfo-pkg') 32 assert isinstance(dist.version, str) 33 assert re.match(self.version_pattern, dist.version) 37 Distribution.from_name('does-not-exist') 41 When a package is not found, that could indicate that the 47 Distribution.from_name('does-not-exist') [all …]
|
D | test_metadata_api.py | 8 from . import fixtures 9 from importlib.metadata import ( 39 pkg_version = version('egginfo-pkg') 44 pkg_version = version('distinfo-pkg') 50 distribution('does-not-exist') 53 names = 'pkg.dot', 'pkg_dot', 'pkg-dot', 'pkg..dot', 'Pkg.Dot' 67 distribution('egginfo-pkg').read_text('top_level.txt').strip(), 'mod' 72 path for path in files('egginfo-pkg') if path.name == 'top_level.txt' 89 self.assertIn(ep.dist.name, ('distinfo-pkg', 'egginfo-pkg')) 90 self.assertEqual(ep.dist.version, "1.0.0") [all …]
|
/aosp_15_r20/external/python/cpython3/Doc/library/ |
D | importlib.metadata.rst | 17 …data of an installed `Distribution Package <https://packaging.python.org/en/latest/glossary/#term-… 19 or its top-level names (`Import Package <https://packaging.python.org/en/latest/glossary/#term-Impo… 24 this package can eliminate the need to use the older and less efficient 25 ``pkg_resources`` package. 27 ``importlib_metadata`` operates on third-party *distribution packages* 28 installed into Python's ``site-packages`` directory via tools such as 31 ``dist-info`` or ``egg-info`` directories, 32 …cifications <https://packaging.python.org/en/latest/specifications/core-metadata/#core-metadata>`_. 37 the top-level *import package* names 39 One *distribution package* can contain multiple *import packages* [all …]
|
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/dist/ |
D | test.go | 2 // Use of this source code is governed by a BSD-style 5 package main 9 "encoding/json" 35 flag.BoolVar(&noRebuild, "no-rebuild", false, "overrides -rebuild (historical dreg)") 38 flag.BoolVar(&t.compileOnly, "compile-only", false, "compile tests, but don't run them") 45 flag.BoolVar(&t.json, "json", false, "report test results in JSON") 47 xflagparse(-1) // any number of args 74 json bool member 87 flush func() // if non-nil, called after cmd.Run 89 out bytes.Buffer // combined stdout/stderr from cmd [all …]
|
D | build.go | 2 // Use of this source code is governed by a BSD-style 5 package main 9 "encoding/json" 105 // find reports the first index of p in l[0:n], or else -1. 112 return -1 125 // runs cmd/dist inside go/bin often, and on Windows 229 b = "pkg-config" 252 // https://go.dev/issue/31576). Since we want binaries installed by 'dist' to 276 // compilerEnv returns a map from "goos/goarch" to the 280 // read from $CC, defaulting to gcc. [all …]
|
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/go/internal/tool/ |
D | tool.go | 2 // Use of this source code is governed by a BSD-style 5 // Package tool implements the “go tool” command. 6 package tool 11 "encoding/json" 28 UsageLine: "go tool [-n] command [args...]", 34 The -n flag causes tool to print the command that would be 66 // The tool name must be lower-case letters, numbers or underscores. 79 if toolName == "dist" && len(args) > 1 && args[1] == "list" { 80 // cmd/distpack removes the 'dist' tool from the toolchain to save space, 82 // place. However, 'go tool dist list' is useful for listing all supported [all …]
|
/aosp_15_r20/build/make/core/ |
H A D | layoutlib_data.mk | 3 FONT_TEMP := $(call intermediates-dir-for,PACKAGING,fonts,HOST,COMMON) 5 # The font configuration files - system_fonts.xml, fallback_fonts.xml etc. 10 $(hide) mkdir -p $(dir $@) 11 $(hide) cp -vf $< $@ 17 # TODO: If the font file is a symlink, reuse the font renamed from the symlink 20 $(hide) mkdir -p $(dir $@) 21 $(hide) cp -vf $< $@ 23 KEYBOARD_TEMP := $(call intermediates-dir-for,PACKAGING,keyboards,HOST,COMMON) 30 $(hide) mkdir -p $(dir $@) 31 $(hide) cp -vf $< $@ [all …]
|
/aosp_15_r20/system/apex/shim/build/ |
H A D | Android.bp | 7 // http://www.apache.org/licenses/LICENSE-2.0 17 package { 18 default_applicable_licenses: ["Android-Apache-2.0"], 24 cmd: "openssl genrsa -out $(out) 4096", 32 cmd: "$(location avbtool) extract_public_key --key $(in) --output $(out)", 45 cmd: "openssl genrsa -out $(out) 4096", 53 cmd: "$(location avbtool) extract_public_key --key $(in) --output $(out)", 66 cmd: "sha512sum -b /dev/null | cut -d' ' -f1 | tee $(out)", 78 manifest: "manifest_v3.json", 80 file_contexts: ":apex.test-file_contexts", [all …]
|
/aosp_15_r20/external/cronet/build/fuchsia/ |
H A D | binary_sizes.py | 4 # Use of this source code is governed by a BSD-style license that can be 6 '''Implements Chrome-Fuchsia package binary size checks.''' 10 import json 25 from common import DIR_SRC_ROOT, SDK_ROOT, get_host_tool_path 27 PACKAGES_BLOBS_FILE = 'package_blobs.json' 28 PACKAGES_SIZES_FILE = 'package_sizes.json' 31 # package. 35 # Structure representing a Fuchsia package blob and its compressed and 54 """Create a performance dashboard histogram from the histogram template and 66 'description': 'chrome-fuchsia package binary sizes', [all …]
|
/aosp_15_r20/external/angle/build/fuchsia/ |
H A D | binary_sizes.py | 4 # Use of this source code is governed by a BSD-style license that can be 6 '''Implements Chrome-Fuchsia package binary size checks.''' 10 import json 25 from common import DIR_SRC_ROOT, SDK_ROOT, get_host_tool_path 27 PACKAGES_BLOBS_FILE = 'package_blobs.json' 28 PACKAGES_SIZES_FILE = 'package_sizes.json' 31 # package. 35 # Structure representing a Fuchsia package blob and its compressed and 54 """Create a performance dashboard histogram from the histogram template and 66 'description': 'chrome-fuchsia package binary sizes', [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/pip/_vendor/distlib/ |
D | locators.py | 1 # -*- coding: utf-8 -*- 3 # Copyright (C) 2012-2015 Vinay Sajip. 9 from io import BytesIO 10 import json 21 from . import DistlibException 22 from .compat import (urljoin, urlparse, urlunparse, url2pathname, pathname2url, 26 from .database import Distribution, DistributionPath, make_dist 27 from .metadata import Metadata, MetadataInvalidError 28 from .util import (cached_property, ensure_slash, split_filename, get_project_data, 31 from .version import get_scheme, UnsupportedVersionError [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/pip/_vendor/distlib/ |
D | locators.py | 1 # -*- coding: utf-8 -*- 3 # Copyright (C) 2012-2015 Vinay Sajip. 9 from io import BytesIO 10 import json 21 from . import DistlibException 22 from .compat import (urljoin, urlparse, urlunparse, url2pathname, pathname2url, 26 from .database import Distribution, DistributionPath, make_dist 27 from .metadata import Metadata, MetadataInvalidError 28 from .util import (cached_property, ensure_slash, split_filename, get_project_data, 31 from .version import get_scheme, UnsupportedVersionError [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/pip/_vendor/distlib/ |
D | locators.py | 1 # -*- coding: utf-8 -*- 3 # Copyright (C) 2012-2015 Vinay Sajip. 9 from io import BytesIO 10 import json 21 from . import DistlibException 22 from .compat import (urljoin, urlparse, urlunparse, url2pathname, pathname2url, 26 from .database import Distribution, DistributionPath, make_dist 27 from .metadata import Metadata, MetadataInvalidError 28 from .util import (cached_property, ensure_slash, split_filename, get_project_data, 31 from .version import get_scheme, UnsupportedVersionError [all …]
|