Home
last modified time | relevance | path

Searched refs:PyNumber_Add (Results 1 - 19 of 19) sorted by relevance

/third_party/python/Objects/
H A Drangeobject.c231 if ((result = PyNumber_Add(tmp2, one)) == NULL) in compute_range_length()
262 result = PyNumber_Add(r->start, i); in compute_item()
269 result = PyNumber_Add(r->start, incr); in compute_item()
294 i = PyNumber_Add(r->length, arg); in compute_range_item()
952 stop = PyNumber_Add(r->start, product); in longrangeiter_reduce()
1024 new_index = PyNumber_Add(r->index, _PyLong_GetOne()); in longrangeiter_next()
1034 result = PyNumber_Add(r->start, product); in longrangeiter_next()
1228 sum = PyNumber_Add(range->start, product); in range_reverse()
H A Dsliceobject.c416 upper = PyNumber_Add(length, lower); in _PySlice_GetLongIndices()
439 PyObject *tmp = PyNumber_Add(start, length); in _PySlice_GetLongIndices()
478 PyObject *tmp = PyNumber_Add(stop, length); in _PySlice_GetLongIndices()
H A Denumobject.c188 stepped_up = PyNumber_Add(next_index, en->one); in enum_next_long()
H A Dweakrefobject.c507 WRAP_BINARY(proxy_add, PyNumber_Add)
H A Dabstract.c1071 PyNumber_Add(PyObject *v, PyObject *w) in PyNumber_Add() function
/third_party/python/Include/
H A Dabstract.h422 PyAPI_FUNC(PyObject *) PyNumber_Add(PyObject *o1, PyObject *o2);
/third_party/python/Python/
H A Dbltinmodule.c2535 temp = PyNumber_Add(result, item); in builtin_sum_impl()
2579 temp = PyNumber_Add(result, item); in builtin_sum_impl()
2602 PyNumber_Add here, to avoid quadratic running time in builtin_sum_impl()
2614 temp = PyNumber_Add(result, item); in builtin_sum_impl()
H A Dast_opt.c472 newval = PyNumber_Add(lv, rv); in fold_binop()
H A Dceval.c872 [NB_ADD] = PyNumber_Add,
/third_party/python/Modules/
H A D_datetimemodule.c1867 x3 = PyNumber_Add(x1, x2); /* days and seconds in seconds */ in delta_to_microseconds()
1885 result = PyNumber_Add(x1, x2); in delta_to_microseconds()
2441 sum = PyNumber_Add(sofar, prod); in accum()
2474 sum = PyNumber_Add(sofar, prod); in accum()
2496 y = PyNumber_Add(sum, x); in accum()
2608 y = PyNumber_Add(x, temp); in delta_new()
H A D_collectionsmodule.c2346 newval = PyNumber_Add(oldval, one); in _collections__count_elements_impl()
2369 newval = PyNumber_Add(oldval, one); in _collections__count_elements_impl()
H A D_operator.c66 return PyNumber_Add(a, b); in _operator_add_impl()
H A Ditertoolsmodule.c3698 newtotal = PyNumber_Add(lz->total, val); in accumulate_next()
4277 stepped_up = PyNumber_Add(long_cnt, lz->long_step); in count_nextlong()
H A D_testcapimodule.c578 temp = PyNumber_Add(num, one); in test_long_and_overflow()
742 temp = PyNumber_Add(num, one); in test_long_long_and_overflow()
3500 result = PyNumber_Add(op1, op1); in profile_int()
3513 result = PyNumber_Add(op1, op1); in profile_int()
H A D_zoneinfo.c572 PyObject *tmp = PyNumber_Add(dt, tti->utcoff); in zoneinfo_fromutc()
H A Dmathmodule.c1872 Py_SETREF(a, PyNumber_Add(a, q)); in math_isqrt()
H A D_elementtree.c2581 PyObject *tmp = PyNumber_Add(previous, joined); in treebuilder_extend_element_text_or_tail()
H A Dposixmodule.c2387 ns_total = PyNumber_Add(s_in_ns, ns_fractional); in fill_time()
/third_party/python/PC/
H A Dpython3dll.c391 EXPORT_FUNC(PyNumber_Add)

Completed in 83 milliseconds