Home
last modified time | relevance | path

Searched refs:PyArg_ParseTupleAndKeywords (Results 1 – 25 of 169) sorted by relevance

1234567

/external/python/cpython3/Modules/
Dparsermodule.c391 ok = PyArg_ParseTupleAndKeywords(args, kw, "O!|pp:st2tuple", keywords, in parser_st2tuple()
396 ok = PyArg_ParseTupleAndKeywords(args, kw, "|pp:totuple", &keywords[1], in parser_st2tuple()
427 ok = PyArg_ParseTupleAndKeywords(args, kw, "O!|pp:st2list", keywords, in parser_st2list()
431 ok = PyArg_ParseTupleAndKeywords(args, kw, "|pp:tolist", &keywords[1], in parser_st2list()
463 ok = PyArg_ParseTupleAndKeywords(args, kw, "O!|O&:compilest", keywords, in parser_compilest()
467 ok = PyArg_ParseTupleAndKeywords(args, kw, "|O&:compile", &keywords[1], in parser_compilest()
513 ok = PyArg_ParseTupleAndKeywords(args, kw, "O!:isexpr", keywords, in parser_isexpr()
516 ok = PyArg_ParseTupleAndKeywords(args, kw, ":isexpr", &keywords[1]); in parser_isexpr()
536 ok = PyArg_ParseTupleAndKeywords(args, kw, "O!:issuite", keywords, in parser_issuite()
539 ok = PyArg_ParseTupleAndKeywords(args, kw, ":issuite", &keywords[1]); in parser_issuite()
[all …]
D_bisectmodule.c56 if (!PyArg_ParseTupleAndKeywords(args, kw, "OO|nn:bisect_right", in bisect_right()
86 if (!PyArg_ParseTupleAndKeywords(args, kw, "OO|nn:insort_right", in insort_right()
160 if (!PyArg_ParseTupleAndKeywords(args, kw, "OO|nn:bisect_left", in bisect_left()
190 if (!PyArg_ParseTupleAndKeywords(args, kw, "OO|nn:insort_left", in insort_left()
Dnismodule.c166 if (!PyArg_ParseTupleAndKeywords(args, kwdict, in nis_match()
208 if (!PyArg_ParseTupleAndKeywords(args, kwdict, "s|s:cat", in nis_cat()
399 if (!PyArg_ParseTupleAndKeywords(args, kwdict, in nis_maps()
Dfaulthandler.c261 if (!PyArg_ParseTupleAndKeywords(args, kwargs, in faulthandler_dump_traceback_py()
490 if (!PyArg_ParseTupleAndKeywords(args, kwargs, in faulthandler_py_enable()
655 if (!PyArg_ParseTupleAndKeywords(args, kwargs, in faulthandler_dump_traceback_later()
836 if (!PyArg_ParseTupleAndKeywords(args, kwargs, in faulthandler_register_py()
/external/python/cpython2/Modules/
D_bisectmodule.c52 if (!PyArg_ParseTupleAndKeywords(args, kw, "OO|nn:bisect_right", in bisect_right()
83 if (!PyArg_ParseTupleAndKeywords(args, kw, "OO|nn:insort_right", in insort_right()
158 if (!PyArg_ParseTupleAndKeywords(args, kw, "OO|nn:bisect_left", in bisect_left()
188 if (!PyArg_ParseTupleAndKeywords(args, kw, "OO|nn:insort_left", in insort_left()
D_bsddb.c799 if (!PyArg_ParseTupleAndKeywords(args, kwargs, format, kwnames, in _DBCursor_get()
1428 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|O:append", kwnames, in DB_append()
1604 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|iO:associate", kwnames, in DB_associate()
1726 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|Oi:consume", kwnames, in _DB_consume()
1793 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|Oi:cursor", kwnames, in DB_cursor()
1818 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|Oi:delete", kwnames, in DB_delete()
1861 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|OOOiiiI:compact", kwnames, in DB_compact()
1924 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|Oi:exists", kwnames, in DB_exists()
1976 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|OOiii:get", kwnames, in DB_get()
2042 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|OOiii:pget", kwnames, in DB_pget()
[all …]
Dnismodule.c169 if (!PyArg_ParseTupleAndKeywords(args, kwdict, in nis_match()
201 if (!PyArg_ParseTupleAndKeywords(args, kwdict, "s|s:cat", in nis_cat()
392 if (!PyArg_ParseTupleAndKeywords(args, kwdict, in nis_maps()
Dselectmodule.c812 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|i:epoll", kwlist, in pyepoll_new()
938 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|I:register", kwlist, in pyepoll_register()
963 if (!PyArg_ParseTupleAndKeywords(args, kwds, "OI:modify", kwlist, in pyepoll_modify()
983 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O:unregister", kwlist, in pyepoll_unregister()
1010 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|di:poll", kwlist, in pyepoll_poll()
1346 if (!PyArg_ParseTupleAndKeywords(args, kwds, fmt, kwlist, in kqueue_event_init()
D_hashopenssl.c395 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|s*:HASH", kwlist, in EVP_tp_init()
547 if (!PyArg_ParseTupleAndKeywords(args, kwdict, "O|s*:new", kwlist, in EVP_new()
676 if (!PyArg_ParseTupleAndKeywords(args, kwdict, "ss*s*l|O:pbkdf2_hmac", in pbkdf2_hmac()
Dparsermodule.c342 ok = PyArg_ParseTupleAndKeywords(args, kw, "O!|OO:st2tuple", keywords, in parser_st2tuple()
347 ok = PyArg_ParseTupleAndKeywords(args, kw, "|OO:totuple", &keywords[1], in parser_st2tuple()
398 ok = PyArg_ParseTupleAndKeywords(args, kw, "O!|OO:st2list", keywords, in parser_st2list()
402 ok = PyArg_ParseTupleAndKeywords(args, kw, "|OO:tolist", &keywords[1], in parser_st2list()
454 ok = PyArg_ParseTupleAndKeywords(args, kw, "O!|s:compilest", keywords, in parser_compilest()
457 ok = PyArg_ParseTupleAndKeywords(args, kw, "|s:compile", &keywords[1], in parser_compilest()
499 ok = PyArg_ParseTupleAndKeywords(args, kw, "O!:isexpr", keywords, in parser_isexpr()
502 ok = PyArg_ParseTupleAndKeywords(args, kw, ":isexpr", &keywords[1]); in parser_isexpr()
522 ok = PyArg_ParseTupleAndKeywords(args, kw, "O!:issuite", keywords, in parser_issuite()
525 ok = PyArg_ParseTupleAndKeywords(args, kw, ":issuite", &keywords[1]); in parser_issuite()
[all …]
Ddatetimemodule.c1956 if (PyArg_ParseTupleAndKeywords(args, kw, "|OOOOOOO:__new__", in delta_new()
2308 if (PyArg_ParseTupleAndKeywords(args, kw, "iii", date_kws, in date_new()
2537 if (! PyArg_ParseTupleAndKeywords(args, kw, "s#:strftime", keywords, in date_strftime()
2655 if (! PyArg_ParseTupleAndKeywords(args, kw, "|iii:replace", date_kws, in date_replace()
3190 if (PyArg_ParseTupleAndKeywords(args, kw, "|iiiiO", time_kws, in time_new()
3313 if (! PyArg_ParseTupleAndKeywords(args, kw, "s#:strftime", keywords, in time_strftime()
3456 if (! PyArg_ParseTupleAndKeywords(args, kw, "|iiiiO:replace", in time_replace()
3719 if (PyArg_ParseTupleAndKeywords(args, kw, "iii|iiiiO", datetime_kws, in datetime_new()
3862 if (! PyArg_ParseTupleAndKeywords(args, kw, "|O:now", keywords, in datetime_now()
3898 if (! PyArg_ParseTupleAndKeywords(args, kw, "d|O:fromtimestamp", in datetime_fromtimestamp()
[all …]
/external/python/cpython2/Include/
Dmodsupport.h17 #define PyArg_ParseTupleAndKeywords _PyArg_ParseTupleAndKeywords_SizeT macro
28 PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *,
/external/python/cpython2/Modules/_sqlite/
Dmodule.c64 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|diOiOi", kwlist, in module_connect()
94 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "s", kwlist, &statement)) in module_complete()
123 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i", kwlist, &do_enable)) in module_enable_shared_cache()
Dconnection.c77 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|diOiOi", kwlist, in pysqlite_connection_init()
331 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O", kwlist, in pysqlite_connection_cursor()
874 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "siO", kwlist, in pysqlite_connection_create_function()
908 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "siO:create_aggregate", in pysqlite_connection_create_aggregate()
1005 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:set_authorizer", in pysqlite_connection_set_authorizer()
1035 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "Oi:set_progress_handler", in pysqlite_connection_set_progress_handler()
/external/python/cpython3/Modules/_sqlite/
Dmodule.c76 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|diOiOip", kwlist, in module_connect()
109 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "s", kwlist, &statement)) in module_complete()
138 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i", kwlist, &do_enable)) in module_enable_shared_cache()
Dconnection.c93 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&|diOiOip", kwlist, in pysqlite_connection_init()
300 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O", kwlist, in pysqlite_connection_cursor()
824 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "siO", kwlist, in pysqlite_connection_create_function()
856 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "siO:create_aggregate", in pysqlite_connection_create_aggregate()
978 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:set_authorizer", in pysqlite_connection_set_authorizer()
1005 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "Oi:set_progress_handler", in pysqlite_connection_set_progress_handler()
1032 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:set_trace_callback", in pysqlite_connection_set_trace_callback()
1470 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O!|$iOsd:backup", keywords, in pysqlite_connection_backup()
/external/python/cpython3/Include/
Dmodsupport.h17 #define PyArg_ParseTupleAndKeywords _PyArg_ParseTupleAndKeywords_SizeT macro
41 PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *,
/external/brotli/python/
D_brotli.cc180 ok = PyArg_ParseTupleAndKeywords(args, keywds, "|O&O&O&O&:Compressor", in brotli_Compressor_init()
462 ok = PyArg_ParseTupleAndKeywords(args, keywds, "|:Decompressor", in brotli_Decompressor_init()
647 ok = PyArg_ParseTupleAndKeywords(args, keywds, "y*|:decompress", in brotli_decompress()
650 ok = PyArg_ParseTupleAndKeywords(args, keywds, "s*|:decompress", in brotli_decompress()
/external/python/cpython2/Misc/NEWS.d/next/C API/
D2018-07-09-11-39-54.bpo-23927.pDFkxb.rst1 Fixed :exc:`SystemError` in :c:func:`PyArg_ParseTupleAndKeywords` when the
/external/python/cpython2/Modules/cjkcodecs/
Dmultibytecodec.c552 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|z:encode", in MultibyteCodec_Encode()
609 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "s*|z:decode", in MultibyteCodec_Decode()
887 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|i:encode", in mbiencoder_encode()
920 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|s:IncrementalEncoder", in mbiencoder_new()
1035 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "s*|i:decode", in mbidecoder_decode()
1129 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|s:IncrementalDecoder", in mbidecoder_new()
1445 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|s:StreamReader", in mbstreamreader_new()
1650 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|s:StreamWriter", in mbstreamwriter_new()
/external/python/cpython2/Modules/_multiprocessing/
Dsemaphore.c69 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|iO", kwlist, in semlock_acquire()
286 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|iO", kwlist, in semlock_acquire()
434 if (!PyArg_ParseTupleAndKeywords(args, kwds, "iii", kwlist, in semlock_new()
/external/python/cpython3/Modules/_multiprocessing/
Dsemaphore.c72 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|iO", kwlist, in semlock_acquire()
279 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|iO", kwlist, in semlock_acquire()
441 if (!PyArg_ParseTupleAndKeywords(args, kwds, "iiisi", kwlist, in semlock_new()
/external/python/cpython2/Mac/Modules/cf/
D_CFmodule.c407 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CFTypeRefObj_Convert, &itself)) in CFTypeRefObj_tp_init()
611 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CFArrayRefObj_Convert, &itself)) in CFArrayRefObj_tp_init()
618 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CFTypeRefObj_Convert, &itself)) in CFArrayRefObj_tp_init()
851 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CFMutableArrayRefObj_Convert, &itself)) in CFMutableArrayRefObj_tp_init()
858 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CFTypeRefObj_Convert, &itself)) in CFMutableArrayRefObj_tp_init()
1044 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CFDictionaryRefObj_Convert, &itself)) in CFDictionaryRefObj_tp_init()
1051 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CFTypeRefObj_Convert, &itself)) in CFDictionaryRefObj_tp_init()
1221 …if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CFMutableDictionaryRefObj_Convert, &itself… in CFMutableDictionaryRefObj_tp_init()
1228 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CFTypeRefObj_Convert, &itself)) in CFMutableDictionaryRefObj_tp_init()
1452 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CFDataRefObj_Convert, &itself)) in CFDataRefObj_tp_init()
[all …]
/external/python/cpython2/Mac/Modules/carbonevt/
D_CarbonEvtmodule.c397 … if (!PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, EventRef_Convert, &itself)) return NULL; in EventRef_tp_new()
618 …if (!PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, EventQueueRef_Convert, &itself)) return N… in EventQueueRef_tp_new()
748 …if (!PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, EventLoopRef_Convert, &itself)) return NU… in EventLoopRef_tp_new()
896 …if (!PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, EventLoopTimerRef_Convert, &itself)) retu… in EventLoopTimerRef_tp_new()
1088 …if (!PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, EventHandlerRef_Convert, &itself)) return… in EventHandlerRef_tp_new()
1221 …if (!PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, EventHandlerCallRef_Convert, &itself)) re… in EventHandlerCallRef_tp_new()
1376 …if (!PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, EventTargetRef_Convert, &itself)) return … in EventTargetRef_tp_new()
1506 …if (!PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, EventHotKeyRef_Convert, &itself)) return … in EventHotKeyRef_tp_new()
/external/python/cpython2/Objects/
Dboolobject.c59 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O:bool", kwlist, &x)) in bool_new()

1234567