/external/python/cpython2/Modules/ |
D | cgensupport.c | 44 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()
|
D | _randommodule.c | 234 if (PyInt_Check(arg) || PyLong_Check(arg)) in random_seed() 409 if (!PyInt_Check(n) && !PyLong_Check(n)) { in random_jumpahead()
|
D | dlmodule.c | 110 if (PyInt_Check(v)) in dl_call()
|
D | datetimemodule.c | 1198 assert(PyInt_Check(pyyear)); in wrap_strftime() 1804 if (PyInt_Check(right) || PyLong_Check(right)) in delta_multiply() 1808 else if (PyInt_Check(left) || PyLong_Check(left)) in delta_multiply() 1824 if (PyInt_Check(right) || PyLong_Check(right)) in delta_divide() 1853 if (PyInt_Check(num) || PyLong_Check(num)) { in accum() 1901 assert(PyInt_Check(factor) || PyLong_Check(factor)); in accum() 1902 if (PyInt_Check(factor)) in accum() 3965 if (PyInt_Check(p)) in datetime_strptime() 3975 if (good_timetuple && PyInt_Check(frac)) in datetime_strptime()
|
D | _struct.c | 113 if (!PyInt_Check(v) && !PyLong_Check(v)) { in get_pylong() 153 if (!PyInt_Check(v) && !PyLong_Check(v)) { in get_pylong() 172 assert(PyInt_Check(v) || PyLong_Check(v)); in get_pylong() 173 if (PyInt_Check(v)) { in get_pylong()
|
/external/python/cpython2/Objects/ |
D | intobject.c | 149 if (op && PyInt_Check(op)) in PyInt_AsLong() 161 if (!PyInt_Check(io)) { in PyInt_AsLong() 213 if (PyInt_Check(op)) in PyInt_AsSsize_t() 233 if (!PyInt_Check(io)) { in PyInt_AsSsize_t() 265 if (op && PyInt_Check(op)) in PyInt_AsUnsignedLongMask() 279 if (!PyInt_Check(io)) { in PyInt_AsUnsignedLongMask() 310 if (op && PyInt_Check(op)) in PyInt_AsUnsignedLongLongMask() 324 if (!PyInt_Check(io)) { in PyInt_AsUnsignedLongLongMask() 426 if (PyInt_Check(obj)) { \ 946 if (PyInt_Check(*pw)) { in int_coerce() [all …]
|
D | sliceobject.c | 110 if (!PyInt_Check(r->step) && !PyLong_Check(r->step)) return -1; in PySlice_GetIndices() 116 if (!PyInt_Check(r->start) && !PyLong_Check(r->step)) return -1; in PySlice_GetIndices() 123 if (!PyInt_Check(r->stop) && !PyLong_Check(r->step)) return -1; in PySlice_GetIndices()
|
D | longobject.c | 248 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 …]
|
D | abstract.c | 1495 if (PyInt_Check(item) || PyLong_Check(item)) { 1502 !PyInt_Check(result) && !PyLong_Check(result)) { 1577 if (integral && (!PyInt_Check(integral) && 1589 if (integral && (!PyInt_Check(integral) && 1635 if (res && (!PyInt_Check(res) && !PyLong_Check(res))) { 1644 if (PyInt_Check(o)) { /* An int subclass without nb_int */ 1727 if (PyInt_Check(res)) { 1753 if (int_instance && PyInt_Check(int_instance)) { 1828 else if (PyInt_Check(index))
|
D | complexobject.c | 497 if (PyInt_Check(obj)) { in to_complex() 759 if (PyInt_Check(*pw)) { in complex_coerce() 799 if (PyInt_Check(w) || PyLong_Check(w) || in complex_richcompare() 812 if (PyInt_Check(w) || PyLong_Check(w)) { in complex_richcompare()
|
D | enumobject.c | 34 assert(PyInt_Check(start) || PyLong_Check(start)); in enum_new()
|
D | floatobject.c | 315 if (PyInt_Check(obj)) { in convert_to_double() 432 if (PyInt_Check(w) || PyLong_Check(w)) in float_richcompare() 442 else if (PyInt_Check(w)) { in float_richcompare() 962 if (PyInt_Check(*pw)) { in float_coerce()
|
/external/brotli/python/ |
D | _brotli.cc | 11 #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/tensorflow/tensorflow/python/lib/core/ |
D | py_seq_tensor.cc | 48 return PyInt_Check(obj) || PyLong_Check(obj) || in IsPyInt() 218 if (TF_PREDICT_TRUE(PyInt_Check(v))) { in ConvertOneInt64() 247 if (TF_PREDICT_TRUE(PyInt_Check(v))) { in ConvertOneInt32() 285 if (PyInt_Check(v)) { in ConvertOneFloat()
|
/external/python/cpython2/RISCOS/Modules/ |
D | drawfmodule.c | 175 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()
|
D | swimodule.c | 83 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/python/cpython2/Include/ |
D | intobject.h | 30 #define PyInt_Check(op) \ macro
|
/external/tensorflow/tensorflow/python/ |
D | pywrap_tfe.i | 156 if (!PyInt_Check($input)) {
|
/external/protobuf/python/google/protobuf/pyext/ |
D | repeated_composite_container.cc | 52 #define PyInt_Check PyLong_Check macro 275 } else if (PyInt_Check(slice) || PyLong_Check(slice)) { in AssignSubscript()
|
D | repeated_scalar_container.cc | 298 if (PyInt_Check(slice)) { in Subscript() 450 if (PyInt_Check(slice)) { in AssSubscript()
|
/external/python/cpython2/Modules/cjkcodecs/ |
D | multibytecodec.c | 313 !(PyInt_Check(PyTuple_GET_ITEM(retobj, 1)) || in multibytecodec_encerror() 433 !(PyInt_Check(PyTuple_GET_ITEM(retobj, 1)) || in multibytecodec_decerror() 1352 else if (PyInt_Check(sizeobj)) in mbstreamreader_read() 1373 else if (PyInt_Check(sizeobj)) in mbstreamreader_readline() 1394 else if (PyInt_Check(sizehintobj)) in mbstreamreader_readlines()
|
/external/python/cpython2/Modules/_sqlite/ |
D | row.c | 92 if (PyInt_Check(idx)) { in pysqlite_row_subscript()
|
/external/tensorflow/tensorflow/python/platform/ |
D | base.i | 172 if (PyInt_Check($input)) {
|
/external/python/cpython2/Python/ |
D | traceback.c | 270 if (limitv && PyInt_Check(limitv)) { in PyTraceBack_Print()
|
D | symtable.c | 312 assert(PyInt_Check(v)); in PyST_GetScope() 459 assert(PyInt_Check(v)); in analyze_cells() 537 assert(PyInt_Check(v)); in update_symbols() 540 assert(w && PyInt_Check(w)); in update_symbols()
|