Home
last modified time | relevance | path

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

/third_party/ejdb/src/jbi/
Djbi_consumer.c60 if (ctx->istep > 0) { in jbi_consumer()
61 --ctx->istep; in jbi_consumer()
62 } else if (ctx->istep < 0) { in jbi_consumer()
63 ++ctx->istep; in jbi_consumer()
65 if (!ctx->istep) { in jbi_consumer()
67 ctx->istep = 1; in jbi_consumer()
119 ctx->istep = 1; in jbi_consumer()
120 rc = ux->visitor(ux, &doc, &ctx->istep); in jbi_consumer()
122 } while (ctx->istep == -1); in jbi_consumer()
125 *step = ctx->istep > 0 ? 1 : ctx->istep < 0 ? -1 : 0; in jbi_consumer()
[all …]
/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()
/third_party/ejdb/src/
Dejdb2_internal.h183 int64_t istep; member
Dejdb2.c743 ctx->istep = 1; in _jb_exec_scan_init()
852 ctx->istep = 1; in _jb_exec_upsert_lw()
853 RCC(rc, finish, ux->visitor(ux, &doc, &ctx->istep)); in _jb_exec_upsert_lw()
854 } while (ctx->istep == -1); in _jb_exec_upsert_lw()