Home
last modified time | relevance | path

Searched refs:PyObject_GetAttr (Results 1 – 25 of 48) sorted by relevance

12

/external/python/cpython3/Objects/
Dclassobject.c124 return PyObject_GetAttr(im->im_func, docstr); in method_get_doc()
157 return PyObject_GetAttr(im->im_func, name); in method_getattro()
442 return PyObject_GetAttr(PyInstanceMethod_GET_FUNCTION(self), docstr); in instancemethod_get_doc()
472 return PyObject_GetAttr(PyInstanceMethod_GET_FUNCTION(self), name); in instancemethod_getattro()
Dobject.c817 res = PyObject_GetAttr(v, w); in PyObject_GetAttrString()
874 result = PyObject_GetAttr(v, oname); in _PyObject_GetAttrId()
901 PyObject_GetAttr(PyObject *v, PyObject *name) in PyObject_GetAttr() function
1137 *method = PyObject_GetAttr(obj, name); in _PyObject_GetMethod()
/external/python/cpython2/Modules/
DcPickle.c921 global_name_attr = PyObject_GetAttr(module, global_name); in whichmodule()
2065 if (!( class = PyObject_GetAttr(args, __class___str))) in save_inst()
2073 if ((getinitargs_func = PyObject_GetAttr(args, __getinitargs___str))) { in save_inst()
2139 if ((getstate_func = PyObject_GetAttr(args, __getstate___str))) { in save_inst()
2150 if (!( state = PyObject_GetAttr(args, __dict___str))) { in save_inst()
2206 if (!( global_name = PyObject_GetAttr(args, __name___str))) in save_global()
2461 PyObject *temp = PyObject_GetAttr(callable, __name___str); in save_reduce()
2501 ob_dot_class = PyObject_GetAttr(ob, __class___str); in save_reduce()
2788 __reduce__ = PyObject_GetAttr(args, __reduce_ex___str); in save()
2807 __reduce__ = PyObject_GetAttr(args, __reduce___str); in save()
[all …]
Dxxsubtype.c246 res = PyObject_GetAttr(obj, name); in spam_bench()
Doperator.c677 newobj = PyObject_GetAttr(obj, str); in dotted_getattr()
848 method = PyObject_GetAttr(obj, mc->name); in methodcaller_call()
/external/python/cpython2/Modules/_ctypes/
Dstgdict.c213 fdescr = (CFieldObject *)PyObject_GetAttr(descr->proto, fname); in MakeFields()
284 CFieldObject *descr = (CFieldObject *)PyObject_GetAttr(type, fname); in MakeAnonFields()
/external/python/cpython3/Modules/
Dxxsubtype.c246 res = PyObject_GetAttr(obj, name); in spam_bench()
D_operator.c1262 newobj = PyObject_GetAttr(obj, attr_name); in dotted_getattr()
1271 newobj = PyObject_GetAttr(obj, attr); in dotted_getattr()
1534 method = PyObject_GetAttr(obj, mc->name); in methodcaller_call()
/external/python/cpython2/Modules/_io/
Diobase.c146 res = PyObject_GetAttr(self, _PyIO_str_closed); in iobase_closed()
221 res = PyObject_GetAttr(self, _PyIO_str_closed); in _PyIOBase_finalize()
Dbufferedio.c439 res = PyObject_GetAttr(self->raw, _PyIO_str_closed); in buffered_closed()
451 return PyObject_GetAttr(self->raw, _PyIO_str_closed); in buffered_closed_get()
2235 return PyObject_GetAttr((PyObject *) self->writer, _PyIO_str_closed); in bufferedrwpair_closed_get()
Dstringio.c820 return PyObject_GetAttr(self->decoder, _PyIO_str_newlines); in stringio_newlines()
/external/python/cpython3/Modules/_ctypes/
Dstgdict.c229 fdescr = (CFieldObject *)PyObject_GetAttr(descr->proto, fname); in MakeFields()
300 CFieldObject *descr = (CFieldObject *)PyObject_GetAttr(type, fname); in MakeAnonFields()
/external/python/cpython2/Objects/
Dabstract.c1579 PyObject *int_func = PyObject_GetAttr(integral, int_name);
1645 trunc_func = PyObject_GetAttr(o, trunc_name);
1740 trunc_func = PyObject_GetAttr(o, trunc_name);
2737 callable = PyObject_GetAttr(callable, name);
2817 bases = PyObject_GetAttr(cls, __bases__);
2903 PyObject *c = PyObject_GetAttr(inst, __class__);
2922 icls = PyObject_GetAttr(inst, __class__);
Dclassobject.c1471 coercefunc = PyObject_GetAttr(v, coerce_obj); in half_binop()
1558 coercefunc = PyObject_GetAttr(v, coerce_obj); in instance_coerce()
1685 cmp_func = PyObject_GetAttr(v, cmp_obj); in half_cmp()
2006 method = PyObject_GetAttr(v, name_op[op]); in half_richcompare()
2310 return PyObject_GetAttr(im->im_func, docstr); in instancemethod_get_doc()
2343 return PyObject_GetAttr(im->im_func, name); in instancemethod_getattro()
Dobject.c504 func = PyObject_GetAttr(v, unicodestr); in PyObject_Unicode()
1143 res = PyObject_GetAttr(v, w); in PyObject_GetAttrString()
1177 PyObject_GetAttr(PyObject *v, PyObject *name) in PyObject_GetAttr() function
1213 PyObject *res = PyObject_GetAttr(v, name); in PyObject_HasAttr()
/external/python/cpython2/PC/os2vacpp/
Dpython.def312 PyObject_GetAttr
/external/python/cpython2/Misc/NEWS.d/
D2.7.8.rst8 error set in PyObject_GetAttr.
/external/python/cpython3/Modules/_io/
Dbufferedio.c472 res = PyObject_GetAttr(self->raw, _PyIO_str_closed); in buffered_closed()
484 return PyObject_GetAttr(self->raw, _PyIO_str_closed); in buffered_closed_get()
2266 return PyObject_GetAttr((PyObject *) self->writer, _PyIO_str_closed); in bufferedrwpair_closed_get()
Dstringio.c966 return PyObject_GetAttr(self->decoder, _PyIO_str_newlines); in stringio_newlines()
/external/python/cpython3/Doc/c-api/
Dobject.rst38 To get error reporting use :c:func:`PyObject_GetAttr()` instead.
53 .. c:function:: PyObject* PyObject_GetAttr(PyObject *o, PyObject *attr_name)
/external/python/cpython3/PC/
Dpython3.def469 PyObject_GetAttr=python37.PyObject_GetAttr
/external/python/cpython2/Include/
Dobject.h474 PyAPI_FUNC(PyObject *) PyObject_GetAttr(PyObject *, PyObject *);
/external/python/cpython3/Include/
Dobject.h535 PyAPI_FUNC(PyObject *) PyObject_GetAttr(PyObject *, PyObject *);
/external/python/cpython2/Doc/data/
Drefcounts.dat966 PyObject_GetAttr:PyObject*::+1:
967 PyObject_GetAttr:PyObject*:o:0:
968 PyObject_GetAttr:PyObject*:attr_name:0:
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc1964 PyObject_GetAttr(cls, k_extensions_by_name)); in CheckAndGetInteger()
1969 ScopedPyObjectPtr full_name(PyObject_GetAttr(extension_handle, kfull_name)); in CheckAndGetInteger()
1995 PyObject_GetAttr(cls, k_extensions_by_number)); in CheckAndGetInteger()

12