Home
last modified time | relevance | path

Searched refs:_PyLong_GetZero (Results 1 – 16 of 16) sorted by relevance

/third_party/python/Objects/
Drangeobject.c109 start = _PyLong_GetZero(); in range_from_array()
194 PyObject *zero = _PyLong_GetZero(); // borrowed reference in compute_range_length()
280 PyObject *zero = _PyLong_GetZero(); // borrowed reference in compute_range_item()
385 PyObject *zero = _PyLong_GetZero(); // borrowed reference in range_contains_long()
977 PyObject *zero = _PyLong_GetZero(); // borrowed reference in longrangeiter_setstate()
1133 it->index = _PyLong_GetZero(); in range_iter()
1240 it->index = _PyLong_GetZero(); in range_reverse()
Dsliceobject.c420 lower = _PyLong_GetZero(); in _PySlice_GetLongIndices()
Dcomplexobject.c887 r = _PyLong_GetZero(); in complex_new_impl()
Dfloatobject.c1621 x = _PyLong_GetZero(); in float_new_impl()
Dlongobject.c2578 PyObject *zero = _PyLong_GetZero(); in long_divrem()
/third_party/python/Include/internal/
Dpycore_long.h64 static inline PyObject* _PyLong_GetZero(void) in _PyLong_GetZero() function
/third_party/python/Python/
D_warnings.c74 category, modname_obj, _PyLong_GetZero()); in create_filter()
472 altkey = PyTuple_Pack(3, text, category, _PyLong_GetZero()); in update_registry()
Dcompile.c649 res = PyDict_SetItem(u->u_cellvars, name, _PyLong_GetZero()); in compiler_enter_scope()
3344 PyObject *zero = _PyLong_GetZero(); // borrowed reference in compiler_import()
/third_party/python/Modules/_io/
Dtextio.c975 int cmp = PyObject_RichCompareBool(cookieObj, _PyLong_GetZero(), Py_EQ); in _textiowrapper_fix_encoder_state()
984 self->encoder, _PyIO_str_setstate, _PyLong_GetZero()); in _textiowrapper_fix_encoder_state()
2428 _PyLong_GetZero()); in _textiowrapper_encoder_reset()
2472 PyObject *zero = _PyLong_GetZero(); // borrowed reference in _io_TextIOWrapper_seek_impl()
/third_party/python/Modules/clinic/
D_cursesmodule.c.h512 PyObject *verch = _PyLong_GetZero(); in _curses_window_box()
513 PyObject *horch = _PyLong_GetZero(); in _curses_window_box()
/third_party/python/Modules/
D_functoolsmodule.c622 answer = PyObject_RichCompare(res, _PyLong_GetZero(), op); in keyobject_richcompare()
Dmathmodule.c924 PyObject *zero = _PyLong_GetZero(); // borrowed ref in math_lcm()
D_sre.c2097 result = match_getslice(self, _PyLong_GetZero(), Py_None); in match_group()
D_collectionsmodule.c2387 PyObject *zero = _PyLong_GetZero(); // borrowed reference in _collections__count_elements_impl()
Ditertoolsmodule.c4199 long_cnt = _PyLong_GetZero(); in itertools_count_impl()
/third_party/python/Modules/_ctypes/
D_ctypes.c3936 defval = _PyLong_GetZero(); in _build_callargs()