Searched defs:lines (Results 1 - 14 of 14) sorted by relevance

/ast/src/cmd/tw/
H A Dxargs.c60 " \b--exit\b and \b--lines=1\b. For backwards compatibility \astring\a"
63 "[l:lines|max-lines?Use at most \alines\a lines from the standard input."
67 " standard option syntax.]#?[lines:=1]"
86 "[L?Equivalent to \b--lines=number\b.]#[number]"
121 int lines = 0; local
180 lines = 1;
284 if (lines && c > 1 && isspace(s[c - 2]))
/ast/src/lib/libast/astsa/
H A Dast.c34 astwinsize(int fd, int* lines, int* columns) argument
36 if (lines)
37 *lines = 24;
/ast/src/lib/libcmd/
H A Dwc.h46 Sfoff_t lines; member in struct:__anon331
H A Dcmp.c37 "occurred are written to standard output. Bytes and lines are numbered "
151 register Sfoff_t lines = 1; local
215 sfprintf(sfstdout, "%s %s differ: char %I*d, line %I*u\n", file1, file2, sizeof(pos), pos - (last - p1), sizeof(lines), lines);
226 sfprintf(sfstdout, "%s %s differ: char %I*d, line %I*u", file1, file2, sizeof(pos), pos - (last - p1), sizeof(lines), lines);
241 lines++;
/ast/src/cmd/kshlib/cmdtst/
H A Dxargs.c60 "and \b--lines=1\b. For backwards compatibility \astring\a must "
63 "[l:lines|max-lines?Use at most \alines\a lines from the standard input. "
66 "option flag; \b-L\b follows standard option syntax.]#?[lines:=1]"
85 "[L?Equivalent to \b--lines=number\b.]#[number]"
131 int lines = 0; local
191 lines = 1;
298 if (lines && c > 1 && isspace(s[c - 2]))
/ast/src/cmd/mailx/
H A Dcmd2.c600 getatt(register struct part* ap, register char* name, unsigned long flags, off_t* lines, off_t* chars) argument
677 if (!lines)
678 lines = &lc;
681 filecopy(NiL, ip, name, op, NiL, ap->size, lines, chars, 0);
684 note(0, "\"%s\" %ld/%ld", name, (long)*lines, (long)*chars);
716 printf("(attachment %2d %s %20s \"%s\")\n", ap->count, counts(1, ap->lines, ap->size), ap->type, ap->name);
H A Dmisc.c675 * Return lines/chars for display.
678 counts(int wide, off_t lines, off_t chars) argument
680 sfsprintf(state.counts, sizeof(state.counts), wide ? "%5ld/%-7ld" : "%3ld/%-5ld", (long)lines, (long)chars);
H A Dproc.c315 * If lines!=0 then it will point to the copied line count.
324 filecopy(const char* in, FILE* ip, const char* on, FILE* op, FILE* ap, register off_t n, register off_t* lines, off_t* chars, unsigned long flags) argument
364 if (lines)
379 if (lines)
380 *lines = lc;
H A Dcmd1.c405 * Print the top so many lines of each desired message.
406 * The number of lines is taken from the variable "toplines"
415 int lines; local
431 for (lines = 0; lines < c && lines <= state.var.toplines; lines++) {
H A Dimap.c148 int lines; /* # lines */ member in struct:Imappart_s
981 pp->lines = ap->value.number;
1020 mp->m_lines += pp->lines;
1843 note(ERROR, "imap: message %d id=%s content=%s type=%s encoding=%s name=%s size=%d/%d", m, pp->id, imapname(imapcontent, elementsof(imapcontent), pp->content), pp->type, pp->encoding, pp->name, pp->lines, pp->size);
1969 sfprintf(sfstdout, "%12s content=%s type=%s encoding=%s name=%s size=%d/%d\n", pp->id, imapname(imapcontent, elementsof(imapcontent), pp->content), pp->type, pp->encoding, pp->name, pp->lines, pp->size);
2079 sfprintf(op, "\n(attachment %3d %s %18s \"%s\")\n", pp->attachment, counts(1, pp->lines, pp->size), pp->type, pp->name);
2157 imap_getatt(Msg_t* mp, register Imappart_t* pp, register char* name, unsigned long flags, off_t* lines, off_t* chars) argument
2221 if (lines)
2222 *lines
[all...]
H A Dmailx.h436 off_t lines; member in struct:part
/ast/src/cmd/html/
H A Dhtmlrefs.c63 " exist. If \b--external\b is also specified then lines between"
64 " \b<!--INTERNAL-->\b ... \b<!--/INTERNAL-->\b lines are not"
72 " \b<!--/INTERNAL-->\b lines. See \bmm2html\b(1) for an html"
73 " generator that inserts these lines.]"
860 register size_t lines = 0; local
873 lines++;
890 return lines > 1;
/ast/src/cmd/ksh93/edit/
H A Dhistory.c827 /* don't count empty lines */
1051 * if s1==0 the number of lines for the command is returned
1136 * and number of lines back or foward,
1140 Histloc_t hist_locate(History_t *hp,register int command,register int line,int lines) argument
1143 line += lines;
1149 if(lines > 0)
/ast/src/cmd/re/
H A Ded.c181 unsigned long lines; member in struct:__anon200
228 ed.lines = 0;
598 ed.lines++;
866 sfprintf(ed.msg, "\"%s\" %lu line%s, %lu character%s", error_info.file, ed.lines, plural(ed.lines), ed.bytes, plural(ed.bytes));
907 ed.lines = 0;
913 ed.lines++;
1182 ed.lines = 0;
1242 ed.lines = 0;

Completed in 49 milliseconds