Lines Matching defs:arg
279 _curses_window_attroff(PyCursesWindowObject *self, PyObject *arg)
284 attr = PyLong_AsLong(arg);
307 _curses_window_attron(PyCursesWindowObject *self, PyObject *arg)
312 attr = PyLong_AsLong(arg);
335 _curses_window_attrset(PyCursesWindowObject *self, PyObject *arg)
340 attr = PyLong_AsLong(arg);
1256 _curses_window_is_linetouched(PyCursesWindowObject *self, PyObject *arg)
1261 line = _PyLong_AsInt(arg);
1968 _curses_color_content(PyObject *module, PyObject *arg)
1973 if (!color_converter(arg, &color_number)) {
2001 _curses_color_pair(PyObject *module, PyObject *arg)
2006 pair_number = _PyLong_AsInt(arg);
2037 _curses_curs_set(PyObject *module, PyObject *arg)
2042 visibility = _PyLong_AsInt(arg);
2112 _curses_delay_output(PyObject *module, PyObject *arg)
2117 ms = _PyLong_AsInt(arg);
2415 _curses_halfdelay(PyObject *module, PyObject *arg)
2421 long ival = PyLong_AsLong(arg);
2517 _curses_has_key(PyObject *module, PyObject *arg)
2522 key = _PyLong_AsInt(arg);
2777 _curses_set_escdelay(PyObject *module, PyObject *arg)
2782 ms = _PyLong_AsInt(arg);
2840 _curses_set_tabsize(PyObject *module, PyObject *arg)
2845 size = _PyLong_AsInt(arg);
2869 _curses_intrflush(PyObject *module, PyObject *arg)
2874 flag = _PyLong_AsInt(arg);
2963 _curses_keyname(PyObject *module, PyObject *arg)
2968 key = _PyLong_AsInt(arg);
3033 _curses_meta(PyObject *module, PyObject *arg)
3038 yes = _PyLong_AsInt(arg);
3070 _curses_mouseinterval(PyObject *module, PyObject *arg)
3075 interval = _PyLong_AsInt(arg);
3107 _curses_mousemask(PyObject *module, PyObject *arg)
3112 if (!PyLong_Check(arg)) {
3113 _PyArg_BadArgument("mousemask", "argument", "int", arg);
3116 newmask = PyLong_AsUnsignedLongMask(arg);
3141 _curses_napms(PyObject *module, PyObject *arg)
3146 ms = _PyLong_AsInt(arg);
3411 _curses_pair_content(PyObject *module, PyObject *arg)
3416 if (!pair_converter(arg, &pair_number)) {
3440 _curses_pair_number(PyObject *module, PyObject *arg)
3445 attr = _PyLong_AsInt(arg);
3470 _curses_putp(PyObject *module, PyObject *arg)
3475 if (!PyArg_Parse(arg, "y:putp", &string)) {
3886 _curses_tigetflag(PyObject *module, PyObject *arg)
3891 if (!PyUnicode_Check(arg)) {
3892 _PyArg_BadArgument("tigetflag", "argument", "str", arg);
3896 capname = PyUnicode_AsUTF8AndSize(arg, &capname_length);
3929 _curses_tigetnum(PyObject *module, PyObject *arg)
3934 if (!PyUnicode_Check(arg)) {
3935 _PyArg_BadArgument("tigetnum", "argument", "str", arg);
3939 capname = PyUnicode_AsUTF8AndSize(arg, &capname_length);
3972 _curses_tigetstr(PyObject *module, PyObject *arg)
3977 if (!PyUnicode_Check(arg)) {
3978 _PyArg_BadArgument("tigetstr", "argument", "str", arg);
3982 capname = PyUnicode_AsUTF8AndSize(arg, &capname_length);
4058 _curses_typeahead(PyObject *module, PyObject *arg)
4063 fd = _PyLong_AsInt(arg);
4133 _curses_use_env(PyObject *module, PyObject *arg)
4138 flag = _PyLong_AsInt(arg);