Home
last modified time | relevance | path

Searched refs:PyObject_IsInstance (Results 1 – 25 of 35) sorted by relevance

12

/external/python/cpython2/Python/
DPython-ast.c3330 isinstance = PyObject_IsInstance(obj, (PyObject*)Module_type); in obj2ast_mod()
3370 isinstance = PyObject_IsInstance(obj, (PyObject*)Interactive_type); in obj2ast_mod()
3410 isinstance = PyObject_IsInstance(obj, (PyObject*)Expression_type); in obj2ast_mod()
3433 isinstance = PyObject_IsInstance(obj, (PyObject*)Suite_type); in obj2ast_mod()
3519 isinstance = PyObject_IsInstance(obj, (PyObject*)FunctionDef_type); in obj2ast_stmt()
3616 isinstance = PyObject_IsInstance(obj, (PyObject*)ClassDef_type); in obj2ast_stmt()
3730 isinstance = PyObject_IsInstance(obj, (PyObject*)Return_type); in obj2ast_stmt()
3752 isinstance = PyObject_IsInstance(obj, (PyObject*)Delete_type); in obj2ast_stmt()
3792 isinstance = PyObject_IsInstance(obj, (PyObject*)Assign_type); in obj2ast_stmt()
3845 isinstance = PyObject_IsInstance(obj, (PyObject*)AugAssign_type); in obj2ast_stmt()
[all …]
D_warnings.c320 rc = PyObject_IsInstance(message, PyExc_Warning); in warn_explicit()
571 rc = PyObject_IsInstance(message, PyExc_Warning); in get_category()
/external/python/cpython3/Python/
DPython-ast.c3953 isinstance = PyObject_IsInstance(obj, (PyObject*)Module_type); in obj2ast_mod()
3994 isinstance = PyObject_IsInstance(obj, (PyObject*)Interactive_type); in obj2ast_mod()
4035 isinstance = PyObject_IsInstance(obj, (PyObject*)Expression_type); in obj2ast_mod()
4059 isinstance = PyObject_IsInstance(obj, (PyObject*)Suite_type); in obj2ast_mod()
4146 isinstance = PyObject_IsInstance(obj, (PyObject*)FunctionDef_type); in obj2ast_stmt()
4261 isinstance = PyObject_IsInstance(obj, (PyObject*)AsyncFunctionDef_type); in obj2ast_stmt()
4376 isinstance = PyObject_IsInstance(obj, (PyObject*)ClassDef_type); in obj2ast_stmt()
4525 isinstance = PyObject_IsInstance(obj, (PyObject*)Return_type); in obj2ast_stmt()
4549 isinstance = PyObject_IsInstance(obj, (PyObject*)Delete_type); in obj2ast_stmt()
4590 isinstance = PyObject_IsInstance(obj, (PyObject*)Assign_type); in obj2ast_stmt()
[all …]
D_warnings.c504 rc = PyObject_IsInstance(message, PyExc_Warning); in warn_explicit()
814 rc = PyObject_IsInstance(message, PyExc_Warning); in get_category()
Dbltinmodule.c2503 retval = PyObject_IsInstance(obj, class_or_tuple); in builtin_isinstance_impl()
/external/tensorflow/tensorflow/python/util/
Dutil.cc232 return PyObject_IsInstance(to_check, collections_mapping_type); in IsMappingHelper()
269 return PyObject_IsInstance(to_check, indexed_slices_type); in IsIndexedSlicesHelper()
289 return PyObject_IsInstance(to_check, tensor_type); in IsTensorHelper()
318 int is_instance = PyObject_IsInstance(to_check, collections_sequence_type); in IsSequenceHelper()
523 int is_instance = PyObject_IsInstance(to_check, composite_tensor_type); in IsCompositeTensorHelper()
872 PyObject_IsInstance(fields.get(), collections_sequence_type); in IsNamedtuple()
/external/python/cpython3/Misc/NEWS.d/
D3.5.0b2.rst17 Update uses of PyObject_IsTrue(), PyObject_Not(), PyObject_IsInstance(),
/external/python/cpython3/Modules/_ctypes/
D_ctypes.c701 int res = PyObject_IsInstance(value, type); in CDataType_from_param()
718 res = PyObject_IsInstance(ob, dict->proto); in CDataType_from_param()
1081 switch (PyObject_IsInstance(value, typedict->proto)) { in PyCPointerType_from_param()
1597 res = PyObject_IsInstance(value, type); in c_wchar_p_from_param()
1661 res = PyObject_IsInstance(value, type); in c_char_p_from_param()
1766 res = PyObject_IsInstance(value, type); in c_void_p_from_param()
2137 res = PyObject_IsInstance(value, type); in PyCSimpleType_from_param()
2936 err = PyObject_IsInstance(value, type); in _PyCData_set()
4939 int res = PyObject_IsInstance(value, stgdict->proto); in Pointer_set_contents()
/external/python/cpython2/Modules/_ctypes/
D_ctypes.c740 int res = PyObject_IsInstance(value, type); in CDataType_from_param()
757 res = PyObject_IsInstance(ob, dict->proto); in CDataType_from_param()
1125 switch (PyObject_IsInstance(value, typedict->proto)) { in PyCPointerType_from_param()
1657 res = PyObject_IsInstance(value, type); in c_wchar_p_from_param()
1725 res = PyObject_IsInstance(value, type); in c_char_p_from_param()
1833 res = PyObject_IsInstance(value, type); in c_void_p_from_param()
2229 res = PyObject_IsInstance(value, type); in PyCSimpleType_from_param()
3051 err = PyObject_IsInstance(value, type); in _PyCData_set()
5159 int res = PyObject_IsInstance(value, stgdict->proto); in Pointer_set_contents()
/external/python/cpython2/Include/
Dabstract.h1374 PyAPI_FUNC(int) PyObject_IsInstance(PyObject *object, PyObject *typeorclass);
/external/python/cpython3/Objects/
Dbytesobject.c1580 rc = PyObject_IsInstance((PyObject*)a, in bytes_richcompare()
1583 rc = PyObject_IsInstance((PyObject*)b, in bytes_richcompare()
1593 rc = PyObject_IsInstance((PyObject*)a, in bytes_richcompare()
1596 rc = PyObject_IsInstance((PyObject*)b, in bytes_richcompare()
Dbytearrayobject.c1019 rc = PyObject_IsInstance(self, (PyObject*)&PyUnicode_Type); in bytearray_richcompare()
1021 rc = PyObject_IsInstance(other, (PyObject*)&PyUnicode_Type); in bytearray_richcompare()
Dabstract.c2372 PyObject_IsInstance(PyObject *inst, PyObject *cls) in PyObject_IsInstance() function
2396 r = PyObject_IsInstance(inst, item); in PyObject_IsInstance()
/external/python/cpython2/Objects/
Dbytesobject.c1575 rc = PyObject_IsInstance((PyObject*)a, in bytes_richcompare()
1578 rc = PyObject_IsInstance((PyObject*)b, in bytes_richcompare()
1588 rc = PyObject_IsInstance((PyObject*)a, in bytes_richcompare()
1591 rc = PyObject_IsInstance((PyObject*)b, in bytes_richcompare()
Dbytearrayobject.c1052 rc = PyObject_IsInstance(self, (PyObject*)&PyUnicode_Type); in bytearray_richcompare()
1054 rc = PyObject_IsInstance(other, (PyObject*)&PyUnicode_Type); in bytearray_richcompare()
Dabstract.c2937 PyObject_IsInstance(PyObject *inst, PyObject *cls) function
2955 r = PyObject_IsInstance(inst, item);
/external/tensorflow/tensorflow/python/lib/core/
Dbfloat16.cc86 return PyObject_IsInstance(object, in PyBfloat16_Check()
Dpy_seq_tensor.cc33 return PyObject_IsInstance(obj, reinterpret_cast<PyObject*>(t)); in PyIsInstance()
/external/python/cpython3/Include/
Dabstract.h1080 PyAPI_FUNC(int) PyObject_IsInstance(PyObject *object, PyObject *typeorclass);
/external/python/cpython2/Doc/c-api/
Dobject.rst184 .. c:function:: int PyObject_IsInstance(PyObject *inst, PyObject *cls)
188 *cls* is a type object rather than a class object, :c:func:`PyObject_IsInstance`
/external/python/cpython3/PC/
Dpython3.def479 PyObject_IsInstance=python37.PyObject_IsInstance
/external/python/cpython2/PC/os2emx/
Dpython27.def175 "PyObject_IsInstance"
/external/python/cpython3/Doc/data/
Drefcounts.dat1685 PyObject_IsInstance:int:::
1686 PyObject_IsInstance:PyObject*:inst:0:
1687 PyObject_IsInstance:PyObject*:cls:0:
/external/python/cpython3/Doc/c-api/
Dobject.rst229 .. c:function:: int PyObject_IsInstance(PyObject *inst, PyObject *cls)
/external/python/cpython2/Misc/NEWS.d/
D2.7.11rc1.rst110 Update uses of PyObject_IsTrue(), PyObject_Not(), PyObject_IsInstance(),

12