Searched refs:_PyLong_Zero (Results 1 – 15 of 15) sorted by relevance
/external/python/cpython3/Objects/ |
D | rangeobject.c | 86 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 …]
|
D | sliceobject.c | 410 lower = _PyLong_Zero; in _PySlice_GetLongIndices()
|
D | longobject.c | 34 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/ |
D | complexobject.c.h | 22 PyObject *r = _PyLong_Zero; in complex_new()
|
D | floatobject.c.h | 170 PyObject *x = _PyLong_Zero; in float_new()
|
/external/python/cpython3/Include/ |
D | longobject.h | 213 PyAPI_DATA(PyObject *) _PyLong_Zero;
|
/external/python/cpython3/Modules/_io/ |
D | textio.c | 963 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/ |
D | ignored-globals.txt | 353 _PyLong_Zero
|
/external/python/cpython3/Python/ |
D | _warnings.c | 331 altkey = PyTuple_Pack(3, text, category, _PyLong_Zero); in update_registry() 1252 category, modname_obj, _PyLong_Zero); in create_filter()
|
D | compile.c | 586 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.c | 560 answer = PyObject_RichCompare(res, _PyLong_Zero, op); in keyobject_richcompare()
|
D | _sre.c | 2000 result = match_getslice(self, _PyLong_Zero, Py_None); in match_group()
|
D | _collectionsmodule.c | 2341 oldval = PyObject_CallFunctionObjArgs(bound_get, key, _PyLong_Zero, NULL); in _count_elements()
|
D | itertoolsmodule.c | 3994 long_cnt = _PyLong_Zero; in count_new()
|
/external/python/cpython3/Modules/_ctypes/ |
D | _ctypes.c | 3705 defval = _PyLong_Zero; in _build_callargs()
|