/external/toolchain-utils/llvm_tools/ |
D | get_upstream_patch.py | 79 patches_json_path: str, 80 patches_dir: str, 81 relative_patches_dir: str, 83 llvm_dir: str, 84 rev: t.Union[git_llvm_rev.Rev, str], argument 85 sha: str, 86 package: str, 87 platforms: t.List[str], 191 def parse_ebuild_for_assignment(ebuild_path: str, var_name: str) -> str: 226 def resolve_llvm_ref(llvm_dir: str, sha: str) -> str: [all …]
|
D | nightly_revert_checker.py | 36 android_llvm_toolchain_dir: str, 42 def get_llvm_merge_base(branch: str) -> str: 79 def parse_ebuild_assignment(line: str) -> str: 108 chromeos_base: str, 139 repository_name: str, 140 friendly_name: str, 141 sha: str, 142 prettify_sha: t.Callable[[str], tiny_render.Piece], 143 get_sha_description: t.Callable[[str], tiny_render.Piece], 207 def _write_state(state_file: str, new_state: State) -> None: [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]:
|
/external/libxml2/python/tests/ |
D | serialize.py | 12 str = doc.serialize() variable 18 str = doc.serialize("iso-8859-1") variable 24 str = doc.serialize(format=1) variable 32 str = doc.serialize("iso-8859-1", 1) variable 45 str = root.serialize() variable 49 str = root.serialize("iso-8859-1") variable 53 str = root.serialize(format=1) variable 59 str = root.serialize("iso-8859-1", 1) variable 71 str = doc.serialize() variable 77 str = doc.serialize("ISO-8859-1") variable [all …]
|
/external/toolchain-utils/toolchain_utils_githooks/ |
D | check-presubmit | 27 command: t.List[str], cwd: str, env: t.Dict[str, str] = None 44 def has_executable_on_path(exe: str) -> bool: 49 def escape_command(command: t.Iterable[str]) -> str: 57 def remove_deleted_files(files: t.Iterable[str]) -> t.List[str]: 61 def is_file_executable(file_path: str) -> bool: 68 def env_with_pythonpath(toolchain_utils_root: str) -> t.Dict[str, str]: 117 toolchain_utils_root: str, python_files: t.Iterable[str] 172 toolchain_utils_root: str, black: Path, python_files: t.Iterable[str] 251 def check_python_file_headers(python_files: t.Iterable[str]) -> CheckResult: 296 toolchain_utils_root: str, [all …]
|
D | check-presubmit.py | 27 command: t.List[str], cwd: str, env: t.Dict[str, str] = None 44 def has_executable_on_path(exe: str) -> bool: 49 def escape_command(command: t.Iterable[str]) -> str: 57 def remove_deleted_files(files: t.Iterable[str]) -> t.List[str]: 61 def is_file_executable(file_path: str) -> bool: 68 def env_with_pythonpath(toolchain_utils_root: str) -> t.Dict[str, str]: 117 toolchain_utils_root: str, python_files: t.Iterable[str] 172 toolchain_utils_root: str, black: Path, python_files: t.Iterable[str] 251 def check_python_file_headers(python_files: t.Iterable[str]) -> CheckResult: 296 toolchain_utils_root: 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/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/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/pigweed/pw_bloat/py/pw_bloat/ |
D | bloat.py | 65 filename: str, 66 config: str, 67 base_file: Optional[str] = None, 68 data_sources: Iterable[str] = (), 69 extra_args: Iterable[str] = (), 120 data_sources: Iterable[str] = (), 121 extra_args: Iterable[str] = (), 162 def write_file(filename: str, contents: str, out_dir_file: str) -> None: 169 def create_binary_sizes_json(binary_name: str, labels: Iterable[Label]) -> str: 186 target: str, [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/cronet/build/fuchsia/test/ |
D | flash_device.py | 30 def _get_system_info(target: Optional[str], 31 serial_num: Optional[str]) -> Tuple[str, str]: 60 system_image_dir: Optional[str], 61 target: Optional[str], 62 serial_num: Optional[str] = None) -> Tuple[bool, Optional[str]]: 87 def _add_exec_to_flash_binaries(system_image_dir: str) -> None: 105 def _run_flash_command(system_image_dir: str, target_id: Optional[str]): 132 def flash(system_image_dir: str, 133 target: Optional[str], 134 serial_num: Optional[str] = None) -> None: [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/pigweed/pw_build_mcuxpresso/py/pw_build_mcuxpresso/ |
D | components.py | 23 def _gn_str_out(name: str, val: Any): 28 def _gn_list_str_out(name: str, val: List[Any]): 37 name: str, val: List[pathlib.Path], path_prefix: Optional[str] = None 48 root: xml.etree.ElementTree.Element, component_id: str 76 root: xml.etree.ElementTree.Element, component_id: str 119 root: xml.etree.ElementTree.Element, component_id: str 175 root: xml.etree.ElementTree.Element, component_id: str 197 root: xml.etree.ElementTree.Element, component_id: str 222 root: xml.etree.ElementTree.Element, component_id: str 244 root: xml.etree.ElementTree.Element, component_id: str, source_type: str [all …]
|
/external/pigweed/pw_ide/py/pw_ide/ |
D | activate.py | 120 path: str, project_root_prefix: str, user_home_prefix: str 185 env: Optional[Dict[str, str]] = None, argument 187 path_var: str = '$PATH', 188 project_root: str = '.', 189 user_home: str = '~', 216 def do_effect(self, effect: str): 272 def set_variable(self, var_name: str, value: str) -> None: 276 def prepend_variable(self, var_name: str, value: str) -> None: 280 def append_variable(self, var_name: str, value: str) -> None: 287 def set_variable(self, var_name: str, value: str): [all …]
|
D | commands.py | 55 def _no_color(msg: str) -> str: 59 def _split_lines(msg: Union[str, List[str]]) -> Tuple[str, List[str]]: 107 msg: Union[str, List[str]], 108 color: Callable[[str], str], 109 char: str, 138 def info(self, msg: Union[str, List[str]], silent: bool = False) -> None: 141 def ok(self, msg: Union[str, List[str]], silent: bool = False) -> None: 144 def new(self, msg: Union[str, List[str]], silent: bool = False) -> None: 147 def wrn(self, msg: Union[str, List[str]], silent: bool = False) -> None: 150 def err(self, msg: Union[str, List[str]], silent: bool = False) -> None: [all …]
|
/external/cronet/build/skia_gold_common/ |
D | skia_gold_session.py | 59 working_dir: str, 61 keys_file: str, 62 corpus: str, 63 instance: str, 64 bucket: Optional[str] = None): 104 name: str, 105 png_file: str, 107 inexact_matching_args: Optional[List[str]] = None, 109 service_account: Optional[str] = None, 110 optional_keys: Optional[Dict[str, str]] = None, [all …]
|
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/performance/ |
D | loadtest_config.py | 54 def label_language(language: str) -> str: 61 def image_language(language: str) -> str: 82 def validate_loadtest_name(name: str) -> None: 91 def loadtest_base_name(scenario_name: str, 92 uniquifier_elements: Iterable[str]) -> str: 99 def loadtest_name(prefix: str, scenario_name: str, 100 uniquifier_elements: Iterable[str]) -> str: 112 def validate_annotations(annotations: Dict[str, str]) -> None: argument 134 base_config: Mapping[str, Any], 135 base_config_clients: Iterable[Mapping[str, Any]], [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/angle/build/fuchsia/test/ |
D | flash_device.py | 30 def _get_system_info(target: Optional[str], 31 serial_num: Optional[str]) -> Tuple[str, str]: 60 system_image_dir: Optional[str], 61 target: Optional[str], 62 serial_num: Optional[str] = None) -> Tuple[bool, Optional[str]]: 87 def _run_flash_command(system_image_dir: str, target_id: Optional[str]): 112 def flash(system_image_dir: str, 113 target: Optional[str], 114 serial_num: Optional[str] = None) -> None: 128 def update(system_image_dir: str, [all …]
|
/external/rust/pica/scripts/ |
D | console.py | 40 def encode_session_id(session_id: str) -> bytes: 44 def encode_short_mac_address(mac_address: str) -> bytes: 48 def encode_mac_address(mac_address: str) -> bytes: 89 x: str = "0", 90 y: str = "0", 91 z: str = "0", 92 yaw: str = "0", 93 pitch: str = "0", 94 roll: str = "0", 106 mac_address: str = "00:00", [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/buildtools/third_party/libc++/trunk/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/ |
D | get_long.pass.cpp | 56 const char str[] = "123"; in main() local 69 const char str[] = "-123"; in main() local 82 const char str[] = "123"; in main() local 94 const char str[] = "123"; in main() local 106 const char str[] = "0x123"; in main() local 118 const char str[] = "123"; in main() local 130 const char str[] = "0x123"; in main() local 142 const char str[] = "0123"; in main() local 155 const char str[] = "2-"; in main() local 170 const char str[] = "123"; // no separators at all in main() local [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/rust/crates/chrono/src/format/ |
D | scan.rs | 15 fn equals(s: &str, pattern: &str) -> bool { in equals() 37 pub fn number(s: &str, min: usize, max: usize) -> ParseResult<(&str, i64)> { in number() 70 pub fn nanosecond(s: &str) -> ParseResult<(&str, i64)> { in nanosecond() 89 pub fn nanosecond_fixed(s: &str, digits: usize) -> ParseResult<(&str, i64)> { in nanosecond_fixed() 102 pub fn short_month0(s: &str) -> ParseResult<(&str, u8)> { in short_month0() 126 pub fn short_weekday(s: &str) -> ParseResult<(&str, Weekday)> { in short_weekday() 146 pub fn short_or_long_month0(s: &str) -> ParseResult<(&str, u8)> { in short_or_long_month0() 148 static LONG_MONTH_SUFFIXES: [&'static str; 12] = in short_or_long_month0() variable 164 pub fn short_or_long_weekday(s: &str) -> ParseResult<(&str, Weekday)> { in short_or_long_weekday() 166 static LONG_WEEKDAY_SUFFIXES: [&'static str; 7] = in short_or_long_weekday() variable [all …]
|