Home
last modified time | relevance | path

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

1234

/external/rust/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,
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor_util/
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))
/external/rust/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()
/external/rust/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 …]
Dobject.rs11 let module_path = mod_path()?; in expand_object() localVariable
16 &uniffi_meta::clone_fn_symbol_name(&module_path, &name), in expand_object()
20 &uniffi_meta::free_fn_symbol_name(&module_path, &name), in expand_object()
24 interface_meta_static_var(ident, ObjectImpl::Struct, &module_path, docstring) in expand_object()
158 module_path: &str, in interface_meta_static_var()
173 .concat_str(#module_path) in interface_meta_static_var()
/external/rust/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 …]
/external/rust/crates/env_logger/src/fmt/
Dmod.rs190 module_path: built.format_module_path, in build()
215 module_path: bool, field
308 if !self.module_path { in write_module_path()
312 if let Some(module_path) = record.module_path() { in write_module_path()
313 self.write_header_value(module_path) in write_module_path()
416 .module_path(Some("test::path")) in write_target()
437 module_path: true, in format_with_header()
459 module_path: false, in format_no_header()
481 module_path: true, in format_indent_spaces()
503 module_path: true, in format_indent_zero_spaces()
[all …]
/external/bcc/src/lua/bcc/
Dsym.lua37 local module_path
43 module_path = ffi.string(sym[0].module)
46 symname, module_path})
50 module_path = ffi.string(sym[0].module)
52 return module_path, new_addr
/external/tensorflow/tensorflow/cc/experimental/libtf/tests/
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()
/external/cronet/third_party/protobuf/python/docs/
Dgenerate_docs.py133 for module_path in SOURCE_DIR.glob("**/*.py"):
135 package_path = module_path.parent.relative_to(PYTHON_DIR)
138 module_name = module_path.stem
141 module_name = package_name + "." + module_path.stem
149 elif any(ignored in module_path.stem for ignored in IGNORED_MODULES):
152 if module_path.name == "__init__.py":
/external/protobuf/python/docs/
Dgenerate_docs.py133 for module_path in SOURCE_DIR.glob("**/*.py"):
135 package_path = module_path.parent.relative_to(PYTHON_DIR)
138 module_name = module_path.stem
141 module_name = package_name + "." + module_path.stem
149 elif any(ignored in module_path.stem for ignored in IGNORED_MODULES):
152 if module_path.name == "__init__.py":
/external/chromium-trace/catapult/devil/devil/utils/
Dmarkdown.py148 def load_module_from_path(module_path): argument
154 module_path: An absolute path to a python module.
158 module_names = [os.path.splitext(os.path.basename(module_path))[0]]
159 d = os.path.dirname(module_path)
312 parser.add_argument('module_path', type=os.path.realpath)
316 load_module_from_path(args.module_path), module_link=args.module_link)
/external/chromium-trace/catapult/devil/bin/
Dgenerate_md_docs28 module_path = os.path.join(_DEVIL_PATH, k)
33 sys.executable, _MARKDOWN_SCRIPT, module_path, '--module-link',
37 logging.error('Failed to update doc for %s' % module_path)
/external/libxml2/
DtestModule.c23 #define MODULE_PATH "." macro
29 #define MODULE_PATH ".libs" macro
51 (const xmlChar*)MODULE_PATH, in main()
/external/cronet/third_party/libxml/src/
DtestModule.c23 #define MODULE_PATH "." macro
29 #define MODULE_PATH ".libs" macro
51 (const xmlChar*)MODULE_PATH, in main()
/external/rust/crates/tracing-subscriber/tests/layer_filters/
Dtargets.rs13 pub(super) const MODULE_PATH: &str = module_path!(); in log_events() constant
23 .with_target(inner::MODULE_PATH, LevelFilter::WARN); in log_events()
Dtrees.rs19 .with_target(module_path!()), in basic_trees()
33 .with_target(module_path!()), in basic_trees()
126 target == "a" || target == module_path!() in filter_span_scopes()
131 target == "b" || target == module_path!() in filter_span_scopes()
/external/perfetto/ui/
DPRESUBMIT.py55 module_path = path.join(ui_path, 'node_modules', '.bin', 'eslint')
58 if not path.exists(module_path):
88 module_path = path.join(ui_path, 'node_modules', '.bin', 'prettier')
91 if not path.exists(module_path):
/external/python/cpython2/Lib/test/
Dtest_pkgimport.py27 self.module_path = os.path.join(self.package_dir, 'foo'+os.extsep+'py')
40 compiled_path = self.module_path + extension
43 f = open(self.module_path, 'w')
/external/python/cpython3/Lib/test/test_importlib/
Dtest_pkg_import.py33 self.module_path = os.path.join(self.package_dir, 'foo.py')
42 compiled_path = cache_from_source(self.module_path)
45 with open(self.module_path, 'w', encoding='utf-8') as f:
/external/cronet/components/metrics/call_stacks/
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 …]
/external/rust/crates/log/src/
Dlib.rs885 module_path: Option<MaybeStaticStr<'a>>, field
942 pub fn module_path(&self) -> Option<&'a str> { in module_path() method
943 self.module_path.map(|s| s.get()) in module_path()
949 match self.module_path { in module_path_static()
994 module_path: self.module_path, in to_builder()
1020 /// .module_path(Some("server"))
1039 /// .module_path(Some("server"))
1054 /// - `module_path`: `None`
1066 module_path: None, in new()
1103 /// Set [`module_path`](struct.Record.html#method.module_path)
[all …]

1234