Lines Matching refs:long_val
212 long long_val = PyInt_AsLong(v); in PyMember_SetOne() local
213 if ((long_val == -1) && PyErr_Occurred()) in PyMember_SetOne()
215 *(char*)addr = (char)long_val; in PyMember_SetOne()
218 if ((long_val > CHAR_MAX) || (long_val < CHAR_MIN)) in PyMember_SetOne()
223 long long_val = PyInt_AsLong(v); in PyMember_SetOne() local
224 if ((long_val == -1) && PyErr_Occurred()) in PyMember_SetOne()
226 *(unsigned char*)addr = (unsigned char)long_val; in PyMember_SetOne()
227 if ((long_val > UCHAR_MAX) || (long_val < 0)) in PyMember_SetOne()
232 long long_val = PyInt_AsLong(v); in PyMember_SetOne() local
233 if ((long_val == -1) && PyErr_Occurred()) in PyMember_SetOne()
235 *(short*)addr = (short)long_val; in PyMember_SetOne()
236 if ((long_val > SHRT_MAX) || (long_val < SHRT_MIN)) in PyMember_SetOne()
241 long long_val = PyInt_AsLong(v); in PyMember_SetOne() local
242 if ((long_val == -1) && PyErr_Occurred()) in PyMember_SetOne()
244 *(unsigned short*)addr = (unsigned short)long_val; in PyMember_SetOne()
245 if ((long_val > USHRT_MAX) || (long_val < 0)) in PyMember_SetOne()
250 long long_val = PyInt_AsLong(v); in PyMember_SetOne() local
251 if ((long_val == -1) && PyErr_Occurred()) in PyMember_SetOne()
253 *(int *)addr = (int)long_val; in PyMember_SetOne()
254 if ((long_val > INT_MAX) || (long_val < INT_MIN)) in PyMember_SetOne()