Home
last modified time | relevance | path

Searched refs:import_name (Results 1 – 25 of 938) sorted by relevance

12345678910>>...38

/dports/www/py-notebook/notebook-6.4.5/notebook/
H A Dserverextensions.py57 old_enabled = server_extensions.get(import_name, None)
62 logger.info(u"Enabling: %s" % (import_name))
64 logger.info(u"Disabling: %s" % (import_name))
66 server_extensions[import_name] = new_enabled
74 validate_serverextension(import_name, logger)
77 def validate_serverextension(import_name, logger=None): argument
101 mod = importlib.import_module(import_name)
109 infos.append(import_msg.format(GREEN_OK, import_name))
111 warnings.append(import_msg.format(RED_X, import_name))
169 def toggle_server_extension(self, import_name): argument
[all …]
/dports/devel/pytype/pytype-2021.9.9/pytype/
H A Dload_pytd_test.py62 ast = loader.import_name("sys")
97 mod = loader.import_name("foo")
118 ast = loader.import_name("io")
145 foo = loader.import_name("foo")
146 bar = loader.import_name("bar")
357 loader.import_name("os2")
358 loader.import_name("os2.path")
359 loader.import_name("posix2")
409 foo = loader.import_name("foo")
454 loader.import_name("foo")
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/test/Sema/
H A Dattr-wasm.c3 void name_a() __attribute__((import_name)); //expected-error {{'import_name' attribute takes one ar…
5 int name_b __attribute__((import_name("foo"))); //expected-error {{'import_name' attribute only app…
7 void name_c() __attribute__((import_name("foo", "bar"))); //expected-error {{'import_name' attribut…
9 void name_d() __attribute__((import_name("foo", "bar", "qux"))); //expected-error {{'import_name' a…
11 void name_z() __attribute__((import_name("foo"))); //expected-note {{previous attribute is here}}
13 void name_z() __attribute__((import_name("bar"))); //expected-warning {{import name (bar) does not …
27 void both() __attribute__((import_name("foo"), import_module("bar")));
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/test/Sema/
H A Dattr-wasm.c3 void name_a() __attribute__((import_name)); //expected-error {{'import_name' attribute takes one ar…
5 int name_b __attribute__((import_name("foo"))); //expected-error {{'import_name' attribute only app…
7 void name_c() __attribute__((import_name("foo", "bar"))); //expected-error {{'import_name' attribut…
9 void name_d() __attribute__((import_name("foo", "bar", "qux"))); //expected-error {{'import_name' a…
11 void name_z() __attribute__((import_name("foo"))); //expected-note {{previous attribute is here}}
13 void name_z() __attribute__((import_name("bar"))); //expected-warning {{import name (bar) does not …
27 void both() __attribute__((import_name("foo"), import_module("bar")));
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/test/Sema/
H A Dattr-wasm.c3 void name_a() __attribute__((import_name)); //expected-error {{'import_name' attribute takes one ar…
5 int name_b __attribute__((import_name("foo"))); //expected-error {{'import_name' attribute only app…
7 void name_c() __attribute__((import_name("foo", "bar"))); //expected-error {{'import_name' attribut…
9 void name_d() __attribute__((import_name("foo", "bar", "qux"))); //expected-error {{'import_name' a…
11 void name_z() __attribute__((import_name("foo"))); //expected-note {{previous attribute is here}}
13 void name_z() __attribute__((import_name("bar"))); //expected-warning {{import name (bar) does not …
27 void both() __attribute__((import_name("foo"), import_module("bar")));
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/test/Sema/
H A Dattr-wasm.c3 void name_a() __attribute__((import_name)); //expected-error {{'import_name' attribute takes one ar…
5 int name_b __attribute__((import_name("foo"))); //expected-error {{'import_name' attribute only app…
7 void name_c() __attribute__((import_name("foo", "bar"))); //expected-error {{'import_name' attribut…
9 void name_d() __attribute__((import_name("foo", "bar", "qux"))); //expected-error {{'import_name' a…
11 void name_z() __attribute__((import_name("foo"))); //expected-note {{previous attribute is here}}
13 void name_z() __attribute__((import_name("bar"))); //expected-warning {{import name (bar) does not …
27 void both() __attribute__((import_name("foo"), import_module("bar")));
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/test/Sema/
H A Dattr-wasm.c3 void name_a() __attribute__((import_name)); //expected-error {{'import_name' attribute takes one ar…
5 int name_b __attribute__((import_name("foo"))); //expected-error {{'import_name' attribute only app…
7 void name_c() __attribute__((import_name("foo", "bar"))); //expected-error {{'import_name' attribut…
9 void name_d() __attribute__((import_name("foo", "bar", "qux"))); //expected-error {{'import_name' a…
11 void name_z() __attribute__((import_name("foo"))); //expected-note {{previous attribute is here}}
13 void name_z() __attribute__((import_name("bar"))); //expected-warning {{import name (bar) does not …
27 void both() __attribute__((import_name("foo"), import_module("bar")));
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/test/Sema/
H A Dattr-wasm.c3 void name_a() __attribute__((import_name)); //expected-error {{'import_name' attribute takes one ar…
5 int name_b __attribute__((import_name("foo"))); //expected-error {{'import_name' attribute only app…
7 void name_c() __attribute__((import_name("foo", "bar"))); //expected-error {{'import_name' attribut…
9 void name_d() __attribute__((import_name("foo", "bar", "qux"))); //expected-error {{'import_name' a…
11 void name_z() __attribute__((import_name("foo"))); //expected-note {{previous attribute is here}}
13 void name_z() __attribute__((import_name("bar"))); //expected-warning {{import name (bar) does not …
27 void both() __attribute__((import_name("foo"), import_module("bar")));
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/test/Sema/
H A Dattr-wasm.c3 void name_a() __attribute__((import_name)); //expected-error {{'import_name' attribute takes one ar…
5 int name_b __attribute__((import_name("foo"))); //expected-error {{'import_name' attribute only app…
7 void name_c() __attribute__((import_name("foo", "bar"))); //expected-error {{'import_name' attribut…
9 void name_d() __attribute__((import_name("foo", "bar", "qux"))); //expected-error {{'import_name' a…
11 void name_z() __attribute__((import_name("foo"))); //expected-note {{previous attribute is here}}
13 void name_z() __attribute__((import_name("bar"))); //expected-warning {{import name (bar) does not …
27 void both() __attribute__((import_name("foo"), import_module("bar")));
/dports/lang/clang-mesa/clang-13.0.1.src/test/Sema/
H A Dattr-wasm.c3 void name_a() __attribute__((import_name)); //expected-error {{'import_name' attribute takes one ar…
5 int name_b __attribute__((import_name("foo"))); //expected-error {{'import_name' attribute only app…
7 void name_c() __attribute__((import_name("foo", "bar"))); //expected-error {{'import_name' attribut…
9 void name_d() __attribute__((import_name("foo", "bar", "qux"))); //expected-error {{'import_name' a…
11 void name_z() __attribute__((import_name("foo"))); //expected-note {{previous attribute is here}}
13 void name_z() __attribute__((import_name("bar"))); //expected-warning {{import name (bar) does not …
27 void both() __attribute__((import_name("foo"), import_module("bar")));
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/test/Sema/
H A Dattr-wasm.c3 void name_a() __attribute__((import_name)); //expected-error {{'import_name' attribute takes one ar…
5 int name_b __attribute__((import_name("foo"))); //expected-error {{'import_name' attribute only app…
7 void name_c() __attribute__((import_name("foo", "bar"))); //expected-error {{'import_name' attribut…
9 void name_d() __attribute__((import_name("foo", "bar", "qux"))); //expected-error {{'import_name' a…
11 void name_z() __attribute__((import_name("foo"))); //expected-note {{previous attribute is here}}
13 void name_z() __attribute__((import_name("bar"))); //expected-warning {{import name (bar) does not …
27 void both() __attribute__((import_name("foo"), import_module("bar")));
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/test/Sema/
H A Dattr-wasm.c3 void name_a() __attribute__((import_name)); //expected-error {{'import_name' attribute takes one ar…
5 int name_b __attribute__((import_name("foo"))); //expected-error {{'import_name' attribute only app…
7 void name_c() __attribute__((import_name("foo", "bar"))); //expected-error {{'import_name' attribut…
9 void name_d() __attribute__((import_name("foo", "bar", "qux"))); //expected-error {{'import_name' a…
11 void name_z() __attribute__((import_name("foo"))); //expected-note {{previous attribute is here}}
13 void name_z() __attribute__((import_name("bar"))); //expected-warning {{import name (bar) does not …
27 void both() __attribute__((import_name("foo"), import_module("bar")));
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/test/Sema/
H A Dattr-wasm.c3 void name_a() __attribute__((import_name)); //expected-error {{'import_name' attribute takes one ar…
5 int name_b __attribute__((import_name("foo"))); //expected-error {{'import_name' attribute only app…
7 void name_c() __attribute__((import_name("foo", "bar"))); //expected-error {{'import_name' attribut…
9 void name_d() __attribute__((import_name("foo", "bar", "qux"))); //expected-error {{'import_name' a…
11 void name_z() __attribute__((import_name("foo"))); //expected-note {{previous attribute is here}}
13 void name_z() __attribute__((import_name("bar"))); //expected-warning {{import name (bar) does not …
27 void both() __attribute__((import_name("foo"), import_module("bar")));
/dports/graphics/py-plotly/plotly-4.14.3/_plotly_utils/
H A Dimporters.py23 def __getattr__(import_name): argument
27 if import_name in module_names:
28 rel_import = module_names[import_name]
32 if import_name in class_names:
33 rel_path_parts = class_names[import_name].split(".")
35 class_name = import_name
41 name=import_name, __name__=parent_name
/dports/devel/nuitka/Nuitka-0.6.17/nuitka/nodes/
H A DImportNodes.py187 import_node, import_name, trace_collection
260 % (self.module_name, self.import_name),
265 import_name=attribute_name,
294 def __init__(self, module_name, import_name, source_ref): argument
298 self.import_name = import_name
312 return self.import_name
746 def __init__(self, module, import_name, level, source_ref): argument
749 self.import_name = import_name
758 return self.import_name
769 import_name=self.import_name,
[all …]
/dports/devel/py-plan/plan-0.5/plan/testsuite/
H A D__init__.py68 def import_string(import_name): argument
74 assert isinstance(import_name, string_types)
75 if '.' in import_name:
76 module, obj = import_name.rsplit('.', 1)
78 return __import__(import_name)
84 def find_modules(import_name): argument
87 module = import_string(import_name)
90 raise ValueError('%s is not a package' % import_name)
/dports/devel/nuitka/Nuitka-0.6.17/nuitka/build/static_src/
H A DHelpersImport.c212 PyObject *IMPORT_NAME(PyObject *module, PyObject *import_name) { in IMPORT_NAME() argument
214 CHECK_OBJECT(import_name); in IMPORT_NAME()
216 PyObject *result = PyObject_GetAttr(module, import_name); in IMPORT_NAME()
236 … PyErr_Format(PyExc_ImportError, "cannot import name %s", Nuitka_String_AsString(import_name)); in IMPORT_NAME()
395 CHECK_OBJECT(import_name); in IMPORT_NAME_OR_MODULE()
397 PyObject *result = PyObject_GetAttr(module, import_name); in IMPORT_NAME_OR_MODULE()
416 PyTuple_SET_ITEM0(fromlist, 0, import_name); in IMPORT_NAME_OR_MODULE()
424 … PyObject *name = PyUnicode_FromFormat("%s.%S", PyModule_GetName(result), import_name); in IMPORT_NAME_OR_MODULE()
434 PyObject *name = resolveParentModuleName(module, import_name, level_int); in IMPORT_NAME_OR_MODULE()
456 result = IMPORT_NAME(module, import_name); in IMPORT_NAME_OR_MODULE()
[all …]
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/werkzeug/
H A Dutils.py527 def import_string(import_name, silent=False): argument
543 import_name = str(import_name).replace(":", ".")
546 __import__(import_name)
548 if "." not in import_name:
551 return sys.modules[import_name]
553 module_name, obj_name = import_name.rsplit(".", 1)
712 import_name = None variable in ImportStringError
716 def __init__(self, import_name, exception): argument
717 self.import_name = import_name
742 import_name,
[all …]
/dports/lang/python311/Python-3.11.0a3/Lib/test/test_importlib/
H A Dutil.py215 import_name = name
220 elif import_name == name:
223 package = import_name
229 if import_name != name:
231 self.modules[import_name] = module
232 if import_name in module_code:
233 self.module_code[import_name] = module_code[import_name]
364 import_name = name
367 import_names.add(import_name)
368 if import_name in sys.modules:
[all …]
/dports/www/moinmoin/moin-1.9.11/MoinMoin/support/werkzeug/
H A Dutils.py549 def import_string(import_name, silent=False): argument
565 import_name = str(import_name).replace(":", ".")
568 __import__(import_name)
570 if "." not in import_name:
573 return sys.modules[import_name]
575 module_name, obj_name = import_name.rsplit(".", 1)
734 import_name = None variable in ImportStringError
738 def __init__(self, import_name, exception): argument
739 self.import_name = import_name
764 import_name,
[all …]
/dports/www/node10/node-v10.24.1/deps/v8/src/ast/
H A Dmodules.cc15 void ModuleDescriptor::AddImport(const AstRawString* import_name, in AddImport() argument
23 entry->import_name = import_name; in AddImport()
54 void ModuleDescriptor::AddExport(const AstRawString* import_name, in AddExport() argument
60 DCHECK_NOT_NULL(import_name); in AddExport()
64 entry->import_name = import_name; in AddExport()
113 result->import_name = FromStringOrUndefined( in Deserialize()
202 DCHECK_NULL(entry->import_name); in MakeIndirectExportsExplicit()
204 DCHECK_NOT_NULL(import->second->import_name); in MakeIndirectExportsExplicit()
208 entry->import_name = import->second->import_name; in MakeIndirectExportsExplicit()
242 DCHECK_NULL(entry->import_name); in AssignCellIndices()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/v8/src/ast/
H A Dmodules.cc32 const AstRawString* import_name, const AstRawString* local_name, in AddImport() argument
37 entry->import_name = import_name; in AddImport()
67 const AstRawString* import_name, const AstRawString* export_name, in AddExport() argument
70 DCHECK_NOT_NULL(import_name); in AddExport()
74 entry->import_name = import_name; in AddExport()
103 ToStringOrUndefined(isolate, import_name), module_request, cell_index, in Serialize()
177 DCHECK_NULL(entry->import_name); in MakeIndirectExportsExplicit()
179 DCHECK_NOT_NULL(import->second->import_name); in MakeIndirectExportsExplicit()
183 entry->import_name = import->second->import_name; in MakeIndirectExportsExplicit()
217 DCHECK_NULL(entry->import_name); in AssignCellIndices()
[all …]
/dports/devel/py-jupyter-server/jupyter_server-1.12.1/jupyter_server/extension/
H A Dserverextension.py154 import_name, enabled=None, parent=None, user=False, sys_prefix=True argument
166 manager.enable(import_name)
168 manager.disable(import_name)
231 def toggle_server_extension(self, import_name): argument
248 self.log.info("{}: {}".format(self._toggle_pre_message.capitalize(), import_name))
251 self.log.info(" - Validating {}...".format(import_name))
253 extpkg = ExtensionPackage(name=import_name)
256 self.log.info(" {} {} {}".format(import_name, version, GREEN_OK))
261 config.enable(import_name)
263 config.disable(import_name)
/dports/lang/python39/Python-3.9.9/Python/
H A Ddynload_win.c58 unsigned char *dllbase, *import_data, *import_name; local
121 import_name = dllbase + DWORD_AT(import_data+12);
122 if (strlen(import_name) >= 6 &&
123 !strncmp(import_name,"python",6)) {
129 if (strcmp(import_name, "python3.dll") == 0) {
137 pch = import_name + 6;
153 return import_name;
/dports/lang/python310/Python-3.10.1/Python/
H A Ddynload_win.c58 unsigned char *dllbase, *import_data, *import_name; local
121 import_name = dllbase + DWORD_AT(import_data+12);
122 if (strlen(import_name) >= 6 &&
123 !strncmp(import_name,"python",6)) {
129 if (strcmp(import_name, "python3.dll") == 0) {
137 pch = import_name + 6;
153 return import_name;

12345678910>>...38