Home
last modified time | relevance | path

Searched refs:PyNumber_Check (Results 1 – 19 of 19) sorted by relevance

/external/python/cpython2/Modules/_io/
Dbytesio.c239 if (PyNumber_Check(arg)) { in bytesio_read()
308 if (PyNumber_Check(arg)) { in bytesio_readline()
354 if (PyNumber_Check(arg)) { in bytesio_readlines()
446 if (PyNumber_Check(arg)) { in bytesio_truncate()
Dstringio.c225 if (PyNumber_Check(arg)) { in stringio_read()
299 if (PyNumber_Check(arg)) { in stringio_readline()
367 if (PyNumber_Check(arg)) { in stringio_truncate()
D_iomodule.c317 !PyNumber_Check(file)) { in io_open()
602 else if (PyNumber_Check(obj)) { in _PyIO_ConvertSsize_t()
Dtextio.c1862 if (!PyNumber_Check(limitobj)) { in textiowrapper_readline()
/external/python/cpython2/PC/os2vacpp/
Dpython.def279 PyNumber_Check
/external/python/cpython2/Modules/
Dselectmodule.c216 else if (!PyNumber_Check(tout)) { in select_select()
518 else if (!PyNumber_Check(tout)) { in poll_poll()
1563 else if (PyNumber_Check(otimeout)) { in kqueue_queue_control()
Doperator.c88 spami(isNumberType , PyNumber_Check) in spami()
D_csv.c1191 quoted = !PyNumber_Check(field); in csv_writerow()
Ditertoolsmodule.c3284 if ((long_cnt != NULL && !PyNumber_Check(long_cnt)) || in count_new()
3285 (long_step != NULL && !PyNumber_Check(long_step))) { in count_new()
/external/python/cpython2/Include/
Dabstract.h650 PyAPI_FUNC(int) PyNumber_Check(PyObject *o);
/external/python/cpython2/Objects/
Dobject.c786 if (PyNumber_Check(v)) in default_3way_compare()
790 if (PyNumber_Check(w)) in default_3way_compare()
Dabstract.c129 rv = PyNumber_Check(ro) ? PyInt_AsSsize_t(ro) : defaultvalue; in _PyObject_LengthHint()
883 PyNumber_Check(PyObject *o) function
Dbytearrayobject.c639 if (PyNumber_Check(values) || PyUnicode_Check(values)) { in bytearray_ass_subscript()
Dstringobject.c4507 if (PyNumber_Check(v)) { in PyString_Format()
Dunicodeobject.c8632 if (PyNumber_Check(v)) { in PyUnicode_Format()
/external/python/cpython2/PC/os2emx/
Dpython27.def130 "PyNumber_Check"
/external/python/cpython2/Doc/c-api/
Dnumber.rst9 .. c:function:: int PyNumber_Check(PyObject *o)
/external/python/cpython2/Doc/data/
Drefcounts.dat783 PyNumber_Check:PyObject*:o:0:
784 PyNumber_Check:int:::
/external/python/cpython2/Misc/
DHISTORY4854 - PyNumber_Check() now checks that the object has a nb_int or nb_float
5772 - PyNumber_Check() now returns true for string and unicode objects.
5775 PyNumber_Check() is not very useful to determine numeric behavior.