Home
last modified time | relevance | path

Searched refs:_return_value (Results 1 – 25 of 40) sorted by relevance

12

/third_party/python/Modules/clinic/
Dcmathmodule.c.h22 Py_complex _return_value; in cmath_acos() local
30 _return_value = cmath_acos_impl(module, z); in cmath_acos()
40 return_value = PyComplex_FromCComplex(_return_value); in cmath_acos()
64 Py_complex _return_value; in cmath_acosh() local
72 _return_value = cmath_acosh_impl(module, z); in cmath_acosh()
82 return_value = PyComplex_FromCComplex(_return_value); in cmath_acosh()
106 Py_complex _return_value; in cmath_asin() local
114 _return_value = cmath_asin_impl(module, z); in cmath_asin()
124 return_value = PyComplex_FromCComplex(_return_value); in cmath_asin()
148 Py_complex _return_value; in cmath_asinh() local
[all …]
D_winapi.c.h152 HANDLE _return_value; in _winapi_CreateFile() local
158_return_value = _winapi_CreateFile_impl(module, file_name, desired_access, share_mode, security_at… in _winapi_CreateFile()
159 if ((_return_value == INVALID_HANDLE_VALUE) && PyErr_Occurred()) { in _winapi_CreateFile()
162 if (_return_value == NULL) { in _winapi_CreateFile()
165 return_value = HANDLE_TO_PYNUM(_return_value); in _winapi_CreateFile()
196 HANDLE _return_value; in _winapi_CreateFileMapping() local
202_return_value = _winapi_CreateFileMapping_impl(module, file_handle, security_attributes, protect, … in _winapi_CreateFileMapping()
203 if ((_return_value == INVALID_HANDLE_VALUE) && PyErr_Occurred()) { in _winapi_CreateFileMapping()
206 if (_return_value == NULL) { in _winapi_CreateFileMapping()
209 return_value = HANDLE_TO_PYNUM(_return_value); in _winapi_CreateFileMapping()
[all …]
Dgcmodule.c.h57 int _return_value; in gc_isenabled() local
59 _return_value = gc_isenabled_impl(module); in gc_isenabled()
60 if ((_return_value == -1) && PyErr_Occurred()) { in gc_isenabled()
63 return_value = PyBool_FromLong((long)_return_value); in gc_isenabled()
96 Py_ssize_t _return_value; in gc_collect() local
110 _return_value = gc_collect_impl(module, generation); in gc_collect()
111 if ((_return_value == -1) && PyErr_Occurred()) { in gc_collect()
114 return_value = PyLong_FromSsize_t(_return_value); in gc_collect()
175 int _return_value; in gc_get_debug() local
177 _return_value = gc_get_debug_impl(module); in gc_get_debug()
[all …]
D_sre.c.h20 int _return_value; in _sre_getcodesize() local
22 _return_value = _sre_getcodesize_impl(module); in _sre_getcodesize()
23 if ((_return_value == -1) && PyErr_Occurred()) { in _sre_getcodesize()
26 return_value = PyLong_FromLong((long)_return_value); in _sre_getcodesize()
48 int _return_value; in _sre_ascii_iscased() local
54 _return_value = _sre_ascii_iscased_impl(module, character); in _sre_ascii_iscased()
55 if ((_return_value == -1) && PyErr_Occurred()) { in _sre_ascii_iscased()
58 return_value = PyBool_FromLong((long)_return_value); in _sre_ascii_iscased()
80 int _return_value; in _sre_unicode_iscased() local
86 _return_value = _sre_unicode_iscased_impl(module, character); in _sre_unicode_iscased()
[all …]
D_queuemodule.c.h210 int _return_value; in _queue_SimpleQueue_empty() local
212 _return_value = _queue_SimpleQueue_empty_impl(self); in _queue_SimpleQueue_empty()
213 if ((_return_value == -1) && PyErr_Occurred()) { in _queue_SimpleQueue_empty()
216 return_value = PyBool_FromLong((long)_return_value); in _queue_SimpleQueue_empty()
238 Py_ssize_t _return_value; in _queue_SimpleQueue_qsize() local
240 _return_value = _queue_SimpleQueue_qsize_impl(self); in _queue_SimpleQueue_qsize()
241 if ((_return_value == -1) && PyErr_Occurred()) { in _queue_SimpleQueue_qsize()
244 return_value = PyLong_FromSsize_t(_return_value); in _queue_SimpleQueue_qsize()
D_statisticsmodule.c.h24 double _return_value; in _statistics__normal_dist_inv_cdf() local
59 _return_value = _statistics__normal_dist_inv_cdf_impl(module, p, mu, sigma); in _statistics__normal_dist_inv_cdf()
60 if ((_return_value == -1.0) && PyErr_Occurred()) { in _statistics__normal_dist_inv_cdf()
63 return_value = PyFloat_FromDouble(_return_value); in _statistics__normal_dist_inv_cdf()
D_weakref.c.h21 Py_ssize_t _return_value; in _weakref_getweakrefcount() local
23 _return_value = _weakref_getweakrefcount_impl(module, object); in _weakref_getweakrefcount()
24 if ((_return_value == -1) && PyErr_Occurred()) { in _weakref_getweakrefcount()
27 return_value = PyLong_FromSsize_t(_return_value); in _weakref_getweakrefcount()
D_opcode.c.h29 int _return_value; in _opcode_stack_effect() local
50 _return_value = _opcode_stack_effect_impl(module, opcode, oparg, jump); in _opcode_stack_effect()
51 if ((_return_value == -1) && PyErr_Occurred()) { in _opcode_stack_effect()
54 return_value = PyLong_FromLong((long)_return_value); in _opcode_stack_effect()
Dposixmodule.c.h181 int _return_value; in os_access() local
219 _return_value = os_access_impl(module, &path, mode, dir_fd, effective_ids, follow_symlinks); in os_access()
220 if ((_return_value == -1) && PyErr_Occurred()) { in os_access()
223 return_value = PyBool_FromLong((long)_return_value); in os_access()
1721 long _return_value; in os_system() local
1739 _return_value = os_system_impl(module, command); in os_system()
1740 if ((_return_value == -1) && PyErr_Occurred()) { in os_system()
1743 return_value = PyLong_FromLong(_return_value); in os_system()
1778 long _return_value; in os_system() local
1787 _return_value = os_system_impl(module, command); in os_system()
[all …]
D_bisectmodule.c.h38 Py_ssize_t _return_value; in _bisect_bisect_right() local
80 _return_value = _bisect_bisect_right_impl(module, a, x, lo, hi, key); in _bisect_bisect_right()
81 if ((_return_value == -1) && PyErr_Occurred()) { in _bisect_bisect_right()
84 return_value = PyLong_FromSsize_t(_return_value); in _bisect_bisect_right()
201 Py_ssize_t _return_value; in _bisect_bisect_left() local
243 _return_value = _bisect_bisect_left_impl(module, a, x, lo, hi, key); in _bisect_bisect_left()
244 if ((_return_value == -1) && PyErr_Occurred()) { in _bisect_bisect_left()
247 return_value = PyLong_FromSsize_t(_return_value); in _bisect_bisect_left()
D_operator.c.h21 int _return_value; in _operator_truth() local
23 _return_value = _operator_truth_impl(module, a); in _operator_truth()
24 if ((_return_value == -1) && PyErr_Occurred()) { in _operator_truth()
27 return_value = PyBool_FromLong((long)_return_value); in _operator_truth()
364 int _return_value; in _operator_not_() local
366 _return_value = _operator_not__impl(module, a); in _operator_not_()
367 if ((_return_value == -1) && PyErr_Occurred()) { in _operator_not_()
370 return_value = PyBool_FromLong((long)_return_value); in _operator_not_()
904 int _return_value; in _operator_contains() local
911 _return_value = _operator_contains_impl(module, a, b); in _operator_contains()
[all …]
Dresource.c.h151 int _return_value; in resource_getpagesize() local
153 _return_value = resource_getpagesize_impl(module); in resource_getpagesize()
154 if ((_return_value == -1) && PyErr_Occurred()) { in resource_getpagesize()
157 return_value = PyLong_FromLong((long)_return_value); in resource_getpagesize()
Dunicodedata.c.h247 int _return_value; in unicodedata_UCD_combining() local
261 _return_value = unicodedata_UCD_combining_impl(self, chr); in unicodedata_UCD_combining()
262 if ((_return_value == -1) && PyErr_Occurred()) { in unicodedata_UCD_combining()
265 return_value = PyLong_FromLong((long)_return_value); in unicodedata_UCD_combining()
291 int _return_value; in unicodedata_UCD_mirrored() local
305 _return_value = unicodedata_UCD_mirrored_impl(self, chr); in unicodedata_UCD_mirrored()
306 if ((_return_value == -1) && PyErr_Occurred()) { in unicodedata_UCD_mirrored()
309 return_value = PyLong_FromLong((long)_return_value); in unicodedata_UCD_mirrored()
Dmathmodule.c.h589 int _return_value; in math_isclose() local
644 _return_value = math_isclose_impl(module, a, b, rel_tol, abs_tol); in math_isclose()
645 if ((_return_value == -1) && PyErr_Occurred()) { in math_isclose()
648 return_value = PyBool_FromLong((long)_return_value); in math_isclose()
847 double _return_value; in math_ulp() local
859 _return_value = math_ulp_impl(module, x); in math_ulp()
860 if ((_return_value == -1.0) && PyErr_Occurred()) { in math_ulp()
863 return_value = PyFloat_FromDouble(_return_value); in math_ulp()
D_pickle.c.h53 Py_ssize_t _return_value; in _pickle_Pickler___sizeof__() local
55 _return_value = _pickle_Pickler___sizeof___impl(self); in _pickle_Pickler___sizeof__()
56 if ((_return_value == -1) && PyErr_Occurred()) { in _pickle_Pickler___sizeof__()
59 return_value = PyLong_FromSsize_t(_return_value); in _pickle_Pickler___sizeof__()
282 Py_ssize_t _return_value; in _pickle_Unpickler___sizeof__() local
284 _return_value = _pickle_Unpickler___sizeof___impl(self); in _pickle_Unpickler___sizeof__()
285 if ((_return_value == -1) && PyErr_Occurred()) { in _pickle_Unpickler___sizeof__()
288 return_value = PyLong_FromSsize_t(_return_value); in _pickle_Unpickler___sizeof__()
D_struct.c.h200 Py_ssize_t _return_value; in calcsize() local
205 _return_value = calcsize_impl(module, s_object); in calcsize()
206 if ((_return_value == -1) && PyErr_Occurred()) { in calcsize()
209 return_value = PyLong_FromSsize_t(_return_value); in calcsize()
Dsignalmodule.c.h60 long _return_value; in signal_alarm() local
66 _return_value = signal_alarm_impl(module, seconds); in signal_alarm()
67 if ((_return_value == -1) && PyErr_Occurred()) { in signal_alarm()
70 return_value = PyLong_FromLong(_return_value); in signal_alarm()
/third_party/python/PC/clinic/
Dmsvcrtmodule.c.h97 long _return_value; in msvcrt_setmode() local
110 _return_value = msvcrt_setmode_impl(module, fd, flags); in msvcrt_setmode()
111 if ((_return_value == -1) && PyErr_Occurred()) { in msvcrt_setmode()
114 return_value = PyLong_FromLong(_return_value); in msvcrt_setmode()
142 long _return_value; in msvcrt_open_osfhandle() local
148 _return_value = msvcrt_open_osfhandle_impl(module, handle, flags); in msvcrt_open_osfhandle()
149 if ((_return_value == -1) && PyErr_Occurred()) { in msvcrt_open_osfhandle()
152 return_value = PyLong_FromLong(_return_value); in msvcrt_open_osfhandle()
177 void *_return_value; in msvcrt_get_osfhandle() local
183 _return_value = msvcrt_get_osfhandle_impl(module, fd); in msvcrt_get_osfhandle()
[all …]
Dwinreg.c.h66 PyHKEYObject *_return_value; in winreg_HKEYType___enter__() local
68 _return_value = winreg_HKEYType___enter___impl(self); in winreg_HKEYType___enter__()
69 return_value = (PyObject *)_return_value; in winreg_HKEYType___enter__()
153 HKEY _return_value; in winreg_ConnectRegistry() local
178 _return_value = winreg_ConnectRegistry_impl(module, computer_name, key); in winreg_ConnectRegistry()
179 if (_return_value == NULL) { in winreg_ConnectRegistry()
182 return_value = PyHKEY_FromHKEY(_return_value); in winreg_ConnectRegistry()
224 HKEY _return_value; in winreg_CreateKey() local
249 _return_value = winreg_CreateKey_impl(module, key, sub_key); in winreg_CreateKey()
250 if (_return_value == NULL) { in winreg_CreateKey()
[all …]
/third_party/icu/icu4c/source/test/depstest/
Ddepstest.py40 _return_value = 0 variable
63 _return_value = 2
118 global _ignored_symbols, _obj_files, _symbols_to_files, _return_value
171 _return_value = 1
180 global _ignored_symbols, _obj_files, _return_value
198 _return_value = 1
202 _return_value = 1
203 if not _return_value:
206 if not _return_value:
213 _return_value = 1
[all …]
/third_party/python/Python/clinic/
Dsysmodule.c.h341 double _return_value; in sys_getswitchinterval() local
343 _return_value = sys_getswitchinterval_impl(module); in sys_getswitchinterval()
344 if ((_return_value == -1.0) && PyErr_Occurred()) { in sys_getswitchinterval()
347 return_value = PyFloat_FromDouble(_return_value); in sys_getswitchinterval()
441 int _return_value; in sys_get_coroutine_origin_tracking_depth() local
443 _return_value = sys_get_coroutine_origin_tracking_depth_impl(module); in sys_get_coroutine_origin_tracking_depth()
444 if ((_return_value == -1) && PyErr_Occurred()) { in sys_get_coroutine_origin_tracking_depth()
447 return_value = PyLong_FromLong((long)_return_value); in sys_get_coroutine_origin_tracking_depth()
670 Py_ssize_t _return_value; in sys_getrefcount() local
672 _return_value = sys_getrefcount_impl(module, object); in sys_getrefcount()
[all …]
Dimport.c.h356 int _return_value; in _imp_exec_dynamic() local
358 _return_value = _imp_exec_dynamic_impl(module, mod); in _imp_exec_dynamic()
359 if ((_return_value == -1) && PyErr_Occurred()) { in _imp_exec_dynamic()
362 return_value = PyLong_FromLong((long)_return_value); in _imp_exec_dynamic()
386 int _return_value; in _imp_exec_builtin() local
388 _return_value = _imp_exec_builtin_impl(module, mod); in _imp_exec_builtin()
389 if ((_return_value == -1) && PyErr_Occurred()) { in _imp_exec_builtin()
392 return_value = PyLong_FromLong((long)_return_value); in _imp_exec_builtin()
/third_party/python/Objects/clinic/
Dtypeobject.c.h21 int _return_value; in type___instancecheck__() local
23 _return_value = type___instancecheck___impl(self, instance); in type___instancecheck__()
24 if ((_return_value == -1) && PyErr_Occurred()) { in type___instancecheck__()
27 return_value = PyBool_FromLong((long)_return_value); in type___instancecheck__()
49 int _return_value; in type___subclasscheck__() local
51 _return_value = type___subclasscheck___impl(self, subclass); in type___subclasscheck__()
52 if ((_return_value == -1) && PyErr_Occurred()) { in type___subclasscheck__()
55 return_value = PyBool_FromLong((long)_return_value); in type___subclasscheck__()
Dlongobject.c.h140 Py_ssize_t _return_value; in int___sizeof__() local
142 _return_value = int___sizeof___impl(self); in int___sizeof__()
143 if ((_return_value == -1) && PyErr_Occurred()) { in int___sizeof__()
146 return_value = PyLong_FromSsize_t(_return_value); in int___sizeof__()
/third_party/python/Modules/_multiprocessing/clinic/
Dposixshmem.c.h31 int _return_value; in _posixshmem_shm_open() local
57 _return_value = _posixshmem_shm_open_impl(module, path, flags, mode); in _posixshmem_shm_open()
58 if ((_return_value == -1) && PyErr_Occurred()) { in _posixshmem_shm_open()
61 return_value = PyLong_FromLong((long)_return_value); in _posixshmem_shm_open()

12