Home
last modified time | relevance | path

Searched refs:PyInt_Check (Results 1 – 25 of 77) sorted by relevance

1234

/external/python/cpython2/Modules/
Dcgensupport.c44 if (args == NULL || !PyInt_Check(args)) { in PyArg_GetLong()
71 else if (PyInt_Check(v)) { in extractdouble()
92 else if (PyInt_Check(v)) { in extractfloat()
184 if (!PyInt_Check(w)) { in PyArg_GetLongArray()
197 if (!PyInt_Check(w)) { in PyArg_GetLongArray()
221 if (!PyInt_Check(w)) { in PyArg_GetShortArray()
234 if (!PyInt_Check(w)) { in PyArg_GetShortArray()
Dalmodule.c101 if (!PyInt_Check(item)) { in python2elem()
108 if (PyInt_Check(item)) in python2elem()
118 if (PyInt_Check(item)) in python2elem()
1188 if (!PyInt_Check(v)) { in alp_getstatus()
1430 if (!PyInt_Check(item)) { in al_GetParams()
1879 if (!PyInt_Check(v)) { in doParams()
D_randommodule.c236 if (PyInt_Check(arg)) { in random_seed()
/external/python/cpython2/Include/
Dintobject.h30 #define PyInt_Check(op) \ macro
34 #define _PyAnyInt_Check(op) (PyInt_Check(op) || PyLong_Check(op))
/external/python/cpython2/Objects/
Dintobject.c149 if (op && PyInt_Check(op)) in PyInt_AsLong()
166 if (!PyInt_Check(io)) { in PyInt_AsLong()
216 if (PyInt_Check(op)) in PyInt_AsSsize_t()
236 if (!PyInt_Check(io)) { in PyInt_AsSsize_t()
268 if (op && PyInt_Check(op)) in PyInt_AsUnsignedLongMask()
282 if (!PyInt_Check(io)) { in PyInt_AsUnsignedLongMask()
313 if (op && PyInt_Check(op)) in PyInt_AsUnsignedLongLongMask()
327 if (!PyInt_Check(io)) { in PyInt_AsUnsignedLongLongMask()
429 if (PyInt_Check(obj)) { \
949 if (PyInt_Check(*pw)) { in int_coerce()
[all …]
Dlongobject.c248 if(PyInt_Check(vv)) in PyLong_AsLongAndOverflow()
263 if(PyInt_Check(vv)) { in PyLong_AsLongAndOverflow()
416 if (vv != NULL && PyInt_Check(vv)) { in PyLong_AsUnsignedLong()
461 if (vv != NULL && PyInt_Check(vv)) in PyLong_AsUnsignedLongMask()
804 if (PyInt_Check(vv)) in PyLong_AsVoidPtr()
820 if (PyInt_Check(vv)) in PyLong_AsVoidPtr()
952 if (PyInt_Check(vv)) in PyLong_AsLongLong()
962 if (PyInt_Check(io)) { in PyLong_AsLongLong()
1066 if (PyInt_Check(vv)) in PyLong_AsLongLongAndOverflow()
1081 if(PyInt_Check(vv)) { in PyLong_AsLongLongAndOverflow()
[all …]
/external/brotli/python/
D_brotli.cc11 #define PyInt_Check PyLong_Check macro
27 if (!PyInt_Check(o)) { in mode_convertor()
49 if (!PyInt_Check(o)) { in quality_convertor()
63 if (!PyInt_Check(o)) { in lgwin_convertor()
77 if (!PyInt_Check(o)) { in lgblock_convertor()
/external/llvm-project/lldb/tools/intel-features/scripts/
Dpython-typemaps.txt5 if (PyInt_Check($input)) {
/external/tensorflow/tensorflow/python/lib/core/
Dpy_seq_tensor.cc56 return PyInt_Check(obj) || PyLong_Check(obj) || in IsPyInt()
330 if (TF_PREDICT_TRUE(PyInt_Check(v))) { in ConvertScalar()
370 if (TF_PREDICT_TRUE(PyInt_Check(v))) { in ConvertScalar()
408 if (TF_PREDICT_TRUE(PyInt_Check(v))) { in ConvertScalar()
470 if (PyInt_Check(v)) { in ConvertOneFloat()
/external/python/cpython2/RISCOS/Modules/
Ddrawfmodule.c175 for(i=0;i<n;i++) if(!PyInt_Check(PyList_GetItem(pl,i))) size+=4; in DrawF_Path()
202 if(PyInt_Check(p)) in DrawF_Path()
337 if(m<0||!PyInt_Check(key)) return NULL; in DrawF_FontTable()
435 if(!PyInt_Check(par)) in SetWord()
444 if(!PyInt_Check(par)) in SetWord()
Dswimodule.c83 if(!PyInt_Check(q)) goto fail; in PyBlock_New()
251 if(!PyInt_Check(v)) in block_ass_item()
272 if(!PyInt_Check(q)) goto fail; in block_ass_slice()
/external/llvm-project/lldb/bindings/python/
Dpython-typemaps.swig93 if (!PyInt_Check($input)) {
129 if (!PyInt_Check($input)) {
201 if (PyInt_Check($input)) {
255 if (PyInt_Check(obj))
/external/python/cpython2/Modules/_sqlite/
Drow.c92 if (PyInt_Check(idx)) { in pysqlite_row_subscript()
Dstatement.c133 } else if (PyInt_Check(parameter)) { in pysqlite_statement_bind_parameter()
/external/python/cpython2/Python/
Dtraceback.c270 if (limitv && PyInt_Check(limitv)) { in PyTraceBack_Print()
Dsymtable.c314 assert(PyInt_Check(v)); in PyST_GetScope()
461 assert(PyInt_Check(v)); in analyze_cells()
539 assert(PyInt_Check(v)); in update_symbols()
542 assert(w && PyInt_Check(w)); in update_symbols()
Dmactoolboxglue.c318 if (PyInt_Check(v)) { in PyMac_Getwide()
/external/protobuf/python/google/protobuf/pyext/
Drepeated_scalar_container.cc286 if (PyInt_Check(slice)) { in Subscript()
444 if (PyInt_Check(slice)) { in Subscript()
/external/python/cpython2/Mac/Modules/cf/
Dpycfbridge.c261 if (PyInt_Check(src)) { in PyCF_Python2CF_simple()
/external/python/cpython2/Modules/_ctypes/
Dctypes.h18 #define PyIndex_Check(ob) PyInt_Check(ob)
/external/python/cpython2/Doc/c-api/
Dint.rst24 .. c:function:: int PyInt_Check(PyObject *o)
/external/libnl/python/netlink/
Dcapi.i628 if (resobj && PyInt_Check(resobj)) in nl_recv_msg_handler()
664 if (resobj && PyInt_Check(resobj)) in nl_recv_err_handler()
/external/python/cffi/c/
Dcdlopen.c198 if (PyInt_Check(o)) { in ffiobj_init()
/external/tensorflow/tensorflow/python/framework/
Dop_def_util.cc32 #define PY_INT_CHECK(x) (PyInt_Check(x))
/external/python/cpython2/Modules/cjkcodecs/
Dmultibytecodec.c1350 else if (PyInt_Check(sizeobj)) in mbstreamreader_read()
1371 else if (PyInt_Check(sizeobj)) in mbstreamreader_readline()
1392 else if (PyInt_Check(sizehintobj)) in mbstreamreader_readlines()

1234