Lines Matching defs:lx
133 int j, lx = 0;
160 ret = snprintf(linebuf + lx, linebuflen - lx,
163 if (ret >= linebuflen - lx)
165 lx += ret;
171 ret = snprintf(linebuf + lx, linebuflen - lx,
174 if (ret >= linebuflen - lx)
176 lx += ret;
182 ret = snprintf(linebuf + lx, linebuflen - lx,
185 if (ret >= linebuflen - lx)
187 lx += ret;
191 if (linebuflen < lx + 2)
194 linebuf[lx++] = hex_asc_hi(ch);
195 if (linebuflen < lx + 2)
197 linebuf[lx++] = hex_asc_lo(ch);
198 if (linebuflen < lx + 2)
200 linebuf[lx++] = ' ';
203 lx--;
208 while (lx < ascii_column) {
209 if (linebuflen < lx + 2)
211 linebuf[lx++] = ' ';
214 if (linebuflen < lx + 2)
217 linebuf[lx++] = (isascii(ch) && isprint(ch)) ? ch : '.';
220 linebuf[lx] = '\0';
221 return lx;
223 linebuf[lx++] = '\0';