Home
last modified time | relevance | path

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

/third_party/python/Python/
Dstructmember.c144 long long_val = PyLong_AsLong(v); in PyMember_SetOne() local
145 if ((long_val == -1) && PyErr_Occurred()) in PyMember_SetOne()
147 *(char*)addr = (char)long_val; in PyMember_SetOne()
150 if ((long_val > CHAR_MAX) || (long_val < CHAR_MIN)) in PyMember_SetOne()
155 long long_val = PyLong_AsLong(v); in PyMember_SetOne() local
156 if ((long_val == -1) && PyErr_Occurred()) in PyMember_SetOne()
158 *(unsigned char*)addr = (unsigned char)long_val; in PyMember_SetOne()
159 if ((long_val > UCHAR_MAX) || (long_val < 0)) in PyMember_SetOne()
164 long long_val = PyLong_AsLong(v); in PyMember_SetOne() local
165 if ((long_val == -1) && PyErr_Occurred()) in PyMember_SetOne()
[all …]