Searched refs:ob_ival (Results 1 – 5 of 5) sorted by relevance
11 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()
111 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 …]
1643 return PyInt_FromLong(io->ob_ival);
25 long ob_ival; member55 #define PyInt_AS_LONG(op) (((PyIntObject *)(op))->ob_ival)
76 long ob_ival;