/external/python/cpython3/Lib/test/ |
D | test_keyword.py | 19 oldlist = keyword.kwlist 21 keyword.kwlist = ['its', 'all', 'eggs', 'beans', 'and', 'a', 'slice'] 25 all_keywords = set(keyword.kwlist) 33 self.assertIn("async", keyword.kwlist) 34 self.assertIn("await", keyword.kwlist) 37 self.assertListEqual(sorted(keyword.kwlist), keyword.kwlist)
|
/external/python/cpython3/Lib/ |
D | keyword.py | 18 kwlist = [ variable 61 iskeyword = frozenset(kwlist).__contains__
|
/external/python/cpython2/Modules/_sqlite/ |
D | module.c | 53 …static char *kwlist[] = {"database", "timeout", "detect_types", "isolation_level", "check_same_thr… in module_connect() local 64 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|diOiOi", kwlist, in module_connect() 89 static char *kwlist[] = {"statement", NULL, NULL}; in module_complete() local 94 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "s", kwlist, &statement)) in module_complete() 119 static char *kwlist[] = {"do_enable", NULL, NULL}; in module_enable_shared_cache() local 123 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i", kwlist, &do_enable)) in module_enable_shared_cache()
|
D | connection.c | 62 …static char *kwlist[] = {"database", "timeout", "detect_types", "isolation_level", "check_same_thr… in pysqlite_connection_init() local 77 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|diOiOi", kwlist, in pysqlite_connection_init() 327 static char *kwlist[] = {"factory", NULL}; in pysqlite_connection_cursor() local 331 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O", kwlist, in pysqlite_connection_cursor() 863 static char *kwlist[] = {"name", "narg", "func", NULL, NULL}; in pysqlite_connection_create_function() local 874 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "siO", kwlist, in pysqlite_connection_create_function() 901 static char *kwlist[] = { "name", "n_arg", "aggregate_class", NULL }; in pysqlite_connection_create_aggregate() local 909 kwlist, &name, &n_arg, &aggregate_class)) { in pysqlite_connection_create_aggregate() 998 static char *kwlist[] = { "authorizer_callback", NULL }; in pysqlite_connection_set_authorizer() local 1006 kwlist, &authorizer_cb)) { in pysqlite_connection_set_authorizer() [all …]
|
/external/python/cpython3/Modules/_sqlite/ |
D | module.c | 60 static char *kwlist[] = { in module_connect() local 76 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|diOiOip", kwlist, in module_connect() 108 static char *kwlist[] = {"statement", NULL}; in module_complete() local 113 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "s", kwlist, &statement)) in module_complete() 138 static char *kwlist[] = {"do_enable", NULL}; in module_enable_shared_cache() local 142 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i", kwlist, &do_enable)) in module_enable_shared_cache()
|
D | connection.c | 74 static char *kwlist[] = { in pysqlite_connection_init() local 91 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&|diOiOip", kwlist, in pysqlite_connection_init() 292 static char *kwlist[] = {"factory", NULL}; in pysqlite_connection_cursor() local 296 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O", kwlist, in pysqlite_connection_cursor() 812 static char *kwlist[] = {"name", "narg", "func", "deterministic", NULL}; in pysqlite_connection_create_function() local 825 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "siO|$p", kwlist, in pysqlite_connection_create_function() 870 static char *kwlist[] = { "name", "n_arg", "aggregate_class", NULL }; in pysqlite_connection_create_aggregate() local 878 kwlist, &name, &n_arg, &aggregate_class)) { in pysqlite_connection_create_aggregate() 997 static char *kwlist[] = { "authorizer_callback", NULL }; in pysqlite_connection_set_authorizer() local 1005 kwlist, &authorizer_cb)) { in pysqlite_connection_set_authorizer() [all …]
|
/external/python/cpython2/Modules/ |
D | nismodule.c | 167 static char *kwlist[] = {"key", "map", "domain", NULL}; in nis_match() local 170 "t#s|s:match", kwlist, in nis_match() 199 static char *kwlist[] = {"map", "domain", NULL}; in nis_cat() local 202 kwlist, &map, &domain)) in nis_cat() 390 static char *kwlist[] = {"domain", NULL}; in nis_maps() local 393 "|s:maps", kwlist, &domain)) in nis_maps()
|
D | _hashopenssl.c | 389 static char *kwlist[] = {"name", "string", NULL}; in EVP_tp_init() local 395 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|s*:HASH", kwlist, in EVP_tp_init() 540 static char *kwlist[] = {"name", "string", NULL}; in EVP_new() local 547 if (!PyArg_ParseTupleAndKeywords(args, kwdict, "O|s*:new", kwlist, in EVP_new() 667 static char *kwlist[] = {"hash_name", "password", "salt", "iterations", in pbkdf2_hmac() local 677 kwlist, &name, &password, &salt, in pbkdf2_hmac()
|
D | selectmodule.c | 810 static char *kwlist[] = {"sizehint", NULL}; in pyepoll_new() local 812 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|i:epoll", kwlist, in pyepoll_new() 936 static char *kwlist[] = {"fd", "eventmask", NULL}; in pyepoll_register() local 938 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|I:register", kwlist, in pyepoll_register() 961 static char *kwlist[] = {"fd", "eventmask", NULL}; in pyepoll_modify() local 963 if (!PyArg_ParseTupleAndKeywords(args, kwds, "OI:modify", kwlist, in pyepoll_modify() 981 static char *kwlist[] = {"fd", NULL}; in pyepoll_unregister() local 983 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O:unregister", kwlist, in pyepoll_unregister() 1005 static char *kwlist[] = {"timeout", "maxevents", NULL}; in pyepoll_poll() local 1010 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|di:poll", kwlist, in pyepoll_poll() [all …]
|
/external/python/cpython3/Modules/ |
D | nismodule.c | 164 static char *kwlist[] = {"key", "map", "domain", NULL}; in nis_match() local 167 "Us|s:match", kwlist, in nis_match() 206 static char *kwlist[] = {"map", "domain", NULL}; in nis_cat() local 209 kwlist, &map, &domain)) in nis_cat() 397 static char *kwlist[] = {"domain", NULL}; in nis_maps() local 400 "|s:maps", kwlist, &domain)) in nis_maps()
|
D | _xxsubinterpretersmodule.c | 1479 static char *kwlist[] = {"id", "send", "recv", "force", "_resolve", NULL}; in channelid_new() local 1486 "O&|$pppp:ChannelID.__new__", kwlist, in channelid_new() 2005 static char *kwlist[] = {"isolated", NULL}; in interp_create() local 2007 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|$i:create", kwlist, in interp_create() 2046 static char *kwlist[] = {"id", NULL}; in interp_destroy() local 2050 "O:destroy", kwlist, &id)) { in interp_destroy() 2168 static char *kwlist[] = {"id", "script", "shared", NULL}; in interp_run_string() local 2172 "OU|O:run_string", kwlist, in interp_run_string() 2213 static char *kwlist[] = {"obj", NULL}; in object_is_shareable() local 2216 "O:is_shareable", kwlist, &obj)) { in object_is_shareable() [all …]
|
D | faulthandler.c | 257 static char *kwlist[] = {"file", "all_threads", NULL}; in faulthandler_dump_traceback_py() local 265 "|Oi:dump_traceback", kwlist, in faulthandler_dump_traceback_py() 520 static char *kwlist[] = {"file", "all_threads", NULL}; in faulthandler_py_enable() local 527 "|Oi:enable", kwlist, &file, &all_threads)) in faulthandler_py_enable() 683 static char *kwlist[] = {"timeout", "repeat", "file", "exit", NULL}; in faulthandler_dump_traceback_later() local 695 "O|iOi:dump_traceback_later", kwlist, in faulthandler_dump_traceback_later() 885 static char *kwlist[] = {"signum", "file", "all_threads", "chain", NULL}; in faulthandler_register_py() local 897 "i|Oii:register", kwlist, in faulthandler_register_py()
|
/external/python/cpython2/Python/ |
D | getargs.c | 1451 char **kwlist, ...) in PyArg_ParseTupleAndKeywords() argument 1459 kwlist == NULL) in PyArg_ParseTupleAndKeywords() 1465 va_start(va, kwlist); in PyArg_ParseTupleAndKeywords() 1466 retval = vgetargskeywords(args, keywords, format, kwlist, &va, 0); in PyArg_ParseTupleAndKeywords() 1475 char **kwlist, ...) in _PyArg_ParseTupleAndKeywords_SizeT() argument 1483 kwlist == NULL) in _PyArg_ParseTupleAndKeywords_SizeT() 1489 va_start(va, kwlist); in _PyArg_ParseTupleAndKeywords_SizeT() 1491 kwlist, &va, FLAG_SIZE_T); in _PyArg_ParseTupleAndKeywords_SizeT() 1501 char **kwlist, va_list va) in PyArg_VaParseTupleAndKeywords() argument 1509 kwlist == NULL) in PyArg_VaParseTupleAndKeywords() [all …]
|
/external/python/cpython2/Lib/ |
D | keyword.py | 15 kwlist = [ variable 51 iskeyword = frozenset(kwlist).__contains__
|
/external/brotli/python/ |
D | _brotli.cc | 178 static const char *kwlist[] = {"mode", "quality", "lgwin", "lgblock", NULL}; in brotli_Compressor_init() local 181 const_cast<char **>(kwlist), in brotli_Compressor_init() 460 static const char *kwlist[] = {NULL}; in brotli_Decompressor_init() local 463 const_cast<char **>(kwlist)); in brotli_Decompressor_init() 644 static const char *kwlist[] = {"string", NULL}; in brotli_decompress() local 648 const_cast<char **>(kwlist), &input); in brotli_decompress() 651 const_cast<char **>(kwlist), &input); in brotli_decompress()
|
/external/python/cpython3/Python/ |
D | getargs.c | 1453 char **kwlist, ...) in PyArg_ParseTupleAndKeywords() argument 1461 kwlist == NULL) in PyArg_ParseTupleAndKeywords() 1467 va_start(va, kwlist); in PyArg_ParseTupleAndKeywords() 1468 retval = vgetargskeywords(args, keywords, format, kwlist, &va, 0); in PyArg_ParseTupleAndKeywords() 1477 char **kwlist, ...) in _PyArg_ParseTupleAndKeywords_SizeT() argument 1485 kwlist == NULL) in _PyArg_ParseTupleAndKeywords_SizeT() 1491 va_start(va, kwlist); in _PyArg_ParseTupleAndKeywords_SizeT() 1493 kwlist, &va, FLAG_SIZE_T); in _PyArg_ParseTupleAndKeywords_SizeT() 1503 char **kwlist, va_list va) in PyArg_VaParseTupleAndKeywords() argument 1511 kwlist == NULL) in PyArg_VaParseTupleAndKeywords() [all …]
|
/external/python/cpython2/Modules/_multiprocessing/ |
D | semaphore.c | 67 static char *kwlist[] = {"block", "timeout", NULL}; in semlock_acquire() local 69 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|iO", kwlist, in semlock_acquire() 284 static char *kwlist[] = {"block", "timeout", NULL}; in semlock_acquire() local 286 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|iO", kwlist, in semlock_acquire() 431 static char *kwlist[] = {"kind", "value", "maxvalue", NULL}; in semlock_new() local 434 if (!PyArg_ParseTupleAndKeywords(args, kwds, "iii", kwlist, in semlock_new()
|
/external/python/cpython3/Modules/_multiprocessing/ |
D | semaphore.c | 70 static char *kwlist[] = {"block", "timeout", NULL}; in semlock_acquire() local 72 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|iO", kwlist, in semlock_acquire() 274 static char *kwlist[] = {"block", "timeout", NULL}; in semlock_acquire() local 276 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|iO", kwlist, in semlock_acquire() 439 static char *kwlist[] = {"kind", "value", "maxvalue", "name", "unlink", in semlock_new() local 442 if (!PyArg_ParseTupleAndKeywords(args, kwds, "iiisi", kwlist, in semlock_new()
|
/external/python/cpython2/Objects/ |
D | boolobject.c | 55 static char *kwlist[] = {"x", 0}; in bool_new() local 59 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O:bool", kwlist, &x)) in bool_new()
|
/external/python/cpython3/Doc/includes/ |
D | custom2.c | 44 static char *kwlist[] = {"first", "last", "number", NULL}; in Custom_init() local 47 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|OOi", kwlist, in Custom_init()
|
D | custom3.c | 44 static char *kwlist[] = {"first", "last", "number", NULL}; in Custom_init() local 47 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|UUi", kwlist, in Custom_init()
|
D | custom4.c | 60 static char *kwlist[] = {"first", "last", "number", NULL}; in Custom_init() local 63 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|UUi", kwlist, in Custom_init()
|
/external/python/cpython2/Doc/includes/ |
D | noddy2.c | 49 static char *kwlist[] = {"first", "last", "number", NULL}; in Noddy_init() local 51 if (! PyArg_ParseTupleAndKeywords(args, kwds, "|OOi", kwlist, in Noddy_init()
|
D | noddy4.c | 84 static char *kwlist[] = {"first", "last", "number", NULL}; in Noddy_init() local 86 if (! PyArg_ParseTupleAndKeywords(args, kwds, "|OOi", kwlist, in Noddy_init()
|
D | noddy3.c | 49 static char *kwlist[] = {"first", "last", "number", NULL}; in Noddy_init() local 51 if (! PyArg_ParseTupleAndKeywords(args, kwds, "|SSi", kwlist, in Noddy_init()
|