Home
last modified time | relevance | path

Searched refs:PyObject_GetAttr (Results 1 - 25 of 44) sorted by relevance

12

/third_party/python/Objects/
H A Dclassobject.c135 PyObject *funcname = PyObject_GetAttr(func, &_Py_ID(__name__)); in method___reduce___impl()
170 return PyObject_GetAttr(im->im_func, &_Py_ID(__doc__)); in method_get_doc()
203 return PyObject_GetAttr(im->im_func, name); in method_getattro()
389 return PyObject_GetAttr(PyInstanceMethod_GET_FUNCTION(self), in instancemethod_get_doc()
420 return PyObject_GetAttr(PyInstanceMethod_GET_FUNCTION(self), name); in instancemethod_getattro()
H A Dmoduleobject.c721 PyObject *value = PyObject_GetAttr(spec, &_Py_ID(_initializing)); in _PyModuleSpec_IsInitializing()
744 PyObject *value = PyObject_GetAttr(spec, &_Py_ID(_uninitialized_submodules)); in _PyModuleSpec_IsUninitializedSubmodule()
853 PyObject *dict = PyObject_GetAttr(self, &_Py_ID(__dict__)); in module_dir()
883 PyObject *dict = PyObject_GetAttr((PyObject *)m, &_Py_ID(__dict__)); in module_get_annotations()
921 PyObject *dict = PyObject_GetAttr((PyObject *)m, &_Py_ID(__dict__)); in module_set_annotations()
H A Dfileobject.c125 writer = PyObject_GetAttr(f, &_Py_ID(write)); in PyFile_WriteObject()
H A Dunionobject.c357 return PyObject_GetAttr((PyObject *) Py_TYPE(alias), name); in union_getattro()
H A Dobject.c801 res = PyObject_GetAttr(v, w); in PyObject_GetAttrString()
858 result = PyObject_GetAttr(v, oname); in _PyObject_GetAttrId()
904 PyObject_GetAttr(PyObject *v, PyObject *name) in PyObject_GetAttr() function
1164 *method = PyObject_GetAttr(obj, name); in _PyObject_GetMethod()
H A Dmethodobject.c230 type_qualname = PyObject_GetAttr(type, &_Py_ID(__qualname__)); in meth_get__qualname__()
H A Dfuncobject.c804 PyObject *value = PyObject_GetAttr(wrapped, name); in functools_copy_attr()
H A Dgenericaliasobject.c618 return PyObject_GetAttr(alias->origin, name); in ga_getattro()
H A Dcall.c670 PyObject *callable = PyObject_GetAttr(obj, name); in _PyObject_CallMethod()
H A Dweakrefobject.c471 WRAP_BINARY(proxy_getattr, PyObject_GetAttr)
/third_party/python/Python/
H A Dpythonrun.c200 oenc = PyObject_GetAttr(v, &_Py_ID(encoding)); in PyRun_InteractiveOneObjectEx()
509 *message = PyObject_GetAttr(err, &_Py_ID(msg)); in parse_syntax_error()
513 v = PyObject_GetAttr(err, &_Py_ID(filename)); in parse_syntax_error()
526 v = PyObject_GetAttr(err, &_Py_ID(lineno)); in parse_syntax_error()
535 v = PyObject_GetAttr(err, &_Py_ID(offset)); in parse_syntax_error()
550 v = PyObject_GetAttr(err, &_Py_ID(end_lineno)); in parse_syntax_error()
566 v = PyObject_GetAttr(err, &_Py_ID(end_offset)); in parse_syntax_error()
587 v = PyObject_GetAttr(err, &_Py_ID(text)); in parse_syntax_error()
721 PyObject *code = PyObject_GetAttr(value, &_Py_ID(code)); in _Py_HandleSystemExit()
1031 PyObject *modulename = PyObject_GetAttr(typ in print_exception_message()
[all...]
H A Dbltinmodule.c1134 result = PyObject_GetAttr(v, name); in builtin_getattr()
2167 stdin_encoding = PyObject_GetAttr(fin, &_Py_ID(encoding)); in builtin_input_impl()
2168 stdin_errors = PyObject_GetAttr(fin, &_Py_ID(errors)); in builtin_input_impl()
2188 stdout_encoding = PyObject_GetAttr(fout, &_Py_ID(encoding)); in builtin_input_impl()
2189 stdout_errors = PyObject_GetAttr(fout, &_Py_ID(errors)); in builtin_input_impl()
2386 callable = PyObject_GetAttr(newlist, &_Py_ID(sort)); in builtin_sorted()
H A Dimport.c74 PyObject *zipimporter = PyObject_GetAttr(zipimport, &_Py_ID(zipimporter)); in _PyImportZip_Init()
348 spec = PyObject_GetAttr(mod, &_Py_ID(__spec__)); in import_ensure_initialized()
1576 PyObject *parent = PyObject_GetAttr(spec, &_Py_ID(parent)); in resolve_name()
1595 package = PyObject_GetAttr(spec, &_Py_ID(parent)); in resolve_name()
2017 import = PyObject_GetAttr(builtins, &_Py_ID(__import__)); in PyImport_Import()
2644 PyObject *result = PyObject_GetAttr(mod, attrname); in _PyImport_GetModuleAttr()
H A Dtraceback.c339 open = PyObject_GetAttr(io, &_Py_ID(open)); in _Py_FindSourceFile()
/third_party/python/Modules/
H A D_abc.c118 PyObject *impl = PyObject_GetAttr(self, &_Py_ID(_abc_impl)); in _get_impl()
307 ns = PyObject_GetAttr(self, &_Py_ID(__dict__)); in compute_abstract_methods()
351 bases = PyObject_GetAttr(self, &_Py_ID(__bases__)); in compute_abstract_methods()
590 subclass = PyObject_GetAttr(instance, &_Py_ID(__class__)); in _abc__abc_instancecheck_impl()
H A Dxxsubtype.c247 res = PyObject_GetAttr(obj, name); in spam_bench()
H A D_operator.c1364 newobj = PyObject_GetAttr(obj, attr_name); in dotted_getattr()
1373 newobj = PyObject_GetAttr(obj, attr); in dotted_getattr()
1654 method = PyObject_GetAttr(obj, mc->name); in methodcaller_call()
1766 partial = PyObject_GetAttr(functools, &_Py_ID(partial)); in methodcaller_reduce()
/third_party/python/Modules/_io/
H A Dbufferedio.c455 res = PyObject_GetAttr(self->raw, &_Py_ID(closed)); in buffered_closed()
467 return PyObject_GetAttr(self->raw, &_Py_ID(closed)); in buffered_closed_get()
571 return PyObject_GetAttr(self->raw, &_Py_ID(name)); in buffered_name_get()
578 return PyObject_GetAttr(self->raw, &_Py_ID(mode)); in buffered_mode_get()
2152 func = PyObject_GetAttr((PyObject *)self, name); in _forward_call()
2256 return PyObject_GetAttr((PyObject *) self->writer, &_Py_ID(closed));
H A D_iomodule.c366 blksize_obj = PyObject_GetAttr(raw, &_Py_ID(_blksize)); in _io_open_impl()
H A Dstringio.c967 return PyObject_GetAttr(self->decoder, &_Py_ID(newlines)); in stringio_newlines()
/third_party/python/Modules/_ctypes/
H A Dstgdict.c239 fdescr = (CFieldObject *)PyObject_GetAttr(descr->proto, fname); in MakeFields()
312 CFieldObject *descr = (CFieldObject *)PyObject_GetAttr(type, fname); in MakeAnonFields()
/third_party/python/Include/
H A Dobject.h292 PyAPI_FUNC(PyObject *) PyObject_GetAttr(PyObject *, PyObject *);
/third_party/alsa-lib/modules/mixer/simple/
H A Dpython.c97 o = PyObject_GetAttr(obj, InternFromString(attr)); in get_C_ptr()
121 obj = PyObject_GetAttr(obj, InternFromString(attr)); in pcall()
/third_party/python/PC/
H A Dpython3dll.c460 EXPORT_FUNC(PyObject_GetAttr)
/third_party/python/Objects/stringlib/
H A Dunicode_format.h153 newobj = PyObject_GetAttr(obj, str); in getattr()

Completed in 39 milliseconds

12