Home
last modified time | relevance | path

Searched refs:PyLong_CheckExact (Results 1 – 25 of 36) sorted by relevance

12

/external/python/cpython2/Include/
Dintobject.h35 #define _PyAnyInt_CheckExact(op) (PyInt_CheckExact(op) || PyLong_CheckExact(op))
Dlongobject.h16 #define PyLong_CheckExact(op) (Py_TYPE(op) == &PyLong_Type) macro
/external/python/cpython3/Modules/_sqlite/
Dstatement.c126 if (PyLong_CheckExact(parameter)) { in pysqlite_statement_bind_parameter()
198 if (PyLong_CheckExact(obj) || PyFloat_CheckExact(obj) in _need_adapt()
/external/python/cpython3/Include/
Dlongobject.h16 #define PyLong_CheckExact(op) (Py_TYPE(op) == &PyLong_Type) macro
/external/libchrome/third_party/markupsafe/
D_speedups.c123 if (PyLong_CheckExact(text) || in escape()
/external/python/cpython3/Objects/
Drangeobject.c384 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()
Dabstract.c718 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()
Dframeobject.c98 if (!PyLong_CheckExact(p_new_lineno)) { in frame_setlineno()
Dcodeobject.c505 || PyLong_CheckExact(op) in _PyCode_ConstantKey()
Dlongobject.c150 if (PyLong_CheckExact(integral)) { in _PyLong_FromNbInt()
166 if (!result || PyLong_CheckExact(result)) in _PyLong_FromNbInt()
4559 if (PyLong_CheckExact(v)) in long_long()
/external/python/cpython2/Modules/_sqlite/
Dstatement.c123 } else if (PyLong_CheckExact(parameter)) { in pysqlite_statement_bind_parameter()
/external/python/cpython3/Python/
Dformatter_unicode.c944 && PyLong_CheckExact(value)) in format_long_internal()
1467 if (PyLong_CheckExact(obj)) in _PyLong_FormatAdvancedWriter()
Dbltinmodule.c2359 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()
D_warnings.c258 || !PyLong_CheckExact(version_obj) in already_warned()
/external/python/cpython3/Modules/
D_csv.c212 if (!PyLong_CheckExact(src)) { in _set_int()
1456 if (!PyLong_CheckExact(new_limit)) { in csv_field_size_limit()
D_cursesmodule.c244 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()
D_functoolsmodule.c757 if (PyUnicode_CheckExact(key) || PyLong_CheckExact(key)) { in lru_cache_make_key()
/external/python/cpython2/Doc/c-api/
Dlong.rst33 .. c:function:: int PyLong_CheckExact(PyObject *p)
/external/python/cpython3/Objects/stringlib/
Dunicode_format.h505 else if (PyLong_CheckExact(fieldobj)) in render_field()
/external/python/cpython2/Objects/stringlib/
Dstring_format.h586 else if (PyLong_CheckExact(fieldobj)) in render_field()
/external/python/cpython3/Doc/c-api/
Dlong.rst33 .. c:function:: int PyLong_CheckExact(PyObject *p)
/external/python/cpython3/PC/
D_msi.c631 } else if (PyLong_CheckExact(data)) { in summary_setproperty()
/external/python/cpython2/Objects/
Dlongobject.c3611 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()
Dintobject.c158 if (PyLong_CheckExact(op)) { in PyInt_AsLong()
/external/python/cpython2/Python/
Dmarshal.c254 else if (PyLong_CheckExact(v)) { in w_object()

12