Lines Matching refs:lhs_val

128     long long lhs_val;  in mp_obj_int_binary_op()  local
132 lhs_val = MP_OBJ_SMALL_INT_VALUE(lhs_in); in mp_obj_int_binary_op()
135 lhs_val = ((mp_obj_int_t *)lhs_in)->val; in mp_obj_int_binary_op()
150 return mp_obj_new_int_from_ll(lhs_val + rhs_val); in mp_obj_int_binary_op()
153 return mp_obj_new_int_from_ll(lhs_val - rhs_val); in mp_obj_int_binary_op()
156 return mp_obj_new_int_from_ll(lhs_val * rhs_val); in mp_obj_int_binary_op()
162 return mp_obj_new_int_from_ll(lhs_val / rhs_val); in mp_obj_int_binary_op()
168 return mp_obj_new_int_from_ll(lhs_val % rhs_val); in mp_obj_int_binary_op()
172 return mp_obj_new_int_from_ll(lhs_val & rhs_val); in mp_obj_int_binary_op()
175 return mp_obj_new_int_from_ll(lhs_val | rhs_val); in mp_obj_int_binary_op()
178 return mp_obj_new_int_from_ll(lhs_val ^ rhs_val); in mp_obj_int_binary_op()
182 return mp_obj_new_int_from_ll(lhs_val << (int)rhs_val); in mp_obj_int_binary_op()
185 return mp_obj_new_int_from_ll(lhs_val >> (int)rhs_val); in mp_obj_int_binary_op()
191 return mp_obj_float_binary_op(op, lhs_val, rhs_in); in mp_obj_int_binary_op()
199 ans *= lhs_val; in mp_obj_int_binary_op()
205 lhs_val *= lhs_val; in mp_obj_int_binary_op()
211 return mp_obj_new_bool(lhs_val < rhs_val); in mp_obj_int_binary_op()
213 return mp_obj_new_bool(lhs_val > rhs_val); in mp_obj_int_binary_op()
215 return mp_obj_new_bool(lhs_val <= rhs_val); in mp_obj_int_binary_op()
217 return mp_obj_new_bool(lhs_val >= rhs_val); in mp_obj_int_binary_op()
219 return mp_obj_new_bool(lhs_val == rhs_val); in mp_obj_int_binary_op()