Home
last modified time | relevance | path

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

12345678

/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()
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()
/external/python/cpython3/Modules/
Dparsermodule.c387 ok = PyArg_ParseTupleAndKeywords(args, kw, "O!|pp:st2tuple", keywords, in parser_st2tuple()
392 ok = PyArg_ParseTupleAndKeywords(args, kw, "|pp:totuple", &keywords[1], in parser_st2tuple()
423 ok = PyArg_ParseTupleAndKeywords(args, kw, "O!|pp:st2list", keywords, in parser_st2list()
427 ok = PyArg_ParseTupleAndKeywords(args, kw, "|pp:tolist", &keywords[1], in parser_st2list()
459 ok = PyArg_ParseTupleAndKeywords(args, kw, "O!|O&:compilest", keywords, in parser_compilest()
463 ok = PyArg_ParseTupleAndKeywords(args, kw, "|O&:compile", &keywords[1], in parser_compilest()
509 ok = PyArg_ParseTupleAndKeywords(args, kw, "O!:isexpr", keywords, in parser_isexpr()
512 ok = PyArg_ParseTupleAndKeywords(args, kw, ":isexpr", &keywords[1]); in parser_isexpr()
532 ok = PyArg_ParseTupleAndKeywords(args, kw, "O!:issuite", keywords, in parser_issuite()
535 ok = PyArg_ParseTupleAndKeywords(args, kw, ":issuite", &keywords[1]); in parser_issuite()
[all …]
D_peg_parser.c45 if (!PyArg_ParseTupleAndKeywords(args, kwds, "s|ssp", keywords, in _Py_compile_string()
90 if (!PyArg_ParseTupleAndKeywords(args, kwds, "s|sspp", keywords, in _Py_parse_string()
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()
D_xxsubinterpretersmodule.c1485 if (!PyArg_ParseTupleAndKeywords(args, kwds, in channelid_new()
2007 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|$i:create", kwlist, in interp_create()
2049 if (!PyArg_ParseTupleAndKeywords(args, kwds, in interp_destroy()
2171 if (!PyArg_ParseTupleAndKeywords(args, kwds, in interp_run_string()
2215 if (!PyArg_ParseTupleAndKeywords(args, kwds, in object_is_shareable()
2239 if (!PyArg_ParseTupleAndKeywords(args, kwds, in interp_is_running()
2292 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&:channel_destroy", kwlist, in channel_destroy()
2356 if (!PyArg_ParseTupleAndKeywords( in channel_list_interpreters()
2414 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&O:channel_send", kwlist, in channel_send()
2436 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&|O:channel_recv", kwlist, in channel_recv()
[all …]
/external/python/cpython2/Include/
Dmodsupport.h17 #define PyArg_ParseTupleAndKeywords _PyArg_ParseTupleAndKeywords_SizeT macro
28 PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *,
/external/python/cpython3/Tools/peg_generator/peg_extension/
Dpeg_extension.c26 if (!PyArg_ParseTupleAndKeywords(args, kwds, "s|i", keywords, &filename, &mode)) { in parse_file()
65 if (!PyArg_ParseTupleAndKeywords(args, kwds, "s|i", keywords, &the_string, &mode)) { in parse_string()
/external/python/cffi/c/
Dffi_obj.c341 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|O:new", keywords, in _ffi_new()
394 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|OOi:new_allocator", keywords, in ffi_new_allocator()
627 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|s:getctype", keywords, in ffi_getctype()
709 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|Oi:from_buffer", keywords, in ffi_from_buffer()
760 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|OOO", keywords, in ffi_def_extern()
798 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|OOO", keywords, in ffi_callback()
881 if (!PyArg_ParseTupleAndKeywords(args, kwds, "s", keywords, &name)) in ffi_int_const()
997 if (!PyArg_ParseTupleAndKeywords(args, kwds, "OO", keywords, &func, &tag)) in ffi_init_once()
Dmisc_win32.h96 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|i", keywords, &err)) in b_getwinerror()
145 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|i", keywords, &err)) in b_getwinerror()
/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/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/cpython3/Modules/_sqlite/
Dmodule.c76 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|diOiOip", kwlist, in module_connect()
113 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "s", kwlist, &statement)) in module_complete()
142 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i", kwlist, &do_enable)) in module_enable_shared_cache()
Dconnection.c91 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&|diOiOip", kwlist, in pysqlite_connection_init()
296 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O", kwlist, in pysqlite_connection_cursor()
825 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "siO|$p", kwlist, in pysqlite_connection_create_function()
877 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "siO:create_aggregate", in pysqlite_connection_create_aggregate()
1004 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:set_authorizer", in pysqlite_connection_set_authorizer()
1032 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "Oi:set_progress_handler", in pysqlite_connection_set_progress_handler()
1059 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:set_trace_callback", in pysqlite_connection_set_trace_callback()
1496 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O!|$iOsO:backup", keywords, in pysqlite_connection_backup()
/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/cpython3/Include/
Dmodsupport.h17 #define PyArg_ParseTupleAndKeywords _PyArg_ParseTupleAndKeywords_SizeT macro
41 PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *,
/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/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/cpython3/Modules/_multiprocessing/
Dsemaphore.c72 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|iO", kwlist, in semlock_acquire()
276 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|iO", kwlist, in semlock_acquire()
442 if (!PyArg_ParseTupleAndKeywords(args, kwds, "iiisi", kwlist, in semlock_new()
/external/python/cpython2/Objects/
Dboolobject.c59 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O:bool", kwlist, &x)) in bool_new()
/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/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 …]

12345678