Home
last modified time | relevance | path

Searched refs:package_root (Results 1 – 19 of 19) sorted by relevance

/external/pigweed/pw_protobuf/py/pw_protobuf/
Dproto_tree.py387 def _find_or_create_node(global_root: ProtoNode, package_root: ProtoNode,
397 search_root = package_root
409 def _add_message_fields(global_root: ProtoNode, package_root: ProtoNode,
422 type_node = _find_or_create_node(global_root, package_root,
439 def _add_service_methods(global_root: ProtoNode, package_root: ProtoNode,
454 request_node = _find_or_create_node(global_root, package_root,
456 response_node = _find_or_create_node(global_root, package_root,
465 package_root: ProtoNode) -> None:
469 _add_message_fields(global_root, package_root, node, message)
478 enum_node = package_root.find(proto_enum.name)
[all …]
Dcodegen_pwpb.py679 _, package_root = build_node_tree(proto_file)
683 generate_code_for_package(proto_file, package_root, output_file)
/external/python/asn1crypto/dev/
Dbuild.py11 from . import package_root, package_name, has_tests_package
42 setup = os.path.join(package_root, 'setup.py')
43 tests_root = os.path.join(package_root, 'tests')
48 module_info = imp.find_module('version', [os.path.join(package_root, package_name)])
58 _list_tgz(os.path.join(package_root, 'dist', sdist))
61 _list_zip(os.path.join(package_root, 'dist', whl))
77 dist_dir = os.path.join(package_root, 'dist')
Dversion.py8 from . import package_root, package_name, has_tests_package
46 version_path = os.path.join(package_root, package_name, 'version.py')
47 setup_path = os.path.join(package_root, 'setup.py')
48 setup_tests_path = os.path.join(package_root, 'tests', 'setup.py')
49 tests_path = os.path.join(package_root, 'tests', '__init__.py')
79 rel_path = file_path[len(package_root) + 1:]
Drelease.py9 from . import package_name, package_root, has_tests_package
26 cwd=package_root
39 cwd=package_root
D_task.py9 from . import package_root, task_keyword_args
32 dev_path = os.path.join(package_root, 'dev')
41 full_path = os.path.join(package_root, 'dev', fname)
134 task_mod = _import_from('dev.%s' % task, package_root, allow_error=True)
D_import.py8 from . import build_root, package_name, package_root
82 oscrypto_dir = package_root
94 asn1crypto_dir = package_root
D__init__.py23 package_root = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) variable
24 build_root = os.path.abspath(os.path.join(package_root, '..'))
Dlint.py6 from . import package_name, package_root
25 flake8_style = get_style_guide(config_file=os.path.join(package_root, 'tox.ini'))
Dcoverage.py19 from . import package_name, package_root, other_packages
49 xml_report_path = os.path.join(package_root, 'coverage.xml')
132 return ('local', package_root)
Ddeps.py13 from . import package_root, build_root, other_packages
35 _stage_requirements(deps_dir, os.path.join(package_root, 'requires', 'ci'))
/external/pigweed/pw_presubmit/py/pw_presubmit/
Dcli.py143 package_root: Path,
177 if not package_root:
178 package_root = output_directory / 'packages'
200 package_root=package_root,
Dpresubmit.py183 package_root: Path
216 package_root: Path):
223 self._package_root = package_root.resolve()
331 package_root=self._package_root,
396 package_root: Path = None,
447 if package_root is None:
448 package_root = output_directory / 'packages'
455 package_root=package_root,
Dpigweed_presubmit.py129 build.install_package(ctx.package_root, 'nanopb')
132 dir_pw_third_party_nanopb='"{}"'.format(ctx.package_root /
143 build.install_package(ctx.package_root, 'teensy')
147 ctx.package_root)),
195 build.install_package(ctx.package_root, 'nanopb')
/external/tensorflow/tensorflow/python/distribute/
Dmulti_process_lib.py101 def guess_path(package_root): argument
104 if 'bazel-out' in sys.argv[0] and package_root in sys.argv[0]:
111 package_root_base = sys.argv[0][:sys.argv[0].rfind(package_root)]
113 possible_path = os.path.join(package_root_base, package_root,
/external/pigweed/pw_rpc/py/pw_rpc/
Dcodegen_raw.py103 _, package_root = build_node_tree(proto_file)
106 _generate_code_for_package(proto_file, package_root, output_file)
109 codegen.package_stubs(package_root, output_file, StubGenerator())
Dcodegen_nanopb.py191 _, package_root = build_node_tree(proto_file)
194 _generate_code_for_package(proto_file, package_root, output_file)
197 codegen.package_stubs(package_root, output_file, StubGenerator())
/external/grpc-grpc/tools/distrib/python/grpcio_tools/grpc_tools/
Dcommand.py24 def build_package_protos(package_root): argument
26 inclusion_root = os.path.abspath(package_root)
/external/rust/crates/grpcio-sys/grpc/tools/distrib/python/grpcio_tools/grpc_tools/
Dcommand.py24 def build_package_protos(package_root, strict_mode=False): argument
26 inclusion_root = os.path.abspath(package_root)