/external/python/cpython2/Python/ |
D | Python-ast.c | 3337 if (PyObject_HasAttrString(obj, "body")) { in obj2ast_mod() 3377 if (PyObject_HasAttrString(obj, "body")) { in obj2ast_mod() 3417 if (PyObject_HasAttrString(obj, "body")) { in obj2ast_mod() 3440 if (PyObject_HasAttrString(obj, "body")) { in obj2ast_mod() 3495 if (PyObject_HasAttrString(obj, "lineno")) { in obj2ast_stmt() 3507 if (PyObject_HasAttrString(obj, "col_offset")) { in obj2ast_stmt() 3529 if (PyObject_HasAttrString(obj, "name")) { in obj2ast_stmt() 3541 if (PyObject_HasAttrString(obj, "args")) { in obj2ast_stmt() 3553 if (PyObject_HasAttrString(obj, "body")) { in obj2ast_stmt() 3582 if (PyObject_HasAttrString(obj, "decorator_list")) { in obj2ast_stmt() [all …]
|
D | errors.c | 765 if (!PyObject_HasAttrString(v, "msg")) { in PyErr_SyntaxLocation() 775 if (!PyObject_HasAttrString(v, "print_file_and_line")) { in PyErr_SyntaxLocation()
|
D | _warnings.c | 58 if (!PyObject_HasAttrString(warnings_module, attr)) in get_warnings_attr() 674 if (!PyObject_HasAttrString(loader, "get_source")) in warnings_warn_explicit()
|
D | pythonrun.c | 1244 PyObject_HasAttrString(value, "print_file_and_line")) in PyErr_Display()
|
/external/libxml2/python/ |
D | libxml.c | 421 if (PyObject_HasAttrString(file, (char *) "io_write")) { in xmlPythonFileWrite() 424 } else if (PyObject_HasAttrString(file, (char *) "write")) { in xmlPythonFileWrite() 460 if (PyObject_HasAttrString(file, (char *) "io_close")) { in xmlPythonFileClose() 462 } else if (PyObject_HasAttrString(file, (char *) "flush")) { in xmlPythonFileClose() 731 if (PyObject_HasAttrString(ret, (char *) "read")) { in pythonExternalEntityLoader() 903 if (PyObject_HasAttrString(handler, (char *) "startElement")) in pythonStartElement() 905 else if (PyObject_HasAttrString(handler, (char *) "start")) in pythonStartElement() 957 if (PyObject_HasAttrString(handler, (char *) "startDocument")) { in pythonStartDocument() 976 if (PyObject_HasAttrString(handler, (char *) "endDocument")) { in pythonEndDocument() 999 if (PyObject_HasAttrString(handler, (char *) "endElement")) { in pythonEndElement() [all …]
|
D | types.c | 672 } else if ((PyObject_HasAttrString(node, (char *) "_o")) && in libxml_xmlXPathObjectPtrConvert() 673 (PyObject_HasAttrString(node, (char *) "get_doc"))) { in libxml_xmlXPathObjectPtrConvert()
|
/external/python/cpython2/Modules/_sqlite/ |
D | microprotocols.c | 97 if (PyObject_HasAttrString(proto, "__adapt__")) { in pysqlite_microprotocols_adapt() 112 if (PyObject_HasAttrString(obj, "__conform__")) { in pysqlite_microprotocols_adapt()
|
/external/python/cpython3/Modules/_sqlite/ |
D | microprotocols.c | 97 if (PyObject_HasAttrString(proto, "__adapt__")) { in pysqlite_microprotocols_adapt() 114 if (PyObject_HasAttrString(obj, "__conform__")) { in pysqlite_microprotocols_adapt()
|
/external/tensorflow/tensorflow/compiler/xla/python/ |
D | numpy_bridge.cc | 309 if (!PyObject_HasAttrString(o, attr_name.c_str())) { in GetAttrAsString() 326 if (!PyObject_HasAttrString(o, attr_name.c_str())) { in GetAttrAsInt32() 588 if (!PyObject_HasAttrString(o, attr_name)) { in HandleStringAttribute() 626 if (!PyObject_HasAttrString(o, attr_name)) { in HandleBoolAttribute()
|
/external/python/cpython2/Modules/_ctypes/ |
D | stgdict.c | 344 big_endian = PyObject_HasAttrString(type, "_swappedbytes_") ? 0 : 1; in PyCStructUnionType_update_stgdict() 346 big_endian = PyObject_HasAttrString(type, "_swappedbytes_") ? 1 : 0; in PyCStructUnionType_update_stgdict() 350 PyObject_HasAttrString(type, "_use_broken_old_ctypes_structure_semantics_"); in PyCStructUnionType_update_stgdict()
|
/external/python/cpython3/Modules/_ctypes/ |
D | stgdict.c | 360 big_endian = PyObject_HasAttrString(type, "_swappedbytes_") ? 0 : 1; in PyCStructUnionType_update_stgdict() 362 big_endian = PyObject_HasAttrString(type, "_swappedbytes_") ? 1 : 0; in PyCStructUnionType_update_stgdict() 366 PyObject_HasAttrString(type, "_use_broken_old_ctypes_structure_semantics_"); in PyCStructUnionType_update_stgdict()
|
/external/python/cpython2/Modules/_io/ |
D | iobase.c | 64 PyObject_HasAttrString(self, "__IOBase_closed") 468 if (PyObject_HasAttrString(self, "peek")) in iobase_readline()
|
/external/python/cpython2/PC/os2vacpp/ |
D | python.def | 316 PyObject_HasAttrString
|
/external/tensorflow/tensorflow/python/util/ |
D | util.cc | 244 return PyObject_HasAttrString(cls.get(), "__attrs_attrs__"); in IsAttrsHelper() 865 int has_fields = PyObject_HasAttrString(o, "_fields"); in IsNamedtuple()
|
/external/python/cpython2/Mac/Modules/cf/ |
D | pycfbridge.c | 247 if (PyObject_HasAttrString(src, "CFType")) { in PyCF_Python2CF_simple()
|
/external/python/cpython3/PC/ |
D | python3.def | 474 PyObject_HasAttrString=python37.PyObject_HasAttrString
|
/external/python/cpython2/Include/ |
D | object.h | 473 PyAPI_FUNC(int) PyObject_HasAttrString(PyObject *, const char *);
|
/external/python/cpython3/Include/ |
D | object.h | 534 PyAPI_FUNC(int) PyObject_HasAttrString(PyObject *, const char *);
|
/external/python/cpython2/Doc/data/ |
D | refcounts.dat | 985 PyObject_HasAttrString:int::: 986 PyObject_HasAttrString:PyObject*:o:0: 987 PyObject_HasAttrString:char*:attr_name:0:
|
/external/tensorflow/tensorflow/python/client/ |
D | tf_session.i | 347 DCHECK(PyObject_HasAttrString($input, "status"))
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 469 "PyObject_HasAttrString"
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 1675 PyObject_HasAttrString:int::: 1676 PyObject_HasAttrString:PyObject*:o:0: 1677 PyObject_HasAttrString:const char*:attr_name::
|
/external/python/cpython2/Objects/ |
D | abstract.c | 1846 return PyObject_HasAttrString(s, "__getitem__"); 2428 return PyObject_HasAttrString(o, "__getitem__");
|
/external/python/cpython3/Doc/c-api/ |
D | object.rst | 41 .. c:function:: int PyObject_HasAttrString(PyObject *o, const char *attr_name)
|
/external/python/cpython2/Doc/c-api/ |
D | object.rst | 24 .. c:function:: int PyObject_HasAttrString(PyObject *o, const char *attr_name)
|