Searched refs:NSMALLNEGINTS (Results 1 – 2 of 2) sorted by relevance
70 #ifndef NSMALLNEGINTS71 #define NSMALLNEGINTS 5 macro73 #if NSMALLNEGINTS + NSMALLPOSINTS > 079 static PyIntObject *small_ints[NSMALLNEGINTS + NSMALLPOSINTS];90 #if NSMALLNEGINTS + NSMALLPOSINTS > 0 in PyInt_FromLong()91 if (-NSMALLNEGINTS <= ival && ival < NSMALLPOSINTS) { in PyInt_FromLong()92 v = small_ints[ival + NSMALLNEGINTS]; in PyInt_FromLong()1457 #if NSMALLNEGINTS + NSMALLPOSINTS > 0 in _PyInt_Init()1458 for (ival = -NSMALLNEGINTS; ival < NSMALLPOSINTS; ival++) { in _PyInt_Init()1466 small_ints[ival + NSMALLNEGINTS] = v; in _PyInt_Init()[all …]
21 #ifndef NSMALLNEGINTS22 #define NSMALLNEGINTS 5 macro37 #if NSMALLNEGINTS + NSMALLPOSINTS > 043 static PyLongObject small_ints[NSMALLNEGINTS + NSMALLPOSINTS];52 assert(-NSMALLNEGINTS <= ival && ival < NSMALLPOSINTS); in get_small_int()53 v = (PyObject *)&small_ints[ival + NSMALLNEGINTS]; in get_small_int()64 do if (-NSMALLNEGINTS <= ival && ival < NSMALLPOSINTS) { \73 if (-NSMALLNEGINTS <= ival && ival < NSMALLPOSINTS) { in maybe_small_long()5465 #if NSMALLNEGINTS + NSMALLPOSINTS > 0 in _PyLong_Init()5469 for (ival = -NSMALLNEGINTS; ival < NSMALLPOSINTS; ival++, v++) { in _PyLong_Init()[all …]