Lines Matching defs:arg
86 newossobject(PyObject *arg)
98 if (!PyArg_ParseTuple(arg, "s|s:open", &devicename, &mode))
100 if (mode == NULL) { /* only one arg supplied */
118 if (devicename == NULL) { /* called with one arg */
173 newossmixerobject(PyObject *arg)
179 if (!PyArg_ParseTuple(arg, "|s", &devicename)) {
243 ioctl(fd, SNDCTL_DSP_cmd, &arg)
245 where arg is the value to set, and on return the driver sets arg to
247 arg = dsp.xxx(arg)
253 int arg;
257 if (!PyArg_ParseTuple(args, argfmt, &arg))
260 if (ioctl(fd, cmd, &arg) == -1)
262 return PyLong_FromLong(arg);
278 int arg = 0;
282 if (!PyArg_ParseTuple(args, argfmt, &arg))
285 if (ioctl(fd, cmd, &arg) == -1)
287 return PyLong_FromLong(arg);
803 /* Can't use _do_ioctl_1 because of encoded arg thingy. */
826 /* Can't use _do_ioctl_1 because of encoded arg thingy. */