Home
last modified time | relevance | path

Searched full:module_path (Results 1 – 25 of 261) sorted by relevance

1234567891011

/aosp_15_r20/external/rust/android-crates-io/crates/uniffi_meta/src/
Dgroup.rs28 crate_name: udl.module_path.clone(), in create_metadata_groups()
36 Some((udl.module_path.clone(), group)) in create_metadata_groups()
50 let crate_name = calc_crate_name(item.module_path()).to_owned(); // XXX - kill clone? in group_metadata()
79 let crate_name = calc_crate_name(item.module_path()).to_owned(); in fixup_external_type()
178 Type::Enum { module_path, name } | Type::Record { module_path, name } in convert_type()
179 if self.is_module_path_external(&module_path) => in convert_type()
182 namespace: self.crate_to_namespace(&module_path), in convert_type()
183 module_path, in convert_type()
190 module_path, name, .. in convert_type()
191 } if self.is_module_path_external(&module_path) => { in convert_type()
[all …]
Dlib.rs131 pub module_path: String, field
139 pub module_path: String, field
151 fn_symbol_name(&self.module_path, &self.name) in ffi_symbol_name()
155 fn_checksum_symbol_name(&self.module_path, &self.name) in checksum_symbol_name()
161 pub module_path: String, field
173 constructor_symbol_name(&self.module_path, &self.self_name, &self.name) in ffi_symbol_name()
177 constructor_checksum_symbol_name(&self.module_path, &self.self_name, &self.name) in checksum_symbol_name()
187 pub module_path: String, field
201 method_symbol_name(&self.module_path, &self.self_name, &self.name) in ffi_symbol_name()
205 method_checksum_symbol_name(&self.module_path, &self.self_name, &self.name) in checksum_symbol_name()
[all …]
Dreader.rs46 module_path: self.read_string()?, in read_metadata()
149 module_path: self.read_string()?, in read_type()
153 module_path: self.read_string()?, in read_type()
157 module_path: self.read_string()?, in read_type()
162 module_path: self.read_string()?, in read_type()
167 module_path: self.read_string()?, in read_type()
172 module_path: self.read_string()?, in read_type()
176 module_path: self.read_string()?, in read_type()
228 let module_path = self.read_string()?; in read_func() localVariable
235 module_path, in read_func()
[all …]
Dtypes.rs85 module_path: String,
93 module_path: String,
97 module_path: String,
101 module_path: String,
117 module_path: String,
126 module_path: String,
/aosp_15_r20/external/rust/android-crates-io/crates/tracing/src/
Dmacros.rs90 target: module_path!(),
99 target: module_path!(),
118 target: module_path!(),
126 target: module_path!(),
182 target: module_path!(),
205 target: module_path!(),
263 target: module_path!(),
286 target: module_path!(),
344 target: module_path!(),
367 target: module_path!(),
[all …]
/aosp_15_r20/tools/asuite/atest/
H A Dmodule_info_unittest_base.py59 for path in m[constants.MODULE_PATH]:
98 module_path=None, argument
104 module_path = module_path or 'example_module/project'
113 module_path=module_path,
126 module_path=None, argument
130 module_path = module_path or 'example_module/project'
138 f'{module_path}/configs/Config1.xml',
139 f'{module_path}/configs/Config2.xml',
143 module_path=module_path,
195 module_path=None, argument
[all …]
H A Dmodule_info_unittest.py57 constants.MODULE_PATH: ROBO_MOD_PATH,
62 constants.MODULE_PATH: ROBO_MOD_PATH,
79 constants.MODULE_PATH: 'a/b/c/path',
155 constants.MODULE_PATH: [mod_path_one],
159 constants.MODULE_PATH: [mod_path_two],
167 constants.MODULE_PATH: [mod_path_one],
171 constants.MODULE_PATH: [mod_path_two],
931 module_path = 'robolectric_path'
932 info = non_test_module(name=f'{module_name}', path=module_path)
937 name=f'{run_module_name}', path=module_path
[all …]
/aosp_15_r20/build/make/tools/sbom/
H A Dgenerate-sbom.py171 module_path = file_metadata['module_path']
172 return module_path.startswith('external/') and not is_prebuilt_package(file_metadata)
176 module_path = file_metadata['module_path']
177 if module_path:
178 return (module_path.startswith('prebuilts/') or
196 return file_metadata['module_path'], []
231 elif file_metadata['module_path']:
232 name = file_metadata['module_path']
243 if file_metadata['module_path']:
244 metadata_path = file_metadata['module_path']
[all …]
H A Dgen_sbom.py179 module_path = file_metadata['module_path']
180 return module_path.startswith('external/') and not is_prebuilt_package(file_metadata)
184 module_path = file_metadata['module_path']
185 if module_path:
186 return (module_path.startswith('prebuilts/') or
204 return file_metadata['module_path'], []
239 elif file_metadata['module_path']:
240 name = file_metadata['module_path']
251 if file_metadata['module_path']:
252 metadata_path = file_metadata['module_path']
[all …]
/aosp_15_r20/external/chromium-trace/catapult/common/py_utils/py_utils/refactor_util/
H A Dmove.py104 def _BaseDir(module_path): argument
105 if not os.path.isdir(module_path):
106 module_path = os.path.dirname(module_path)
108 while '__init__.py' in os.listdir(module_path):
109 module_path = os.path.dirname(module_path)
111 return module_path
114 def _ModulePath(module_path): argument
115 if os.path.split(module_path)[1] == '__init__.py':
116 module_path = os.path.dirname(module_path)
117 rel_path = os.path.relpath(module_path, _BaseDir(module_path))
/aosp_15_r20/external/rust/android-crates-io/crates/uniffi_macros/src/
Dsetup_scaffolding.rs13 let module_path = mod_path()?; in setup_scaffolding() localVariable
14 let ffi_contract_version_ident = format_ident!("ffi_{module_path}_uniffi_contract_version"); in setup_scaffolding()
18 let ffi_rustbuffer_alloc_ident = format_ident!("ffi_{module_path}_rustbuffer_alloc"); in setup_scaffolding()
19 let ffi_rustbuffer_from_bytes_ident = format_ident!("ffi_{module_path}_rustbuffer_from_bytes"); in setup_scaffolding()
20 let ffi_rustbuffer_free_ident = format_ident!("ffi_{module_path}_rustbuffer_free"); in setup_scaffolding()
21 let ffi_rustbuffer_reserve_ident = format_ident!("ffi_{module_path}_rustbuffer_reserve"); in setup_scaffolding()
22 let reexport_hack_ident = format_ident!("{module_path}_uniffi_reexport_hack"); in setup_scaffolding()
23 let ffi_rust_future_scaffolding_fns = rust_future_scaffolding_fns(&module_path); in setup_scaffolding()
49 .concat_str(#module_path) in setup_scaffolding()
142 fn rust_future_scaffolding_fns(module_path: &str) -> TokenStream { in rust_future_scaffolding_fns()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/env_logger/src/fmt/
Dmod.rs240 module_path: built.format_module_path, in build()
280 module_path: bool, field
373 if !self.module_path { in write_module_path()
377 if let Some(module_path) = record.module_path() { in write_module_path()
378 self.write_header_value(module_path) in write_module_path()
481 .module_path(Some("test::path")) in write_target()
502 module_path: true, in format_with_header()
524 module_path: false, in format_no_header()
546 module_path: true, in format_indent_spaces()
568 module_path: true, in format_indent_zero_spaces()
[all …]
/aosp_15_r20/external/pytorch/torch/ao/quantization/fx/
H A Dqconfig_mapping_utils.py129 module_path, module_type = node_name_to_scope[node.name]
131 qconfig_mapping, module_type, module_path, function_qconfig
134 cur_object_type_idx = submodule_to_object_type_to_cur_idx[module_path][
137 submodule_to_object_type_to_cur_idx[module_path][node.target] += 1
139 qconfig_mapping, module_path, node.target, cur_object_type_idx, qconfig
146 module_path, module_type = node_name_to_scope[node.name]
151 qconfig_mapping, node.target, module_path, global_qconfig
156 qconfig_mapping, module_type, module_path, qconfig
172 module_path, module_type = node_name_to_scope[node.name]
173 # Note: for call_module, the module_path is the current module's name.
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/tracing-attributes/tests/
Dtargets.rs14 pub const MODULE_PATH: &str = module_path!(); constant
29 .with_target(module_path!()), in default_targets()
34 .with_target(module_path!()), in default_targets()
39 .with_target(module_path!()), in default_targets()
44 .with_target(my_mod::MODULE_PATH), in default_targets()
49 .with_target(my_mod::MODULE_PATH), in default_targets()
54 .with_target(my_mod::MODULE_PATH), in default_targets()
/aosp_15_r20/tools/asuite/aidegen/lib/
H A Dsource_locator_unittest.py66 unittest_constants.MODULE_PATH,
74 unittest_constants.MODULE_PATH,
225 test_jar_file = os.path.join(unittest_constants.MODULE_PATH, 'test.jar')
235 test_jar_file = os.path.join(unittest_constants.MODULE_PATH,
242 test_jar_file = os.path.join(unittest_constants.MODULE_PATH,
257 os.path.join(unittest_constants.MODULE_PATH, 'test.aar'),
258 os.path.join(unittest_constants.MODULE_PATH, 'test.jar'),
259 os.path.join(unittest_constants.MODULE_PATH,
263 os.path.join(unittest_constants.MODULE_PATH, 'test.jar')
274 os.path.join(unittest_constants.MODULE_PATH,
[all …]
/aosp_15_r20/tools/asuite/aidegen/idea/
H A Dxml_gen.py20 vcs = XMLGenerator(module_path, 'vcs.xml')
119 def gen_vcs_xml(module_path, git_paths): argument
127 module_path: A string, the absolute path of the module.
131 vcs = XMLGenerator(module_path, 'vcs.xml')
132 if module_path != common_util.get_android_root_dir() or not vcs.xml_obj:
137 def write_ignore_git_dirs_file(module_path, ignore_paths): argument
141 module_path: A string, the absolute path of the module.
145 workspace = XMLGenerator(module_path, 'workspace.xml')
/aosp_15_r20/development/vndk/snapshot/
H A Dcheck_gpl_license.py90 def _get_revision(self, module_path, manifest_projects): argument
94 module_path: string, project path relative to ANDROID_BUILD_TOP
100 if module_path.startswith(path):
218 module_path = module_paths[lib]
219 revision = self._get_revision(module_path, manifest_projects)
223 path=module_path, manifest=self.MANIFEST_XML))
225 revision, module_path)
227 unreleased_projects.append((lib, module_path))
229 released_projects.append((lib, module_path))
/aosp_15_r20/tools/asuite/atest/test_finders/
H A Dmodule_finder_unittest.py101 constants.MODULE_PATH: ROBO_MOD_PATH,
106 constants.MODULE_PATH: ROBO_MOD_PATH,
190 module_path='/project/module', class_name='MyJavaTestClass.java'
195 module_path='project/module',
273 module_path='project/tests/module1',
312 module_path='tests/android/module1',
317 module_path='tests/android/module2',
351 module_path='tests/android/module',
384 module_path='tests/android/multi_module',
389 module_path='tests/android/multi_module',
[all …]
/aosp_15_r20/external/pytorch/torch/distributed/_shard/
H A Dapi.py261 module_path, _, param_name = name.rpartition(".")
264 if module_path.startswith(sharder_path):
272 mod = module.get_submodule(module_path)
292 for module_path, output_spec in plan.output_plan.items():
294 mod = module.get_submodule(module_path)
298 f"Only `ShardingSpec` is supported as output_plan for '{module_path}'"
304 for module_path in plan.return_local_tensor:
305 mod = module.get_submodule(module_path)
/aosp_15_r20/system/tools/aidl/tests/
Dgolden_test.sh101 local module_path
103 module_path=$module
105 module_path="frozen/$module"
108 local golden="$root/system/tools/aidl/tests/golden_output/$module_path/"
125 module_path="$name"
127 module_path="frozen/$name"
129 golden_file="system/tools/aidl/tests/golden_output/$module_path"
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/log-0.4.21/src/
H A Dlib.rs723 module_path: Option<MaybeStaticStr<'a>>, field
780 pub fn module_path(&self) -> Option<&'a str> { in module_path() method
781 self.module_path.map(|s| s.get()) in module_path()
787 match self.module_path { in module_path_static()
832 module_path: self.module_path, in to_builder()
858 /// .module_path(Some("server"))
877 /// .module_path(Some("server"))
892 /// - `module_path`: `None`
904 module_path: None, in new()
941 /// Set [`module_path`](struct.Record.html#method.module_path)
[all …]
/aosp_15_r20/external/pytorch/torch/fx/
H A Dproxy.py41 # scope for this would be (module_path="sub", module_type=Sub)
50 # scope for this would be (module_path="", None)
57 def __init__(self, module_path: str, module_type: Any):
59 self.module_path = module_path
79 scope.module_path = current_scope.module_path
88 self._scope.module_path = self._prev_scope.module_path
152 self.scope.module_path,
/aosp_15_r20/external/rust/android-crates-io/crates/log/src/
Dlib.rs770 module_path: Option<MaybeStaticStr<'a>>, field
827 pub fn module_path(&self) -> Option<&'a str> { in module_path() method
828 self.module_path.map(|s| s.get()) in module_path()
834 match self.module_path { in module_path_static()
879 module_path: self.module_path, in to_builder()
905 /// .module_path(Some("server"))
924 /// .module_path(Some("server"))
939 /// - `module_path`: `None`
951 module_path: None, in new()
988 /// Set [`module_path`](struct.Record.html#method.module_path)
[all …]
/aosp_15_r20/external/cronet/components/metrics/call_stacks/
H A Dcall_stack_profile_builder_unittest.cc88 base::FilePath module_path(L"c:\\some\\path\\to\\chrome.exe"); in TEST() local
91 base::FilePath module_path("/some/path/to/chrome"); in TEST() local
97 module1.set_debug_basename(module_path); in TEST()
103 module2.set_debug_basename(module_path); in TEST()
109 module3.set_debug_basename(module_path); in TEST()
295 base::FilePath module_path(L"c:\\some\\path\\to\\chrome.exe"); in TEST() local
298 base::FilePath module_path("/some/path/to/chrome"); in TEST() local
302 module2.set_debug_basename(module_path); in TEST()
347 base::FilePath module_path(L"c:\\some\\path\\to\\chrome.exe"); in TEST() local
350 base::FilePath module_path("/some/path/to/chrome"); in TEST() local
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/cc/experimental/libtf/tests/
H A Druntime_test.cc32 const std::string module_path = in TEST_P() local
36 runtime.Load(String(module_path.c_str()))); in TEST_P()
54 const std::string module_path = in TEST_P() local
57 runtime.Load(String(module_path.c_str()))); in TEST_P()
77 const std::string module_path = in TEST_P() local
80 runtime.Load(String(module_path.c_str()))); in TEST_P()

1234567891011