Lines Matching refs:long_val
140 long long_val = PyLong_AsLong(v); in PyMember_SetOne() local
141 if ((long_val == -1) && PyErr_Occurred()) in PyMember_SetOne()
143 *(char*)addr = (char)long_val; in PyMember_SetOne()
146 if ((long_val > CHAR_MAX) || (long_val < CHAR_MIN)) in PyMember_SetOne()
151 long long_val = PyLong_AsLong(v); in PyMember_SetOne() local
152 if ((long_val == -1) && PyErr_Occurred()) in PyMember_SetOne()
154 *(unsigned char*)addr = (unsigned char)long_val; in PyMember_SetOne()
155 if ((long_val > UCHAR_MAX) || (long_val < 0)) in PyMember_SetOne()
160 long long_val = PyLong_AsLong(v); in PyMember_SetOne() local
161 if ((long_val == -1) && PyErr_Occurred()) in PyMember_SetOne()
163 *(short*)addr = (short)long_val; in PyMember_SetOne()
164 if ((long_val > SHRT_MAX) || (long_val < SHRT_MIN)) in PyMember_SetOne()
169 long long_val = PyLong_AsLong(v); in PyMember_SetOne() local
170 if ((long_val == -1) && PyErr_Occurred()) in PyMember_SetOne()
172 *(unsigned short*)addr = (unsigned short)long_val; in PyMember_SetOne()
173 if ((long_val > USHRT_MAX) || (long_val < 0)) in PyMember_SetOne()
178 long long_val = PyLong_AsLong(v); in PyMember_SetOne() local
179 if ((long_val == -1) && PyErr_Occurred()) in PyMember_SetOne()
181 *(int *)addr = (int)long_val; in PyMember_SetOne()
182 if ((long_val > INT_MAX) || (long_val < INT_MIN)) in PyMember_SetOne()