Home
last modified time | relevance | path

Searched refs:PyErr_Occurred (Results 1 – 25 of 258) sorted by relevance

1234567891011

/third_party/python/Python/
Dstructmember.c145 if ((long_val == -1) && PyErr_Occurred()) in PyMember_SetOne()
156 if ((long_val == -1) && PyErr_Occurred()) in PyMember_SetOne()
165 if ((long_val == -1) && PyErr_Occurred()) in PyMember_SetOne()
174 if ((long_val == -1) && PyErr_Occurred()) in PyMember_SetOne()
183 if ((long_val == -1) && PyErr_Occurred()) in PyMember_SetOne()
192 if ((ulong_val == (unsigned long)-1) && PyErr_Occurred()) { in PyMember_SetOne()
198 PyErr_Occurred()) in PyMember_SetOne()
210 if ((*(long*)addr == -1) && PyErr_Occurred()) in PyMember_SetOne()
217 && PyErr_Occurred()) { in PyMember_SetOne()
223 && PyErr_Occurred()) in PyMember_SetOne()
[all …]
Dmarshal.c684 if (!PyErr_Occurred()) { in r_string()
779 if (PyErr_Occurred()) in r_PyLong()
801 if (PyErr_Occurred()) { in r_PyLong()
815 if (PyErr_Occurred()) { in r_PyLong()
830 if (PyErr_Occurred()) { in r_PyLong()
997 retval = PyErr_Occurred() ? NULL : PyLong_FromLong(n); in r_object()
1014 if (x == -1.0 && PyErr_Occurred()) in r_object()
1024 if (x == -1.0 && PyErr_Occurred()) in r_object()
1035 if (c.real == -1.0 && PyErr_Occurred()) in r_object()
1038 if (c.imag == -1.0 && PyErr_Occurred()) in r_object()
[all …]
/third_party/python/Modules/clinic/
Dcmathmodule.c.h25 if (PyErr_Occurred()) { in cmath_acos()
67 if (PyErr_Occurred()) { in cmath_acosh()
109 if (PyErr_Occurred()) { in cmath_asin()
151 if (PyErr_Occurred()) { in cmath_asinh()
193 if (PyErr_Occurred()) { in cmath_atan()
235 if (PyErr_Occurred()) { in cmath_atanh()
277 if (PyErr_Occurred()) { in cmath_cos()
319 if (PyErr_Occurred()) { in cmath_cosh()
361 if (PyErr_Occurred()) { in cmath_exp()
403 if (PyErr_Occurred()) { in cmath_log10()
[all …]
Daudioop.c.h37 if (width == -1 && PyErr_Occurred()) { in audioop_getsample()
47 if (ival == -1 && PyErr_Occurred()) { in audioop_getsample()
93 if (width == -1 && PyErr_Occurred()) { in audioop_max()
137 if (width == -1 && PyErr_Occurred()) { in audioop_minmax()
181 if (width == -1 && PyErr_Occurred()) { in audioop_avg()
225 if (width == -1 && PyErr_Occurred()) { in audioop_rms()
380 if (ival == -1 && PyErr_Occurred()) { in audioop_findmax()
426 if (width == -1 && PyErr_Occurred()) { in audioop_avgpp()
470 if (width == -1 && PyErr_Occurred()) { in audioop_maxpp()
514 if (width == -1 && PyErr_Occurred()) { in audioop_cross()
[all …]
Dmathmodule.c.h96 if (x == -1.0 && PyErr_Occurred()) { in math_frexp()
136 if (x == -1.0 && PyErr_Occurred()) { in math_ldexp()
173 if (x == -1.0 && PyErr_Occurred()) { in math_modf()
274 if (x == -1.0 && PyErr_Occurred()) { in math_fmod()
284 if (y == -1.0 && PyErr_Occurred()) { in math_fmod()
358 if (x == -1.0 && PyErr_Occurred()) { in math_pow()
368 if (y == -1.0 && PyErr_Occurred()) { in math_pow()
402 if (x == -1.0 && PyErr_Occurred()) { in math_degrees()
436 if (x == -1.0 && PyErr_Occurred()) { in math_radians()
470 if (x == -1.0 && PyErr_Occurred()) { in math_isfinite()
[all …]
Dsignalmodule.c.h31 if (signalnum == -1 && PyErr_Occurred()) { in signal_default_int_handler()
63 if (seconds == -1 && PyErr_Occurred()) { in signal_alarm()
67 if ((_return_value == -1) && PyErr_Occurred()) { in signal_alarm()
119 if (signalnum == -1 && PyErr_Occurred()) { in signal_raise_signal()
158 if (signalnum == -1 && PyErr_Occurred()) { in signal_signal()
193 if (signalnum == -1 && PyErr_Occurred()) { in signal_getsignal()
224 if (signalnum == -1 && PyErr_Occurred()) { in signal_strsignal()
261 if (signalnum == -1 && PyErr_Occurred()) { in signal_siginterrupt()
265 if (flag == -1 && PyErr_Occurred()) { in signal_siginterrupt()
308 if (which == -1 && PyErr_Occurred()) { in signal_setitimer()
[all …]
Dposixmodule.c.h191 if (mode == -1 && PyErr_Occurred()) { in os_access()
220 if ((_return_value == -1) && PyErr_Occurred()) { in os_access()
256 if (fd == -1 && PyErr_Occurred()) { in os_ttyname()
425 if (mode == -1 && PyErr_Occurred()) { in os_chmod()
484 if (fd == -1 && PyErr_Occurred()) { in os_fchmod()
488 if (mode == -1 && PyErr_Occurred()) { in os_fchmod()
534 if (mode == -1 && PyErr_Occurred()) { in os_lchmod()
926 if (fd == -1 && PyErr_Occurred()) { in os_fchown()
1363 if (mode == -1 && PyErr_Occurred()) { in os_mkdir()
1408 if (increment == -1 && PyErr_Occurred()) { in os_nice()
[all …]
D_cursesmodule.c.h256 if (attr == -1 && PyErr_Occurred()) { in _curses_window_bkgd()
285 if (attr == -1 && PyErr_Occurred()) { in _curses_window_attroff()
313 if (attr == -1 && PyErr_Occurred()) { in _curses_window_attron()
341 if (attr == -1 && PyErr_Occurred()) { in _curses_window_attrset()
383 if (attr == -1 && PyErr_Occurred()) { in _curses_window_bkgdset()
666 if (attr == -1 && PyErr_Occurred()) { in _curses_window_echochar()
706 if (y == -1 && PyErr_Occurred()) { in _curses_window_enclose()
710 if (x == -1 && PyErr_Occurred()) { in _curses_window_enclose()
740 if ((_return_value == -1) && PyErr_Occurred()) { in _curses_window_getbkgd()
792 if ((_return_value == -1) && PyErr_Occurred()) { in _curses_window_getch()
[all …]
D_statisticsmodule.c.h35 if (p == -1.0 && PyErr_Occurred()) { in _statistics__normal_dist_inv_cdf()
45 if (mu == -1.0 && PyErr_Occurred()) { in _statistics__normal_dist_inv_cdf()
55 if (sigma == -1.0 && PyErr_Occurred()) { in _statistics__normal_dist_inv_cdf()
60 if ((_return_value == -1.0) && PyErr_Occurred()) { in _statistics__normal_dist_inv_cdf()
D_sre.c.h23 if ((_return_value == -1) && PyErr_Occurred()) { in _sre_getcodesize()
51 if (character == -1 && PyErr_Occurred()) { in _sre_ascii_iscased()
55 if ((_return_value == -1) && PyErr_Occurred()) { in _sre_ascii_iscased()
83 if (character == -1 && PyErr_Occurred()) { in _sre_unicode_iscased()
87 if ((_return_value == -1) && PyErr_Occurred()) { in _sre_unicode_iscased()
115 if (character == -1 && PyErr_Occurred()) { in _sre_ascii_tolower()
119 if ((_return_value == -1) && PyErr_Occurred()) { in _sre_ascii_tolower()
147 if (character == -1 && PyErr_Occurred()) { in _sre_unicode_tolower()
151 if ((_return_value == -1) && PyErr_Occurred()) { in _sre_unicode_tolower()
305 if (ival == -1 && PyErr_Occurred()) { in _sre_SRE_Pattern_findall()
[all …]
Dfcntlmodule.c.h42 if (code == -1 && PyErr_Occurred()) { in fcntl_fcntl()
112 if (code == (unsigned int)-1 && PyErr_Occurred()) { in fcntl_ioctl()
162 if (code == -1 && PyErr_Occurred()) { in fcntl_flock()
222 if (code == -1 && PyErr_Occurred()) { in fcntl_lockf()
237 if (whence == -1 && PyErr_Occurred()) { in fcntl_lockf()
Dbinascii.c.h74 if (backtick == -1 && PyErr_Occurred()) { in binascii_b2a_uu()
158 if (newline == -1 && PyErr_Occurred()) { in binascii_b2a_base64()
342 if (crc == (unsigned int)-1 && PyErr_Occurred()) { in binascii_crc_hqx()
390 if (crc == (unsigned int)-1 && PyErr_Occurred()) { in binascii_crc32()
395 if ((_return_value == (unsigned int)-1) && PyErr_Occurred()) { in binascii_crc32()
472 if (bytes_per_sep == -1 && PyErr_Occurred()) { in binascii_b2a_hex()
542 if (bytes_per_sep == -1 && PyErr_Occurred()) { in binascii_hexlify()
658 if (header == -1 && PyErr_Occurred()) { in binascii_a2b_qp()
718 if (quotetabs == -1 && PyErr_Occurred()) { in binascii_b2a_qp()
727 if (istext == -1 && PyErr_Occurred()) { in binascii_b2a_qp()
[all …]
Dgcmodule.c.h60 if ((_return_value == -1) && PyErr_Occurred()) { in gc_isenabled()
106 if (generation == -1 && PyErr_Occurred()) { in gc_collect()
111 if ((_return_value == -1) && PyErr_Occurred()) { in gc_collect()
150 if (flags == -1 && PyErr_Occurred()) { in gc_set_debug()
178 if ((_return_value == -1) && PyErr_Occurred()) { in gc_get_debug()
367 if ((_return_value == -1) && PyErr_Occurred()) { in gc_get_freeze_count()
Dzlibmodule.c.h48 if (level == -1 && PyErr_Occurred()) { in zlib_compress()
111 if (wbits == -1 && PyErr_Occurred()) { in zlib_decompress()
125 if (ival == -1 && PyErr_Occurred()) { in zlib_decompress()
203 if (level == -1 && PyErr_Occurred()) { in zlib_compressobj()
212 if (method == -1 && PyErr_Occurred()) { in zlib_compressobj()
221 if (wbits == -1 && PyErr_Occurred()) { in zlib_compressobj()
230 if (memLevel == -1 && PyErr_Occurred()) { in zlib_compressobj()
239 if (strategy == -1 && PyErr_Occurred()) { in zlib_compressobj()
303 if (wbits == -1 && PyErr_Occurred()) { in zlib_decompressobj()
715 if (value == (unsigned int)-1 && PyErr_Occurred()) { in zlib_adler32()
[all …]
Dresource.c.h23 if (who == -1 && PyErr_Occurred()) { in resource_getrusage()
50 if (resource == -1 && PyErr_Occurred()) { in resource_getrlimit()
81 if (resource == -1 && PyErr_Occurred()) { in resource_setrlimit()
154 if ((_return_value == -1) && PyErr_Occurred()) { in resource_getpagesize()
/third_party/python/Objects/clinic/
Dcodeobject.c.h50 if (argcount == -1 && PyErr_Occurred()) { in code_new()
54 if (posonlyargcount == -1 && PyErr_Occurred()) { in code_new()
58 if (kwonlyargcount == -1 && PyErr_Occurred()) { in code_new()
62 if (nlocals == -1 && PyErr_Occurred()) { in code_new()
66 if (stacksize == -1 && PyErr_Occurred()) { in code_new()
70 if (flags == -1 && PyErr_Occurred()) { in code_new()
110 if (firstlineno == -1 && PyErr_Occurred()) { in code_new()
199 if (co_argcount == -1 && PyErr_Occurred()) { in code_replace()
208 if (co_posonlyargcount == -1 && PyErr_Occurred()) { in code_replace()
217 if (co_kwonlyargcount == -1 && PyErr_Occurred()) { in code_replace()
[all …]
/third_party/python/PC/clinic/
Dmsvcrtmodule.c.h57 if (fd == -1 && PyErr_Occurred()) { in msvcrt_locking()
61 if (mode == -1 && PyErr_Occurred()) { in msvcrt_locking()
65 if (nbytes == -1 && PyErr_Occurred()) { in msvcrt_locking()
103 if (fd == -1 && PyErr_Occurred()) { in msvcrt_setmode()
107 if (flags == -1 && PyErr_Occurred()) { in msvcrt_setmode()
111 if ((_return_value == -1) && PyErr_Occurred()) { in msvcrt_setmode()
149 if ((_return_value == -1) && PyErr_Occurred()) { in msvcrt_open_osfhandle()
180 if (fd == -1 && PyErr_Occurred()) { in msvcrt_get_osfhandle()
184 if ((_return_value == NULL || _return_value == INVALID_HANDLE_VALUE) && PyErr_Occurred()) { in msvcrt_get_osfhandle()
212 if ((_return_value == -1) && PyErr_Occurred()) { in msvcrt_kbhit()
[all …]
D_msi.c.h126 if (field == (unsigned int)-1 && PyErr_Occurred()) { in _msi_Record_GetInteger()
154 if (field == (unsigned int)-1 && PyErr_Occurred()) { in _msi_Record_GetString()
204 if (field == -1 && PyErr_Occurred()) { in _msi_Record_SetString()
253 if (field == -1 && PyErr_Occurred()) { in _msi_Record_SetStream()
302 if (field == -1 && PyErr_Occurred()) { in _msi_Record_SetInteger()
306 if (value == -1 && PyErr_Occurred()) { in _msi_Record_SetInteger()
337 if (field == -1 && PyErr_Occurred()) { in _msi_SummaryInformation_GetProperty()
393 if (field == -1 && PyErr_Occurred()) { in _msi_SummaryInformation_SetProperty()
474 if (kind == -1 && PyErr_Occurred()) { in _msi_View_GetColumnInfo()
511 if (kind == -1 && PyErr_Occurred()) { in _msi_View_Modify()
[all …]
Dwinsound.c.h38 if (flags == -1 && PyErr_Occurred()) { in winsound_PlaySound()
80 if (frequency == -1 && PyErr_Occurred()) { in winsound_Beep()
84 if (duration == -1 && PyErr_Occurred()) { in winsound_Beep()
125 if (type == -1 && PyErr_Occurred()) { in winsound_MessageBeep()
/third_party/python/Modules/
Dtestcapi_long.h50 if (uout == (unsigned TYPENAME)-1 && PyErr_Occurred()) in TESTNAME()
65 if (out == (TYPENAME)-1 && PyErr_Occurred()) in TESTNAME()
96 if (uout != (unsigned TYPENAME)-1 || !PyErr_Occurred()) in TESTNAME()
119 if (uout != (unsigned TYPENAME)-1 || !PyErr_Occurred()) in TESTNAME()
138 if (out != (TYPENAME)-1 || !PyErr_Occurred()) in TESTNAME()
163 if (out != (TYPENAME)-1 || !PyErr_Occurred()) in TESTNAME()
187 if (out != (TYPENAME)-1 || !PyErr_Occurred()) in TESTNAME()
195 if (uout != (unsigned TYPENAME)-1 || !PyErr_Occurred()) in TESTNAME()
/third_party/python/Python/clinic/
Dsysmodule.c.h315 if (interval == -1.0 && PyErr_Occurred()) { in sys_setswitchinterval()
344 if ((_return_value == -1.0) && PyErr_Occurred()) { in sys_getswitchinterval()
376 if (new_limit == -1 && PyErr_Occurred()) { in sys_setrecursionlimit()
416 if (depth == -1 && PyErr_Occurred()) { in sys_set_coroutine_origin_tracking_depth()
444 if ((_return_value == -1) && PyErr_Occurred()) { in sys_get_coroutine_origin_tracking_depth()
584 if (new_val == -1 && PyErr_Occurred()) { in sys_setdlopenflags()
639 if (flag == -1 && PyErr_Occurred()) { in sys_mdebug()
694 if (maxdigits == -1 && PyErr_Occurred()) { in sys_set_int_max_str_digits()
726 if ((_return_value == -1) && PyErr_Occurred()) { in sys_getrefcount()
755 if ((_return_value == -1) && PyErr_Occurred()) { in sys_gettotalrefcount()
[all …]
/third_party/python/Modules/_blake2/clinic/
Dblake2b_impl.c.h60 if (digest_size == -1 && PyErr_Occurred()) { in py_blake2b_new()
105 if (fanout == -1 && PyErr_Occurred()) { in py_blake2b_new()
114 if (depth == -1 && PyErr_Occurred()) { in py_blake2b_new()
139 if (node_depth == -1 && PyErr_Occurred()) { in py_blake2b_new()
148 if (inner_size == -1 && PyErr_Occurred()) { in py_blake2b_new()
Dblake2s_impl.c.h60 if (digest_size == -1 && PyErr_Occurred()) { in py_blake2s_new()
105 if (fanout == -1 && PyErr_Occurred()) { in py_blake2s_new()
114 if (depth == -1 && PyErr_Occurred()) { in py_blake2s_new()
139 if (node_depth == -1 && PyErr_Occurred()) { in py_blake2s_new()
148 if (inner_size == -1 && PyErr_Occurred()) { in py_blake2s_new()
/third_party/python/Objects/stringlib/clinic/
Dtransmogrify.h.h37 if (tabsize == -1 && PyErr_Occurred()) { in stringlib_expandtabs()
78 if (ival == -1 && PyErr_Occurred()) { in stringlib_ljust()
134 if (ival == -1 && PyErr_Occurred()) { in stringlib_rjust()
190 if (ival == -1 && PyErr_Occurred()) { in stringlib_center()
242 if (ival == -1 && PyErr_Occurred()) { in stringlib_zfill()
/third_party/python/Objects/stringlib/
Dpartition.h38 if (PyErr_Occurred()) { in STRINGLIB()
61 if (PyErr_Occurred()) { in STRINGLIB()
95 if (PyErr_Occurred()) { in STRINGLIB()
118 if (PyErr_Occurred()) { in STRINGLIB()

1234567891011