Searched refs:PyLong_CheckExact (Results 1 – 25 of 36) sorted by relevance
12
35 #define _PyAnyInt_CheckExact(op) (PyInt_CheckExact(op) || PyLong_CheckExact(op))
16 #define PyLong_CheckExact(op) (Py_TYPE(op) == &PyLong_Type) macro
126 if (PyLong_CheckExact(parameter)) { in pysqlite_statement_bind_parameter()198 if (PyLong_CheckExact(obj) || PyFloat_CheckExact(obj) in _need_adapt()
123 if (PyLong_CheckExact(text) || in escape()
384 if (PyLong_CheckExact(ob) || PyBool_Check(ob)) in range_contains()515 if (PyLong_CheckExact(ob) || PyBool_Check(ob)) { in range_count()534 if (!PyLong_CheckExact(ob) && !PyBool_Check(ob)) { in range_index()
718 if (PyLong_CheckExact(obj)) { in PyObject_Format()1273 if (!result || PyLong_CheckExact(result)) in PyNumber_Index()1354 if (PyLong_CheckExact(o)) { in PyNumber_Long()1361 if (result != NULL && !PyLong_CheckExact(result)) { in PyNumber_Long()1370 if (result == NULL || PyLong_CheckExact(result)) { in PyNumber_Long()1389 if (result != NULL && !PyLong_CheckExact(result)) { in PyNumber_Long()
98 if (!PyLong_CheckExact(p_new_lineno)) { in frame_setlineno()
505 || PyLong_CheckExact(op) in _PyCode_ConstantKey()
150 if (PyLong_CheckExact(integral)) { in _PyLong_FromNbInt()166 if (!result || PyLong_CheckExact(result)) in _PyLong_FromNbInt()4559 if (PyLong_CheckExact(v)) in long_long()
123 } else if (PyLong_CheckExact(parameter)) { in pysqlite_statement_bind_parameter()
944 && PyLong_CheckExact(value)) in format_long_internal()1467 if (PyLong_CheckExact(obj)) in _PyLong_FormatAdvancedWriter()
2359 if (PyLong_CheckExact(result)) { in builtin_sum_impl()2375 if (PyLong_CheckExact(item)) { in builtin_sum_impl()2421 if (PyLong_CheckExact(item)) { in builtin_sum_impl()
258 || !PyLong_CheckExact(version_obj) in already_warned()
212 if (!PyLong_CheckExact(src)) { in _set_int()1456 if (!PyLong_CheckExact(new_limit)) { in csv_field_size_limit()
244 else if (PyLong_CheckExact(obj)) { in PyCurses_ConvertToChtype()309 else if (PyLong_CheckExact(obj)) { in PyCurses_ConvertToCchar_t()3131 else if (PyLong_CheckExact(obj)) { in PyCurses_ConvertToWchar_t()
757 if (PyUnicode_CheckExact(key) || PyLong_CheckExact(key)) { in lru_cache_make_key()
33 .. c:function:: int PyLong_CheckExact(PyObject *p)
505 else if (PyLong_CheckExact(fieldobj)) in render_field()
586 else if (PyLong_CheckExact(fieldobj)) in render_field()
631 } else if (PyLong_CheckExact(data)) { in summary_setproperty()
3611 if (Py_SIZE(v) == 0 && PyLong_CheckExact(v)) { in long_neg()3955 if (PyLong_CheckExact(v)) in long_long()3970 if (PyLong_CheckExact(v)) { in long_int()
158 if (PyLong_CheckExact(op)) { in PyInt_AsLong()
254 else if (PyLong_CheckExact(v)) { in w_object()