Home
last modified time | relevance | path

Searched refs:PyArg_ParseTuple (Results 1 – 25 of 172) sorted by relevance

1234567

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_codecsmodule.c71 if (!PyArg_ParseTuple(args, "s:lookup", &encoding)) in codec_lookup()
94 if (!PyArg_ParseTuple(args, "O|ss:encode", &v, &encoding, &errors)) in codec_encode()
128 if (!PyArg_ParseTuple(args, "O|ss:decode", &v, &encoding, &errors)) in codec_decode()
168 if (!PyArg_ParseTuple(args, "s#|z:escape_decode", in escape_decode()
184 if (!PyArg_ParseTuple(args, "S|z:escape_encode", in escape_encode()
215 if (!PyArg_ParseTuple(args, "O|z:unicode_internal_decode", in unicode_internal_decode()
242 if (!PyArg_ParseTuple(args, "s*|zi:utf_7_decode", in utf_7_decode()
265 if (!PyArg_ParseTuple(args, "s*|zi:utf_8_decode", in utf_8_decode()
289 if (!PyArg_ParseTuple(args, "s*|zi:utf_16_decode", in utf_16_decode()
312 if (!PyArg_ParseTuple(args, "s*|zi:utf_16_le_decode", in utf_16_le_decode()
[all …]
Dpuremodule.c67 if (!PyArg_ParseTuple(args, "")) in call_voidarg_function()
80 if (!PyArg_ParseTuple(args, "s", &stringarg)) in call_stringarg_function()
99 if (PyArg_ParseTuple(args, "i", &intarg)) in call_stringorint_function()
107 if (!PyArg_ParseTuple(args, "s", &stringarg)) in call_stringorint_function()
125 if (!PyArg_ParseTuple(args, "s", &argstring)) in call_printfish_function()
138 if (!PyArg_ParseTuple(args, "l", &memrep)) in call_intasaddr_function()
153 if (!PyArg_ParseTuple(args, "li", &srcrep, &size)) in call_stringandint_function()
287 if (!PyArg_ParseTuple(args, "li:purify_set_pool_id", &memrep, &id)) in pure_purify_set_pool_id()
305 if (!PyArg_ParseTuple(args, "ll:purify_set_user_data", &memrep, &datarep)) in pure_purify_set_user_data()
321 if (!PyArg_ParseTuple(args, "l:purify_get_user_data", &memrep)) in pure_purify_get_user_data()
[all …]
Dxxsubtype.c29 if (!PyArg_ParseTuple(args, ":getstate")) in spamlist_getstate()
39 if (!PyArg_ParseTuple(args, "i:setstate", &state)) in spamlist_setstate()
154 if (!PyArg_ParseTuple(args, ":getstate")) in spamdict_getstate()
164 if (!PyArg_ParseTuple(args, "i:setstate", &state)) in spamdict_setstate()
242 if (!PyArg_ParseTuple(args, "OS|i", &obj, &name, &n)) in spam_bench()
Dxxmodule.c53 if (!PyArg_ParseTuple(args, ":demo")) in Xxo_demo()
156 if (!PyArg_ParseTuple(args, "ll:foo", &i, &j)) in xx_foo()
170 if (!PyArg_ParseTuple(args, ":new")) in xx_new()
185 if (!PyArg_ParseTuple(args, "O:bug", &list)) in xx_bug()
206 if (!PyArg_ParseTuple(args, "O#:roj", &a, &b)) in xx_roj()
Dimageop.c125 if ( !PyArg_ParseTuple(args, "s#iiiiiii", &cp, &len, &size, &x, &y, in imageop_crop()
181 if ( !PyArg_ParseTuple(args, "s#iiiii", in imageop_scale()
228 if ( !PyArg_ParseTuple(args, "s#iii", &cp, &len, &width, &maxx, &maxy) ) in imageop_tovideo()
280 if ( !PyArg_ParseTuple(args, "s#iii", &cp, &len, &x, &y, &tres) ) in imageop_grey2mono()
319 if ( !PyArg_ParseTuple(args, "s#ii", &cp, &len, &x, &y) ) in imageop_grey2grey4()
356 if ( !PyArg_ParseTuple(args, "s#ii", &cp, &len, &x, &y) ) in imageop_grey2grey2()
392 if ( !PyArg_ParseTuple(args, "s#ii", &cp, &len, &x, &y) ) in imageop_dither2mono()
436 if ( !PyArg_ParseTuple(args, "s#ii", &cp, &len, &x, &y) ) in imageop_dither2grey2()
473 if ( !PyArg_ParseTuple(args, "s#iiii", &cp, &len, &x, &y, &v0, &v1) ) in imageop_mono2grey()
512 if ( !PyArg_ParseTuple(args, "s#ii", &cp, &len, &x, &y) ) in imageop_grey22grey()
[all …]
Dfmmodule.c44 if (!PyArg_ParseTuple(args, "d", &size)) in fh_scalefont()
115 if (!PyArg_ParseTuple(args, "s", &str)) in fh_getstrwidth()
176 if (!PyArg_ParseTuple(args, "s", &str)) in fm_findfont()
185 if (!PyArg_ParseTuple(args, "s", &str)) in fm_prstr()
233 if (!PyArg_ParseTuple(args, "s", &str)) in fm_setpath()
D_testcapimodule.c806 if (PyArg_ParseTuple(tuple, "L:test_L_code", &value) < 0) in test_L_code()
820 if (PyArg_ParseTuple(tuple, "L:test_L_code", &value) < 0) in test_L_code()
838 if (!PyArg_ParseTuple(args, "i(ii)", &a, &b, &c)) in getargs_tuple()
866 if (!PyArg_ParseTuple(args, "b", &value)) in getargs_b()
875 if (!PyArg_ParseTuple(args, "B", &value)) in getargs_B()
884 if (!PyArg_ParseTuple(args, "h", &value)) in getargs_h()
893 if (!PyArg_ParseTuple(args, "H", &value)) in getargs_H()
902 if (!PyArg_ParseTuple(args, "I", &value)) in getargs_I()
911 if (!PyArg_ParseTuple(args, "k", &value)) in getargs_k()
920 if (!PyArg_ParseTuple(args, "i", &value)) in getargs_i()
[all …]
Dposixmodule.c710 if (!PyArg_ParseTuple(args, format, in posix_1str()
730 if (!PyArg_ParseTuple(args, format, in posix_2str()
756 if (!PyArg_ParseTuple(args, wformat, &uni)) in win32_1str()
767 if (!PyArg_ParseTuple(args, format, &ansi)) in win32_1str()
1255 if (!PyArg_ParseTuple(args, "|i:stat_float_times", &newval)) in stat_float_times()
1465 if (PyArg_ParseTuple(args, wformat, &po)) { in posix_do_stat()
1483 if (!PyArg_ParseTuple(args, format, in posix_do_stat()
1525 if (PyArg_ParseTuple(args, "Ui:access", &po, &mode)) { in posix_access()
1536 if (!PyArg_ParseTuple(args, "eti:access", in posix_access()
1555 if (!PyArg_ParseTuple(args, "eti:access", in posix_access()
[all …]
Dreadline.c78 if (!PyArg_ParseTuple(args, "s:parse_and_bind", &s)) in parse_and_bind()
102 if (!PyArg_ParseTuple(args, "|z:read_init_file", &s)) in read_init_file()
122 if (!PyArg_ParseTuple(args, "|z:read_history_file", &s)) in read_history_file()
143 if (!PyArg_ParseTuple(args, "|z:write_history_file", &s)) in write_history_file()
165 if (!PyArg_ParseTuple(args, "i:set_history_length", &length)) in set_history_length()
200 if (!PyArg_ParseTuple(args, buf, &function)) in set_hook()
347 if(!PyArg_ParseTuple(args, "s:set_completer_delims", &break_chars)) { in set_completer_delims()
397 if (!PyArg_ParseTuple(args, "i:remove_history", &entry_number)) in py_remove_history()
427 if (!PyArg_ParseTuple(args, "is:replace_history", &entry_number, in py_replace_history()
459 if(!PyArg_ParseTuple(args, "s:add_history", &line)) { in py_add_history()
[all …]
D_localemodule.c163 if (!PyArg_ParseTuple(args, "i|z:setlocale", &category, &locale)) in PyLocale_setlocale()
280 if (!PyArg_ParseTuple(args, "ss:strcoll", &s1, &s2)) in PyLocale_strcoll()
361 if (!PyArg_ParseTuple(args, "s:strxfrm", &s)) in PyLocale_strxfrm()
536 if (!PyArg_ParseTuple(args, "i:nl_langinfo", &item)) in PyLocale_nl_langinfo()
563 if (!PyArg_ParseTuple(args, "s", &in)) in PyIntl_gettext()
576 if (!PyArg_ParseTuple(args, "zs", &domain, &in)) in PyIntl_dgettext()
590 if (!PyArg_ParseTuple(args, "zsi", &domain, &msgid, &category)) in PyIntl_dcgettext()
603 if (!PyArg_ParseTuple(args, "z", &domain)) in PyIntl_textdomain()
621 if (!PyArg_ParseTuple(args, "sz", &domain, &dirname)) in PyIntl_bindtextdomain()
644 if (!PyArg_ParseTuple(args, "sz", &domain, &codeset)) in PyIntl_bind_textdomain_codeset()
Dfcntlmodule.c43 if (PyArg_ParseTuple(args, "O&is#:fcntl", in fcntl_fcntl()
63 if (!PyArg_ParseTuple(args, in fcntl_fcntl()
121 if (PyArg_ParseTuple(args, "O&Iw#|i:ioctl", in fcntl_ioctl()
172 if (PyArg_ParseTuple(args, "O&Is#:ioctl", in fcntl_ioctl()
193 if (!PyArg_ParseTuple(args, in fcntl_ioctl()
255 if (!PyArg_ParseTuple(args, "O&i:flock", in fcntl_flock()
313 if (!PyArg_ParseTuple(args, "O&i|OOi:lockf", in fcntl_lockf()
D_elementtree.c473 if (!PyArg_ParseTuple(args, "O|O!:Element", &tag, in element()
503 if (!PyArg_ParseTuple(args, "O!O|O!:SubElement", in subelement()
554 if (!PyArg_ParseTuple(args, "O!:append", &Element_Type, &element)) in element_append()
566 if (!PyArg_ParseTuple(args, ":clear")) in element_clear()
591 if (!PyArg_ParseTuple(args, ":__copy__")) in element_copy()
639 if (!PyArg_ParseTuple(args, "O:__deepcopy__", &memo)) in element_deepcopy()
762 if (!PyArg_ParseTuple(args, "O:extend", &seq_in)) in element_extend()
795 if (!PyArg_ParseTuple(args, "O|O:find", &tag, &namespaces)) in element_find()
826 if (!PyArg_ParseTuple(args, "O|OO:findtext", &tag, &default_value, &namespaces)) in element_findtext()
862 if (!PyArg_ParseTuple(args, "O|O:findall", &tag, &namespaces)) in element_findall()
[all …]
Dunicodedata.c127 if (!PyArg_ParseTuple(args, "O!|O:decimal", &PyUnicode_Type, &v, &defobj)) in unicodedata_decimal()
177 if (!PyArg_ParseTuple(args, "O!|O:digit", &PyUnicode_Type, &v, &defobj)) in unicodedata_digit()
212 if (!PyArg_ParseTuple(args, "O!|O:numeric", &PyUnicode_Type, &v, &defobj)) in unicodedata_numeric()
259 if (!PyArg_ParseTuple(args, "O!:category", in unicodedata_category()
288 if (!PyArg_ParseTuple(args, "O!:bidirectional", in unicodedata_bidirectional()
319 if (!PyArg_ParseTuple(args, "O!:combining", in unicodedata_combining()
348 if (!PyArg_ParseTuple(args, "O!:mirrored", in unicodedata_mirrored()
378 if (!PyArg_ParseTuple(args, "O!:east_asian_width", in unicodedata_east_asian_width()
409 if (!PyArg_ParseTuple(args, "O!:decomposition", in unicodedata_decomposition()
774 if(!PyArg_ParseTuple(args, "sO!:normalize", in unicodedata_normalize()
[all …]
Dbinascii.c199 if ( !PyArg_ParseTuple(args, "s*:a2b_uu", &pascii) ) in binascii_a2b_uu()
285 if ( !PyArg_ParseTuple(args, "s*:b2a_uu", &pbin) ) in binascii_b2a_uu()
373 if ( !PyArg_ParseTuple(args, "s*:a2b_base64", &pascii) ) in binascii_a2b_base64()
481 if ( !PyArg_ParseTuple(args, "s*:b2a_base64", &pbuf) ) in binascii_b2a_base64()
549 if ( !PyArg_ParseTuple(args, "s*:a2b_hqx", &pascii) ) in binascii_a2b_hqx()
632 if ( !PyArg_ParseTuple(args, "s*:rlecode_hqx", &pbuf) ) in binascii_rlecode_hqx()
698 if ( !PyArg_ParseTuple(args, "s*:b2a_hqx", &pbin) ) in binascii_b2a_hqx()
753 if ( !PyArg_ParseTuple(args, "s*:rledecode_hqx", &pin) ) in binascii_rledecode_hqx()
870 if ( !PyArg_ParseTuple(args, "s*i:crc_hqx", &pin, &crc) ) in binascii_crc_hqx()
897 if (!PyArg_ParseTuple(args, "s*|I:crc32", &pbuf, &crc32val)) in binascii_crc32()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
D_codecsmodule.c71 if (!PyArg_ParseTuple(args, "s:lookup", &encoding)) in codec_lookup()
94 if (!PyArg_ParseTuple(args, "O|ss:encode", &v, &encoding, &errors)) in codec_encode()
128 if (!PyArg_ParseTuple(args, "O|ss:decode", &v, &encoding, &errors)) in codec_decode()
168 if (!PyArg_ParseTuple(args, "s#|z:escape_decode", in escape_decode()
184 if (!PyArg_ParseTuple(args, "S|z:escape_encode", in escape_encode()
215 if (!PyArg_ParseTuple(args, "O|z:unicode_internal_decode", in unicode_internal_decode()
242 if (!PyArg_ParseTuple(args, "s*|zi:utf_7_decode", in utf_7_decode()
265 if (!PyArg_ParseTuple(args, "s*|zi:utf_8_decode", in utf_8_decode()
289 if (!PyArg_ParseTuple(args, "s*|zi:utf_16_decode", in utf_16_decode()
312 if (!PyArg_ParseTuple(args, "s*|zi:utf_16_le_decode", in utf_16_le_decode()
[all …]
Dxxsubtype.c29 if (!PyArg_ParseTuple(args, ":getstate")) in spamlist_getstate()
39 if (!PyArg_ParseTuple(args, "i:setstate", &state)) in spamlist_setstate()
154 if (!PyArg_ParseTuple(args, ":getstate")) in spamdict_getstate()
164 if (!PyArg_ParseTuple(args, "i:setstate", &state)) in spamdict_setstate()
242 if (!PyArg_ParseTuple(args, "OS|i", &obj, &name, &n)) in spam_bench()
D_localemodule.c163 if (!PyArg_ParseTuple(args, "i|z:setlocale", &category, &locale)) in PyLocale_setlocale()
280 if (!PyArg_ParseTuple(args, "ss:strcoll", &s1, &s2)) in PyLocale_strcoll()
361 if (!PyArg_ParseTuple(args, "s:strxfrm", &s)) in PyLocale_strxfrm()
536 if (!PyArg_ParseTuple(args, "i:nl_langinfo", &item)) in PyLocale_nl_langinfo()
563 if (!PyArg_ParseTuple(args, "s", &in)) in PyIntl_gettext()
576 if (!PyArg_ParseTuple(args, "zs", &domain, &in)) in PyIntl_dgettext()
590 if (!PyArg_ParseTuple(args, "zsi", &domain, &msgid, &category)) in PyIntl_dcgettext()
603 if (!PyArg_ParseTuple(args, "z", &domain)) in PyIntl_textdomain()
621 if (!PyArg_ParseTuple(args, "sz", &domain, &dirname)) in PyIntl_bindtextdomain()
644 if (!PyArg_ParseTuple(args, "sz", &domain, &codeset)) in PyIntl_bind_textdomain_codeset()
Dunicodedata.c127 if (!PyArg_ParseTuple(args, "O!|O:decimal", &PyUnicode_Type, &v, &defobj)) in unicodedata_decimal()
177 if (!PyArg_ParseTuple(args, "O!|O:digit", &PyUnicode_Type, &v, &defobj)) in unicodedata_digit()
212 if (!PyArg_ParseTuple(args, "O!|O:numeric", &PyUnicode_Type, &v, &defobj)) in unicodedata_numeric()
259 if (!PyArg_ParseTuple(args, "O!:category", in unicodedata_category()
288 if (!PyArg_ParseTuple(args, "O!:bidirectional", in unicodedata_bidirectional()
319 if (!PyArg_ParseTuple(args, "O!:combining", in unicodedata_combining()
348 if (!PyArg_ParseTuple(args, "O!:mirrored", in unicodedata_mirrored()
378 if (!PyArg_ParseTuple(args, "O!:east_asian_width", in unicodedata_east_asian_width()
409 if (!PyArg_ParseTuple(args, "O!:decomposition", in unicodedata_decomposition()
781 if(!PyArg_ParseTuple(args, "sO!:normalize", in unicodedata_normalize()
[all …]
Dbinascii.c199 if ( !PyArg_ParseTuple(args, "s*:a2b_uu", &pascii) ) in binascii_a2b_uu()
285 if ( !PyArg_ParseTuple(args, "s*:b2a_uu", &pbin) ) in binascii_b2a_uu()
371 if ( !PyArg_ParseTuple(args, "s*:a2b_base64", &pascii) ) in binascii_a2b_base64()
477 if ( !PyArg_ParseTuple(args, "s*:b2a_base64", &pbuf) ) in binascii_b2a_base64()
543 if ( !PyArg_ParseTuple(args, "s*:a2b_hqx", &pascii) ) in binascii_a2b_hqx()
623 if ( !PyArg_ParseTuple(args, "s*:rlecode_hqx", &pbuf) ) in binascii_rlecode_hqx()
687 if ( !PyArg_ParseTuple(args, "s*:b2a_hqx", &pbin) ) in binascii_b2a_hqx()
740 if ( !PyArg_ParseTuple(args, "s*:rledecode_hqx", &pin) ) in binascii_rledecode_hqx()
855 if ( !PyArg_ParseTuple(args, "s*i:crc_hqx", &pin, &crc) ) in binascii_crc_hqx()
882 if (!PyArg_ParseTuple(args, "s*|I:crc32", &pbuf, &crc32val)) in binascii_crc32()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/
Dedk2module.c252 if (!PyArg_ParseTuple(args, format, in edk2_1str()
272 if (!PyArg_ParseTuple(args, format, in edk2_2str()
457 if (!PyArg_ParseTuple(args, "|i:stat_float_times", &newval)) in stat_float_times()
572 if (!PyArg_ParseTuple(args, format, in edk2_do_stat()
608 if (!PyArg_ParseTuple(args, "eti:access", in edk2_access()
651 if (!PyArg_ParseTuple(args, "eti:chmod", Py_FileSystemDefaultEncoding, in edk2_chmod()
674 if (!PyArg_ParseTuple(args, "ii:fchmod", &fd, &mode)) in edk2_fchmod()
697 if (!PyArg_ParseTuple(args, "eti:lchmod", Py_FileSystemDefaultEncoding, in edk2_lchmod()
722 if (!PyArg_ParseTuple(args, "etk:chflags", in edk2_chflags()
748 if (!PyArg_ParseTuple(args, "etk:lchflags", in edk2_lchflags()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Efi/
Dedk2module.c251 if (!PyArg_ParseTuple(args, format, in posix_1str()
271 if (!PyArg_ParseTuple(args, format, in posix_2str()
456 if (!PyArg_ParseTuple(args, "|i:stat_float_times", &newval)) in stat_float_times()
571 if (!PyArg_ParseTuple(args, format, in posix_do_stat()
607 if (!PyArg_ParseTuple(args, "eti:access", in posix_access()
650 if (!PyArg_ParseTuple(args, "eti:chmod", Py_FileSystemDefaultEncoding, in posix_chmod()
673 if (!PyArg_ParseTuple(args, "ii:fchmod", &fd, &mode)) in posix_fchmod()
696 if (!PyArg_ParseTuple(args, "eti:lchmod", Py_FileSystemDefaultEncoding, in posix_lchmod()
721 if (!PyArg_ParseTuple(args, "etk:chflags", in posix_chflags()
747 if (!PyArg_ParseTuple(args, "etk:lchflags", in posix_lchflags()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dmodsupport.h16 #define PyArg_ParseTuple _PyArg_ParseTuple_SizeT macro
27 PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...) Py_FORMAT_PARSETUPLE(PyArg_ParseTup…
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dmodsupport.h16 #define PyArg_ParseTuple _PyArg_ParseTuple_SizeT macro
27 PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...) Py_FORMAT_PARSETUPLE(PyArg_ParseTup…
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/
Dtransmogrify.h22 if (!PyArg_ParseTuple(args, "|i:expandtabs", &tabsize)) in stringlib_expandtabs()
133 if (!PyArg_ParseTuple(args, "n|c:ljust", &width, &fillchar)) in stringlib_ljust()
163 if (!PyArg_ParseTuple(args, "n|c:rjust", &width, &fillchar)) in stringlib_rjust()
194 if (!PyArg_ParseTuple(args, "n|c:center", &width, &fillchar)) in stringlib_center()
228 if (!PyArg_ParseTuple(args, "n:zfill", &width)) in stringlib_zfill()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/
Dtransmogrify.h22 if (!PyArg_ParseTuple(args, "|i:expandtabs", &tabsize)) in stringlib_expandtabs()
133 if (!PyArg_ParseTuple(args, "n|c:ljust", &width, &fillchar)) in stringlib_ljust()
163 if (!PyArg_ParseTuple(args, "n|c:rjust", &width, &fillchar)) in stringlib_rjust()
194 if (!PyArg_ParseTuple(args, "n|c:center", &width, &fillchar)) in stringlib_center()
228 if (!PyArg_ParseTuple(args, "n:zfill", &width)) in stringlib_zfill()

1234567