Home
last modified time | relevance | path

Searched refs:nlim (Results 1 – 2 of 2) sorted by relevance

/third_party/musl/src/passwd/
Dgetgrouplist.c14 int rv, nlim, ret = -1; in getgrouplist() local
26 nlim = *ngroups; in getgrouplist()
27 if (nlim >= 1) *groups++ = gid; in getgrouplist()
57 if (++n <= nlim) *groups++ = gr.gr_gid; in getgrouplist()
67 if(++n <= nlim) *groups++ = nscdbuf[i]; in getgrouplist()
71 ret = n > nlim ? -1 : n; in getgrouplist()
/third_party/boost/libs/python/src/numpy/
Dndarray.cpp142 …int normalize_index(int n,int nlim) // wraps [-nlim:nlim) into [0:nlim), throw IndexError otherwise in normalize_index() argument
145 n += nlim; // negative indices work backwards from end in normalize_index()
146 if (n < 0 || n >= nlim) in normalize_index()