Home
last modified time | relevance | path

Searched refs:_PyArg_BadArgument (Results 1 – 25 of 59) sorted by relevance

123

/external/python/cpython3/Modules/clinic/
Dunicodedata.c.h33 _PyArg_BadArgument("decimal", "argument 1", "a unicode character", args[0]); in unicodedata_UCD_decimal()
40 _PyArg_BadArgument("decimal", "argument 1", "a unicode character", args[0]); in unicodedata_UCD_decimal()
82 _PyArg_BadArgument("digit", "argument 1", "a unicode character", args[0]); in unicodedata_UCD_digit()
89 _PyArg_BadArgument("digit", "argument 1", "a unicode character", args[0]); in unicodedata_UCD_digit()
132 _PyArg_BadArgument("numeric", "argument 1", "a unicode character", args[0]); in unicodedata_UCD_numeric()
139 _PyArg_BadArgument("numeric", "argument 1", "a unicode character", args[0]); in unicodedata_UCD_numeric()
173 _PyArg_BadArgument("category", "argument", "a unicode character", arg); in unicodedata_UCD_category()
180 _PyArg_BadArgument("category", "argument", "a unicode character", arg); in unicodedata_UCD_category()
211 _PyArg_BadArgument("bidirectional", "argument", "a unicode character", arg); in unicodedata_UCD_bidirectional()
218 _PyArg_BadArgument("bidirectional", "argument", "a unicode character", arg); in unicodedata_UCD_bidirectional()
[all …]
D_codecsmodule.c.h37 _PyArg_BadArgument("lookup", "argument", "str", arg); in _codecs_lookup()
96 _PyArg_BadArgument("encode", "argument 'encoding'", "str", args[1]); in _codecs_encode()
113 _PyArg_BadArgument("encode", "argument 'errors'", "str", args[2]); in _codecs_encode()
173 _PyArg_BadArgument("decode", "argument 'encoding'", "str", args[1]); in _codecs_decode()
190 _PyArg_BadArgument("decode", "argument 'errors'", "str", args[2]); in _codecs_decode()
228 _PyArg_BadArgument("_forget_codec", "argument", "str", arg); in _codecs__forget_codec()
281 _PyArg_BadArgument("escape_decode", "argument 1", "contiguous buffer", args[0]); in _codecs_escape_decode()
303 _PyArg_BadArgument("escape_decode", "argument 2", "str or None", args[1]); in _codecs_escape_decode()
341 _PyArg_BadArgument("escape_encode", "argument 1", "bytes", args[0]); in _codecs_escape_encode()
363 _PyArg_BadArgument("escape_encode", "argument 2", "str or None", args[1]); in _codecs_escape_encode()
[all …]
Daudioop.c.h33 _PyArg_BadArgument("getsample", "argument 1", "contiguous buffer", args[0]); in audioop_getsample()
99 _PyArg_BadArgument("max", "argument 1", "contiguous buffer", args[0]); in audioop_max()
148 _PyArg_BadArgument("minmax", "argument 1", "contiguous buffer", args[0]); in audioop_minmax()
197 _PyArg_BadArgument("avg", "argument 1", "contiguous buffer", args[0]); in audioop_avg()
246 _PyArg_BadArgument("rms", "argument 1", "contiguous buffer", args[0]); in audioop_rms()
296 _PyArg_BadArgument("findfit", "argument 1", "contiguous buffer", args[0]); in audioop_findfit()
303 _PyArg_BadArgument("findfit", "argument 2", "contiguous buffer", args[1]); in audioop_findfit()
348 _PyArg_BadArgument("findfactor", "argument 1", "contiguous buffer", args[0]); in audioop_findfactor()
355 _PyArg_BadArgument("findfactor", "argument 2", "contiguous buffer", args[1]); in audioop_findfactor()
400 _PyArg_BadArgument("findmax", "argument 1", "contiguous buffer", args[0]); in audioop_findmax()
[all …]
D_tkinter.c.h23 _PyArg_BadArgument("eval", "argument", "str", arg); in _tkinter_tkapp_eval()
59 _PyArg_BadArgument("evalfile", "argument", "str", arg); in _tkinter_tkapp_evalfile()
95 _PyArg_BadArgument("record", "argument", "str", arg); in _tkinter_tkapp_record()
131 _PyArg_BadArgument("adderrorinfo", "argument", "str", arg); in _tkinter_tkapp_adderrorinfo()
191 _PyArg_BadArgument("exprstring", "argument", "str", arg); in _tkinter_tkapp_exprstring()
227 _PyArg_BadArgument("exprlong", "argument", "str", arg); in _tkinter_tkapp_exprlong()
263 _PyArg_BadArgument("exprdouble", "argument", "str", arg); in _tkinter_tkapp_exprdouble()
299 _PyArg_BadArgument("exprboolean", "argument", "str", arg); in _tkinter_tkapp_exprboolean()
356 _PyArg_BadArgument("createcommand", "argument 1", "str", args[0]); in _tkinter_tkapp_createcommand()
393 _PyArg_BadArgument("deletecommand", "argument", "str", arg); in _tkinter_tkapp_deletecommand()
[all …]
Dbinascii.c.h67 _PyArg_BadArgument("b2a_uu", "argument 1", "contiguous buffer", args[0]); in binascii_b2a_uu()
156 _PyArg_BadArgument("b2a_base64", "argument 1", "contiguous buffer", args[0]); in binascii_b2a_base64()
236 _PyArg_BadArgument("rlecode_hqx", "argument", "contiguous buffer", arg); in binascii_rlecode_hqx()
272 _PyArg_BadArgument("b2a_hqx", "argument", "contiguous buffer", arg); in binascii_b2a_hqx()
308 _PyArg_BadArgument("rledecode_hqx", "argument", "contiguous buffer", arg); in binascii_rledecode_hqx()
348 _PyArg_BadArgument("crc_hqx", "argument 1", "contiguous buffer", args[0]); in binascii_crc_hqx()
398 _PyArg_BadArgument("crc32", "argument 1", "contiguous buffer", args[0]); in binascii_crc32()
479 _PyArg_BadArgument("b2a_hex", "argument 'data'", "contiguous buffer", args[0]); in binascii_b2a_hex()
554 _PyArg_BadArgument("hexlify", "argument 'data'", "contiguous buffer", args[0]); in binascii_hexlify()
745 _PyArg_BadArgument("b2a_qp", "argument 'data'", "contiguous buffer", args[0]); in binascii_b2a_qp()
Dpyexpat.c.h78 _PyArg_BadArgument("SetBase", "argument", "str", arg); in pyexpat_xmlparser_SetBase()
175 _PyArg_BadArgument("ExternalEntityParserCreate", "argument 1", "str or None", args[0]); in pyexpat_xmlparser_ExternalEntityParserCreate()
182 _PyArg_BadArgument("ExternalEntityParserCreate", "argument 2", "str", args[1]); in pyexpat_xmlparser_ExternalEntityParserCreate()
331 _PyArg_BadArgument("ParserCreate", "argument 'encoding'", "str or None", args[0]); in pyexpat_ParserCreate()
354_PyArg_BadArgument("ParserCreate", "argument 'namespace_separator'", "str or None", args[1]); in pyexpat_ParserCreate()
D_cryptmodule.c.h33 _PyArg_BadArgument("crypt", "argument 1", "str", args[0]); in crypt_crypt()
46 _PyArg_BadArgument("crypt", "argument 2", "str", args[1]); in crypt_crypt()
D_ssl.c.h225 _PyArg_BadArgument("write", "argument", "contiguous buffer", arg); in _ssl__SSLSocket_write()
356 _PyArg_BadArgument("get_channel_binding", "argument 'cb_type'", "str", args[0]); in _ssl__SSLSocket_get_channel_binding()
442 _PyArg_BadArgument("set_ciphers", "argument", "str", arg); in _ssl__SSLContext_set_ciphers()
503 _PyArg_BadArgument("_set_npn_protocols", "argument", "contiguous buffer", arg); in _ssl__SSLContext__set_npn_protocols()
539 _PyArg_BadArgument("_set_alpn_protocols", "argument", "contiguous buffer", arg); in _ssl__SSLContext__set_alpn_protocols()
693_PyArg_BadArgument("_wrap_socket", "argument 'sock'", (PySocketModule.Sock_Type)->tp_name, args[0]… in _ssl__SSLContext__wrap_socket()
768_PyArg_BadArgument("_wrap_bio", "argument 'incoming'", (&PySSLMemoryBIO_Type)->tp_name, args[0]); in _ssl__SSLContext__wrap_bio()
773_PyArg_BadArgument("_wrap_bio", "argument 'outgoing'", (&PySSLMemoryBIO_Type)->tp_name, args[1]); in _ssl__SSLContext__wrap_bio()
1020 _PyArg_BadArgument("write", "argument", "contiguous buffer", arg); in _ssl_MemoryBIO_write()
1092 _PyArg_BadArgument("RAND_add", "argument 1", "contiguous buffer", args[0]); in _ssl_RAND_add()
[all …]
Dzlibmodule.c.h41 _PyArg_BadArgument("compress", "argument 1", "contiguous buffer", args[0]); in zlib_compress()
108 _PyArg_BadArgument("decompress", "argument 1", "contiguous buffer", args[0]); in zlib_decompress()
276 _PyArg_BadArgument("compressobj", "argument 'zdict'", "contiguous buffer", args[5]); in zlib_compressobj()
378 _PyArg_BadArgument("compress", "argument", "contiguous buffer", arg); in zlib_Compress_compress()
435 _PyArg_BadArgument("decompress", "argument 1", "contiguous buffer", args[0]); in zlib_Decompress_decompress()
680 _PyArg_BadArgument("adler32", "argument 1", "contiguous buffer", args[0]); in zlib_adler32()
738 _PyArg_BadArgument("crc32", "argument 1", "contiguous buffer", args[0]); in zlib_crc32()
D_hashopenssl.c.h913 _PyArg_BadArgument("pbkdf2_hmac", "argument 'hash_name'", "str", args[0]); in pbkdf2_hmac()
929 _PyArg_BadArgument("pbkdf2_hmac", "argument 'password'", "contiguous buffer", args[1]); in pbkdf2_hmac()
936 _PyArg_BadArgument("pbkdf2_hmac", "argument 'salt'", "contiguous buffer", args[2]); in pbkdf2_hmac()
1009 _PyArg_BadArgument("scrypt", "argument 'password'", "contiguous buffer", args[0]); in _hashlib_scrypt()
1020 _PyArg_BadArgument("scrypt", "argument 'salt'", "contiguous buffer", args[1]); in _hashlib_scrypt()
1029 _PyArg_BadArgument("scrypt", "argument 'n'", "int", args[2]); in _hashlib_scrypt()
1039 _PyArg_BadArgument("scrypt", "argument 'r'", "int", args[3]); in _hashlib_scrypt()
1049 _PyArg_BadArgument("scrypt", "argument 'p'", "int", args[4]); in _hashlib_scrypt()
1130 _PyArg_BadArgument("hmac_digest", "argument 'key'", "contiguous buffer", args[0]); in _hashlib_hmac_singleshot()
1137 _PyArg_BadArgument("hmac_digest", "argument 'msg'", "contiguous buffer", args[1]); in _hashlib_hmac_singleshot()
[all …]
D_struct.c.h68 _PyArg_BadArgument("unpack", "argument", "contiguous buffer", arg); in Struct_unpack()
121 _PyArg_BadArgument("unpack_from", "argument 'buffer'", "contiguous buffer", args[0]); in Struct_unpack_from()
256 _PyArg_BadArgument("unpack", "argument 2", "contiguous buffer", args[1]); in unpack()
312 _PyArg_BadArgument("unpack_from", "argument 'buffer'", "contiguous buffer", args[1]); in unpack_from()
/external/python/cpython3/Objects/clinic/
Dcodeobject.c.h161 _PyArg_BadArgument("replace", "argument 'co_code'", "bytes", args[7]); in code_replace()
171 _PyArg_BadArgument("replace", "argument 'co_consts'", "tuple", args[8]); in code_replace()
181 _PyArg_BadArgument("replace", "argument 'co_names'", "tuple", args[9]); in code_replace()
191 _PyArg_BadArgument("replace", "argument 'co_varnames'", "tuple", args[10]); in code_replace()
201 _PyArg_BadArgument("replace", "argument 'co_freevars'", "tuple", args[11]); in code_replace()
211 _PyArg_BadArgument("replace", "argument 'co_cellvars'", "tuple", args[12]); in code_replace()
221 _PyArg_BadArgument("replace", "argument 'co_filename'", "str", args[13]); in code_replace()
234 _PyArg_BadArgument("replace", "argument 'co_name'", "str", args[14]); in code_replace()
246 _PyArg_BadArgument("replace", "argument 'co_lnotab'", "bytes", args[15]); in code_replace()
Dbytesobject.c.h102 _PyArg_BadArgument("partition", "argument", "contiguous buffer", arg); in bytes_partition()
145 _PyArg_BadArgument("rpartition", "argument", "contiguous buffer", arg); in bytes_rpartition()
423 _PyArg_BadArgument("maketrans", "argument 1", "contiguous buffer", args[0]); in bytes_maketrans()
430 _PyArg_BadArgument("maketrans", "argument 2", "contiguous buffer", args[1]); in bytes_maketrans()
483 _PyArg_BadArgument("replace", "argument 1", "contiguous buffer", args[0]); in bytes_replace()
490 _PyArg_BadArgument("replace", "argument 2", "contiguous buffer", args[1]); in bytes_replace()
554 _PyArg_BadArgument("removeprefix", "argument", "contiguous buffer", arg); in bytes_removeprefix()
594 _PyArg_BadArgument("removesuffix", "argument", "contiguous buffer", arg); in bytes_removesuffix()
650 _PyArg_BadArgument("decode", "argument 'encoding'", "str", args[0]); in bytes_decode()
667 _PyArg_BadArgument("decode", "argument 'errors'", "str", args[1]); in bytes_decode()
[all …]
Dfloatobject.c.h274 _PyArg_BadArgument("__getformat__", "argument", "str", arg); in float___getformat__()
328 _PyArg_BadArgument("__set_format__", "argument 1", "str", args[0]); in float___set_format__()
341 _PyArg_BadArgument("__set_format__", "argument 2", "str", args[1]); in float___set_format__()
378 _PyArg_BadArgument("__format__", "argument", "str", arg); in float___format__()
Dfuncobject.c.h47 _PyArg_BadArgument("function", "argument 'code'", (&PyCode_Type)->tp_name, fastargs[0]); in func_new()
52 _PyArg_BadArgument("function", "argument 'globals'", "dict", fastargs[1]); in func_new()
Dbytearrayobject.c.h67 _PyArg_BadArgument("removeprefix", "argument", "contiguous buffer", arg); in bytearray_removeprefix()
107 _PyArg_BadArgument("removesuffix", "argument", "contiguous buffer", arg); in bytearray_removesuffix()
198 _PyArg_BadArgument("maketrans", "argument 1", "contiguous buffer", args[0]); in bytearray_maketrans()
205 _PyArg_BadArgument("maketrans", "argument 2", "contiguous buffer", args[1]); in bytearray_maketrans()
258 _PyArg_BadArgument("replace", "argument 1", "contiguous buffer", args[0]); in bytearray_replace()
265 _PyArg_BadArgument("replace", "argument 2", "contiguous buffer", args[1]); in bytearray_replace()
818 _PyArg_BadArgument("decode", "argument 'encoding'", "str", args[0]); in bytearray_decode()
835 _PyArg_BadArgument("decode", "argument 'errors'", "str", args[1]); in bytearray_decode()
937 _PyArg_BadArgument("fromhex", "argument", "str", arg); in bytearray_fromhex()
/external/python/cpython3/Python/clinic/
Dimport.c.h95 _PyArg_BadArgument("_fix_co_filename", "argument 1", (&PyCode_Type)->tp_name, args[0]); in _imp__fix_co_filename()
100 _PyArg_BadArgument("_fix_co_filename", "argument 2", "str", args[1]); in _imp__fix_co_filename()
159 _PyArg_BadArgument("init_frozen", "argument", "str", arg); in _imp_init_frozen()
191 _PyArg_BadArgument("get_frozen_object", "argument", "str", arg); in _imp_get_frozen_object()
223 _PyArg_BadArgument("is_frozen_package", "argument", "str", arg); in _imp_is_frozen_package()
255 _PyArg_BadArgument("is_builtin", "argument", "str", arg); in _imp_is_builtin()
287 _PyArg_BadArgument("is_frozen", "argument", "str", arg); in _imp_is_frozen()
436 _PyArg_BadArgument("source_hash", "argument 'source'", "contiguous buffer", args[1]); in _imp_source_hash()
/external/python/cpython3/Modules/_io/clinic/
D_iomodule.c.h164 _PyArg_BadArgument("open", "argument 'mode'", "str", args[1]); in _io_open()
210 _PyArg_BadArgument("open", "argument 'encoding'", "str or None", args[3]); in _io_open()
233 _PyArg_BadArgument("open", "argument 'errors'", "str or None", args[4]); in _io_open()
256 _PyArg_BadArgument("open", "argument 'newline'", "str or None", args[5]); in _io_open()
314 _PyArg_BadArgument("open_code", "argument 'path'", "str", args[0]); in _io_open_code()
Dbufferedio.c.h24 _PyArg_BadArgument("readinto", "argument", "read-write bytes-like object", arg); in _io__BufferedIOBase_readinto()
28 _PyArg_BadArgument("readinto", "argument", "contiguous buffer", arg); in _io__BufferedIOBase_readinto()
61 _PyArg_BadArgument("readinto1", "argument", "read-write bytes-like object", arg); in _io__BufferedIOBase_readinto1()
65 _PyArg_BadArgument("readinto1", "argument", "contiguous buffer", arg); in _io__BufferedIOBase_readinto1()
246 _PyArg_BadArgument("readinto", "argument", "read-write bytes-like object", arg); in _io__Buffered_readinto()
250 _PyArg_BadArgument("readinto", "argument", "contiguous buffer", arg); in _io__Buffered_readinto()
283 _PyArg_BadArgument("readinto1", "argument", "read-write bytes-like object", arg); in _io__Buffered_readinto1()
287 _PyArg_BadArgument("readinto1", "argument", "contiguous buffer", arg); in _io__Buffered_readinto1()
541 _PyArg_BadArgument("write", "argument", "contiguous buffer", arg); in _io_BufferedWriter_write()
Dwinconsoleio.c.h72 _PyArg_BadArgument("_WindowsConsoleIO", "argument 'mode'", "str", fastargs[1]); in _io__WindowsConsoleIO___init__()
203 _PyArg_BadArgument("readinto", "argument", "read-write bytes-like object", arg); in _io__WindowsConsoleIO_readinto()
207 _PyArg_BadArgument("readinto", "argument", "contiguous buffer", arg); in _io__WindowsConsoleIO_readinto()
316 _PyArg_BadArgument("write", "argument", "contiguous buffer", arg); in _io__WindowsConsoleIO_write()
Dfileio.c.h73 _PyArg_BadArgument("FileIO", "argument 'mode'", "str", fastargs[1]); in _io_FileIO___init__()
203 _PyArg_BadArgument("readinto", "argument", "read-write bytes-like object", arg); in _io_FileIO_readinto()
207 _PyArg_BadArgument("readinto", "argument", "contiguous buffer", arg); in _io_FileIO_readinto()
306 _PyArg_BadArgument("write", "argument", "contiguous buffer", arg); in _io_FileIO_write()
/external/python/cpython3/Modules/cjkcodecs/clinic/
Dmultibytecodec.c.h58 _PyArg_BadArgument("encode", "argument 'errors'", "str or None", args[1]); in _multibytecodec_MultibyteCodec_encode()
106 _PyArg_BadArgument("decode", "argument 'input'", "contiguous buffer", args[0]); in _multibytecodec_MultibyteCodec_decode()
127 _PyArg_BadArgument("decode", "argument 'errors'", "str or None", args[1]); in _multibytecodec_MultibyteCodec_decode()
226 _PyArg_BadArgument("setstate", "argument", "int", arg); in _multibytecodec_MultibyteIncrementalEncoder_setstate()
285 _PyArg_BadArgument("decode", "argument 'input'", "contiguous buffer", args[0]); in _multibytecodec_MultibyteIncrementalDecoder_decode()
348 _PyArg_BadArgument("setstate", "argument", "tuple", arg); in _multibytecodec_MultibyteIncrementalDecoder_setstate()
/external/python/cpython3/PC/clinic/
Dmsvcrtmodule.c.h378 _PyArg_BadArgument("putch", "argument", "a byte string of length 1", arg); in msvcrt_putch()
406 _PyArg_BadArgument("putwch", "argument", "a unicode character", arg); in msvcrt_putwch()
413 _PyArg_BadArgument("putwch", "argument", "a unicode character", arg); in msvcrt_putwch()
452 _PyArg_BadArgument("ungetch", "argument", "a byte string of length 1", arg); in msvcrt_ungetch()
480 _PyArg_BadArgument("ungetwch", "argument", "a unicode character", arg); in msvcrt_ungetwch()
487 _PyArg_BadArgument("ungetwch", "argument", "a unicode character", arg); in msvcrt_ungetwch()
/external/python/cpython3/Modules/_blake2/clinic/
Dblake2s_impl.c.h77 _PyArg_BadArgument("blake2s", "argument 'key'", "contiguous buffer", fastargs[2]); in py_blake2s_new()
89 _PyArg_BadArgument("blake2s", "argument 'salt'", "contiguous buffer", fastargs[3]); in py_blake2s_new()
101 _PyArg_BadArgument("blake2s", "argument 'person'", "contiguous buffer", fastargs[4]); in py_blake2s_new()
Dblake2b_impl.c.h77 _PyArg_BadArgument("blake2b", "argument 'key'", "contiguous buffer", fastargs[2]); in py_blake2b_new()
89 _PyArg_BadArgument("blake2b", "argument 'salt'", "contiguous buffer", fastargs[3]); in py_blake2b_new()
101 _PyArg_BadArgument("blake2b", "argument 'person'", "contiguous buffer", fastargs[4]); in py_blake2b_new()

123