/third_party/python/Lib/test/test_importlib/ |
D | test_pkg_import.py | 15 self.package_name = 'PACKAGE_' 16 while self.package_name in sys.modules: 17 self.package_name += random.choice(string.ascii_letters) 18 self.module_name = self.package_name + '.foo' 22 for module_name in (self.package_name, self.module_name): 30 self.package_name) 58 self.assertFalse(hasattr(sys.modules[self.package_name], 'foo'))
|
/third_party/python/Tools/peg_generator/scripts/ |
D | download_pypi_packages.py | 32 def download_package_json(package_name: str) -> None: 67 package_name = package["project"] 70 download_package_json(package_name) 73 package_json = load_json(package_name) 76 download_package_code(package_name, package_json) 82 remove_json(package_name)
|
D | test_pypi_packages.py | 49 def find_dirname(package_name: str) -> str: 52 if os.path.isdir(full_path) and name in package_name:
|
/third_party/rust/crates/cxx/third-party/bazel/ |
D | defs.bzl | 47 "package_name": "@full//:label", 86 def crate_deps(deps, package_name = None): 91 package_name (str, optional): The package name of the set of dependencies to look up. 92 Defaults to `native.package_name()`. 101 if package_name == None: 102 package_name = native.package_name() 112 ]).pop(package_name, {}) 133 package_name, 146 package_name = None): 166 package_name (str, optional): The package name of the set of dependencies to look up. [all …]
|
/third_party/protobuf/python/docs/ |
D | generate_docs.py | 137 package_name = "" 140 package_name = package_path.as_posix().replace("/", ".") 141 module_name = package_name + "." + module_path.stem 147 elif any(ignored in package_name for ignored in IGNORED_PACKAGES): 153 modules.append(package_name)
|
/third_party/node/tools/inspector_protocol/jinja2/ |
D | loaders.py | 220 def __init__(self, package_name, package_path='templates', argument 224 provider = get_provider(package_name) 437 package_name = '_jinja2_module_templates_%x' % id(self) 441 mod = _TemplateModule(package_name) 448 sys.modules[package_name] = weakref.proxy(mod, 449 lambda x: sys.modules.pop(package_name, None)) 455 self.package_name = package_name 468 module = '%s.%s' % (self.package_name, key)
|
/third_party/skia/third_party/externals/jinja2/ |
D | loaders.py | 232 def __init__(self, package_name, package_path="templates", encoding="utf-8"): argument 237 provider = get_provider(package_name) 458 package_name = "_jinja2_module_templates_%x" % id(self) 462 mod = _TemplateModule(package_name) 469 sys.modules[package_name] = weakref.proxy( 470 mod, lambda x: sys.modules.pop(package_name, None) 477 self.package_name = package_name 490 module = "%s.%s" % (self.package_name, key)
|
/third_party/node/deps/v8/third_party/jinja2/ |
D | loaders.py | 232 def __init__(self, package_name, package_path="templates", encoding="utf-8"): argument 237 provider = get_provider(package_name) 458 package_name = "_jinja2_module_templates_%x" % id(self) 462 mod = _TemplateModule(package_name) 469 sys.modules[package_name] = weakref.proxy( 470 mod, lambda x: sys.modules.pop(package_name, None) 477 self.package_name = package_name 490 module = "%s.%s" % (self.package_name, key)
|
/third_party/node/tools/dep_updaters/ |
D | utils.sh | 13 package_name="$1" 22 echo "Valid $package_name checksum" 25 echo "ERROR - Invalid $package_name checksum:"
|
/third_party/protobuf/src/google/protobuf/compiler/ruby/ |
D | ruby_generator.cc | 406 std::string package_name; in GeneratePackageModules() local 412 package_name = file->options().ruby_package(); in GeneratePackageModules() 418 if (package_name.find("::") != std::string::npos) { in GeneratePackageModules() 425 package_name = file->package(); in GeneratePackageModules() 433 while (!package_name.empty()) { in GeneratePackageModules() 434 size_t dot_index = package_name.find(delimiter); in GeneratePackageModules() 437 component = package_name; in GeneratePackageModules() 438 package_name = ""; in GeneratePackageModules() 440 component = package_name.substr(0, dot_index); in GeneratePackageModules() 441 package_name = package_name.substr(dot_index + delimiter_size); in GeneratePackageModules()
|
/third_party/jinja2/ |
D | loaders.py | 273 package_name: str, 286 self.package_name = package_name 291 import_module(package_name) 292 spec = importlib.util.find_spec(package_name) 606 package_name = f"_jinja2_module_templates_{id(self):x}" 610 mod = _TemplateModule(package_name) 617 sys.modules[package_name] = weakref.proxy( 618 mod, lambda x: sys.modules.pop(package_name, None) 625 self.package_name = package_name
|
/third_party/libabigail/tools/ |
D | fedabipkgdiff | 870 def get_package_latest_build(self, package_name, distro): argument 884 package = self.getPackage(package_name) 914 'No complete builds of package {0}'.format(package_name)) 919 def select_rpms_from_a_build(self, build_id, package_name, arches=None, argument 941 def rpms_selector(package_name, excluded_arches): argument 944 (rpm['name'] == package_name or 951 selector = rpms_selector(package_name, excluded_arches) 958 def get_latest_built_rpms(self, package_name, distro, arches=None): argument 968 latest_build = self.get_package_latest_build(package_name, distro) 971 package_name, [all …]
|
D | abipkgdiff.cc | 3620 string package_name; in main() local 3627 base_name(opts.package2, package_name); in main() 3629 << package_name << " should be an RPM file\n"; in main() 3679 base_name(opts.package2, package_name); in main() 3681 << package_name << " should be a DEB file\n"; in main() 3691 base_name(opts.package2, package_name); in main() 3693 << package_name << " should be a directory\n"; in main() 3703 base_name(opts.package2, package_name); in main() 3705 << package_name << " should be a GNU tar archive\n"; in main() 3712 base_name(opts.package1, package_name); in main() [all …]
|
/third_party/skia/third_party/externals/angle2/android/ |
D | angle_apk.gni | 27 "manifest_package=${invoker.package_name}", 32 android_assets("${invoker.package_name}_assets") { 46 deps = [ ":${invoker.package_name}_assets" ]
|
/third_party/rust/crates/cxx/tools/buck/ |
D | buildscript.bzl | 3 package_name: str.type, 9 _ = package_name
|
/third_party/protobuf/php/ext/google/protobuf/ |
D | names.c | 133 const char *package_name, in fill_prefix() argument 139 if (package_name != NULL && in fill_prefix() 140 strcmp("google.protobuf", package_name) == 0) { in fill_prefix()
|
/third_party/python/Lib/zoneinfo/ |
D | _common.py | 8 package_name = ".".join(["tzdata.zoneinfo"] + components[:-1]) 12 return importlib.resources.open_binary(package_name, resource_name)
|
/third_party/libabigail/src/ |
D | abg-tools-utils.cc | 1746 string package_name; in file_is_kernel_package() local 1750 if (!get_rpm_name(file_name, package_name)) in file_is_kernel_package() 1752 result = (package_name == "kernel"); in file_is_kernel_package() 1756 if (!get_deb_name(file_name, package_name)) in file_is_kernel_package() 1758 result = (string_begins_with(package_name, "linux-image")); in file_is_kernel_package() 1776 string package_name; in file_is_kernel_debuginfo_package() local 1780 if (!get_rpm_name(file_name, package_name)) in file_is_kernel_debuginfo_package() 1782 result = (package_name == "kernel-debuginfo"); in file_is_kernel_debuginfo_package() 1786 if (!get_deb_name(file_name, package_name)) in file_is_kernel_debuginfo_package() 1788 result = (string_begins_with(package_name, "linux-image") in file_is_kernel_debuginfo_package() [all …]
|
/third_party/python/Tools/scripts/ |
D | generate_stdlib_module_names.py | 139 package_name = name.split('.')[0] 141 if package_name in IGNORE:
|
/third_party/python/Lib/test/test_import/ |
D | __init__.py | 997 package_name = 'sample' variable in TestSymbolicallyLinkedPackage 998 tagged = package_name + '-tagged' 1002 os_helper.rmtree(self.package_name) 1015 os.symlink(self.tagged, self.package_name, target_is_directory=True) 1016 self.addCleanup(os_helper.unlink, self.package_name) 1019 self.assertEqual(os.path.isdir(self.package_name), True) 1021 assert os.path.isfile(os.path.join(self.package_name, '__init__.py')) 1035 assert os.path.exists(self.package_name) 1036 assert os.path.exists(os.path.join(self.package_name, '__init__.py')) 1039 importlib.import_module(self.package_name)
|
/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/ |
D | build_defs.bzl | 14 test_package = native.package_name().replace("/", ".")
|
/third_party/gn/infra/recipes/ |
D | gn.py | 280 package_name=cipd_pkg_name, 301 package_name=cipd_pkg_name,
|
/third_party/mindspore/ |
D | .gitignore | 102 mindspore/package_name.py
|
/third_party/python/Lib/lib2to3/ |
D | fixer_util.py | 111 def FromImport(package_name, name_leafs): argument 124 Leaf(token.NAME, package_name, prefix=" "),
|
/third_party/rust/crates/cxx/third-party/ |
D | BUCK | 289 package_name = "proc-macro2", 348 package_name = "quote", 486 package_name = "syn",
|