Home
last modified time | relevance | path

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

123

/third_party/python/Tools/peg_generator/peg_extension/
Dpeg_extension.c28 if (!PyArg_ParseTupleAndKeywords(args, kwds, "s|i", keywords, &filename, &mode)) { in parse_file()
76 if (!PyArg_ParseTupleAndKeywords(args, kwds, "s|i", keywords, &the_string, &mode)) { in parse_string()
/third_party/skia/third_party/externals/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()
/third_party/python/Modules/
D_xxsubinterpretersmodule.c1485 if (!PyArg_ParseTupleAndKeywords(args, kwds, in channelid_new()
2014 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|$i:create", kwlist, in interp_create()
2056 if (!PyArg_ParseTupleAndKeywords(args, kwds, in interp_destroy()
2178 if (!PyArg_ParseTupleAndKeywords(args, kwds, in interp_run_string()
2222 if (!PyArg_ParseTupleAndKeywords(args, kwds, in object_is_shareable()
2246 if (!PyArg_ParseTupleAndKeywords(args, kwds, in interp_is_running()
2299 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&:channel_destroy", kwlist, in channel_destroy()
2363 if (!PyArg_ParseTupleAndKeywords( in channel_list_interpreters()
2421 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&O:channel_send", kwlist, in channel_send()
2443 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&|O:channel_recv", kwlist, in channel_recv()
[all …]
Dnismodule.c197 if (!PyArg_ParseTupleAndKeywords(args, kwdict, in nis_match()
244 if (!PyArg_ParseTupleAndKeywords(args, kwdict, "s|s:cat", in nis_cat()
438 if (!PyArg_ParseTupleAndKeywords(args, kwdict, in nis_maps()
Dfaulthandler.c266 if (!PyArg_ParseTupleAndKeywords(args, kwargs, in faulthandler_dump_traceback_py()
530 if (!PyArg_ParseTupleAndKeywords(args, kwargs, in faulthandler_py_enable()
698 if (!PyArg_ParseTupleAndKeywords(args, kwargs, in faulthandler_dump_traceback_later()
900 if (!PyArg_ParseTupleAndKeywords(args, kwargs, in faulthandler_register_py()
D_datetimemodule.c2435 if (PyArg_ParseTupleAndKeywords(args, kw, "|OOOOOOO:__new__", in delta_new()
2845 if (PyArg_ParseTupleAndKeywords(args, kw, "iii", date_kws, in date_new()
3008 if (PyArg_ParseTupleAndKeywords(args, kw, "iii:fromisocalendar", in date_fromisocalendar()
3181 if (! PyArg_ParseTupleAndKeywords(args, kw, "U:strftime", keywords, in date_strftime()
3411 if (! PyArg_ParseTupleAndKeywords(args, kw, "|iii:replace", date_kws, in date_replace()
3855 if (PyArg_ParseTupleAndKeywords(args, kw, "O!|U:timezone", timezone_kws, in timezone_new()
4229 if (PyArg_ParseTupleAndKeywords(args, kw, "|iiiiO$i", time_kws, in time_new()
4324 if (!PyArg_ParseTupleAndKeywords(args, kw, "|s:isoformat", keywords, &timespec)) in time_isoformat()
4380 if (! PyArg_ParseTupleAndKeywords(args, kw, "U:strftime", keywords, in time_strftime()
4548 if (! PyArg_ParseTupleAndKeywords(args, kw, "|iiiiO$i:replace", in time_replace()
[all …]
D_lzmamodule.c272 if (!PyArg_ParseTupleAndKeywords(state->empty_tuple, spec, in INT_TYPE_CONVERTER_FUNC()
300 if (!PyArg_ParseTupleAndKeywords(state->empty_tuple, spec, "|OO&", optnames, in parse_filter_spec_delta()
324 if (!PyArg_ParseTupleAndKeywords(state->empty_tuple, spec, "|OO&", optnames, in parse_filter_spec_bcj()
778 if (!PyArg_ParseTupleAndKeywords(args, kwargs, in Compressor_init()
Dsyslogmodule.c121 if (!PyArg_ParseTupleAndKeywords(args, kwds, in syslog_openlog()
D_lsprof.c667 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|ii:enable", in profiler_enable()
769 if (!PyArg_ParseTupleAndKeywords(args, kw, "|Odii:Profiler", kwlist, in profiler_init()
D_json.c1145 if (!PyArg_ParseTupleAndKeywords(args, kwds, "On:scan_once", kwlist, &pystr, &idx)) in scanner_call()
1171 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O:make_scanner", kwlist, &ctx)) in scanner_new()
1245 if (!PyArg_ParseTupleAndKeywords(args, kwds, "OOOOUUppp:make_encoder", kwlist, in encoder_new()
1297 if (!PyArg_ParseTupleAndKeywords(args, kwds, "On:_iterencode", kwlist, in encoder_call()
D_functoolsmodule.c574 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O:K", kwargs, &object)) in keyobject_call()
635 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O:cmp_to_key", kwargs, &cmp)) in functools_cmp_to_key()
1167 if (!PyArg_ParseTupleAndKeywords(args, kw, "OOpO:lru_cache", keywords, in lru_cache_new()
D_testcapimodule.c1188 if (!PyArg_ParseTupleAndKeywords(args, kwargs, fmt, keywords, in getargs_keywords()
1206 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i|i$i", keywords, in getargs_keyword_only()
1221 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i|ii", keywords, in getargs_positional_only_and_keywords()
1781 result = PyArg_ParseTupleAndKeywords(sub_args, sub_kwargs, in parse_tuple_and_keywords()
2278 result = PyArg_ParseTupleAndKeywords(tuple, dict, "|:test_empty_argparse", kwlist); in test_empty_argparse()
3458 if (!PyArg_ParseTupleAndKeywords(args, kwargs, in make_exception_with_doc()
5967 if (!PyArg_ParseTupleAndKeywords(args, kwargs, fmt, keywords, in test_structmembers_new()
7097 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O", names, &value)) { in ContainerNoGC_new()
7415 #undef PyArg_ParseTupleAndKeywords
7416 PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *,
[all …]
D_zoneinfo.c264 if (PyArg_ParseTupleAndKeywords(args, kw, "O", kwlist, &key) == 0) { in zoneinfo_new()
346 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|O", kwlist, &file_obj, in zoneinfo_from_file()
383 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O", kwlist, &key)) { in zoneinfo_no_cache()
401 if (!(PyArg_ParseTupleAndKeywords(args, kwargs, "|$O", kwlist, in zoneinfo_clear_cache()
/third_party/python/Include/
Dmodsupport.h17 #define PyArg_ParseTupleAndKeywords _PyArg_ParseTupleAndKeywords_SizeT macro
41 PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *,
/third_party/python/Doc/includes/
Dcustom2.c47 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|OOi", kwlist, in Custom_init()
Dcustom3.c47 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|UUi", kwlist, in Custom_init()
Dcustom4.c63 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|UUi", kwlist, in Custom_init()
/third_party/python/Modules/_decimal/
D_decimal.c1259 if (!PyArg_ParseTupleAndKeywords( in context_init()
1730 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O", kwlist, &local)) { in ctxmanager_new()
2792 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|OO", kwlist, in dec_new()
3531 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|OO", kwlist, in PyDec_ToIntegralValue()
3572 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|OO", kwlist, in PyDec_ToIntegralExact()
3852 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O", kwlist, \
3871 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O", kwlist, \
3902 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|O", kwlist, \
3939 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|O", kwlist, \
3971 if (!PyArg_ParseTupleAndKeywords(args, kwds, "OO|O", kwlist, \
[all …]
/third_party/python/Objects/
Dinterpreteridobject.c79 if (!PyArg_ParseTupleAndKeywords(args, kwds, in interpid_new()
Dpicklebufobject.c76 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O:PickleBuffer", in picklebuf_new()
/third_party/protobuf/python/google/protobuf/pyext/
Dmessage_factory.cc82 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O", kwlist, &pool)) { in New()
Dmap_container.cc463 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|O", kwlist, &key, in ScalarMapGet()
758 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|O", kwlist, &key, in MessageMapGet()
/third_party/python/Modules/_sqlite/
Dmodule.c80 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|diOiOip", kwlist, in module_connect()
/third_party/python/Modules/cjkcodecs/
Dmultibytecodec.c1038 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|s:IncrementalEncoder", in mbiencoder_new()
1313 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|s:IncrementalDecoder", in mbidecoder_new()
1630 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|s:StreamReader", in mbstreamreader_new()
1837 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|s:StreamWriter", in mbstreamwriter_new()
/third_party/python/Doc/c-api/
Darg.rst13 :c:func:`PyArg_ParseTupleAndKeywords`, and :c:func:`PyArg_Parse`, all use *format
383 :c:func:`PyArg_ParseTupleAndKeywords` only:
434 .. c:function:: int PyArg_ParseTupleAndKeywords(PyObject *args, PyObject *kw, const char *format, c…
450 Identical to :c:func:`PyArg_ParseTupleAndKeywords`, except that it accepts a
457 is only needed if :c:func:`PyArg_ParseTupleAndKeywords` is not used, since the

123