Home
last modified time | relevance | path

Searched refs:module_path (Results 1 – 25 of 42) sorted by relevance

12

/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/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/ImageMagick/MagickCore/
Dmodule.c393 module_path[MagickPathExtent], in GetModuleList() local
421 status=GetMagickModulePath(filename,MagickImageCoderModule,module_path, in GetModuleList()
428 status=GetMagickModulePath(filename,MagickImageFilterModule,module_path, in GetModuleList()
435 GetPathComponent(module_path,HeadPath,path); in GetModuleList()
531 *module_path; in GetMagickModulePath() local
540 module_path=(char *) NULL; in GetMagickModulePath()
548 module_path=GetEnvironmentValue("MAGICK_CODER_MODULE_PATH"); in GetMagickModulePath()
550 if (module_path == (char *) NULL) in GetMagickModulePath()
551 module_path=AcquireString(MAGICKCORE_CODER_PATH); in GetMagickModulePath()
559 module_path=GetEnvironmentValue("MAGICK_CODER_FILTER_PATH"); in GetMagickModulePath()
[all …]
Dnt-base.c251 *module_path; in DllMain() local
270 module_path=create_utf8_string(wide_path); in DllMain()
272 if (module_path[count] == '\\') in DllMain()
274 module_path[count+1]='\0'; in DllMain()
280 module_path=DestroyString(module_path); in DllMain()
286 if ((count != 0) && (strstr(path,module_path) == (char *) NULL)) in DllMain()
288 if ((strlen(module_path)+count+1) < (16*MagickPathExtent-1)) in DllMain()
298 module_path=DestroyString(module_path); in DllMain()
303 "%s;%s",module_path,path); in DllMain()
309 module_path=DestroyString(module_path); in DllMain()
[all …]
Dconfigure.c915 module_path[MagickPathExtent]; in GetConfigurePaths() local
917 if ((NTGetModulePath(MagickCoreDLL,module_path) != MagickFalse) || in GetConfigurePaths()
918 (NTGetModulePath(MagickCoreDebugDLL,module_path) != MagickFalse)) in GetConfigurePaths()
926 (void) FormatLocaleString(path,MagickPathExtent,"%s%s",module_path, in GetConfigurePaths()
934 if (NTGetModulePath("Magick.dll",module_path) != MagickFalse) in GetConfigurePaths()
939 (void) FormatLocaleString(path,MagickPathExtent,"%s%s",module_path, in GetConfigurePaths()
942 (void) FormatLocaleString(path,MagickPathExtent,"%s%s",module_path, in GetConfigurePaths()
/external/ltp/android/
DAndroid.prebuilt.mk18 module_path := $(patsubst %/,%,$(dir $(module_prebuilt)))
26 LOCAL_MODULE_RELATIVE_PATH := ltp/$(module_path)
34 module_path :=
/external/python/cffi/cffi/
Dsetuptools_ext.py170 module_path = module_name.split('.')
171 module_path[-1] += '.py'
172 generate_mod(os.path.join(self.build_lib, *module_path))
205 module_path = module_name.split('.')
206 package = '.'.join(module_path[:-1])
209 file_name = module_path[-1] + '.py'
/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/protobuf/js/commonjs/
Drewrite_tests_for_commonjs.js87 var module_path = isLoadFromFile[1].split('/');
88 module = camelCase(module_path[module_path.length - 1]);
/external/protobuf/js/compatibility_tests/v3.0.0/commonjs/
Drewrite_tests_for_commonjs.js87 var module_path = isLoadFromFile[1].split('/');
88 module = camelCase(module_path[module_path.length - 1]);
/external/rust/crates/log/src/
Dlib.rs792 module_path: Option<MaybeStaticStr<'a>>, field
849 pub fn module_path(&self) -> Option<&'a str> { in module_path() method
850 self.module_path.map(|s| s.get()) in module_path()
856 match self.module_path { in module_path_static()
901 module_path: self.module_path, in to_builder()
974 module_path: None, in new()
1013 pub fn module_path(&mut self, path: Option<&'a str>) -> &mut RecordBuilder<'a> { in module_path() method
1014 self.record.module_path = path.map(MaybeStaticStr::Borrowed); in module_path()
1021 self.record.module_path = path.map(MaybeStaticStr::Static); in module_path_static()
1458 &(target, module_path, file, line): &(&str, &'static str, &'static str, u32), in __private_api_log() argument
[all …]
/external/tensorflow/tensorflow/python/module/
Dmodule.py354 module_path=(), argument
389 yield module_path + leaf_path, leaf
395 submodules.append((module_path + leaf_path, leaf))
406 module_path=submodule_path,
/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/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/chromium-trace/catapult/devil/devil/utils/
Dmarkdown.py148 def load_module_from_path(module_path): argument
158 module_names = [os.path.splitext(os.path.basename(module_path))[0]]
159 d = os.path.dirname(module_path)
316 load_module_from_path(args.module_path), module_link=args.module_link)
/external/rust/crates/grpcio/src/
Dlog_util.rs35 .module_path(module_path!().into()) in delegate()
/external/tensorflow/tensorflow/lite/experimental/acceleration/mini_benchmark/
Dmini_benchmark_test_helper.cc40 void* LoadEntryPointModule(const std::string& module_path) { in LoadEntryPointModule() argument
42 dlopen(module_path.c_str(), RTLD_NOW | RTLD_GLOBAL | RTLD_NODELETE); in LoadEntryPointModule()
/external/tensorflow/tensorflow/python/autograph/pyct/
Dorigin_info_test.py68 module_path = tf_inspect.getsourcefile(test_fn)
76 self.assertEqual(source_map[definition_loc].loc.filename, module_path)
83 module_path = tf_inspect.getsourcefile(test_fn)
91 self.assertEqual(source_map[call_loc].loc.filename, module_path)
99 self.assertEqual(source_map[second_arg_loc].loc.filename, module_path)
/external/compiler-rt/lib/sanitizer_common/scripts/
Dsancov.py161 (start, end, base, module_path) = mem_map[map_idx]
168 for ((start, end, base, module_path), pc_list) in zip(mem_map, mem_map_pcs):
171 dst_path = module_path + '.' + os.path.basename(path)[:-4]
/external/google-breakpad/src/tools/mac/crash_report/
Don_demand_symbol_supplier.mm262 string module_path = GetLocalModulePath(module);
266 if (module_path.empty())
277 GetFileModificationTime(module_path.c_str());
285 if (dump.Read(module_path)) {
304 printf("Unable to open %s\n", module_path.c_str());
/external/python/setuptools/setuptools/config/
Dexpand.py198 def _find_spec(module_name: str, module_path: Optional[_Path]) -> ModuleSpec:
199 spec = importlib.util.spec_from_file_location(module_name, module_path)
248 module_path = next((x for x in candidates if os.path.isfile(x)), None)
249 return parent_path, module_path, module_name
/external/python/setuptools/setuptools/tests/config/
Dtest_setupcfg.py864 module_path = Path(tmpdir, "src/custom_build.py") # auto discovery for src
865 module_path.parent.mkdir(parents=True, exist_ok=True)
866 module_path.write_text(
882 assert module_path.samefile(inspect.getfile(cmdclass))
/external/rust/crates/android_logger/src/
Dlib.rs176 let module_path = record.module_path().unwrap_or_default().to_owned(); in log() localVariable
180 let tag = custom_tag.as_ref().map(|s| s.as_bytes()).unwrap_or(module_path.as_bytes()); in log()
197 format_args!("{}: {}", module_path, *record.args()), in log()

12