Lines Matching defs:linelen
100 int linelen; /* 1st unused slot in buffer */
105 linelen = 0;
106 while (linelen < buflen - 1) { /* "- 1" saves room for \n\0 */
109 if (linelen == 0 ||
110 buffer[linelen - 1] == '\\') {
113 buffer[linelen ] = '\n';
114 buffer[linelen + 1] = '\0';
115 return (linelen);
118 if (linelen > 0 &&
119 buffer[linelen - 1] == '\\') {
120 --linelen; /* remove the '\\' */
122 buffer[linelen ] = '\n';
123 buffer[linelen + 1] = '\0';
124 return (linelen);
128 buffer[linelen++] = c;
177 int linelen;
179 if ((linelen = _nss_user_read_line(be->f, instr,
199 last = instr + linelen;
223 linelen = last - first + 1;
230 parsestat = (*args->str2ent)(instr, linelen, args->buf.result,