Home
last modified time | relevance | path

Searched refs:ob_ival (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Objects/
Dboolobject.c11 fputs(self->ob_ival == 0 ? "False" : "True", fp); in bool_print()
26 if (self->ob_ival) in bool_repr()
75 ((PyBoolObject *)a)->ob_ival & ((PyBoolObject *)b)->ob_ival); in bool_and()
84 ((PyBoolObject *)a)->ob_ival | ((PyBoolObject *)b)->ob_ival); in bool_or()
93 ((PyBoolObject *)a)->ob_ival ^ ((PyBoolObject *)b)->ob_ival); in bool_xor()
Dintobject.c111 v->ob_ival = ival; in PyInt_FromLong()
442 long int_val = v->ob_ival; in int_print()
452 register long i = v->ob_ival; in int_compare()
453 register long j = w->ob_ival; in int_compare()
462 long x = v -> ob_ival; in int_hash()
814 a = v->ob_ival; in int_neg()
831 if (v->ob_ival >= 0) in int_abs()
840 return v->ob_ival != 0; in int_nonzero()
846 return PyInt_FromLong(~v->ob_ival); in int_invert()
963 v = (PyIntObject *)PyInt_FromLong(v->ob_ival); in int_int()
[all …]
Dabstract.c1643 return PyInt_FromLong(io->ob_ival);
/external/python/cpython2/Include/
Dintobject.h25 long ob_ival; member
55 #define PyInt_AS_LONG(op) (((PyIntObject *)(op))->ob_ival)
/external/python/cpython2/Doc/extending/
Dnewtypes.rst76 long ob_ival;