Home
last modified time | relevance | path

Searched refs:_PyAnyInt_Check (Results 1 – 25 of 33) sorted by relevance

12

/external/python/cpython2/Objects/
Dsliceobject.c110 if (!_PyAnyInt_Check(r->step)) return -1; in PySlice_GetIndices()
116 if (!_PyAnyInt_Check(r->start)) return -1; in PySlice_GetIndices()
123 if (!_PyAnyInt_Check(r->stop)) return -1; in PySlice_GetIndices()
Denumobject.c34 assert(_PyAnyInt_Check(start)); in enum_new()
Dabstract.c1495 if (_PyAnyInt_Check(item)) {
1501 if (result && !_PyAnyInt_Check(result)) {
1576 if (integral && !_PyAnyInt_Check(integral)) {
1587 if (integral && !_PyAnyInt_Check(integral)) {
1632 if (res && !_PyAnyInt_Check(res)) {
Dcomplexobject.c799 if (_PyAnyInt_Check(w) || in complex_richcompare()
812 if (_PyAnyInt_Check(w)) { in complex_richcompare()
Dfloatobject.c431 if (_PyAnyInt_Check(w)) in float_richcompare()
Dclassobject.c1012 if (_PyAnyInt_Check(res)) in instance_hash()
/external/python/cpython2/Include/
Dintobject.h34 #define _PyAnyInt_Check(op) (PyInt_Check(op) || PyLong_Check(op)) macro
/external/python/cpython2/Modules/
Ddlmodule.c110 if (_PyAnyInt_Check(v)) { in dl_call()
Dsvmodule.c689 if (!_PyAnyInt_Check(cell)) { in sv_LoadMap()
760 if (!_PyAnyInt_Check(v)) { in doParams()
D_struct.c113 if (!_PyAnyInt_Check(v)) { in get_pylong()
153 if (!_PyAnyInt_Check(v)) { in get_pylong()
172 assert(_PyAnyInt_Check(v)); in get_pylong()
D_randommodule.c418 if (!_PyAnyInt_Check(n)) { in random_jumpahead()
Dtermios.c188 else if (_PyAnyInt_Check(v)) { in termios_tcsetattr()
D_csv.c227 if (!_PyAnyInt_Check(src)) { in _set_int()
1447 if (!_PyAnyInt_Check(new_limit)) { in csv_field_size_limit()
D_cursesmodule.c197 if (_PyAnyInt_Check(obj)) { in PyCurses_ConvertToChtype()
2606 if (_PyAnyInt_Check(temp)) { in PyCurses_UnCtrl()
2631 if (_PyAnyInt_Check(temp)) { in PyCurses_UngetCh()
Ddatetimemodule.c1806 if (_PyAnyInt_Check(right)) in delta_multiply()
1810 else if (_PyAnyInt_Check(left)) in delta_multiply()
1826 if (_PyAnyInt_Check(right)) in delta_divide()
1855 if (_PyAnyInt_Check(num)) { in accum()
D_json.c1984 else if (_PyAnyInt_Check(obj)) { in encoder_listencode_obj()
2134 else if (_PyAnyInt_Check(key)) { in encoder_listencode_dict()
Dmathmodule.c1191 if (_PyAnyInt_Check(oexp)) { in math_ldexp()
D_elementtree.c1350 if (_PyAnyInt_Check(item)) {
1407 if (_PyAnyInt_Check(item)) {
D_sre.c3330 if (_PyAnyInt_Check(index)) in match_getindex()
3338 if (_PyAnyInt_Check(index)) in match_getindex()
/external/python/cpython2/Modules/_ctypes/
Dcfield.c1364 } else if (_PyAnyInt_Check(value)) { in z_set()
1413 } else if (_PyAnyInt_Check(value)) { in Z_set()
1568 if (!_PyAnyInt_Check(value)) { in P_set()
D_ctypes.c550 if (!_PyAnyInt_Check(value)) { in CDataType_from_address()
694 if (!_PyAnyInt_Check(obj)) { in CDataType_in_dll()
1782 if (_PyAnyInt_Check(value)) { in c_void_p_from_param()
3422 if (_PyAnyInt_Check(obj)) { in _get_name()
3472 if (!_PyAnyInt_Check(obj)) { in PyCFuncPtr_FromDll()
3603 && _PyAnyInt_Check(PyTuple_GET_ITEM(args, 0))) { in PyCFuncPtr_new()
/external/python/cpython2/PC/
D_winreg.c644 else if (_PyAnyInt_Check(ob)) { in PyHKEY_AsHKEY()
756 if (value != Py_None && !_PyAnyInt_Check(value)) in Py2Reg()
/external/python/cpython2/Modules/cjkcodecs/
Dmultibytecodec.c313 !_PyAnyInt_Check(PyTuple_GET_ITEM(retobj, 1))) { in multibytecodec_encerror()
432 !_PyAnyInt_Check(PyTuple_GET_ITEM(retobj, 1))) { in multibytecodec_decerror()
/external/python/cpython2/Python/
Dbltinmodule.c1783 if (_PyAnyInt_Check(arg)) { in get_range_long_argument()
1798 if (_PyAnyInt_Check(v)) in get_range_long_argument()
Dpythonrun.c1139 if (_PyAnyInt_Check(value)) in handle_system_exit()

12