Home
last modified time | relevance | path

Searched refs:PyObject_HasAttrString (Results 1 – 22 of 22) sorted by relevance

/external/python/cpython2/Python/
DPython-ast.c3337 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 …]
Derrors.c765 if (!PyObject_HasAttrString(v, "msg")) { in PyErr_SyntaxLocation()
775 if (!PyObject_HasAttrString(v, "print_file_and_line")) { in PyErr_SyntaxLocation()
D_warnings.c58 if (!PyObject_HasAttrString(warnings_module, attr)) in get_warnings_attr()
668 if (!PyObject_HasAttrString(loader, "get_source")) in warnings_warn_explicit()
Dpythonrun.c1235 PyObject_HasAttrString(value, "print_file_and_line")) in PyErr_Display()
Dimport.c2580 if (!PyObject_HasAttrString(mod, "__path__")) in ensure_fromlist()
/external/libxml2/python/
Dlibxml.c421 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 …]
Dtypes.c672 } 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/
Dmicroprotocols.c97 if (PyObject_HasAttrString(proto, "__adapt__")) { in pysqlite_microprotocols_adapt()
112 if (PyObject_HasAttrString(obj, "__conform__")) { in pysqlite_microprotocols_adapt()
/external/python/cpython2/Modules/_ctypes/
Dstgdict.c336 big_endian = PyObject_HasAttrString(type, "_swappedbytes_") ? 0 : 1; in PyCStructUnionType_update_stgdict()
338 big_endian = PyObject_HasAttrString(type, "_swappedbytes_") ? 1 : 0; in PyCStructUnionType_update_stgdict()
342 PyObject_HasAttrString(type, "_use_broken_old_ctypes_structure_semantics_"); in PyCStructUnionType_update_stgdict()
/external/python/cpython2/Modules/_io/
Diobase.c64 PyObject_HasAttrString(self, "__IOBase_closed")
460 if (PyObject_HasAttrString(self, "peek")) in iobase_readline()
/external/python/cpython2/PC/os2vacpp/
Dpython.def316 PyObject_HasAttrString
/external/python/cpython2/Mac/Modules/cf/
Dpycfbridge.c247 if (PyObject_HasAttrString(src, "CFType")) { in PyCF_Python2CF_simple()
/external/python/cpython2/Include/
Dobject.h473 PyAPI_FUNC(int) PyObject_HasAttrString(PyObject *, const char *);
/external/python/cpython2/Doc/data/
Drefcounts.dat985 PyObject_HasAttrString:int:::
986 PyObject_HasAttrString:PyObject*:o:0:
987 PyObject_HasAttrString:char*:attr_name:0:
/external/python/cpython2/PC/os2emx/
Dpython27.def469 "PyObject_HasAttrString"
/external/python/cpython2/Objects/
Dabstract.c1849 return PyObject_HasAttrString(s, "__getitem__");
2431 return PyObject_HasAttrString(o, "__getitem__");
Dobject.c1144 PyObject_HasAttrString(PyObject *v, const char *name) in PyObject_HasAttrString() function
Ddictobject.c1475 if (PyObject_HasAttrString(arg, "keys")) in dict_update_common()
/external/python/cpython2/Doc/c-api/
Dobject.rst24 .. c:function:: int PyObject_HasAttrString(PyObject *o, const char *attr_name)
/external/python/cpython2/Modules/
Ddatetimemodule.c2618 else if (PyObject_HasAttrString(other, "timetuple")) { in date_richcompare()
4286 if (PyObject_HasAttrString(other, "timetuple") && in datetime_richcompare()
Ditertoolsmodule.c662 if (!PyObject_HasAttrString(it, "__copy__")) { in tee()
DcPickle.c2475 if (! PyObject_HasAttrString(cls, "__new__")) { in save_reduce()