Lines Matching refs:lth
2039 static BOOL ishexdump(const char *line, int first, int lth) in ishexdump() argument
2045 ok = (first >= 0) && (lth >= (first + 16)); in ishexdump()
2046 for (i=0; ((first+i)<lth) && ok; i++) { in ishexdump()
2076 int lth; in showhex() local
2095 lth = 0; in showhex()
2100 first = lth; in showhex()
2105 line[lth++] = c; in showhex()
2106 } while (!done && (c != '\n') && (lth < MAXLINE)); in showhex()
2108 isdump = ishexdump(line, first, lth); in showhex()
2159 for (i=first+8; i<lth; i+=9) { in showhex()
2167 if (lth) printf("! "); in showhex()
2168 for (i=0; i<lth; i++) { in showhex()
2279 int lth; in restore() local
2309 lth = 0; in restore()
2314 first = lth; in restore()
2319 line[lth++] = c; in restore()
2320 } while (!done && (c != '\n') && (lth < (MAXFILENAME + 24))); in restore()
2322 isdump = ishexdump(line, first, lth); in restore()
2350 for (i=first+8; i<lth; i+=9) { in restore()
2359 if(lth) printf("! "); in restore()
2360 for (i=0; i<lth; i++) { in restore()
2374 line[lth] = 0; in restore()
2375 while ((lth > 0) in restore()
2376 && ((line[lth-1] == '\n') || (line[lth-1] == '\r'))) in restore()
2377 line[--lth] = 0; in restore()