| /external/pytorch/.github/scripts/ |
| D | github_utils.py | 28 url: str, 30 headers: Optional[Dict[str, str]] = None, argument 31 data: Union[Optional[Dict[str, Any]], str] = None, 32 method: Optional[str] = None, 71 url: str, 73 headers: Optional[Dict[str, str]] = None, argument 74 data: Union[Optional[Dict[str, Any]], str] = None, 75 method: Optional[str] = None, 84 url: str, 85 params: Optional[Dict[str, Any]] = None, [all …]
|
| D | filter_test_configs.py | 25 def is_cuda_or_rocm_job(job_name: Optional[str]) -> bool: 140 def filter_labels(labels: Set[str], label_regex: Any) -> Set[str]: 147 def filter(test_matrix: Dict[str, List[Any]], labels: Set[str]) -> Dict[str, List[Any]]: 187 test_matrix: Dict[str, List[Any]], selected_test_configs: Set[str] 209 test_matrix: Dict[str, List[Any]], job_name: Optional[str] 231 workflow: str, job_name: str, test_matrix: Dict[str, List[Any]] 247 workflow: str, job_name: str, test_matrix: Dict[str, List[Any]] 263 test_matrix: Dict[str, List[Any]], 265 target_cfg: Optional[str] = None, 302 workflow: str, [all …]
|
| D | cherry_pick.py | 60 def get_release_version(onto_branch: str) -> Optional[str]: 69 org: str, project: str, onto_branch: str 88 github_actor: str, 91 commit_sha: str, 92 onto_branch: str, 93 classification: str, 94 fixes: str, 156 github_actor: str, repo: GitRepo, pr: GitHubPR, commit_sha: str, onto_branch: str 182 cherry_pick_branch: str, 183 onto_branch: str, [all …]
|
| /external/executorch/.github/scripts/ |
| D | github_utils.py | 35 url: str, 37 headers: Optional[Dict[str, str]] = None, argument 38 data: Union[Optional[Dict[str, Any]], str] = None, 39 method: Optional[str] = None, 70 url: str, 72 headers: Optional[Dict[str, str]] = None, argument 73 data: Union[Optional[Dict[str, Any]], str] = None, 74 method: Optional[str] = None, 83 url: str, 84 params: Optional[Dict[str, Any]] = None, [all …]
|
| D | cherry_pick.py | 67 def get_release_version(onto_branch: str) -> Optional[str]: 76 org: str, project: str, onto_branch: str 95 github_actor: str, 98 commit_sha: str, 99 onto_branch: str, 100 classification: str, 101 fixes: str, 163 github_actor: str, repo: GitRepo, pr: GitHubPR, commit_sha: str, onto_branch: str 188 cherry_pick_branch: str, 189 onto_branch: str, [all …]
|
| /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/executorch/backends/vulkan/runtime/ |
| D | gen_vulkan_spv.py | 102 def define_variable(name: str) -> str: 111 def buffer_scalar_type(dtype: str) -> str: 120 def buffer_gvec_type(dtype: str, n: int) -> str: 138 def texel_type(dtype: str) -> str: 149 def gvec_type(dtype: str, n: int) -> str: 154 def texel_component_type(dtype: str) -> str: 165 def texel_load_type(dtype: str, storage_type: str) -> str: 172 def texel_load_component_type(dtype: str, storage_type: str) -> str: 179 def get_access_qualifier(access_type: Optional[str]) -> str: 200 access_type: str, [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/pytorch/test/jit/ |
| D | test_hooks_modules.py | 18 def __init__(self, name: str, submodule_name: str): 32 def foo(self, input: str): 35 def forward(self, input: str): 42 def __init__(self, name: str, submodule_name: str): 47 def forward(self, input: str): 53 def __init__(self, name: str, submodule_name: str): 58 def forward(self, input: str): 68 def forward(self, input1: List[str], input2: str): 75 def __init__(self, name: str, submodule_name: str): 80 def forward(self, input1: List[str], input2: str): [all …]
|
| /external/angle/build/android/gyp/ |
| D | check_for_missing_direct_deps.py | 26 def _ShouldIgnoreDep(dep_name: str): 32 def _ParseDepGraph(jar_path: str): 63 input_jar: str, 64 gn_target: str, 65 output_dir: str, 66 sdk_classpath_jars: List[str], 67 direct_classpath_jars: List[str], 68 full_classpath_jars: List[str], 69 full_classpath_gn_targets: List[str], 122 missing_class_to_caller: Dict[str, str], argument [all …]
|
| /external/cronet/tot/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/cronet/stable/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/pigweed/pw_bloat/py/pw_bloat/ |
| D | bloat.py | 44 filename: str, 45 config: str, 47 data_sources: Iterable[str] = (), 48 extra_args: Iterable[str] = (), 102 data_sources: Iterable[str] = (), 103 extra_args: Iterable[str] = (), 138 data_sources: Iterable[str] = (), 139 extra_args: Iterable[str] = (), 180 def write_file(filename: str, contents: str, out_dir_file: str) -> None: 188 key_prefix: str, [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/pytorch/torch/utils/data/datapipes/ |
| D | gen_pyi.py | 8 def materialize_lines(lines: List[str], indentation: int) -> str: 19 dir: str, 20 template_name: str, 21 output_name: str, 22 replacements: List[Tuple[str, Any, int]], 37 def find_file_paths(dir_paths: List[str], files_to_exclude: Set[str]) -> Set[str]: 54 def extract_method_name(line: str) -> str: 68 def extract_class_name(line: str) -> str: 77 file_path: str, 129 file_paths: Set[str], [all …]
|
| /external/python/cpython3/Doc/tools/ |
| D | check-warnings.py | 47 def get_diff_files(ref_a: str, ref_b: str, filter_mode: str = "") -> set[Path]: 68 def get_diff_lines(ref_a: str, ref_b: str, file: Path) -> list[int]: 118 warnings: list[str], files: set[Path] 135 warnings: list[re.Match[str]], ref_a: str, ref_b: str, file: Path 159 warnings: list[str], ref_a: str, ref_b: str 187 warnings: list[str], ref_a: str = "main", ref_b: str = "HEAD" 210 warnings: list[str], 211 files_with_expected_nits: set[str], 212 files_with_nits: set[str], 238 files_with_expected_nits: set[str], files_with_nits: set[str] [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/pytorch/tools/flight_recorder/components/ |
| D | utils.py | 26 def format_frame(frame: Dict[str, str]) -> str: argument 33 def format_frames(frames: List[Dict[str, str]]) -> str: argument 43 memberships: Dict[str, Set[Any]], 44 pg_name: str, 54 groups: Dict[str, Group], 55 memberships: Dict[str, Set[Any]], 56 _pg_guids: Dict[Tuple[str, int], str], argument 91 _pg_guids: Dict[Tuple[str, int], str], argument 172 def check_size_alltoall(alltoall_cases: List[Dict[str, Any]]) -> Tuple[bool, int, int]: 182 pg_name: 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/perfetto/python/generators/diff_tests/ |
| D | runner.py | 46 def __init__(self, test: TestCase, perf_lines: List[str]): 73 gen_trace_path: str, 74 cmd: List[str], 75 expected_text: str, 76 actual_text: str, 77 stderr: str, 79 perf_lines: List[str], 89 def strip_whitespaces(text: str): 122 def str(self, no_colors: bool, tests_no: int): member in TestResults 145 def __output_to_text_proto(self, actual: str, out: BinaryProto) -> str: [all …]
|
| /external/toolchain-utils/toolchain_utils_githooks/ |
| 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 …]
|
| 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 …]
|
| /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 …]
|