Lines Matching defs:limit
46 const char *linep, *limit;
50 limit = line + linelen;
55 while (*keyp && linep < limit && *keyp == *linep) {
59 return (linep < limit && *keyp == '\0' && *linep == ':');
73 const char *linep, *limit, *end;
77 limit = line + linelen;
83 while (linep < limit && *linep++ != ':') /* skip groupname */
85 while (linep < limit && *linep++ != ':') /* skip password */
87 if (linep == limit)
120 char *linep, *limit, *gidp;
138 limit = line + linelen;
140 while (linep < limit && *linep++ != ':') /* skip groupname */
142 while (linep < limit && *linep++ != ':') /* skip password */
144 if (linep == limit)
150 if (linep >= limit || oldgidlen == 0)
161 (void) bcopy(linep, gidp + idlen, limit - linep + extra_chars);