| /external/google-cloud-java/owl-bot-postprocessor/synthtool/languages/ |
| D | java.py | 66 path: str, version: str = DEFAULT_FORMAT_VERSION, times: int = 2 86 def _download_formatter(version: str, dest: Path) -> None: 137 def fix_grpc_headers(grpc_root: Path, package_name: str = "unused") -> None: 149 def latest_maven_version(group_id: str, artifact_id: str) -> Optional[str]: 173 def version_from_maven_metadata(metadata: str) -> Optional[str]: 192 service: str, 193 version: str, 195 package_pattern: str, 196 suffix: str = "", 197 destination_name: str = None, [all …]
|
| /external/toolchain-utils/llvm_tools/ |
| D | get_upstream_patch.py | 75 patches_json_path: str, 76 patches_dir: str, 77 relative_patches_dir: str, 79 llvm_dir: t.Union[Path, str], argument 81 sha: str, 82 package: str, 83 platforms: t.Iterable[str], 194 def resolve_llvm_ref(llvm_dir: t.Union[Path, str], sha: str) -> str: argument 203 def project_to_package(project: str) -> str: 210 def package_to_project(package: str) -> str: [all …]
|
| D | revert_checker.py | 68 def _try_parse_reverts_from_commit_message(commit_message: str) -> List[str]: 83 def _stream_stdout(command: List[str]) -> Generator[str, None, None]: 91 def _resolve_sha(git_dir: str, sha: str) -> str: 112 git_dir: str, root_sha: str, end_at_sha: str 153 def _shas_between(git_dir: str, base_ref: str, head_ref: str) -> Iterable[str]: 165 def _rev_parse(git_dir: str, ref: str) -> str: 181 def _find_common_parent_commit(git_dir: str, ref_a: str, ref_b: str) -> str: 189 def find_reverts(git_dir: str, across_ref: str, root: str) -> List[Revert]:
|
| D | nightly_revert_checker.py | 94 android_llvm_toolchain_dir: str, 100 def get_llvm_merge_base(branch: str) -> str: 135 chromeos_base: str, 158 repository_name: str, 159 friendly_name: str, 160 sha: str, 161 prettify_sha: Callable[[str], tiny_render.Piece], 162 get_sha_description: Callable[[str], tiny_render.Piece], 226 def _write_state(state_file: str, new_state: State) -> None: 246 def _read_state(state_file: str) -> State: [all …]
|
| /external/angle/build/android/gyp/ |
| D | bytecode_processor.py | 27 def _ShouldIgnoreDep(dep_name: str): 33 def _ParseDepGraph(jar_path: str): 64 input_jar: str, 65 gn_target: str, 66 output_dir: str, 67 sdk_classpath_jars: List[str], 68 direct_classpath_jars: List[str], 69 full_classpath_jars: List[str], 70 full_classpath_gn_targets: List[str], 123 missing_class_to_caller: Dict[str, str], argument [all …]
|
| /external/libxml2/python/tests/ |
| D | serialize.py | 13 str = doc.serialize() variable 19 str = doc.serialize("iso-8859-1") variable 25 str = doc.serialize(format=1) variable 33 str = doc.serialize("iso-8859-1", 1) variable 46 str = root.serialize() variable 50 str = root.serialize("iso-8859-1") variable 54 str = root.serialize(format=1) variable 60 str = root.serialize("iso-8859-1", 1) variable 72 str = doc.serialize() variable 78 str = doc.serialize("ISO-8859-1") variable [all …]
|
| /external/tensorflow/tensorflow/compiler/mlir/quantization/tensorflow/python/ |
| D | quantize_model.py | 60 def _legalize_tensor_name(tensor_name: str) -> str: 65 def _is_qat_saved_model(saved_model_path: str): 78 def _get_signatures_from_saved_model(saved_model_path: str, 79 signature_keys: Sequence[str], 80 tags: Collection[str]) -> _SignatureDefMap: 157 expected_input_keys: Collection[str], 208 signature_keys: Collection[str]) -> None: 362 model_dir: str, 363 tags: Collection[str], 433 model_dir: str, [all …]
|
| /external/grpc-grpc/src/python/grpcio_observability/grpc_observability/ |
| D | _views.py | 130 def client_started_rpcs(labels: Mapping[str, str]) -> view_module.View: argument 142 def client_completed_rpcs(labels: Mapping[str, str]) -> view_module.View: argument 155 def client_roundtrip_latency(labels: Mapping[str, str]) -> view_module.View: argument 167 def client_api_latency(labels: Mapping[str, str]) -> view_module.View: argument 181 labels: Mapping[str, str] argument 196 labels: Mapping[str, str] argument 211 def server_started_rpcs(labels: Mapping[str, str]) -> view_module.View: argument 223 def server_completed_rpcs(labels: Mapping[str, str]) -> view_module.View: argument 237 labels: Mapping[str, str] argument 252 labels: Mapping[str, str] argument [all …]
|
| /external/toolchain-utils/toolchain_utils_githooks/ |
| D | check-presubmit | 90 cwd: Optional[str] = None, 91 env: Optional[Dict[str, str]] = None, argument 108 def has_executable_on_path(exe: str) -> bool: 113 def remove_deleted_files(files: Iterable[str]) -> List[str]: 117 def is_file_executable(file_path: str) -> bool: 124 def env_with_pythonpath(toolchain_utils_root: str) -> Dict[str, str]: 232 toolchain_utils_root: str, python_files: Iterable[str] 287 toolchain_utils_root: str, black: Path, python_files: Iterable[str] 369 toolchain_utils_root: str, 371 files: Iterable[str], [all …]
|
| D | check-presubmit.py | 90 cwd: Optional[str] = None, 91 env: Optional[Dict[str, str]] = None, argument 108 def has_executable_on_path(exe: str) -> bool: 113 def remove_deleted_files(files: Iterable[str]) -> List[str]: 117 def is_file_executable(file_path: str) -> bool: 124 def env_with_pythonpath(toolchain_utils_root: str) -> Dict[str, str]: 232 toolchain_utils_root: str, python_files: Iterable[str] 287 toolchain_utils_root: str, black: Path, python_files: Iterable[str] 369 toolchain_utils_root: str, 371 files: Iterable[str], [all …]
|
| /external/ComputeLibrary/utils/ |
| D | TypePrinter.h | 143 std::stringstream str; in to_string() local 194 std::stringstream str; in to_string() local 249 std::stringstream str; in to_string() local 280 std::stringstream str; in to_string() local 372 std::stringstream str; in to_string() local 436 std::stringstream str; in to_string() local 449 std::stringstream str; in to_string() local 462 std::stringstream str; in to_string() local 484 std::stringstream str; variable 499 std::stringstream str; in to_string() local [all …]
|
| /external/rust/pica/py/pica/ |
| D | console.py | 36 def encode_short_mac_address(mac_address: str) -> bytes: 40 def encode_mac_address(mac_address: str) -> bytes: 44 def parse_mac_address(mac_address: str) -> bytes: 62 mac_address: str = "00:00", 63 x: str = "0", 64 y: str = "0", 65 z: str = "0", 66 yaw: str = "0", 67 pitch: str = "0", 68 roll: str = "0", [all …]
|
| /external/rust/crates/nom/tests/ |
| D | ini_str.rs | 16 fn not_line_ending(i: &str) -> IResult<&str, &str> { in not_line_ending() 20 fn space_or_line_ending(i: &str) -> IResult<&str, &str> { in space_or_line_ending() 24 fn category(i: &str) -> IResult<&str, &str> { in category() 31 fn key_value(i: &str) -> IResult<&str, (&str, &str)> { in key_value() 42 fn keys_and_values_aggregator(i: &str) -> IResult<&str, Vec<(&str, &str)>> { in keys_and_values_aggregator() 46 fn keys_and_values(input: &str) -> IResult<&str, HashMap<&str, &str>> { in keys_and_values() 53 fn category_and_keys(i: &str) -> IResult<&str, (&str, HashMap<&str, &str>)> { in category_and_keys() 57 fn categories_aggregator(i: &str) -> IResult<&str, Vec<(&str, HashMap<&str, &str>)>> { in categories_aggregator() 61 fn categories(input: &str) -> IResult<&str, HashMap<&str, HashMap<&str, &str>>> { in categories()
|
| /external/rust/crates/grpcio-sys/grpc/tools/run_tests/performance/ |
| D | loadtest_config.py | 48 def safe_name(language: str) -> str: 63 def validate_loadtest_name(name: str) -> None: 74 def loadtest_base_name(scenario_name: str, 75 uniquifier_elements: Iterable[str]) -> str: 82 def loadtest_name(prefix: str, scenario_name: str, 83 uniquifier_elements: Iterable[str]) -> str: 95 def component_name(elements: Iterable[str]) -> str: 100 def validate_annotations(annotations: Dict[str, str]) -> None: argument 121 def scenario_name(base_name: str, client_channels: Optional[int], 145 scenarios: Iterable[Mapping[str, [all …]
|
| /external/grpc-grpc/tools/run_tests/performance/ |
| D | loadtest_config.py | 48 def safe_name(language: str) -> str: 63 def validate_loadtest_name(name: str) -> None: 76 scenario_name: str, uniquifier_elements: Iterable[str] 85 prefix: str, scenario_name: str, uniquifier_elements: Iterable[str] 98 def component_name(elements: Iterable[str]) -> str: 103 def validate_annotations(annotations: Dict[str, str]) -> None: argument 125 base_name: str, 154 scenarios: Iterable[Mapping[str, Any]] 191 base_config: Mapping[str, Any], 192 base_config_clients: Iterable[Mapping[str, Any]], [all …]
|
| /external/sandboxed-api/oss-internship-2020/libuv/generator/ |
| D | wrapper_generator.py | 27 def get_var_type(string: str) -> str: 46 def get_var_name(string: str) -> str: 69 def fix_method_type(string: str) -> str: 94 def fix_argument(string: str) -> str: 122 def fix_call_argument(string: str) -> str: 149 def read_file(filename: str) -> str: 163 def clean_file(text: str) -> str: 184 def get_signatures(text: str) -> str: 206 def append_method(method_type: str, name: str, arguments_list: List[str], 207 header: List[str], source: List[str]) -> None: [all …]
|
| /external/libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/ |
| D | get_long.pass.cpp | 52 const char str[] = "123"; in main() local 65 const char str[] = "-123"; in main() local 78 const char str[] = "123"; in main() local 90 const char str[] = "123"; in main() local 102 const char str[] = "0x123"; in main() local 114 const char str[] = "123"; in main() local 126 const char str[] = "0x123"; in main() local 138 const char str[] = "0123"; in main() local 150 const char str[] = "2-"; in main() local 165 const char str[] = "123"; in main() local [all …]
|
| /external/rust/crates/protobuf-codegen/2.27.1/src/ |
| D | code_writer.rs | 43 pub fn write_generated_by(&mut self, pkg: &str, version: &str) { in write_generated_by() 75 pub fn todo(&mut self, message: &str) { in todo() 104 pub fn pub_const(&mut self, name: &str, field_type: &str, init: &str) { in pub_const() 108 pub fn lazy_static(&mut self, name: &str, ty: &str, customize: &Customize) { in lazy_static() 118 pub fn lazy_static_decl_get<F>(&mut self, name: &str, ty: &str, customize: &Customize, init: F) in lazy_static_decl_get() 130 name: &str, in lazy_static_decl_get_simple() 131 ty: &str, in lazy_static_decl_get_simple() 132 init: &str, in lazy_static_decl_get_simple() 139 pub fn block<F>(&mut self, first_line: &str, last_line: &str, cb: F) in block() 148 pub fn expr_block<F>(&mut self, prefix: &str, cb: F) in expr_block() [all …]
|
| /external/cronet/build/fuchsia/test/ |
| D | flash_device.py | 30 def _get_system_info(target: Optional[str], 31 serial_num: Optional[str]) -> Tuple[str, str]: 53 system_image_dir: Optional[str], 54 target: Optional[str], 55 serial_num: Optional[str] = None) -> Tuple[bool, Optional[str]]: 80 def _run_flash_command(system_image_dir: str, target_id: Optional[str]): 105 def flash(system_image_dir: str, 106 target: Optional[str], 107 serial_num: Optional[str] = None) -> None: 121 def update(system_image_dir: str, [all …]
|
| /external/python/python-api-core/google/api_core/operations_v1/ |
| D | abstract_operations_client.py | 52 cls, label: Optional[str] = None, 138 def from_service_account_file(cls, filename: str, *args, **kwargs): 168 def common_billing_account_path(billing_account: str,) -> str: 175 def parse_common_billing_account_path(path: str) -> Dict[str, str]: 181 def common_folder_path(folder: str,) -> str: 186 def parse_common_folder_path(path: str) -> Dict[str, str]: 192 def common_organization_path(organization: str,) -> str: 197 def parse_common_organization_path(path: str) -> Dict[str, str]: 203 def common_project_path(project: str,) -> str: 208 def parse_common_project_path(path: str) -> Dict[str, str]: [all …]
|
| /external/python/cpython3/Tools/peg_generator/pegen/ |
| D | sccutils.py | 7 vertices: AbstractSet[str], edges: Dict[str, AbstractSet[str]] 28 def dfs(v: str) -> Iterator[Set[str]]: 53 data: Dict[AbstractSet[str], Set[AbstractSet[str]]] 101 graph: Dict[str, AbstractSet[str]], scc: AbstractSet[str], start: str 120 def dfs(node: str, path: List[str]) -> Iterator[List[str]]:
|
| /external/pigweed/pw_bloat/py/pw_bloat/ |
| D | bloat.py | 81 filename: str, 82 config: str, 84 data_sources: Iterable[str] = (), 85 extra_args: Iterable[str] = (), 136 data_sources: Iterable[str] = (), 137 extra_args: Iterable[str] = (), 178 def write_file(filename: str, contents: str, out_dir_file: str) -> None: 186 key_prefix: str, 220 target: str, 221 bloaty_config: str, [all …]
|
| /external/perfetto/python/generators/diff_tests/ |
| D | runner.py | 46 def __init__(self, test: TestCase, perf_lines: List[str]): 70 def __init__(self, test: TestCase, gen_trace_path: str, cmd: List[str], 71 expected_text: str, actual_text: str, stderr: str, 72 exit_code: int, perf_lines: List[str]) -> None: 81 def strip_whitespaces(text: str): 127 def str(self, no_colors: bool, tests_no: int): member in TestResults 156 def __output_to_text_proto(self, actual: str, out: BinaryProto) -> str: 189 def __run_metrics_test(self, trace_path: str, 247 def __run_query_test(self, trace_path: str, keep_query: bool) -> TestResult: 298 def __run(self, metrics_descriptor_paths: List[str], [all …]
|
| /external/rust/crates/protobuf-codegen/src/gen/ |
| D | code_writer.rs | 57 pub(crate) fn _write_text(&mut self, text: &str) { in _write_text() 63 pub(crate) fn write_generated_by(&mut self, pkg: &str, version: &str, parser: &str) { in write_generated_by() 124 pub(crate) fn pub_const(&mut self, name: &str, field_type: &str, init: &str) { in pub_const() 128 pub(crate) fn lazy_static(&mut self, name: &str, ty: &str, protobuf_crate_path: &str) { in lazy_static() 137 name: &str, in lazy_static_decl_get_simple() 138 ty: &str, in lazy_static_decl_get_simple() 139 init: &str, in lazy_static_decl_get_simple() 140 protobuf_crate_path: &str, in lazy_static_decl_get_simple() 148 name: &str, in lazy_static_decl_get() 149 ty: &str, in lazy_static_decl_get() [all …]
|
| /external/cronet/build/gn_ast/ |
| D | gn_editor.py | 55 def _add_deps(target: str, deps: List[str], root: pathlib.Path, path: str): 60 def _search_deps(name_query: Optional[str], path_query: Optional[str], 61 root: pathlib.Path, path: str): 66 def _split_deps(existing_dep: str, new_deps: List[str], root: pathlib.Path, 67 path: str, dryrun: bool) -> Optional[OperationResult]: 78 *, deps: List[str], out_dir: str, root: pathlib.Path, path: str, 79 dryrun: bool, targets: List[str], inline_mode: bool, 80 target_name_filter: Optional[str]) -> Optional[OperationResult]: 91 def _add(args: argparse.Namespace, build_filepaths: List[str], 102 def _search(args: argparse.Namespace, build_filepaths: List[str], [all …]
|