Home
last modified time | relevance | path

Searched refs:PyNumber_Add (Results 1 – 25 of 37) sorted by relevance

12

/external/python/cpython3/Objects/
Drangeobject.c195 if ((result = PyNumber_Add(tmp2, _PyLong_One)) == NULL) in compute_range_length()
228 result = PyNumber_Add(r->start, incr); in compute_item()
251 i = PyNumber_Add(r->length, arg); in compute_range_item()
908 stop = PyNumber_Add(r->start, product); in longrangeiter_reduce()
978 new_index = PyNumber_Add(r->index, _PyLong_One); in longrangeiter_next()
988 result = PyNumber_Add(r->start, product); in longrangeiter_next()
1172 sum = PyNumber_Add(range->start, product); in range_reverse()
Dsliceobject.c405 upper = PyNumber_Add(length, lower); in _PySlice_GetLongIndices()
428 PyObject *tmp = PyNumber_Add(start, length); in _PySlice_GetLongIndices()
467 PyObject *tmp = PyNumber_Add(stop, length); in _PySlice_GetLongIndices()
Denumobject.c118 stepped_up = PyNumber_Add(next_index, _PyLong_One); in enum_next_long()
Dweakrefobject.c496 WRAP_BINARY(proxy_add, PyNumber_Add) in WRAP_BINARY() argument
/external/python/cpython2/PC/os2vacpp/
Dpython.def277 PyNumber_Add
/external/python/cpython2/Objects/
Denumobject.c104 stepped_up = PyNumber_Add(next_index, one); in enum_next_long()
Dweakrefobject.c494 WRAP_BINARY(proxy_add, PyNumber_Add) in WRAP_BINARY() argument
/external/python/cpython2/Python/
Dbltinmodule.c1746 if ((tmp3 = PyNumber_Add(tmp2, one)) == NULL) in get_len_of_range_longs()
1912 tmp_num = PyNumber_Add(curnum, step); in handle_range_longs()
2371 temp = PyNumber_Add(result, item); in builtin_sum()
2414 temp = PyNumber_Add(result, item); in builtin_sum()
2445 temp = PyNumber_Add(result, item); in builtin_sum()
Dpeephole.c125 newconst = PyNumber_Add(v, w); in fold_binops_on_constants()
/external/python/cpython2/Modules/
Ddatetimemodule.c1521 x3 = PyNumber_Add(x1, x2); /* days and seconds in seconds */ in delta_to_microseconds()
1539 result = PyNumber_Add(x1, x2); in delta_to_microseconds()
1860 sum = PyNumber_Add(sofar, prod); in accum()
1894 sum = PyNumber_Add(sofar, prod); in accum()
1919 y = PyNumber_Add(sum, x); in accum()
2007 y = PyNumber_Add(x, temp); in delta_new()
Doperator.c90 spam2(op_add , PyNumber_Add) in spami()
D_testcapimodule.c599 temp = PyNumber_Add(num, one); in test_long_and_overflow()
764 temp = PyNumber_Add(num, one); in test_long_long_and_overflow()
/external/python/cpython2/Include/
Dabstract.h660 PyAPI_FUNC(PyObject *) PyNumber_Add(PyObject *o1, PyObject *o2);
/external/python/cpython3/Include/
Dabstract.h617 PyAPI_FUNC(PyObject *) PyNumber_Add(PyObject *o1, PyObject *o2);
/external/python/cpython3/Python/
Dbltinmodule.c2391 temp = PyNumber_Add(result, item); in builtin_sum_impl()
2439 temp = PyNumber_Add(result, item); in builtin_sum_impl()
2470 temp = PyNumber_Add(result, item); in builtin_sum_impl()
Dast_opt.c270 newval = PyNumber_Add(lv, rv); in fold_binop()
/external/python/cpython3/PC/
Dpython3.def382 PyNumber_Add=python37.PyNumber_Add
/external/python/cpython2/Doc/data/
Drefcounts.dat775 PyNumber_Add:PyObject*::+1:
776 PyNumber_Add:PyObject*:o1:0:
777 PyNumber_Add:PyObject*:o2:0:
/external/python/cpython3/Modules/
D_datetimemodule.c1761 x3 = PyNumber_Add(x1, x2); /* days and seconds in seconds */ in delta_to_microseconds()
1779 result = PyNumber_Add(x1, x2); in delta_to_microseconds()
2335 sum = PyNumber_Add(sofar, prod); in accum()
2368 sum = PyNumber_Add(sofar, prod); in accum()
2390 y = PyNumber_Add(sum, x); in accum()
2503 y = PyNumber_Add(x, temp); in delta_new()
D_testcapimodule.c492 temp = PyNumber_Add(num, one); in test_long_and_overflow()
656 temp = PyNumber_Add(num, one); in test_long_long_and_overflow()
2816 result = PyNumber_Add(op1, op1); in profile_int()
2829 result = PyNumber_Add(op1, op1); in profile_int()
D_collectionsmodule.c2323 newval = PyNumber_Add(oldval, _PyLong_One); in _count_elements()
2344 newval = PyNumber_Add(oldval, _PyLong_One); in _count_elements()
D_operator.c51 return PyNumber_Add(a, b); in _operator_add_impl()
/external/python/cpython3/Doc/c-api/
Dnumber.rst15 .. c:function:: PyObject* PyNumber_Add(PyObject *o1, PyObject *o2)
/external/python/cpython2/PC/os2emx/
Dpython27.def131 "PyNumber_Add"
/external/python/cpython2/Doc/c-api/
Dnumber.rst15 .. c:function:: PyObject* PyNumber_Add(PyObject *o1, PyObject *o2)

12