Home
last modified time | relevance | path

Searched refs:METH_NOARGS (Results 1 – 25 of 127) sorted by relevance

123456

/external/python/cpython2/Modules/
Dtimingmodule.c46 {"start", (PyCFunction)start_timing, METH_NOARGS},
47 {"finish", (PyCFunction)finish_timing, METH_NOARGS},
48 {"seconds", (PyCFunction)seconds, METH_NOARGS},
49 {"milli", (PyCFunction)milli, METH_NOARGS},
50 {"micro", (PyCFunction)micro, METH_NOARGS},
D_curses_panel.c333 {"above", (PyCFunction)PyCursesPanel_above, METH_NOARGS},
334 {"below", (PyCFunction)PyCursesPanel_below, METH_NOARGS},
335 {"bottom", (PyCFunction)PyCursesPanel_bottom_panel, METH_NOARGS},
336 {"hidden", (PyCFunction)PyCursesPanel_panel_hidden, METH_NOARGS},
337 {"hide", (PyCFunction)PyCursesPanel_hide_panel, METH_NOARGS},
341 {"show", (PyCFunction)PyCursesPanel_show_panel, METH_NOARGS},
342 {"top", (PyCFunction)PyCursesPanel_top_panel, METH_NOARGS},
343 {"userptr", (PyCFunction)PyCursesPanel_userptr, METH_NOARGS},
344 {"window", (PyCFunction)PyCursesPanel_window, METH_NOARGS},
461 {"bottom_panel", (PyCFunction)PyCurses_bottom_panel, METH_NOARGS},
[all …]
Dflmodule.c249 {"delete_object", (PyCFunction)generic_delete_object, METH_NOARGS},
250 {"show_object", (PyCFunction)generic_show_object, METH_NOARGS},
251 {"hide_object", (PyCFunction)generic_hide_object, METH_NOARGS},
252 {"redraw_object", (PyCFunction)generic_redraw_object, METH_NOARGS},
254 {"freeze_object", (PyCFunction)generic_freeze_object, METH_NOARGS},
255 {"unfreeze_object", (PyCFunction)generic_unfreeze_object, METH_NOARGS},
257 {"activate_object", (PyCFunction)generic_activate_object, METH_NOARGS},
258 {"deactivate_object", (PyCFunction)generic_deactivate_object, METH_NOARGS},
703 METH_NOARGS},
719 METH_NOARGS,}
[all …]
Dfmmodule.c122 {"setfont", (PyCFunction)fh_setfont, METH_NOARGS},
123 {"getfontname", (PyCFunction)fh_getfontname, METH_NOARGS},
124 {"getcomment", (PyCFunction)fh_getcomment, METH_NOARGS},
125 {"getfontinfo", (PyCFunction)fh_getfontinfo, METH_NOARGS},
247 {"init", fm_init, METH_NOARGS},
249 {"enumerate", fm_enumerate, METH_NOARGS},
252 {"fontpath", fm_fontpath, METH_NOARGS},
D_cursesmodule.c1575 {"clear", (PyCFunction)PyCursesWindow_wclear, METH_NOARGS},
1577 {"clrtobot", (PyCFunction)PyCursesWindow_wclrtobot, METH_NOARGS},
1578 {"clrtoeol", (PyCFunction)PyCursesWindow_wclrtoeol, METH_NOARGS},
1579 {"cursyncup", (PyCFunction)PyCursesWindow_wcursyncup, METH_NOARGS},
1581 {"deleteln", (PyCFunction)PyCursesWindow_wdeleteln, METH_NOARGS},
1587 {"erase", (PyCFunction)PyCursesWindow_werase, METH_NOARGS},
1588 {"getbegyx", (PyCFunction)PyCursesWindow_getbegyx, METH_NOARGS},
1589 {"getbkgd", (PyCFunction)PyCursesWindow_GetBkgd, METH_NOARGS},
1592 {"getmaxyx", (PyCFunction)PyCursesWindow_getmaxyx, METH_NOARGS},
1593 {"getparyx", (PyCFunction)PyCursesWindow_getparyx, METH_NOARGS},
[all …]
Dsunaudiodev.c308 { "ibufcount", (PyCFunction)sad_ibufcount, METH_NOARGS },
309 { "obufcount", (PyCFunction)sad_obufcount, METH_NOARGS },
311 { "getinfo", (PyCFunction)sad_getinfo, METH_NOARGS },
313 { "drain", (PyCFunction)sad_drain, METH_NOARGS },
314 { "flush", (PyCFunction)sad_flush, METH_NOARGS },
316 { "getdev", (PyCFunction)sad_getdev, METH_NOARGS },
318 { "close", (PyCFunction)sad_close, METH_NOARGS },
319 { "fileno", (PyCFunction)sad_fileno, METH_NOARGS },
Dthreadmodule.c114 METH_NOARGS, release_doc},
116 METH_NOARGS, release_doc},
118 METH_NOARGS, locked_doc},
120 METH_NOARGS, locked_doc},
864 METH_NOARGS, allocate_doc},
866 METH_NOARGS, allocate_doc},
868 METH_NOARGS, exit_doc},
870 METH_NOARGS, exit_doc},
872 METH_NOARGS, interrupt_doc},
874 METH_NOARGS, get_ident_doc},
[all …]
Dreadline.c672 {"get_line_buffer", get_line_buffer, METH_NOARGS, doc_get_line_buffer},
674 {"redisplay", redisplay, METH_NOARGS, doc_redisplay},
683 METH_NOARGS, doc_get_current_history_length},
687 METH_NOARGS, get_history_length_doc},
689 {"get_completer", get_completer, METH_NOARGS, doc_get_completer},
691 METH_NOARGS, doc_get_completion_type},
692 {"get_begidx", get_begidx, METH_NOARGS, doc_get_begidx},
693 {"get_endidx", get_endidx, METH_NOARGS, doc_get_endidx},
701 METH_NOARGS, doc_get_completer_delims},
712 {"clear_history", py_clear_history, METH_NOARGS, doc_clear_history},
DcStringIO.c513 {"flush", (PyCFunction)IO_flush, METH_NOARGS, IO_flush__doc__},
515 {"isatty", (PyCFunction)IO_isatty, METH_NOARGS, IO_isatty__doc__},
519 {"reset", (PyCFunction)IO_reset, METH_NOARGS, IO_reset__doc__},
521 {"tell", (PyCFunction)IO_tell, METH_NOARGS, IO_tell__doc__},
525 {"close", (PyCFunction)O_close, METH_NOARGS, O_close__doc__},
620 {"flush", (PyCFunction)IO_flush, METH_NOARGS, IO_flush__doc__},
622 {"isatty", (PyCFunction)IO_isatty, METH_NOARGS, IO_isatty__doc__},
626 {"reset", (PyCFunction)IO_reset, METH_NOARGS, IO_reset__doc__},
628 {"tell", (PyCFunction)IO_tell, METH_NOARGS, IO_tell__doc__},
632 {"close", (PyCFunction)I_close, METH_NOARGS, O_close__doc__},
Dlinuxaudiodev.c428 { "obufcount", (PyCFunction)lad_obufcount, METH_NOARGS },
429 { "obuffree", (PyCFunction)lad_obuffree, METH_NOARGS },
430 { "flush", (PyCFunction)lad_flush, METH_NOARGS },
431 { "close", (PyCFunction)lad_close, METH_NOARGS },
432 { "fileno", (PyCFunction)lad_fileno, METH_NOARGS },
433 { "getptr", (PyCFunction)lad_getptr, METH_NOARGS },
D_testcapimodule.c2488 {"test_config", (PyCFunction)test_config, METH_NOARGS},
2490 {"test_datetime_capi", test_datetime_capi, METH_NOARGS},
2492 {"test_list_api", (PyCFunction)test_list_api, METH_NOARGS},
2493 {"test_dict_iteration", (PyCFunction)test_dict_iteration,METH_NOARGS},
2494 {"test_lazy_hash_inheritance", (PyCFunction)test_lazy_hash_inheritance,METH_NOARGS},
2495 {"test_broken_memoryview", (PyCFunction)test_broken_memoryview,METH_NOARGS},
2496 {"test_to_contiguous", (PyCFunction)test_to_contiguous, METH_NOARGS},
2497 {"test_from_contiguous", (PyCFunction)test_from_contiguous, METH_NOARGS},
2498 {"test_long_api", (PyCFunction)test_long_api, METH_NOARGS},
2500 METH_NOARGS},
[all …]
Dgdbmmodule.c390 {"close", (PyCFunction)dbm_close, METH_NOARGS, dbm_close__doc__},
391 {"keys", (PyCFunction)dbm_keys, METH_NOARGS, dbm_keys__doc__},
393 {"firstkey", (PyCFunction)dbm_firstkey,METH_NOARGS, dbm_firstkey__doc__},
395 {"reorganize",(PyCFunction)dbm_reorganize,METH_NOARGS, dbm_reorganize__doc__},
396 {"sync", (PyCFunction)dbm_sync, METH_NOARGS, dbm_sync__doc__},
D_bsddb.c8713 {"fd", (PyCFunction)DB_fd, METH_NOARGS},
8721 {"get_byteswapped", (PyCFunction)DB_get_byteswapped,METH_NOARGS},
8723 {"get_type", (PyCFunction)DB_get_type, METH_NOARGS},
8734 {"get_bt_minkey", (PyCFunction)DB_get_bt_minkey, METH_NOARGS},
8737 {"get_cachesize", (PyCFunction)DB_get_cachesize, METH_NOARGS},
8740 {"get_encrypt_flags", (PyCFunction)DB_get_encrypt_flags, METH_NOARGS},
8742 {"get_flags", (PyCFunction)DB_get_flags, METH_NOARGS},
8743 {"get_transactional", (PyCFunction)DB_get_transactional, METH_NOARGS},
8745 {"get_h_ffactor", (PyCFunction)DB_get_h_ffactor, METH_NOARGS},
8747 {"get_h_nelem", (PyCFunction)DB_get_h_nelem, METH_NOARGS},
[all …]
Dossaudiodev.c761 { "close", (PyCFunction)oss_close, METH_NOARGS },
762 { "fileno", (PyCFunction)oss_fileno, METH_NOARGS },
765 { "nonblock", (PyCFunction)oss_nonblock, METH_NOARGS },
767 { "getfmts", (PyCFunction)oss_getfmts, METH_NOARGS },
776 { "bufsize", (PyCFunction)oss_bufsize, METH_NOARGS },
777 { "obufcount", (PyCFunction)oss_obufcount, METH_NOARGS },
778 { "obuffree", (PyCFunction)oss_obuffree, METH_NOARGS },
779 { "getptr", (PyCFunction)oss_getptr, METH_NOARGS },
789 { "close", (PyCFunction)oss_mixer_close, METH_NOARGS },
790 { "fileno", (PyCFunction)oss_mixer_fileno, METH_NOARGS },
Dmd5module.c160 {"digest", (PyCFunction)md5_digest, METH_NOARGS, digest_doc},
161 {"hexdigest", (PyCFunction)md5_hexdigest, METH_NOARGS, hexdigest_doc},
162 {"copy", (PyCFunction)md5_copy, METH_NOARGS, copy_doc},
Dbsddbmodule.c643 {"close", (PyCFunction)bsddb_close, METH_NOARGS},
644 {"keys", (PyCFunction)bsddb_keys, METH_NOARGS},
647 {"next", (PyCFunction)bsddb_next, METH_NOARGS},
648 {"previous", (PyCFunction)bsddb_previous, METH_NOARGS},
649 {"first", (PyCFunction)bsddb_first, METH_NOARGS},
650 {"last", (PyCFunction)bsddb_last, METH_NOARGS},
651 {"sync", (PyCFunction)bsddb_sync, METH_NOARGS},
Ddatetimemodule.c2146 {"total_seconds", (PyCFunction)delta_total_seconds, METH_NOARGS,
2149 {"__reduce__", (PyCFunction)delta_reduce, METH_NOARGS,
2723 {"today", (PyCFunction)date_today, METH_NOARGS | METH_CLASS,
2729 {"ctime", (PyCFunction)date_ctime, METH_NOARGS,
2738 {"timetuple", (PyCFunction)date_timetuple, METH_NOARGS,
2741 {"isocalendar", (PyCFunction)date_isocalendar, METH_NOARGS,
2745 {"isoformat", (PyCFunction)date_isoformat, METH_NOARGS,
2748 {"isoweekday", (PyCFunction)date_isoweekday, METH_NOARGS,
2752 {"toordinal", (PyCFunction)date_toordinal, METH_NOARGS,
2756 {"weekday", (PyCFunction)date_weekday, METH_NOARGS,
[all …]
/external/python/cpython2/Modules/_io/
Diobase.c685 {"tell", iobase_tell, METH_NOARGS, iobase_tell_doc},
687 {"flush", iobase_flush, METH_NOARGS, iobase_flush_doc},
688 {"close", iobase_close, METH_NOARGS, iobase_close_doc},
690 {"seekable", iobase_seekable, METH_NOARGS, iobase_seekable_doc},
691 {"readable", iobase_readable, METH_NOARGS, iobase_readable_doc},
692 {"writable", iobase_writable, METH_NOARGS, iobase_writable_doc},
694 {"_checkClosed", _PyIOBase_check_closed, METH_NOARGS},
695 {"_checkSeekable", _PyIOBase_check_seekable, METH_NOARGS},
696 {"_checkReadable", _PyIOBase_check_readable, METH_NOARGS},
697 {"_checkWritable", _PyIOBase_check_writable, METH_NOARGS},
[all …]
Dbufferedio.c141 {"detach", (PyCFunction)bufferediobase_detach, METH_NOARGS, bufferediobase_detach_doc},
1560 {"detach", (PyCFunction)buffered_detach, METH_NOARGS},
1561 {"flush", (PyCFunction)buffered_simple_flush, METH_NOARGS},
1562 {"close", (PyCFunction)buffered_close, METH_NOARGS},
1563 {"seekable", (PyCFunction)buffered_seekable, METH_NOARGS},
1564 {"readable", (PyCFunction)buffered_readable, METH_NOARGS},
1565 {"writable", (PyCFunction)buffered_writable, METH_NOARGS},
1566 {"fileno", (PyCFunction)buffered_fileno, METH_NOARGS},
1567 {"isatty", (PyCFunction)buffered_isatty, METH_NOARGS},
1574 {"tell", (PyCFunction)buffered_tell, METH_NOARGS},
[all …]
Dbytesio.c840 {"readable", (PyCFunction)return_not_closed, METH_NOARGS, readable_doc},
841 {"seekable", (PyCFunction)return_not_closed, METH_NOARGS, seekable_doc},
842 {"writable", (PyCFunction)return_not_closed, METH_NOARGS, writable_doc},
843 {"close", (PyCFunction)bytesio_close, METH_NOARGS, close_doc},
844 {"flush", (PyCFunction)bytesio_flush, METH_NOARGS, flush_doc},
845 {"isatty", (PyCFunction)bytesio_isatty, METH_NOARGS, isatty_doc},
846 {"tell", (PyCFunction)bytesio_tell, METH_NOARGS, tell_doc},
854 {"getvalue", (PyCFunction)bytesio_getvalue, METH_NOARGS, getval_doc},
857 {"__getstate__", (PyCFunction)bytesio_getstate, METH_NOARGS, NULL},
859 {"__sizeof__", (PyCFunction)bytesio_sizeof, METH_NOARGS, NULL},
Dstringio.c824 {"close", (PyCFunction)stringio_close, METH_NOARGS, stringio_close_doc},
825 {"getvalue", (PyCFunction)stringio_getvalue, METH_NOARGS, stringio_getvalue_doc},
828 {"tell", (PyCFunction)stringio_tell, METH_NOARGS, stringio_tell_doc},
833 {"seekable", (PyCFunction)stringio_seekable, METH_NOARGS, stringio_seekable_doc},
834 {"readable", (PyCFunction)stringio_readable, METH_NOARGS, stringio_readable_doc},
835 {"writable", (PyCFunction)stringio_writable, METH_NOARGS, stringio_writable_doc},
837 {"__getstate__", (PyCFunction)stringio_getstate, METH_NOARGS},
Dfileio.c1045 {"readall", (PyCFunction)fileio_readall, METH_NOARGS, readall_doc},
1053 {"close", (PyCFunction)fileio_close, METH_NOARGS, close_doc},
1054 {"seekable", (PyCFunction)fileio_seekable, METH_NOARGS, seekable_doc},
1055 {"readable", (PyCFunction)fileio_readable, METH_NOARGS, readable_doc},
1056 {"writable", (PyCFunction)fileio_writable, METH_NOARGS, writable_doc},
1057 {"fileno", (PyCFunction)fileio_fileno, METH_NOARGS, fileno_doc},
1058 {"isatty", (PyCFunction)fileio_isatty, METH_NOARGS, isatty_doc},
/external/python/cpython2/Python/
Dsysmodule.c921 {"callstats", (PyCFunction)PyEval_GetCallStats, METH_NOARGS,
923 {"_clear_type_cache", sys_clear_type_cache, METH_NOARGS,
925 {"_current_frames", sys_current_frames, METH_NOARGS,
928 {"exc_info", sys_exc_info, METH_NOARGS, exc_info_doc},
929 {"exc_clear", sys_exc_clear, METH_NOARGS, exc_clear_doc},
934 METH_NOARGS, getdefaultencoding_doc},
937 {"getdlopenflags", (PyCFunction)sys_getdlopenflags, METH_NOARGS,
941 {"getcounts", (PyCFunction)sys_getcounts, METH_NOARGS},
948 METH_NOARGS, getfilesystemencoding_doc},
954 {"gettotalrefcount", (PyCFunction)sys_gettotalrefcount, METH_NOARGS},
[all …]
/external/python/cpython2/Modules/_multiprocessing/
Dsemaphore.c562 {"release", (PyCFunction)semlock_release, METH_NOARGS,
568 {"_count", (PyCFunction)semlock_count, METH_NOARGS,
570 {"_is_mine", (PyCFunction)semlock_ismine, METH_NOARGS,
572 {"_get_value", (PyCFunction)semlock_getvalue, METH_NOARGS,
574 {"_is_zero", (PyCFunction)semlock_iszero, METH_NOARGS,
578 {"_after_fork", (PyCFunction)semlock_afterfork, METH_NOARGS,
/external/python/cpython2/PC/
D_msi.c449 { "GetFieldCount", (PyCFunction)record_getfieldcount, METH_NOARGS,
461 { "ClearData", (PyCFunction)record_cleardata, METH_NOARGS,
623 { "GetPropertyCount", (PyCFunction)summary_getpropertycount, METH_NOARGS,
627 { "Persist", (PyCFunction)summary_persist, METH_NOARGS,
771 { "Fetch", (PyCFunction)view_fetch, METH_NOARGS,
775 { "Close", (PyCFunction)view_close, METH_NOARGS,
890 { "Commit", (PyCFunction)msidb_commit, METH_NOARGS,
997 {"UuidCreate", (PyCFunction)uuidcreate, METH_NOARGS,

123456