Home
last modified time | relevance | path

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

/third_party/python/Objects/
Drangeobject.c233 if ((result = PyNumber_Add(tmp2, one)) == NULL) in compute_range_length()
264 result = PyNumber_Add(r->start, i); in compute_item()
271 result = PyNumber_Add(r->start, incr); in compute_item()
296 i = PyNumber_Add(r->length, arg); in compute_range_item()
954 stop = PyNumber_Add(r->start, product); in longrangeiter_reduce()
1026 new_index = PyNumber_Add(r->index, _PyLong_GetOne()); in longrangeiter_next()
1036 result = PyNumber_Add(r->start, product); in longrangeiter_next()
1230 sum = PyNumber_Add(range->start, product); in range_reverse()
Dsliceobject.c415 upper = PyNumber_Add(length, lower); in _PySlice_GetLongIndices()
438 PyObject *tmp = PyNumber_Add(start, length); in _PySlice_GetLongIndices()
477 PyObject *tmp = PyNumber_Add(stop, length); in _PySlice_GetLongIndices()
Denumobject.c120 stepped_up = PyNumber_Add(next_index, _PyLong_GetOne()); in enum_next_long()
Dweakrefobject.c532 WRAP_BINARY(proxy_add, PyNumber_Add) in WRAP_BINARY() argument
Dabstract.c1069 PyNumber_Add(PyObject *v, PyObject *w) in PyNumber_Add() function
/third_party/python/Include/
Dabstract.h422 PyAPI_FUNC(PyObject *) PyNumber_Add(PyObject *o1, PyObject *o2);
/third_party/python/Python/
Dbltinmodule.c2489 temp = PyNumber_Add(result, item); in builtin_sum_impl()
2533 temp = PyNumber_Add(result, item); in builtin_sum_impl()
2568 temp = PyNumber_Add(result, item); in builtin_sum_impl()
Dast_opt.c243 newval = PyNumber_Add(lv, rv); in fold_binop()
Dceval.c2084 sum = PyNumber_Add(left, right); in _PyEval_EvalFrameDefault()
/third_party/python/Modules/
D_datetimemodule.c1770 x3 = PyNumber_Add(x1, x2); /* days and seconds in seconds */ in delta_to_microseconds()
1788 result = PyNumber_Add(x1, x2); in delta_to_microseconds()
2344 sum = PyNumber_Add(sofar, prod); in accum()
2377 sum = PyNumber_Add(sofar, prod); in accum()
2399 y = PyNumber_Add(sum, x); in accum()
2511 y = PyNumber_Add(x, temp); in delta_new()
D_collectionsmodule.c2372 newval = PyNumber_Add(oldval, one); in _collections__count_elements_impl()
2395 newval = PyNumber_Add(oldval, one); in _collections__count_elements_impl()
D_testcapimodule.c581 temp = PyNumber_Add(num, one); in test_long_and_overflow()
745 temp = PyNumber_Add(num, one); in test_long_long_and_overflow()
3325 result = PyNumber_Add(op1, op1); in profile_int()
3338 result = PyNumber_Add(op1, op1); in profile_int()
D_operator.c64 return PyNumber_Add(a, b); in _operator_add_impl()
Ditertoolsmodule.c3699 newtotal = PyNumber_Add(lz->total, val); in accumulate_next()
4278 stepped_up = PyNumber_Add(long_cnt, lz->long_step); in count_nextlong()
Dmathmodule.c1827 Py_SETREF(a, PyNumber_Add(a, q)); in math_isqrt()
D_zoneinfo.c568 PyObject *tmp = PyNumber_Add(dt, tti->utcoff); in zoneinfo_fromutc()
D_elementtree.c2593 PyObject *tmp = PyNumber_Add(previous, joined); in treebuilder_extend_element_text_or_tail()
Dposixmodule.c2366 ns_total = PyNumber_Add(s_in_ns, ns_fractional); in fill_time()
/third_party/python/Doc/c-api/
Dnumber.rst18 .. c:function:: PyObject* PyNumber_Add(PyObject *o1, PyObject *o2)
Dintro.rst616 incremented_item = PyNumber_Add(item, const_one);
/third_party/python/Doc/data/
Dstable_abi.dat408 function,PyNumber_Add,3.2,
Drefcounts.dat1418 PyNumber_Add:PyObject*::+1:
1419 PyNumber_Add:PyObject*:o1:0:
1420 PyNumber_Add:PyObject*:o2:0:
/third_party/python/PC/
Dpython3dll.c384 EXPORT_FUNC(PyNumber_Add)
/third_party/python/Misc/
Dstable_abi.txt936 function PyNumber_Add