Home
last modified time | relevance | path

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

123

/external/tensorflow/tensorflow/python/framework/
Dpython_tensor_converter_wrapper.cc43 return Safe_PyObjectPtr(PyObject_GetAttr(eager_context, attr)); in GetAttr_ThreadLocalData()
48 return Safe_PyObjectPtr(PyObject_GetAttr(eager_context, attr)); in GetAttr_ContextHandle()
53 return Safe_PyObjectPtr(PyObject_GetAttr(tld, attr)); in GetAttr_IsEager()
58 return Safe_PyObjectPtr(PyObject_GetAttr(tld, attr)); in GetAttr_DeviceName()
63 return Safe_PyObjectPtr(PyObject_GetAttr(dtype, attr)); in GetAttr_TypeEnum()
Dpython_tensor_converter.cc43 Safe_PyObjectPtr py_dtype(PyObject_GetAttr(tensor, dtype_attr)); in DataTypeForTensor()
46 Safe_PyObjectPtr enum_field(PyObject_GetAttr(py_dtype.get(), type_enum_attr)); in DataTypeForTensor()
Dpython_api_dispatcher.cc45 return Safe_PyObjectPtr(PyObject_GetAttr(obj, attr)); in GetAttr_TFDispatch()
Dpython_api_parameter_converter.cc57 return Safe_PyObjectPtr(PyObject_GetAttr(dtype, attr)); in GetAttr_TypeEnum()
63 return Safe_PyObjectPtr(PyObject_GetAttr(tensor, attr)); in GetAttr_DType()
/external/python/cpython3/Objects/
Dclassobject.c168 return PyObject_GetAttr(im->im_func, docstr); in method_get_doc()
201 return PyObject_GetAttr(im->im_func, name); in method_getattro()
416 return PyObject_GetAttr(PyInstanceMethod_GET_FUNCTION(self), docstr); in instancemethod_get_doc()
446 return PyObject_GetAttr(PyInstanceMethod_GET_FUNCTION(self), name); in instancemethod_getattro()
Dobject.c795 res = PyObject_GetAttr(v, w); in PyObject_GetAttrString()
852 result = PyObject_GetAttr(v, oname); in _PyObject_GetAttrId()
879 PyObject_GetAttr(PyObject *v, PyObject *name) in PyObject_GetAttr() function
1098 *method = PyObject_GetAttr(obj, name); in _PyObject_GetMethod()
Dgenericaliasobject.c418 return PyObject_GetAttr(alias->origin, name); in ga_getattro()
/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/cpython3/Modules/
Dxxsubtype.c246 res = PyObject_GetAttr(obj, name); in spam_bench()
D_operator.c1293 newobj = PyObject_GetAttr(obj, attr_name); in dotted_getattr()
1302 newobj = PyObject_GetAttr(obj, attr); in dotted_getattr()
1567 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/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()
/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/markupsafe/src/markupsafe/
D_speedups.c206 html = PyObject_GetAttr(text ,id_html); in escape()
/external/python/cpython2/PC/os2vacpp/
Dpython.def312 PyObject_GetAttr
/external/python/cpython3/Modules/_ctypes/
Dstgdict.c229 fdescr = (CFieldObject *)PyObject_GetAttr(descr->proto, fname); in MakeFields()
302 CFieldObject *descr = (CFieldObject *)PyObject_GetAttr(type, fname); in MakeAnonFields()
/external/python/cpython3/Include/
Dobject.h250 PyAPI_FUNC(PyObject *) PyObject_GetAttr(PyObject *, PyObject *);
/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/cpython2/Misc/NEWS.d/
D2.7.8.rst8 error set in PyObject_GetAttr.
/external/python/cpython3/Modules/_io/
Dbufferedio.c470 res = PyObject_GetAttr(self->raw, _PyIO_str_closed); in buffered_closed()
482 return PyObject_GetAttr(self->raw, _PyIO_str_closed); in buffered_closed_get()
2261 return PyObject_GetAttr((PyObject *) self->writer, _PyIO_str_closed); in bufferedrwpair_closed_get()

123