Home
last modified time | relevance | path

Searched defs:str (Results 1 – 25 of 14107) sorted by relevance

12345678910>>...565

/aosp_15_r20/external/pytorch/test/jit/
H A Dtest_hooks_modules.py18 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 …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/pip/_internal/utils/
Dmisc.py104 def ensure_dir(path: str) -> None:
129 def rmtree(dir: str, ignore_errors: bool = False) -> None:
133 def rmtree_errorhandler(func: Callable[..., Any], path: str, exc_info: ExcInfo) -> None:
153 def display_path(path: str) -> str:
162 def backup_dir(dir: str, ext: str = ".bak") -> str:
173 def ask_path_exists(message: str, options: Iterable[str]) -> str:
180 def _check_no_input(message: str) -> None:
188 def ask(message: str, options: Iterable[str]) -> str:
203 def ask_input(message: str) -> str:
209 def ask_password(message: str) -> str:
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/pip/_internal/utils/
Dmisc.py104 def ensure_dir(path: str) -> None:
129 def rmtree(dir: str, ignore_errors: bool = False) -> None:
133 def rmtree_errorhandler(func: Callable[..., Any], path: str, exc_info: ExcInfo) -> None:
153 def display_path(path: str) -> str:
162 def backup_dir(dir: str, ext: str = ".bak") -> str:
173 def ask_path_exists(message: str, options: Iterable[str]) -> str:
180 def _check_no_input(message: str) -> None:
188 def ask(message: str, options: Iterable[str]) -> str:
203 def ask_input(message: str) -> str:
209 def ask_password(message: str) -> str:
[all …]
/aosp_15_r20/external/executorch/backends/vulkan/runtime/
H A Dgen_vulkan_spv.py102 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 …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/pip/_internal/utils/
Dmisc.py104 def ensure_dir(path: str) -> None:
129 def rmtree(dir: str, ignore_errors: bool = False) -> None:
133 def rmtree_errorhandler(func: Callable[..., Any], path: str, exc_info: ExcInfo) -> None:
153 def display_path(path: str) -> str:
162 def backup_dir(dir: str, ext: str = ".bak") -> str:
173 def ask_path_exists(message: str, options: Iterable[str]) -> str:
180 def _check_no_input(message: str) -> None:
188 def ask(message: str, options: Iterable[str]) -> str:
203 def ask_input(message: str) -> str:
209 def ask_password(message: str) -> str:
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/pip/_internal/utils/
Dmisc.py104 def ensure_dir(path: str) -> None:
129 def rmtree(dir: str, ignore_errors: bool = False) -> None:
133 def rmtree_errorhandler(func: Callable[..., Any], path: str, exc_info: ExcInfo) -> None:
153 def display_path(path: str) -> str:
162 def backup_dir(dir: str, ext: str = ".bak") -> str:
173 def ask_path_exists(message: str, options: Iterable[str]) -> str:
180 def _check_no_input(message: str) -> None:
188 def ask(message: str, options: Iterable[str]) -> str:
203 def ask_input(message: str) -> str:
209 def ask_password(message: str) -> str:
[all …]
/aosp_15_r20/external/ComputeLibrary/utils/
H A DTypePrinter.h143 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 …]
/aosp_15_r20/external/executorch/.github/scripts/
H A Dgithub_utils.py35 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 …]
H A Dgitutils.py42 def fuzzy_list_to_dict(items: List[Tuple[str, str]]) -> Dict[str, List[str]]: argument
52 def _check_output(items: List[str], encoding: str = "utf-8") -> str:
81 commit_hash: str,
82 author: str,
84 title: str,
85 body: str,
102 def parse_fuller_format(lines: Union[str, List[str]]) -> GitCommit:
139 def __init__(self, path: str, remote: str = "origin", debug: bool = False) -> None:
149 def revlist(self, revision_range: str) -> List[str]:
154 self, ref: str, *, include_remote: bool = True
[all …]
H A Dtrymerge.py89 def __init__(self, name: str, url: str, status: Optional[str]):
469 def gh_get_pr_info(org: str, proj: str, pr_no: int) -> Any:
475 def gh_get_team_members(org: str, name: str) -> List[str]:
503 def is_passing_status(status: Optional[str]) -> bool:
509 get_next_checkruns_page: Callable[[List[Dict[str, Dict[str, Any]]], int, Any], Any],
625 rev_list: Iterable[str],
689 def __init__(self, org: str, project: str, pr_num: int) -> None:
842 def add_authors(info: Dict[str, Any]) -> None:
893 edges: List[Dict[str, Dict[str, Any]]], edge_idx: int, checkruns: Any
1120 def add_numbered_label(self, label_base: str, dry_run: bool) -> None:
[all …]
/aosp_15_r20/external/pytorch/.github/scripts/
H A Dgithub_utils.py28 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 …]
H A Dgitutils.py38 def fuzzy_list_to_dict(items: List[Tuple[str, str]]) -> Dict[str, List[str]]: argument
48 def _check_output(items: List[str], encoding: str = "utf-8") -> str:
77 commit_hash: str,
78 author: str,
80 title: str,
81 body: str,
98 def parse_fuller_format(lines: Union[str, List[str]]) -> GitCommit:
135 def __init__(self, path: str, remote: str = "origin", debug: bool = False) -> None:
145 def revlist(self, revision_range: str) -> List[str]:
150 self, ref: str, *, include_remote: bool = True
[all …]
H A Dtrymerge.py84 def __init__(self, name: str, url: str, run_id: int, status: Optional[str]):
467 def gh_get_pr_info(org: str, proj: str, pr_no: int) -> Any:
473 def gh_get_team_members(org: str, name: str) -> List[str]:
501 def is_passing_status(status: Optional[str]) -> bool:
507 get_next_checkruns_page: Callable[[List[Dict[str, Dict[str, Any]]], int, Any], Any],
635 rev_list: Iterable[str],
699 def __init__(self, org: str, project: str, pr_num: int) -> None:
852 def add_authors(info: Dict[str, Any]) -> None:
903 edges: List[Dict[str, Dict[str, Any]]], edge_idx: int, checkruns: Any
1135 def add_numbered_label(self, label_base: str, dry_run: bool) -> None:
[all …]
/aosp_15_r20/external/google-cloud-java/owl-bot-postprocessor/synthtool/languages/
H A Djava.py66 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 …]
/aosp_15_r20/tools/asuite/atest/integration_tests/
H A Dsnapshot.py66 name: str,
80 name: str,
81 root_path: str,
82 include_paths: list[str],
83 exclude_paths: Optional[list[str]] = None,
84 env_keys: Optional[list[str]] = None,
85 env: Optional[dict[str, str]] = None,
86 objs: Optional[dict[str, Any]] = None,
110 name: str,
111 root_path: str,
[all …]
/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/protobuf-codegen/src/
Dcode_writer.rs43 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 …]
/aosp_15_r20/external/toolchain-utils/llvm_tools/
H A Dget_upstream_patch.py75 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 …]
/aosp_15_r20/external/rust/android-crates-io/crates/protobuf-codegen/src/gen/
Dcode_writer.rs57 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 …]
/aosp_15_r20/external/pytorch/torch/_inductor/
H A Dcpp_builder.py69 def cpp_compiler_search(search: str) -> str:
124 def check_compiler_exist_windows(compiler: str) -> None:
159 def _is_apple_clang(cpp_compiler: str) -> bool:
164 def _is_clang(cpp_compiler: str) -> bool:
178 def _is_gcc(cpp_compiler: str) -> bool:
185 def _is_msvc_cl(cpp_compiler: str) -> bool:
203 def _is_intel_compiler(cpp_compiler: str) -> bool:
271 def get_compiler_version_info(compiler: str) -> str:
292 def _append_list(dest_list: List[str], src_list: List[str]) -> None:
297 def _remove_duplication_in_list(orig_list: List[str]) -> List[str]:
[all …]
/aosp_15_r20/external/pytorch/torch/ao/ns/
H A D_numeric_suite_fx.py154 ref_node_name: str,
155 prev_node_name: str,
156 model_name: str,
157 ref_name: str,
158 prev_node_target_type: str,
159 ref_node_target_type: str,
160 results_type: str,
163 fqn: Optional[str],
164 qconfig_str: Optional[str] = "",
295 def is_leaf_module(self, m: torch.nn.Module, module_qualified_name: str) -> bool:
[all …]
/aosp_15_r20/external/vixl/benchmarks/aarch32/
H A Dasm-disasm-speed-test.cc212 __ str(Narrow, r0, MemOperand(r4, 12)); in Generate_1() local
213 __ str(Narrow, r5, MemOperand(r4, 16)); in Generate_1() local
214 __ str(Narrow, r5, MemOperand(r4, 20)); in Generate_1() local
216 __ str(Narrow, r5, MemOperand(r4, 64)); in Generate_1() local
217 __ str(Narrow, r5, MemOperand(r4, 88)); in Generate_1() local
218 __ str(Narrow, r5, MemOperand(r4, 112)); in Generate_1() local
219 __ str(r5, MemOperand(r4, 136)); in Generate_1() local
221 __ str(Narrow, r3, MemOperand(r4, 28)); in Generate_1() local
224 __ str(Narrow, r3, MemOperand(r4, 52)); in Generate_1() local
225 __ str(Narrow, r3, MemOperand(r4, 56)); in Generate_1() local
[all …]
/aosp_15_r20/external/rust/pica/py/pica/
Dconsole.py36 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 …]
/aosp_15_r20/external/pigweed/pw_emu/py/pw_emu/
H A Dcore.py56 def _get_class(name: str) -> type:
76 def __init__(self, config: Path | None, err: str) -> None:
104 def __init__(self, emu: str) -> None:
111 def __init__(self, config: Path, emu: str | None, target: str) -> None:
119 def __init__(self, name: str, target: str, valid: str) -> None:
130 def __init__(self, name: str) -> None:
137 def __init__(self, exp: str, found: str) -> None:
144 def __init__(self, proc: str, msg: str) -> None:
153 def __init__(self, path: str) -> None:
160 def __init__(self, path: str, name: str) -> None:
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/pip/_internal/req/
Dconstructors.py42 def _strip_extras(path: str) -> Tuple[str, Optional[str]]:
54 def convert_extras(extras: Optional[str]) -> Set[str]:
60 def parse_editable(editable_req: str) -> Tuple[Optional[str], str, Set[str]]:
115 def check_first_requirement_in_file(filename: str) -> None:
143 def deduce_helpful_msg(req: str) -> str:
174 extras: Set[str],
182 def parse_req_from_editable(editable_req: str) -> RequirementParts:
202 editable_req: str,
203 comes_from: Optional[Union[InstallRequirement, str]] = None, argument
207 global_options: Optional[List[str]] = None,
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/pip/_internal/req/
Dconstructors.py42 def _strip_extras(path: str) -> Tuple[str, Optional[str]]:
54 def convert_extras(extras: Optional[str]) -> Set[str]:
60 def parse_editable(editable_req: str) -> Tuple[Optional[str], str, Set[str]]:
115 def check_first_requirement_in_file(filename: str) -> None:
143 def deduce_helpful_msg(req: str) -> str:
174 extras: Set[str],
182 def parse_req_from_editable(editable_req: str) -> RequirementParts:
202 editable_req: str,
203 comes_from: Optional[Union[InstallRequirement, str]] = None, argument
207 global_options: Optional[List[str]] = None,
[all …]

12345678910>>...565