Home
last modified time | relevance | path

Searched refs:fromlist (Results 1 – 20 of 20) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dimputil.py86 def _import_hook(self, fqname, globals=None, locals=None, fromlist=None): argument
96 module = parent.__importer__._do_import(parent, parts, fromlist)
113 if not fromlist:
135 return importer._finish_import(top_module, parts[1:], fromlist)
139 if fromlist:
228 def _finish_import(self, top, parts, fromlist): argument
234 if not fromlist:
258 self._import_fromlist(bottom, fromlist)
333 def _import_fromlist(self, package, fromlist): argument
338 if '*' in fromlist:
[all …]
Dmodulefinder.py123 def import_hook(self, name, caller=None, fromlist=None, level=-1): argument
124 self.msg(3, "import_hook", name, caller, fromlist, level)
128 if not fromlist:
131 self.ensure_fromlist(m, fromlist)
211 def ensure_fromlist(self, m, fromlist, recursive=0): argument
212 self.msg(4, "ensure_fromlist", m, fromlist, recursive)
213 for sub in fromlist:
317 def _safe_import_hook(self, name, caller, fromlist, level=-1): argument
328 if fromlist:
329 for sub in fromlist:
[all …]
Ddifflib.py1825 fromlist,tolist = [],[]
1826 self._split_line(fromlist,fromline,fromtext)
1830 while fromlist or tolist:
1831 if fromlist:
1832 fromdata = fromlist.pop(0)
1848 fromlist,tolist,flaglist = [],[],[]
1853 fromlist.append(self._format_line(0,flag,*fromdata))
1857 fromlist.append(None)
1860 return fromlist,tolist,flaglist
1896 def _convert_flags(self,fromlist,tolist,flaglist,context,numlines): argument
[all …]
Dihooks.py362 def import_module(self, name, globals={}, locals={}, fromlist=[]): argument
404 def import_module(self, name, globals=None, locals=None, fromlist=None, argument
409 if not fromlist:
412 self.ensure_fromlist(m, fromlist)
493 def ensure_fromlist(self, m, fromlist, recursive=0): argument
494 for sub in fromlist:
Drexec.py338 def r_import(self, mname, globals={}, locals={}, fromlist=[]): argument
347 return self.importer.import_module(mname, globals, locals, fromlist)
Dmhlib.py323 s.fromlist(seq)
839 def fromlist(self, list): member in IntSet
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/
DVec.py29 def fromlist(cls, v): member in Vec
49 return Vec.fromlist(v)
54 return Vec.fromlist(v)
59 return Vec.fromlist(v)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dmodulefinder.py123 def import_hook(self, name, caller=None, fromlist=None, level=-1): argument
124 self.msg(3, "import_hook", name, caller, fromlist, level)
128 if not fromlist:
131 self.ensure_fromlist(m, fromlist)
211 def ensure_fromlist(self, m, fromlist, recursive=0): argument
212 self.msg(4, "ensure_fromlist", m, fromlist, recursive)
213 for sub in fromlist:
317 def _safe_import_hook(self, name, caller, fromlist, level=-1): argument
328 if fromlist:
329 for sub in fromlist:
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dimport.h19 PyObject *globals, PyObject *locals, PyObject *fromlist, int level);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dimport.h19 PyObject *globals, PyObject *locals, PyObject *fromlist, int level);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/
D__init__.py99 mod = __import__('encodings.' + modname, fromlist=_import_tail,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/encodings/
D__init__.py99 mod = __import__('encodings.' + modname, fromlist=_import_tail,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dimport.c2196 static int ensure_fromlist(PyObject *mod, PyObject *fromlist,
2204 PyObject *fromlist, int level) in import_module_level() argument
2255 if (fromlist != NULL) { in import_module_level()
2256 int b = (fromlist == Py_None) ? 0 : PyObject_IsTrue(fromlist); in import_module_level()
2263 fromlist = NULL; in import_module_level()
2266 if (fromlist == NULL) { in import_module_level()
2273 if (!ensure_fromlist(tail, fromlist, buf, buflen, 0)) { in import_module_level()
2288 PyObject *fromlist, int level) in PyImport_ImportModuleLevel() argument
2292 result = import_module_level(name, globals, locals, fromlist, level); in PyImport_ImportModuleLevel()
2555 ensure_fromlist(PyObject *mod, PyObject *fromlist, char *buf, Py_ssize_t buflen, in ensure_fromlist() argument
[all …]
Dbltinmodule.c43 PyObject *fromlist = NULL; in builtin___import__() local
47 kwlist, &name, &globals, &locals, &fromlist, &level)) in builtin___import__()
50 fromlist, level); in builtin___import__()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Python/
Dimport.c2111 static int ensure_fromlist(PyObject *mod, PyObject *fromlist, in find_module()
2119 PyObject *fromlist, int level) in find_module()
2166 if (fromlist != NULL) { in find_module()
2167 if (fromlist == Py_None || !PyObject_IsTrue(fromlist)) in find_module()
2168 fromlist = NULL; in find_module()
2171 if (fromlist == NULL) { in find_module()
2177 if (!ensure_fromlist(tail, fromlist, buf, buflen, 0)) { in find_module()
2187 PyObject *fromlist, int level) in find_module()
2191 result = import_module_level(name, globals, locals, fromlist, level); in find_module()
2454 ensure_fromlist(PyObject *mod, PyObject *fromlist, char *buf, Py_ssize_t buflen, in find_module()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dimport.c2111 static int ensure_fromlist(PyObject *mod, PyObject *fromlist, in find_module()
2119 PyObject *fromlist, int level) in find_module()
2166 if (fromlist != NULL) { in find_module()
2167 if (fromlist == Py_None || !PyObject_IsTrue(fromlist)) in find_module()
2168 fromlist = NULL; in find_module()
2171 if (fromlist == NULL) { in find_module()
2177 if (!ensure_fromlist(tail, fromlist, buf, buflen, 0)) { in find_module()
2187 PyObject *fromlist, int level) in find_module()
2191 result = import_module_level(name, globals, locals, fromlist, level); in find_module()
2454 ensure_fromlist(PyObject *mod, PyObject *fromlist, char *buf, Py_ssize_t buflen, in find_module()
[all …]
Dbltinmodule.c43 PyObject *fromlist = NULL; in builtin___import__() local
47 kwlist, &name, &globals, &locals, &fromlist, &level)) in builtin___import__()
50 fromlist, level); in builtin___import__()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/PatchPcdValue/
DPatchPcdValue.py199 ByteArray.fromlist(ByteList)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_array.py225 self.assertRaises(TypeError, b.fromlist)
226 self.assertRaises(TypeError, b.fromlist, 42)
227 self.assertRaises(TypeError, b.fromlist, [None])
228 b.fromlist(a.tolist())
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/
Dpycodegen.py922 fromlist = tuple(name for (name, alias) in node.names)
925 self.emit('LOAD_CONST', fromlist)