Home
last modified time | relevance | path

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

12

/external/python/cpython3/Objects/
Drangeobject.c227 if ((result = PyNumber_Add(tmp2, _PyLong_One)) == NULL) in compute_range_length()
260 result = PyNumber_Add(r->start, incr); in compute_item()
283 i = PyNumber_Add(r->length, arg); in compute_range_item()
942 stop = PyNumber_Add(r->start, product); in longrangeiter_reduce()
1013 new_index = PyNumber_Add(r->index, _PyLong_One); in longrangeiter_next()
1023 result = PyNumber_Add(r->start, product); in longrangeiter_next()
1207 sum = PyNumber_Add(range->start, product); in range_reverse()
Dsliceobject.c406 upper = PyNumber_Add(length, lower); in _PySlice_GetLongIndices()
429 PyObject *tmp = PyNumber_Add(start, length); in _PySlice_GetLongIndices()
468 PyObject *tmp = PyNumber_Add(stop, length); in _PySlice_GetLongIndices()
Denumobject.c118 stepped_up = PyNumber_Add(next_index, _PyLong_One); in enum_next_long()
Dweakrefobject.c532 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/cpython3/Include/
Dabstract.h399 PyAPI_FUNC(PyObject *) PyNumber_Add(PyObject *o1, PyObject *o2);
/external/python/cpython2/Include/
Dabstract.h660 PyAPI_FUNC(PyObject *) PyNumber_Add(PyObject *o1, PyObject *o2);
/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/cpython3/Python/
Dbltinmodule.c2371 temp = PyNumber_Add(result, item); in builtin_sum_impl()
2415 temp = PyNumber_Add(result, item); in builtin_sum_impl()
2450 temp = PyNumber_Add(result, item); in builtin_sum_impl()
Dast_opt.c231 newval = PyNumber_Add(lv, rv); in fold_binop()
/external/python/cpython3/PC/
Dpython3.def384 PyNumber_Add=python39.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.c1779 x3 = PyNumber_Add(x1, x2); /* days and seconds in seconds */ in delta_to_microseconds()
1797 result = PyNumber_Add(x1, x2); in delta_to_microseconds()
2353 sum = PyNumber_Add(sofar, prod); in accum()
2386 sum = PyNumber_Add(sofar, prod); in accum()
2408 y = PyNumber_Add(sum, x); in accum()
2520 y = PyNumber_Add(x, temp); in delta_new()
D_collectionsmodule.c2348 newval = PyNumber_Add(oldval, _PyLong_One); in _collections__count_elements_impl()
2369 newval = PyNumber_Add(oldval, _PyLong_One); in _collections__count_elements_impl()
D_operator.c51 return PyNumber_Add(a, b); in _operator_add_impl()
/external/python/cpython3/Doc/c-api/
Dnumber.rst18 .. 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)
/external/python/cpython3/Doc/data/
Drefcounts.dat1415 PyNumber_Add:PyObject*::+1:
1416 PyNumber_Add:PyObject*:o1:0:
1417 PyNumber_Add:PyObject*:o2:0:

12