• Home
  • Raw
  • Download

Lines Matching refs:overflow

129     int overflow;  in _testlimitedcapi_test_long_and_overflow_impl()  local
136 overflow = 1234; in _testlimitedcapi_test_long_and_overflow_impl()
137 value = PyLong_AsLongAndOverflow(num, &overflow); in _testlimitedcapi_test_long_and_overflow_impl()
144 if (overflow != 1) in _testlimitedcapi_test_long_and_overflow_impl()
163 overflow = 0; in _testlimitedcapi_test_long_and_overflow_impl()
164 value = PyLong_AsLongAndOverflow(num, &overflow); in _testlimitedcapi_test_long_and_overflow_impl()
171 if (overflow != 1) in _testlimitedcapi_test_long_and_overflow_impl()
180 overflow = 1234; in _testlimitedcapi_test_long_and_overflow_impl()
181 value = PyLong_AsLongAndOverflow(num, &overflow); in _testlimitedcapi_test_long_and_overflow_impl()
188 if (overflow != -1) in _testlimitedcapi_test_long_and_overflow_impl()
206 overflow = 0; in _testlimitedcapi_test_long_and_overflow_impl()
207 value = PyLong_AsLongAndOverflow(num, &overflow); in _testlimitedcapi_test_long_and_overflow_impl()
214 if (overflow != -1) in _testlimitedcapi_test_long_and_overflow_impl()
222 overflow = 1234; in _testlimitedcapi_test_long_and_overflow_impl()
223 value = PyLong_AsLongAndOverflow(num, &overflow); in _testlimitedcapi_test_long_and_overflow_impl()
230 if (overflow != 0) in _testlimitedcapi_test_long_and_overflow_impl()
237 overflow = 0; in _testlimitedcapi_test_long_and_overflow_impl()
238 value = PyLong_AsLongAndOverflow(num, &overflow); in _testlimitedcapi_test_long_and_overflow_impl()
245 if (overflow != 0) in _testlimitedcapi_test_long_and_overflow_impl()
252 overflow = 1234; in _testlimitedcapi_test_long_and_overflow_impl()
253 value = PyLong_AsLongAndOverflow(num, &overflow); in _testlimitedcapi_test_long_and_overflow_impl()
260 if (overflow != 0) in _testlimitedcapi_test_long_and_overflow_impl()
267 overflow = 0; in _testlimitedcapi_test_long_and_overflow_impl()
268 value = PyLong_AsLongAndOverflow(num, &overflow); in _testlimitedcapi_test_long_and_overflow_impl()
275 if (overflow != 0) in _testlimitedcapi_test_long_and_overflow_impl()
297 int overflow; in _testlimitedcapi_test_long_long_and_overflow_impl() local
304 overflow = 1234; in _testlimitedcapi_test_long_long_and_overflow_impl()
305 value = PyLong_AsLongLongAndOverflow(num, &overflow); in _testlimitedcapi_test_long_long_and_overflow_impl()
312 if (overflow != 1) in _testlimitedcapi_test_long_long_and_overflow_impl()
330 overflow = 0; in _testlimitedcapi_test_long_long_and_overflow_impl()
331 value = PyLong_AsLongLongAndOverflow(num, &overflow); in _testlimitedcapi_test_long_long_and_overflow_impl()
338 if (overflow != 1) in _testlimitedcapi_test_long_long_and_overflow_impl()
347 overflow = 1234; in _testlimitedcapi_test_long_long_and_overflow_impl()
348 value = PyLong_AsLongLongAndOverflow(num, &overflow); in _testlimitedcapi_test_long_long_and_overflow_impl()
355 if (overflow != -1) in _testlimitedcapi_test_long_long_and_overflow_impl()
373 overflow = 0; in _testlimitedcapi_test_long_long_and_overflow_impl()
374 value = PyLong_AsLongLongAndOverflow(num, &overflow); in _testlimitedcapi_test_long_long_and_overflow_impl()
381 if (overflow != -1) in _testlimitedcapi_test_long_long_and_overflow_impl()
389 overflow = 1234; in _testlimitedcapi_test_long_long_and_overflow_impl()
390 value = PyLong_AsLongLongAndOverflow(num, &overflow); in _testlimitedcapi_test_long_long_and_overflow_impl()
397 if (overflow != 0) in _testlimitedcapi_test_long_long_and_overflow_impl()
404 overflow = 0; in _testlimitedcapi_test_long_long_and_overflow_impl()
405 value = PyLong_AsLongLongAndOverflow(num, &overflow); in _testlimitedcapi_test_long_long_and_overflow_impl()
412 if (overflow != 0) in _testlimitedcapi_test_long_long_and_overflow_impl()
419 overflow = 1234; in _testlimitedcapi_test_long_long_and_overflow_impl()
420 value = PyLong_AsLongLongAndOverflow(num, &overflow); in _testlimitedcapi_test_long_long_and_overflow_impl()
427 if (overflow != 0) in _testlimitedcapi_test_long_long_and_overflow_impl()
434 overflow = 0; in _testlimitedcapi_test_long_long_and_overflow_impl()
435 value = PyLong_AsLongLongAndOverflow(num, &overflow); in _testlimitedcapi_test_long_long_and_overflow_impl()
442 if (overflow != 0) in _testlimitedcapi_test_long_long_and_overflow_impl()
625 int overflow = UNINITIALIZED_INT; in pylong_aslongandoverflow() local
626 long value = PyLong_AsLongAndOverflow(arg, &overflow); in pylong_aslongandoverflow()
628 assert(overflow == -1); in pylong_aslongandoverflow()
631 return Py_BuildValue("li", value, overflow); in pylong_aslongandoverflow()
671 int overflow = UNINITIALIZED_INT; in pylong_aslonglongandoverflow() local
672 long long value = PyLong_AsLongLongAndOverflow(arg, &overflow); in pylong_aslonglongandoverflow()
674 assert(overflow == -1); in pylong_aslonglongandoverflow()
677 return Py_BuildValue("Li", value, overflow); in pylong_aslonglongandoverflow()