Home
last modified time | relevance | path

Searched refs:istep (Results 1 – 5 of 5) sorted by relevance

/third_party/python/Lib/
Drandom.py338 istep = _index(step)
340 istep = int(step)
341 if istep != step:
350 if istep == 1:
356 if istep > 0:
357 n = (width + istep - 1) // istep
358 elif istep < 0:
359 n = (width + istep + 1) // istep
364 return istart + istep * self._randbelow(n)
/third_party/alsa-lib/include/
Dcontrol_external.h177 long *imin, long *imax, long *istep);
182 int64_t *imin, int64_t *imax, int64_t *istep);
Dcontrol.h616 …snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, unsigned int count, long imin, long imax, long istep);
617 … const snd_ctl_elem_id_t *id, unsigned int count, long long imin, long long imax, long long istep);
/third_party/alsa-utils/alsactl/
Dstate.c832 long *imin, long *imax, long *istep) in get_comment_range() argument
841 err = sscanf(s, "%li - %li (step %li)", imin, imax, istep); in get_comment_range()
843 istep = 0; in get_comment_range()
902 long imin, imax, istep; in add_user_control() local
909 imin = imax = istep = 0; in add_user_control()
928 err = get_comment_range(n, ctype, &imin, &imax, &istep); in add_user_control()
966 if (imin > imax || istep > imax - imin) { in add_user_control()
970 err = snd_ctl_elem_add_integer(handle, id, count, imin, imax, istep); in add_user_control()
/third_party/python/Objects/
Drangeobject.c627 Py_ssize_t istep; in range_repr() local
631 istep = PyNumber_AsSsize_t(r->step, NULL); in range_repr()
632 if (istep == -1 && PyErr_Occurred()) { in range_repr()
637 if (istep == 1) in range_repr()