Home
last modified time | relevance | path

Searched refs:dotted_name (Results 1 – 25 of 224) sorted by relevance

123456789

/dports/devel/mercurial/mercurial-6.0/rust/hg-cpython/src/
H A Dlib.rs49 let dotted_name: String = m.get(py, "__name__")?.extract(py)?; localVariable
50 m.add(py, "ancestor", ancestors::init_module(py, &dotted_name)?)?;
51 m.add(py, "dagop", dagops::init_module(py, &dotted_name)?)?;
52 m.add(py, "debug", debug::init_module(py, &dotted_name)?)?;
56 copy_tracing::init_module(py, &dotted_name)?,
58 m.add(py, "discovery", discovery::init_module(py, &dotted_name)?)?;
59 m.add(py, "dirstate", dirstate::init_module(py, &dotted_name)?)?;
60 m.add(py, "revlog", revlog::init_module(py, &dotted_name)?)?;
H A Ddebug.rs13 let dotted_name = &format!("{}.debug", package); in init_module() localVariable
14 let m = PyModule::new(py, dotted_name)?; in init_module()
21 sys_modules.set_item(py, dotted_name, &m)?; in init_module()
H A Ddagops.rs36 let dotted_name = &format!("{}.dagop", package); in init_module() localVariable
37 let m = PyModule::new(py, dotted_name)?; in init_module()
48 sys_modules.set_item(py, dotted_name, &m)?; in init_module()
H A Ddirstate.rs29 let dotted_name = &format!("{}.dirstate", package); in init_module() localVariable
30 let m = PyModule::new(py, dotted_name)?; in init_module()
68 sys_modules.set_item(py, dotted_name, &m)?; in init_module()
/dports/devel/py-z3c.autoinclude/z3c.autoinclude-0.3.6/src/z3c/autoinclude/
H A Dzcml.py22 for dotted_name in includable_zcml:
23 log.debug('including file %s from package %s at %s', filename, dotted_name, zcml_context)
25 for dotted_name in includable_zcml:
26 includable_package = resolve(dotted_name)
95 dotted_name = package.__name__
101 info = PluginFinder(dotted_name).includableInfo(zcml_to_look_for)
112 dotted_name = package.__name__
117 info = PluginFinder(dotted_name).includableInfo(zcml_to_look_for)
H A Dplugin.py24 def find_plugins(dotted_name): argument
26 if ep.module_name == dotted_name:
29 def zcml_to_include(dotted_name, zcmlgroups=None): argument
36 filename = resource_filename(dotted_name, zcmlgroup)
H A Ddependency.py24 for dotted_name in dist_manager.dottedNames():
26 module = resolve(dotted_name)
29 "resolve(%r) raised import error: %s" % (dotted_name, exc))
35 result[candidate].append(dotted_name)
/dports/databases/py-sqlalchemy-migrate/sqlalchemy-migrate-0.13.0/migrate/versioning/util/
H A D__init__.py22 def load_model(dotted_name): argument
30 if isinstance(dotted_name, six.string_types):
31 if ':' not in dotted_name:
35 dotted_name = ':'.join(dotted_name.rsplit('.', 1))
37 ep = EntryPoint.parse('x=%s' % dotted_name)
46 return dotted_name
/dports/devel/pycharm-pro/pycharm-2020.2.3/plugins/python/helpers/epydoc/
H A Ddocintrospecter.py232 dotted_name = module_doc.canonical_name
233 if dotted_name is UNKNOWN:
234 dotted_name = DottedName(module.__name__)
238 if len(dotted_name) > 1:
652 return verify_name(value, dotted_name)
654 def verify_name(value, dotted_name): argument
659 if dotted_name is UNKNOWN: return UNKNOWN
660 if len(dotted_name) == 1 and hasattr(__builtin__, dotted_name[0]):
661 return dotted_name
664 for identifier in dotted_name[1:]:
[all …]
H A Ddocparser.py1925 def lookup_variable(dotted_name, parent_docs): argument
1926 assert isinstance(dotted_name, DottedName)
1928 if len(dotted_name) == 1:
1937 dotted_name[-1] in parent.variables):
1942 def lookup_value(dotted_name, parent_docs): argument
1947 assert isinstance(dotted_name, DottedName)
1950 for i in range(1, len(dotted_name)):
1965 var_doc = var_dict.get(dotted_name[i])
2083 dotted_name = DottedName(name)
2096 dotted_name = DottedName(str(dotted_name)+"'")
[all …]
/dports/devel/py-jedi/jedi-0.18.0/jedi/inference/compiled/
H A D__init__.py62 def load_module(inference_state, dotted_name, **kwargs): argument
65 if dotted_name.startswith('tensorflow.'):
67 access_path = inference_state.compiled_subprocess.load_module(dotted_name=dotted_name, **kwargs)
/dports/devel/openocd/openocd-0.11.0/src/jtag/
H A Dswim.c71 tap->dotted_name = alloc_printf("%s.%s", CMD_ARGV[0], CMD_ARGV[1]); in COMMAND_HANDLER()
72 if (!tap->chip || !tap->tapname || !tap->dotted_name) { in COMMAND_HANDLER()
74 free(tap->dotted_name); in COMMAND_HANDLER()
82 tap->chip, tap->tapname, tap->dotted_name); in COMMAND_HANDLER()
H A Dtcl.c493 pTap->dotted_name, (int) w); in jim_newtap_ir_param()
500 pTap->dotted_name, in jim_newtap_ir_param()
511 pTap->dotted_name, (int) w); in jim_newtap_ir_param()
516 pTap->dotted_name); in jim_newtap_ir_param()
569 pTap->dotted_name = cp; in jim_newtap_cmd()
639 pTap->dotted_name); in jim_newtap_cmd()
655 tap->dotted_name, e, nvp->name, in jtag_tap_handle_event()
676 LOG_INFO("JTAG tap: %s %s", tap->dotted_name, in jtag_tap_handle_event()
788 LOG_WARNING("failed to enable tap %s", t->dotted_name); in jim_jtag_tap_enabler()
843 tap->dotted_name, -1)); in jim_jtag_names()
[all …]
/dports/mail/mailman3/mailman-3.3.1/src/mailman/utilities/
H A Dmodules.py43 def find_name(dotted_name): argument
51 module_path, dot, object_name = dotted_name.rpartition('.')
57 def call_name(dotted_name, *args, **kws): argument
69 named_callable = find_name(dotted_name)
/dports/multimedia/tautulli/Tautulli-2.8.0/lib/libpasteurize/fixes/
H A Dfix_imports.py91 dotted_name = dotted_name_match % (simple_name, simple_attr)
92 i_from = from_import_match % (dotted_name)
94 i_name = name_import_match % (dotted_name, dotted_name)
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/google-endpoints/libpasteurize/fixes/
H A Dfix_imports.py91 dotted_name = dotted_name_match % (simple_name, simple_attr)
92 i_from = from_import_match % (dotted_name)
94 i_name = name_import_match % (dotted_name, dotted_name)
/dports/devel/py-future/future-0.18.2/src/libpasteurize/fixes/
H A Dfix_imports.py91 dotted_name = dotted_name_match % (simple_name, simple_attr)
92 i_from = from_import_match % (dotted_name)
94 i_name = name_import_match % (dotted_name, dotted_name)
/dports/devel/py-astroid/astroid-2.9.0/astroid/
H A Dmodutils.py202 def load_module_from_name(dotted_name: str) -> types.ModuleType:
214 return sys.modules[dotted_name]
218 return importlib.import_module(dotted_name)
392 def get_module_part(dotted_name, context_file=None): argument
419 if dotted_name.startswith("os.path"):
421 parts = dotted_name.split(".")
427 raise ImportError(dotted_name)
450 return dotted_name
/dports/finance/beancount/beancount-2.3.3/beancount/utils/
H A Dimport_utils.py9 def import_symbol(dotted_name): argument
20 comps = dotted_name.split('.')
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/logilab/logilab/common/
H A Dmodutils.py104 def load_module_from_name(dotted_name, path=None, use_sys=1): argument
126 return load_module_from_modpath(dotted_name.split('.'), path, use_sys)
302 def get_module_part(dotted_name, context_file=None): argument
329 if dotted_name.startswith('os.path'):
331 parts = dotted_name.split('.')
337 raise ImportError(dotted_name)
358 return dotted_name
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/logilab/logilab/astroid/
H A Dmodutils.py115 def load_module_from_name(dotted_name, path=None, use_sys=1): argument
137 return load_module_from_modpath(dotted_name.split('.'), path, use_sys)
317 def get_module_part(dotted_name, context_file=None): argument
344 if dotted_name.startswith('os.path'):
346 parts = dotted_name.split('.')
352 raise ImportError(dotted_name)
373 return dotted_name
/dports/devel/py-logilab-common/logilab-common-1.8.2/logilab/common/
H A Dmodutils.py128 dotted_name: str, path: Optional[Any] = None, use_sys: int = True
151 module = load_module_from_modpath(dotted_name.split("."), path, use_sys)
153 raise ImportError("module %s doesn't exist" % dotted_name)
352 def get_module_part(dotted_name: str, context_file: Optional[str] = None) -> str:
379 if dotted_name.startswith("os.path"):
381 parts = dotted_name.split(".")
387 raise ImportError(dotted_name)
407 return dotted_name
/dports/www/chromium-legacy/chromium-88.0.4324.182/base/android/
H A Djni_android.cc122 char dotted_name[bufsize]; in GetClass() local
123 memmove(dotted_name, class_name, bufsize); in GetClass()
125 if (dotted_name[i] == '/') { in GetClass()
126 dotted_name[i] = '.'; in GetClass()
133 ConvertUTF8ToJavaString(env, dotted_name).obj())); in GetClass()
/dports/net-im/tg_owt/tg_owt-d578c76/src/base/android/
H A Djni_android.cc122 char dotted_name[bufsize]; in GetClass() local
123 memmove(dotted_name, class_name, bufsize); in GetClass()
125 if (dotted_name[i] == '/') { in GetClass()
126 dotted_name[i] = '.'; in GetClass()
133 ConvertUTF8ToJavaString(env, dotted_name).obj())); in GetClass()
/dports/devel/py-testfixtures/testfixtures-6.18.3/testfixtures/
H A Dresolve.py4 def resolve(dotted_name): argument
5 names = dotted_name.split('.')

123456789