/external/python/cpython2/Python/ |
D | Python-ast.c | 3330 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.c | 320 rc = PyObject_IsInstance(message, PyExc_Warning); in warn_explicit() 571 rc = PyObject_IsInstance(message, PyExc_Warning); in get_category()
|
/external/python/cpython3/Python/ |
D | Python-ast.c | 3953 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.c | 504 rc = PyObject_IsInstance(message, PyExc_Warning); in warn_explicit() 814 rc = PyObject_IsInstance(message, PyExc_Warning); in get_category()
|
D | bltinmodule.c | 2503 retval = PyObject_IsInstance(obj, class_or_tuple); in builtin_isinstance_impl()
|
/external/tensorflow/tensorflow/python/util/ |
D | util.cc | 232 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/ |
D | 3.5.0b2.rst | 17 Update uses of PyObject_IsTrue(), PyObject_Not(), PyObject_IsInstance(),
|
/external/python/cpython3/Modules/_ctypes/ |
D | _ctypes.c | 701 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.c | 740 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/ |
D | abstract.h | 1374 PyAPI_FUNC(int) PyObject_IsInstance(PyObject *object, PyObject *typeorclass);
|
/external/python/cpython3/Objects/ |
D | bytesobject.c | 1580 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()
|
D | bytearrayobject.c | 1019 rc = PyObject_IsInstance(self, (PyObject*)&PyUnicode_Type); in bytearray_richcompare() 1021 rc = PyObject_IsInstance(other, (PyObject*)&PyUnicode_Type); in bytearray_richcompare()
|
D | abstract.c | 2372 PyObject_IsInstance(PyObject *inst, PyObject *cls) in PyObject_IsInstance() function 2396 r = PyObject_IsInstance(inst, item); in PyObject_IsInstance()
|
/external/python/cpython2/Objects/ |
D | bytesobject.c | 1575 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()
|
D | bytearrayobject.c | 1052 rc = PyObject_IsInstance(self, (PyObject*)&PyUnicode_Type); in bytearray_richcompare() 1054 rc = PyObject_IsInstance(other, (PyObject*)&PyUnicode_Type); in bytearray_richcompare()
|
D | abstract.c | 2937 PyObject_IsInstance(PyObject *inst, PyObject *cls) function 2955 r = PyObject_IsInstance(inst, item);
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | bfloat16.cc | 86 return PyObject_IsInstance(object, in PyBfloat16_Check()
|
D | py_seq_tensor.cc | 33 return PyObject_IsInstance(obj, reinterpret_cast<PyObject*>(t)); in PyIsInstance()
|
/external/python/cpython3/Include/ |
D | abstract.h | 1080 PyAPI_FUNC(int) PyObject_IsInstance(PyObject *object, PyObject *typeorclass);
|
/external/python/cpython2/Doc/c-api/ |
D | object.rst | 184 .. 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/ |
D | python3.def | 479 PyObject_IsInstance=python37.PyObject_IsInstance
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 175 "PyObject_IsInstance"
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 1685 PyObject_IsInstance:int::: 1686 PyObject_IsInstance:PyObject*:inst:0: 1687 PyObject_IsInstance:PyObject*:cls:0:
|
/external/python/cpython3/Doc/c-api/ |
D | object.rst | 229 .. c:function:: int PyObject_IsInstance(PyObject *inst, PyObject *cls)
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.11rc1.rst | 110 Update uses of PyObject_IsTrue(), PyObject_Not(), PyObject_IsInstance(),
|