Home
last modified time | relevance | path

Searched refs:qualname (Results 1 – 25 of 31) sorted by relevance

12

/external/python/cpython3/Include/
Dgenobject.h43 PyObject *name, PyObject *qualname);
62 PyObject *name, PyObject *qualname);
88 PyObject *name, PyObject *qualname);
Deval.h29 PyObject *name, PyObject *qualname);
/external/python/cpython3/Doc/c-api/
Dcoro.rst29 .. c:function:: PyObject* PyCoro_New(PyFrameObject *frame, PyObject *name, PyObject *qualname)
32 with ``__name__`` and ``__qualname__`` set to *name* and *qualname*.
Dgen.rst39 …unction:: PyObject* PyGen_NewWithQualName(PyFrameObject *frame, PyObject *name, PyObject *qualname)
42 with ``__name__`` and ``__qualname__`` set to *name* and *qualname*.
Dfunction.rst42 …ction:: PyObject* PyFunction_NewWithQualName(PyObject *code, PyObject *globals, PyObject *qualname)
45 ``__qualname__`` attribute. *qualname* should be a unicode object or ``NULL``;
/external/python/cpython3/Objects/
Dgenericaliasobject.c47 PyObject *qualname = NULL; in ga_repr_item() local
74 if (_PyObject_LookupAttrId(p, &PyId___qualname__, &qualname) < 0) { in ga_repr_item()
77 if (qualname == NULL) { in ga_repr_item()
92 r = PyObject_Str(qualname); in ga_repr_item()
96 r = PyUnicode_FromFormat("%S.%S", module, qualname); in ga_repr_item()
104 Py_XDECREF(qualname); in ga_repr_item()
Dgenobject.c782 PyObject *name, PyObject *qualname) in gen_new_with_qualname() argument
804 if (qualname != NULL) in gen_new_with_qualname()
805 gen->gi_qualname = qualname; in gen_new_with_qualname()
814 PyGen_NewWithQualName(PyFrameObject *f, PyObject *name, PyObject *qualname) in PyGen_NewWithQualName() argument
816 return gen_new_with_qualname(&PyGen_Type, f, name, qualname); in PyGen_NewWithQualName()
1139 PyCoro_New(PyFrameObject *f, PyObject *name, PyObject *qualname) in PyCoro_New() argument
1141 PyObject *coro = gen_new_with_qualname(&PyCoro_Type, f, name, qualname); in PyCoro_New()
1418 PyAsyncGen_New(PyFrameObject *f, PyObject *name, PyObject *qualname) in PyAsyncGen_New() argument
1422 &PyAsyncGen_Type, f, name, qualname); in PyAsyncGen_New()
Dfuncobject.c11 PyFunction_NewWithQualName(PyObject *code, PyObject *globals, PyObject *qualname) in PyFunction_NewWithQualName() argument
68 if (qualname) in PyFunction_NewWithQualName()
69 op->func_qualname = qualname; in PyFunction_NewWithQualName()
Dobject.c583 PyObject *qualname; in _PyObject_FunctionStr() local
584 int ret = _PyObject_LookupAttrId(x, &PyId___qualname__, &qualname); in _PyObject_FunctionStr()
585 if (qualname == NULL) { in _PyObject_FunctionStr()
605 result = PyUnicode_FromFormat("%S.%S()", module, qualname); in _PyObject_FunctionStr()
612 result = PyUnicode_FromFormat("%S()", qualname); in _PyObject_FunctionStr()
614 Py_DECREF(qualname); in _PyObject_FunctionStr()
Dcall.c382 PyObject *qualname = ((PyFunctionObject *)func) -> func_qualname; in _PyFunction_Vectorcall() local
402 closure, name, qualname); in _PyFunction_Vectorcall()
Dtypeobject.c2379 PyObject *qualname, *slots = NULL, *tmp, *newslots, *cell; in type_new() local
2660 qualname = _PyDict_GetItemIdWithError(dict, &PyId___qualname__); in type_new()
2661 if (qualname != NULL) { in type_new()
2662 if (!PyUnicode_Check(qualname)) { in type_new()
2665 Py_TYPE(qualname)->tp_name); in type_new()
2672 et->ht_qualname = qualname ? qualname : et->ht_name; in type_new()
2674 if (qualname != NULL && _PyDict_DelItemId(dict, &PyId___qualname__) < 0) in type_new()
/external/python/cpython3/Lib/
Denum.py289 def __call__(cls, value, names=None, *, module=None, qualname=None, type=None, start=1): argument
317 return cls._create_(value, names, module=module, qualname=qualname, type=type, start=start)
392 def _create_(cls, class_name, names, *, module=None, qualname=None, type=None, start=1): argument
440 if qualname is not None:
441 enum_class.__qualname__ = qualname
Dinspect.py780 def __init__(self, qualname): argument
782 self.qualname = qualname
795 if self.qualname == '.'.join(self.stack):
841 qualname = object.__qualname__
844 class_finder = _ClassFinder(qualname)
Dfunctools.py304 qualname = type(self).__qualname__
/external/python/pybind11/include/pybind11/detail/
Dclass.h600 auto qualname = name; in make_new_python_type() local
603 qualname = reinterpret_steal<object>( in make_new_python_type()
606 qualname = str(rec.scope.attr("__qualname__").cast<std::string>() + "." + rec.name); in make_new_python_type()
651 heap_type->ht_qualname = qualname.inc_ref().ptr(); in make_new_python_type()
702 PYBIND11_SET_OLDPY_QUALNAME(type, qualname); in make_new_python_type()
/external/python/cpython3/Include/internal/
Dpycore_ceval.h51 PyObject *name, PyObject *qualname);
/external/python/cpython3/Python/
Dcompile.c1901 compiler_make_closure(struct compiler *c, PyCodeObject *co, Py_ssize_t flags, PyObject *qualname) in compiler_make_closure() argument
1904 if (qualname == NULL) in compiler_make_closure()
1905 qualname = co->co_name; in compiler_make_closure()
1942 ADDOP_LOAD_CONST(c, qualname); in compiler_make_closure()
2207 PyObject *qualname, *docstring = NULL; in compiler_function() local
2282 qualname = c->u->u_qualname; in compiler_function()
2283 Py_INCREF(qualname); in compiler_function()
2286 Py_XDECREF(qualname); in compiler_function()
2291 compiler_make_closure(c, co, funcflags, qualname); in compiler_function()
2292 Py_DECREF(qualname); in compiler_function()
[all …]
Dceval.c3593 PyObject *qualname = POP(); in _PyEval_EvalFrameDefault() local
3596 PyFunction_NewWithQualName(codeobj, f->f_globals, qualname); in _PyEval_EvalFrameDefault()
3599 Py_DECREF(qualname); in _PyEval_EvalFrameDefault()
4081 PyObject *name, PyObject *qualname) in _PyEval_EvalCode() argument
4312 gen = PyCoro_New(f, name, qualname); in _PyEval_EvalCode()
4314 gen = PyAsyncGen_New(f, name, qualname); in _PyEval_EvalCode()
4316 gen = PyGen_NewWithQualName(f, name, qualname); in _PyEval_EvalCode()
4356 PyObject *name, PyObject *qualname) in _PyEval_EvalCodeWithName() argument
4365 name, qualname); in _PyEval_EvalCodeWithName()
/external/python/cpython2/Lib/plat-mac/
Dgensuitemodule.py865 qualname = '%s.%s'%(self.modulename, name)
867 qualname = name
868 return name, qualname, self.modulename
/external/python/cpython3/Doc/library/
Demail.contentmanager.rst61 * the type's qualname (``typ.__qualname__``)
Denum.rst518 >>> Animal = Enum('Animal', 'ANT BEE CAT DOG', qualname='SomeData.Animal')
522 …Enum(value='NewEnumName', names=<...>, *, module='...', qualname='...', type=<mixed-in class>, sta…
545 :qualname: where in module new Enum class can be found.
Dlogging.config.rst694 qualname=compiler.parser
702 ``qualname`` entry is the hierarchical channel name of the logger, that is to
/external/python/cpython3/Doc/data/
Drefcounts.dat934 PyFunction_NewWithQualName:PyObject*:qualname:+1:
960 PyGen_NewWithQualName:PyObject*:qualname:0:
968 PyCoro_New:PyObject*:qualname:0:
/external/python/cpython2/Doc/library/
Dlogging.config.rst642 qualname=compiler.parser
650 ``qualname`` entry is the hierarchical channel name of the logger, that is to
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_tasks.py48 def format_coroutine(qualname, state, src, source_traceback, generator=False): argument
56 % (qualname, state, src, frame[0], frame[1]))
58 return 'coro=<%s() %s at %s>' % (qualname, state, src)

12