Home
last modified time | relevance | path

Searched refs:_PyLong_Zero (Results 1 – 15 of 15) sorted by relevance

/external/python/cpython3/Objects/
Drangeobject.c86 Py_INCREF(_PyLong_Zero); in range_new()
87 start = _PyLong_Zero; in range_new()
161 cmp_result = PyObject_RichCompareBool(step, _PyLong_Zero, Py_GT); in compute_range_length()
246 cmp_result = PyObject_RichCompareBool(arg, _PyLong_Zero, Py_LT); in compute_range_item()
265 cmp_result = PyObject_RichCompareBool(i, _PyLong_Zero, Py_LT); in compute_range_item()
347 cmp1 = PyObject_RichCompareBool(r->step, _PyLong_Zero, Py_GT); in range_contains_long()
374 result = PyObject_RichCompareBool(tmp2, _PyLong_Zero, Py_EQ); in range_contains_long()
933 cmp = PyObject_RichCompareBool(state, _PyLong_Zero, Py_LT); in longrangeiter_setstate()
937 state = _PyLong_Zero; in longrangeiter_setstate()
1075 it->index = _PyLong_Zero; in range_iter()
[all …]
Dsliceobject.c410 lower = _PyLong_Zero; in _PySlice_GetLongIndices()
Dlongobject.c34 PyObject *_PyLong_Zero = NULL; variable
2564 Py_INCREF(_PyLong_Zero); in long_divrem()
2565 *pdiv = (PyLongObject*)_PyLong_Zero; in long_divrem()
5494 _PyLong_Zero = PyLong_FromLong(0); in _PyLong_Init()
5495 if (_PyLong_Zero == NULL) in _PyLong_Init()
5517 Py_CLEAR(_PyLong_Zero); in PyLong_Fini()
/external/python/cpython3/Objects/clinic/
Dcomplexobject.c.h22 PyObject *r = _PyLong_Zero; in complex_new()
Dfloatobject.c.h170 PyObject *x = _PyLong_Zero; in float_new()
/external/python/cpython3/Include/
Dlongobject.h213 PyAPI_DATA(PyObject *) _PyLong_Zero;
/external/python/cpython3/Modules/_io/
Dtextio.c963 int cmp = PyObject_RichCompareBool(cookieObj, _PyLong_Zero, Py_EQ); in _textiowrapper_fix_encoder_state()
972 self->encoder, _PyIO_str_setstate, _PyLong_Zero, NULL); in _textiowrapper_fix_encoder_state()
2302 _PyLong_Zero, NULL); in _textiowrapper_encoder_reset()
2348 cmp = PyObject_RichCompareBool(cookieObj, _PyLong_Zero, Py_EQ); in _io_TextIOWrapper_seek_impl()
2367 cmp = PyObject_RichCompareBool(cookieObj, _PyLong_Zero, Py_EQ); in _io_TextIOWrapper_seek_impl()
2396 cmp = PyObject_RichCompareBool(res, _PyLong_Zero, Py_EQ); in _io_TextIOWrapper_seek_impl()
2410 cmp = PyObject_RichCompareBool(cookieObj, _PyLong_Zero, Py_LT); in _io_TextIOWrapper_seek_impl()
/external/python/cpython3/Tools/c-globals/
Dignored-globals.txt353 _PyLong_Zero
/external/python/cpython3/Python/
D_warnings.c331 altkey = PyTuple_Pack(3, text, category, _PyLong_Zero); in update_registry()
1252 category, modname_obj, _PyLong_Zero); in create_filter()
Dcompile.c586 res = PyDict_SetItem(u->u_cellvars, tuple, _PyLong_Zero); in compiler_enter_scope()
2810 ADDOP_O(c, LOAD_CONST, _PyLong_Zero, consts); in compiler_import()
/external/python/cpython3/Modules/
D_functoolsmodule.c560 answer = PyObject_RichCompare(res, _PyLong_Zero, op); in keyobject_richcompare()
D_sre.c2000 result = match_getslice(self, _PyLong_Zero, Py_None); in match_group()
D_collectionsmodule.c2341 oldval = PyObject_CallFunctionObjArgs(bound_get, key, _PyLong_Zero, NULL); in _count_elements()
Ditertoolsmodule.c3994 long_cnt = _PyLong_Zero; in count_new()
/external/python/cpython3/Modules/_ctypes/
D_ctypes.c3705 defval = _PyLong_Zero; in _build_callargs()