Searched refs:PyNumber_Add (Results 1 - 19 of 19) sorted by relevance
/third_party/python/Objects/ |
H A D | rangeobject.c | 231 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 D | sliceobject.c | 416 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 D | enumobject.c | 188 stepped_up = PyNumber_Add(next_index, en->one); in enum_next_long()
|
H A D | weakrefobject.c | 507 WRAP_BINARY(proxy_add, PyNumber_Add)
|
H A D | abstract.c | 1071 PyNumber_Add(PyObject *v, PyObject *w) in PyNumber_Add() function
|
/third_party/python/Include/ |
H A D | abstract.h | 422 PyAPI_FUNC(PyObject *) PyNumber_Add(PyObject *o1, PyObject *o2);
|
/third_party/python/Python/ |
H A D | bltinmodule.c | 2535 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 D | ast_opt.c | 472 newval = PyNumber_Add(lv, rv); in fold_binop()
|
H A D | ceval.c | 872 [NB_ADD] = PyNumber_Add,
|
/third_party/python/Modules/ |
H A D | _datetimemodule.c | 1867 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.c | 2346 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.c | 66 return PyNumber_Add(a, b); in _operator_add_impl()
|
H A D | itertoolsmodule.c | 3698 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.c | 578 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.c | 572 PyObject *tmp = PyNumber_Add(dt, tti->utcoff); in zoneinfo_fromutc()
|
H A D | mathmodule.c | 1872 Py_SETREF(a, PyNumber_Add(a, q)); in math_isqrt()
|
H A D | _elementtree.c | 2581 PyObject *tmp = PyNumber_Add(previous, joined); in treebuilder_extend_element_text_or_tail()
|
H A D | posixmodule.c | 2387 ns_total = PyNumber_Add(s_in_ns, ns_fractional); in fill_time()
|
/third_party/python/PC/ |
H A D | python3dll.c | 391 EXPORT_FUNC(PyNumber_Add)
|
Completed in 83 milliseconds