Home
last modified time | relevance | path

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

12

/external/python/cpython3/Modules/clinic/
Dcmathmodule.c.h22 Py_complex _return_value; in cmath_acos() local
29 _return_value = cmath_acos_impl(module, z); in cmath_acos()
30 PyFPE_END_PROTECT(_return_value); in cmath_acos()
40 return_value = PyComplex_FromCComplex(_return_value); in cmath_acos()
64 Py_complex _return_value; in cmath_acosh() local
71 _return_value = cmath_acosh_impl(module, z); in cmath_acosh()
72 PyFPE_END_PROTECT(_return_value); in cmath_acosh()
82 return_value = PyComplex_FromCComplex(_return_value); in cmath_acosh()
106 Py_complex _return_value; in cmath_asin() local
113 _return_value = cmath_asin_impl(module, z); in cmath_asin()
[all …]
D_winapi.c.h151 HANDLE _return_value; in _winapi_CreateFile() local
157_return_value = _winapi_CreateFile_impl(module, file_name, desired_access, share_mode, security_at… in _winapi_CreateFile()
158 if ((_return_value == INVALID_HANDLE_VALUE) && PyErr_Occurred()) { in _winapi_CreateFile()
161 if (_return_value == NULL) { in _winapi_CreateFile()
164 return_value = HANDLE_TO_PYNUM(_return_value); in _winapi_CreateFile()
228 HANDLE _return_value; in _winapi_CreateNamedPipe() local
234_return_value = _winapi_CreateNamedPipe_impl(module, name, open_mode, pipe_mode, max_instances, ou… in _winapi_CreateNamedPipe()
235 if ((_return_value == INVALID_HANDLE_VALUE) && PyErr_Occurred()) { in _winapi_CreateNamedPipe()
238 if (_return_value == NULL) { in _winapi_CreateNamedPipe()
241 return_value = HANDLE_TO_PYNUM(_return_value); in _winapi_CreateNamedPipe()
[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()
94 Py_ssize_t _return_value; in gc_collect() local
100 _return_value = gc_collect_impl(module, generation); in gc_collect()
101 if ((_return_value == -1) && PyErr_Occurred()) { in gc_collect()
104 return_value = PyLong_FromSsize_t(_return_value); in gc_collect()
164 int _return_value; in gc_get_debug() local
166 _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
53 _return_value = _sre_ascii_iscased_impl(module, character); in _sre_ascii_iscased()
54 if ((_return_value == -1) && PyErr_Occurred()) { in _sre_ascii_iscased()
57 return_value = PyBool_FromLong((long)_return_value); in _sre_ascii_iscased()
79 int _return_value; in _sre_unicode_iscased() local
84 _return_value = _sre_unicode_iscased_impl(module, character); in _sre_unicode_iscased()
[all …]
Dposixmodule.c.h146 int _return_value; in os_access() local
152 _return_value = os_access_impl(module, &path, mode, dir_fd, effective_ids, follow_symlinks); in os_access()
153 if ((_return_value == -1) && PyErr_Occurred()) { in os_access()
156 return_value = PyBool_FromLong((long)_return_value); in os_access()
187 char *_return_value; in os_ttyname() local
192 _return_value = os_ttyname_impl(module, fd); in os_ttyname()
193 if (_return_value == NULL) { in os_ttyname()
196 return_value = PyUnicode_DecodeFSDefault(_return_value); in os_ttyname()
1362 long _return_value; in os_system() local
1368 _return_value = os_system_impl(module, command); in os_system()
[all …]
D_queuemodule.c.h179 int _return_value; in _queue_SimpleQueue_empty() local
181 _return_value = _queue_SimpleQueue_empty_impl(self); in _queue_SimpleQueue_empty()
182 if ((_return_value == -1) && PyErr_Occurred()) { in _queue_SimpleQueue_empty()
185 return_value = PyBool_FromLong((long)_return_value); in _queue_SimpleQueue_empty()
207 Py_ssize_t _return_value; in _queue_SimpleQueue_qsize() local
209 _return_value = _queue_SimpleQueue_qsize_impl(self); in _queue_SimpleQueue_qsize()
210 if ((_return_value == -1) && PyErr_Occurred()) { in _queue_SimpleQueue_qsize()
213 return_value = PyLong_FromSsize_t(_return_value); in _queue_SimpleQueue_qsize()
D_opcode.c.h23 int _return_value; in _opcode_stack_effect() local
29 _return_value = _opcode_stack_effect_impl(module, opcode, oparg); in _opcode_stack_effect()
30 if ((_return_value == -1) && PyErr_Occurred()) { in _opcode_stack_effect()
33 return_value = PyLong_FromLong((long)_return_value); in _opcode_stack_effect()
Dunicodedata.c.h181 int _return_value; in unicodedata_UCD_combining() local
186 _return_value = unicodedata_UCD_combining_impl(self, chr); in unicodedata_UCD_combining()
187 if ((_return_value == -1) && PyErr_Occurred()) { in unicodedata_UCD_combining()
190 return_value = PyLong_FromLong((long)_return_value); in unicodedata_UCD_combining()
216 int _return_value; in unicodedata_UCD_mirrored() local
221 _return_value = unicodedata_UCD_mirrored_impl(self, chr); in unicodedata_UCD_mirrored()
222 if ((_return_value == -1) && PyErr_Occurred()) { in unicodedata_UCD_mirrored()
225 return_value = PyLong_FromLong((long)_return_value); in unicodedata_UCD_mirrored()
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_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 …]
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__()
243 Py_ssize_t _return_value; in _pickle_Unpickler___sizeof__() local
245 _return_value = _pickle_Unpickler___sizeof___impl(self); in _pickle_Unpickler___sizeof__()
246 if ((_return_value == -1) && PyErr_Occurred()) { in _pickle_Unpickler___sizeof__()
249 return_value = PyLong_FromSsize_t(_return_value); in _pickle_Unpickler___sizeof__()
Dresource.c.h145 int _return_value; in resource_getpagesize() local
147 _return_value = resource_getpagesize_impl(module); in resource_getpagesize()
148 if ((_return_value == -1) && PyErr_Occurred()) { in resource_getpagesize()
151 return_value = PyLong_FromLong((long)_return_value); in resource_getpagesize()
Dbinascii.c.h284 unsigned int _return_value; in binascii_crc_hqx() local
290 _return_value = binascii_crc_hqx_impl(module, &data, crc); in binascii_crc_hqx()
291 if ((_return_value == (unsigned int)-1) && PyErr_Occurred()) { in binascii_crc_hqx()
294 return_value = PyLong_FromUnsignedLong((unsigned long)_return_value); in binascii_crc_hqx()
323 unsigned int _return_value; in binascii_crc32() local
329 _return_value = binascii_crc32_impl(module, &data, crc); in binascii_crc32()
330 if ((_return_value == (unsigned int)-1) && PyErr_Occurred()) { in binascii_crc32()
333 return_value = PyLong_FromUnsignedLong((unsigned long)_return_value); in binascii_crc32()
D_struct.c.h166 Py_ssize_t _return_value; in calcsize() local
171 _return_value = calcsize_impl(module, s_object); in calcsize()
172 if ((_return_value == -1) && PyErr_Occurred()) { in calcsize()
175 return_value = PyLong_FromSsize_t(_return_value); in calcsize()
Dsignalmodule.c.h24 long _return_value; in signal_alarm() local
29 _return_value = signal_alarm_impl(module, seconds); in signal_alarm()
30 if ((_return_value == -1) && PyErr_Occurred()) { in signal_alarm()
33 return_value = PyLong_FromLong(_return_value); in signal_alarm()
Dmathmodule.c.h504 int _return_value; in math_isclose() local
510 _return_value = math_isclose_impl(module, a, b, rel_tol, abs_tol); in math_isclose()
511 if ((_return_value == -1) && PyErr_Occurred()) { in math_isclose()
514 return_value = PyBool_FromLong((long)_return_value); in math_isclose()
D_tkinter.c.h622 int _return_value; in _tkinter_getbusywaitinterval() local
624 _return_value = _tkinter_getbusywaitinterval_impl(module); in _tkinter_getbusywaitinterval()
625 if ((_return_value == -1) && PyErr_Occurred()) { in _tkinter_getbusywaitinterval()
628 return_value = PyLong_FromLong((long)_return_value); in _tkinter_getbusywaitinterval()
D_elementtree.c.h106 Py_ssize_t _return_value; in _elementtree_Element___sizeof__() local
108 _return_value = _elementtree_Element___sizeof___impl(self); in _elementtree_Element___sizeof__()
109 if ((_return_value == -1) && PyErr_Occurred()) { in _elementtree_Element___sizeof__()
112 return_value = PyLong_FromSsize_t(_return_value); in _elementtree_Element___sizeof__()
/external/python/cpython3/PC/clinic/
Dmsvcrtmodule.c.h86 long _return_value; in msvcrt_setmode() local
92 _return_value = msvcrt_setmode_impl(module, fd, flags); in msvcrt_setmode()
93 if ((_return_value == -1) && PyErr_Occurred()) { in msvcrt_setmode()
96 return_value = PyLong_FromLong(_return_value); in msvcrt_setmode()
124 long _return_value; in msvcrt_open_osfhandle() local
130 _return_value = msvcrt_open_osfhandle_impl(module, handle, flags); in msvcrt_open_osfhandle()
131 if ((_return_value == -1) && PyErr_Occurred()) { in msvcrt_open_osfhandle()
134 return_value = PyLong_FromLong(_return_value); in msvcrt_open_osfhandle()
159 void *_return_value; in msvcrt_get_osfhandle() local
164 _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__()
149 HKEY _return_value; in winreg_ConnectRegistry() local
155 _return_value = winreg_ConnectRegistry_impl(module, computer_name, key); in winreg_ConnectRegistry()
156 if (_return_value == NULL) { in winreg_ConnectRegistry()
159 return_value = PyHKEY_FromHKEY(_return_value); in winreg_ConnectRegistry()
196 HKEY _return_value; in winreg_CreateKey() local
202 _return_value = winreg_CreateKey_impl(module, key, sub_key); in winreg_CreateKey()
203 if (_return_value == NULL) { in winreg_CreateKey()
[all …]
/external/icu/icu4c/source/test/depstest/
Ddepstest.py35 _return_value = 0 variable
49 _return_value = 2
91 global _ignored_symbols, _obj_files, _symbols_to_files, _return_value
141 _return_value = 1
150 global _ignored_symbols, _obj_files, _return_value
168 _return_value = 1
172 _return_value = 1
173 if not _return_value:
176 if not _return_value:
183 _return_value = 1
[all …]
/external/python/cpython3/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.h86 Py_ssize_t _return_value; in int___sizeof__() local
88 _return_value = int___sizeof___impl(self); in int___sizeof__()
89 if ((_return_value == -1) && PyErr_Occurred()) { in int___sizeof__()
92 return_value = PyLong_FromSsize_t(_return_value); in int___sizeof__()
/external/python/cpython3/Python/clinic/
Dsysmodule.c.h55 int _return_value; in sys_get_coroutine_origin_tracking_depth() local
57 _return_value = sys_get_coroutine_origin_tracking_depth_impl(module); in sys_get_coroutine_origin_tracking_depth()
58 if ((_return_value == -1) && PyErr_Occurred()) { in sys_get_coroutine_origin_tracking_depth()
61 return_value = PyLong_FromLong((long)_return_value); in sys_get_coroutine_origin_tracking_depth()
Dimport.c.h315 int _return_value; in _imp_exec_dynamic() local
317 _return_value = _imp_exec_dynamic_impl(module, mod); in _imp_exec_dynamic()
318 if ((_return_value == -1) && PyErr_Occurred()) { in _imp_exec_dynamic()
321 return_value = PyLong_FromLong((long)_return_value); in _imp_exec_dynamic()
345 int _return_value; in _imp_exec_builtin() local
347 _return_value = _imp_exec_builtin_impl(module, mod); in _imp_exec_builtin()
348 if ((_return_value == -1) && PyErr_Occurred()) { in _imp_exec_builtin()
351 return_value = PyLong_FromLong((long)_return_value); in _imp_exec_builtin()

12