Home
last modified time | relevance | path

Searched refs:PyLong_AsInt (Results 1 – 25 of 105) sorted by relevance

12345

/external/python/cpython3/Modules/clinic/
D_posixsubprocess.c.h97 p2cread = PyLong_AsInt(args[6]); in subprocess_fork_exec()
101 p2cwrite = PyLong_AsInt(args[7]); in subprocess_fork_exec()
105 c2pread = PyLong_AsInt(args[8]); in subprocess_fork_exec()
109 c2pwrite = PyLong_AsInt(args[9]); in subprocess_fork_exec()
113 errread = PyLong_AsInt(args[10]); in subprocess_fork_exec()
117 errwrite = PyLong_AsInt(args[11]); in subprocess_fork_exec()
121 errpipe_read = PyLong_AsInt(args[12]); in subprocess_fork_exec()
125 errpipe_write = PyLong_AsInt(args[13]); in subprocess_fork_exec()
144 child_umask = PyLong_AsInt(args[20]); in subprocess_fork_exec()
D_datetimemodule.c.h67 year = PyLong_AsInt(fastargs[0]); in iso_calendar_date_new()
71 week = PyLong_AsInt(fastargs[1]); in iso_calendar_date_new()
75 weekday = PyLong_AsInt(fastargs[2]); in iso_calendar_date_new()
141 year = PyLong_AsInt(args[0]); in datetime_date_replace()
150 month = PyLong_AsInt(args[1]); in datetime_date_replace()
158 day = PyLong_AsInt(args[2]); in datetime_date_replace()
230 hour = PyLong_AsInt(args[0]); in datetime_time_replace()
239 minute = PyLong_AsInt(args[1]); in datetime_time_replace()
248 second = PyLong_AsInt(args[2]); in datetime_time_replace()
257 microsecond = PyLong_AsInt(args[3]); in datetime_time_replace()
[all …]
Dsignalmodule.c.h36 signalnum = PyLong_AsInt(args[0]); in signal_default_int_handler()
68 seconds = PyLong_AsInt(arg); in signal_alarm()
124 signalnum = PyLong_AsInt(arg); in signal_raise_signal()
163 signalnum = PyLong_AsInt(args[0]); in signal_signal()
198 signalnum = PyLong_AsInt(arg); in signal_getsignal()
230 signalnum = PyLong_AsInt(arg); in signal_strsignal()
267 signalnum = PyLong_AsInt(args[0]); in signal_siginterrupt()
271 flag = PyLong_AsInt(args[1]); in signal_siginterrupt()
385 which = PyLong_AsInt(args[0]); in signal_setitimer()
423 which = PyLong_AsInt(arg); in signal_getitimer()
[all …]
Dsocketmodule.c.h61 family = PyLong_AsInt(fastargs[0]); in sock_initobj()
70 type = PyLong_AsInt(fastargs[1]); in sock_initobj()
79 proto = PyLong_AsInt(fastargs[2]); in sock_initobj()
113 x = PyLong_AsInt(arg); in _socket_socket_ntohs()
141 x = PyLong_AsInt(arg); in _socket_socket_htons()
Dresource.c.h24 who = PyLong_AsInt(arg); in resource_getrusage()
53 resource = PyLong_AsInt(arg); in resource_getrlimit()
85 resource = PyLong_AsInt(args[0]); in resource_setrlimit()
130 resource = PyLong_AsInt(args[1]); in resource_prlimit()
D_opcode.c.h64 opcode = PyLong_AsInt(args[0]); in _opcode_stack_effect()
138 opcode = PyLong_AsInt(args[0]); in _opcode_is_valid()
201 opcode = PyLong_AsInt(args[0]); in _opcode_has_arg()
264 opcode = PyLong_AsInt(args[0]); in _opcode_has_const()
327 opcode = PyLong_AsInt(args[0]); in _opcode_has_name()
390 opcode = PyLong_AsInt(args[0]); in _opcode_has_jump()
458 opcode = PyLong_AsInt(args[0]); in _opcode_has_free()
521 opcode = PyLong_AsInt(args[0]); in _opcode_has_local()
584 opcode = PyLong_AsInt(args[0]); in _opcode_has_exc()
722 offset = PyLong_AsInt(args[1]); in _opcode_get_executor()
Dfcntlmodule.c.h47 code = PyLong_AsInt(args[1]); in fcntl_fcntl()
175 code = PyLong_AsInt(args[1]); in fcntl_flock()
241 code = PyLong_AsInt(args[1]); in fcntl_lockf()
256 whence = PyLong_AsInt(args[4]); in fcntl_lockf()
Dtermios.c.h75 when = PyLong_AsInt(args[1]); in termios_tcsetattr()
116 duration = PyLong_AsInt(args[1]); in termios_tcsendbreak()
185 queue = PyLong_AsInt(args[1]); in termios_tcflush()
226 action = PyLong_AsInt(args[1]); in termios_tcflow()
D_cursesmodule.c.h711 y = PyLong_AsInt(args[0]); in _curses_window_enclose()
715 x = PyLong_AsInt(args[1]); in _curses_window_enclose()
1267 line = PyLong_AsInt(arg); in _curses_window_is_linetouched()
1511 beg = PyLong_AsInt(args[0]); in _curses_window_redrawln()
1515 num = PyLong_AsInt(args[1]); in _curses_window_redrawln()
1610 top = PyLong_AsInt(args[0]); in _curses_window_setscrreg()
1614 bottom = PyLong_AsInt(args[1]); in _curses_window_setscrreg()
2012 pair_number = PyLong_AsInt(arg); in _curses_color_pair()
2048 visibility = PyLong_AsInt(arg); in _curses_curs_set()
2123 ms = PyLong_AsInt(arg); in _curses_delay_output()
[all …]
Dposixmodule.c.h267 mode = PyLong_AsInt(args[1]); in os_access()
332 fd = PyLong_AsInt(arg); in os_ttyname()
575 mode = PyLong_AsInt(args[1]); in os_chmod()
665 fd = PyLong_AsInt(args[0]); in os_fchmod()
669 mode = PyLong_AsInt(args[1]); in os_fchmod()
738 mode = PyLong_AsInt(args[1]); in os_lchmod()
1293 fd = PyLong_AsInt(args[0]); in os_fchown()
2617 mode = PyLong_AsInt(args[1]); in os_mkdir()
2662 increment = PyLong_AsInt(arg); in os_nice()
2725 which = PyLong_AsInt(args[0]); in os_getpriority()
[all …]
D_testclinic_limited.c.h40 arg = PyLong_AsInt(arg_); in my_int_func()
77 x = PyLong_AsInt(args[0]); in my_int_sum()
81 y = PyLong_AsInt(args[1]); in my_int_sum()
Dzlibmodule.c.h77 level = PyLong_AsInt(args[1]); in zlib_compress()
85 wbits = PyLong_AsInt(args[2]); in zlib_compress()
167 wbits = PyLong_AsInt(args[1]); in zlib_decompress()
282 level = PyLong_AsInt(args[0]); in zlib_compressobj()
291 method = PyLong_AsInt(args[1]); in zlib_compressobj()
300 wbits = PyLong_AsInt(args[2]); in zlib_compressobj()
309 memLevel = PyLong_AsInt(args[3]); in zlib_compressobj()
318 strategy = PyLong_AsInt(args[4]); in zlib_compressobj()
401 wbits = PyLong_AsInt(args[0]); in zlib_decompressobj()
612 mode = PyLong_AsInt(args[0]); in zlib_Compress_flush()
Dreadline.c.h145 nelements = PyLong_AsInt(args[0]); in readline_append_history_file()
182 length = PyLong_AsInt(arg); in readline_set_history_length()
403 entry_number = PyLong_AsInt(arg); in readline_remove_history_item()
438 entry_number = PyLong_AsInt(args[0]); in readline_replace_history_item()
581 idx = PyLong_AsInt(arg); in readline_get_history_item()
/external/python/cpython3/Python/clinic/
Dinstrumentation.c.h28 tool_id = PyLong_AsInt(args[0]); in monitoring_use_tool_id()
56 tool_id = PyLong_AsInt(arg); in monitoring_free_tool_id()
83 tool_id = PyLong_AsInt(arg); in monitoring_get_tool()
116 tool_id = PyLong_AsInt(args[0]); in monitoring_register_callback()
120 event = PyLong_AsInt(args[1]); in monitoring_register_callback()
149 tool_id = PyLong_AsInt(arg); in monitoring_get_events()
184 tool_id = PyLong_AsInt(args[0]); in monitoring_set_events()
188 event_set = PyLong_AsInt(args[1]); in monitoring_set_events()
221 tool_id = PyLong_AsInt(args[0]); in monitoring_get_local_events()
259 tool_id = PyLong_AsInt(args[0]); in monitoring_set_local_events()
[all …]
Dinstruction_sequence.c.h89 label = PyLong_AsInt(args[0]); in InstructionSequenceType_use_label()
155 opcode = PyLong_AsInt(args[0]); in InstructionSequenceType_addop()
159 oparg = PyLong_AsInt(args[1]); in InstructionSequenceType_addop()
163 lineno = PyLong_AsInt(args[2]); in InstructionSequenceType_addop()
167 col_offset = PyLong_AsInt(args[3]); in InstructionSequenceType_addop()
171 end_lineno = PyLong_AsInt(args[4]); in InstructionSequenceType_addop()
175 end_col_offset = PyLong_AsInt(args[5]); in InstructionSequenceType_addop()
Dtraceback.c.h68 tb_lasti = PyLong_AsInt(fastargs[2]); in tb_new()
72 tb_lineno = PyLong_AsInt(fastargs[3]); in tb_new()
/external/python/cpython3/Objects/clinic/
Dcodeobject.c.h60 argcount = PyLong_AsInt(PyTuple_GET_ITEM(args, 0)); in code_new()
64 posonlyargcount = PyLong_AsInt(PyTuple_GET_ITEM(args, 1)); in code_new()
68 kwonlyargcount = PyLong_AsInt(PyTuple_GET_ITEM(args, 2)); in code_new()
72 nlocals = PyLong_AsInt(PyTuple_GET_ITEM(args, 3)); in code_new()
76 stacksize = PyLong_AsInt(PyTuple_GET_ITEM(args, 4)); in code_new()
80 flags = PyLong_AsInt(PyTuple_GET_ITEM(args, 5)); in code_new()
119 firstlineno = PyLong_AsInt(PyTuple_GET_ITEM(args, 13)); in code_new()
234 co_argcount = PyLong_AsInt(args[0]); in code_replace()
243 co_posonlyargcount = PyLong_AsInt(args[1]); in code_replace()
252 co_kwonlyargcount = PyLong_AsInt(args[2]); in code_replace()
[all …]
/external/python/cpython3/PC/clinic/
Dmsvcrtmodule.c.h58 fd = PyLong_AsInt(args[0]); in msvcrt_locking()
62 mode = PyLong_AsInt(args[1]); in msvcrt_locking()
104 fd = PyLong_AsInt(args[0]); in msvcrt_setmode()
108 flags = PyLong_AsInt(args[1]); in msvcrt_setmode()
153 flags = PyLong_AsInt(args[1]); in msvcrt_open_osfhandle()
188 fd = PyLong_AsInt(arg); in msvcrt_get_osfhandle()
513 type = PyLong_AsInt(args[0]); in msvcrt_CrtSetReportFile()
560 type = PyLong_AsInt(args[0]); in msvcrt_CrtSetReportMode()
564 mode = PyLong_AsInt(args[1]); in msvcrt_CrtSetReportMode()
603 mode = PyLong_AsInt(arg); in msvcrt_set_error_mode()
/external/python/cpython3/Modules/_blake2/clinic/
Dblake2s_impl.c.h89 digest_size = PyLong_AsInt(fastargs[1]); in py_blake2s_new()
122 fanout = PyLong_AsInt(fastargs[5]); in py_blake2s_new()
131 depth = PyLong_AsInt(fastargs[6]); in py_blake2s_new()
156 node_depth = PyLong_AsInt(fastargs[9]); in py_blake2s_new()
165 inner_size = PyLong_AsInt(fastargs[10]); in py_blake2s_new()
Dblake2b_impl.c.h89 digest_size = PyLong_AsInt(fastargs[1]); in py_blake2b_new()
122 fanout = PyLong_AsInt(fastargs[5]); in py_blake2b_new()
131 depth = PyLong_AsInt(fastargs[6]); in py_blake2b_new()
156 node_depth = PyLong_AsInt(fastargs[9]); in py_blake2b_new()
165 inner_size = PyLong_AsInt(fastargs[10]); in py_blake2b_new()
/external/python/cpython3/Modules/_testcapi/clinic/
Dwatchers.c.h28 watcher_id = PyLong_AsInt(args[0]); in _testcapi_watch_dict()
60 watcher_id = PyLong_AsInt(args[0]); in _testcapi_unwatch_dict()
92 watcher_id = PyLong_AsInt(args[0]); in _testcapi_watch_type()
124 watcher_id = PyLong_AsInt(args[0]); in _testcapi_unwatch_type()
Dfloat.c.h30 size = PyLong_AsInt(args[0]); in _testcapi_float_pack()
44 le = PyLong_AsInt(args[2]); in _testcapi_float_pack()
/external/python/cpython3/Modules/_sqlite/clinic/
Dblob.c.h56 length = PyLong_AsInt(args[0]); in blob_read()
128 offset = PyLong_AsInt(args[0]); in blob_seek()
135 origin = PyLong_AsInt(args[1]); in blob_seek()
/external/python/cpython3/Modules/_testinternalcapi/clinic/
Dtest_lock.c.h58 critical_section_length = PyLong_AsInt(args[2]); in _testinternalcapi_benchmark_locks()
65 time_ms = PyLong_AsInt(args[3]); in _testinternalcapi_benchmark_locks()
/external/python/cpython3/Include/
Dlongobject.h30 PyAPI_FUNC(int) PyLong_AsInt(PyObject *);
44 # define PyLong_AsPid PyLong_AsInt

12345