/ast/src/lib/libast/astsa/ |
H A D | ast.c | 34 astwinsize(int fd, int* lines, int* columns) argument 36 if (lines) 37 *lines = 24;
|
/ast/src/lib/libcmd/ |
H A D | wc.h | 46 Sfoff_t lines; member in struct:__anon331
|
H A D | wc.c | 26 * count the number of bytes, words, and lines in a file 32 "[+NAME?wc - print the number of bytes, words, and lines in files]" 48 "[l:lines?List the line counts.]" 77 sfprintf(sfstdout," %7I*d",sizeof(wp->lines),wp->lines); 177 tlines += wp->lines; 182 wp->lines = tlines;
|
H A D | cmp.c | 37 "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++;
|
H A D | wclib.c | 299 /* process spaces and new-lines */ 378 /* process spaces and new-lines */ 502 wp->lines = nlines;
|
/ast/src/cmd/ksh93/tests/ |
H A D | grep.sh | 92 to see how many lines find both foo and bar. 94 and some lines contain bar only. 95 However, many lines contain both foo and also bar. 97 There should be six lines with foo and bar.
|
H A D | pty.sh | 435 u :$|:\E|lines
|
/ast/src/lib/libtk/library/ |
H A D | clrpick.tcl | 31 # The lines variables track the start and end indices of the line 33 set data(lines,red,start) 0 34 set data(lines,red,last) -1 35 set data(lines,green,start) 0 36 set data(lines,green,last) -1 37 set data(lines,blue,start) 0 38 set data(lines,blue,last) -1 40 # This is the actual number of lines that are drawn in each color strip. 364 global lines 374 # First remove all the lines tha [all...] |
/ast/src/cmd/tw/ |
H A D | xargs.c | 60 " \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/cmd/kshlib/cmdtst/ |
H A D | xargs.c | 60 "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/lib/libtk/library/demos/ |
H A D | text.tcl | 27 {This window is a text widget. It displays one or more lines of text 45 whole lines. 70 narrow you can see that long lines automatically wrap around onto 71 additional lines so that all the information is always visible.}
|
H A D | widget | 115 This application provides a front end for several short scripts that demonstrate what you can do with Tk widgets. Each of the numbered lines below describes a demonstration; you can click on it to invoke the demonstration. Once the demonstration window appears, you can click the "See Code" button to see the Tcl/Tk code that created the demonstration. If you wish, you can edit the code and click the "Rerun Demo" button in the code window to reinvoke the demonstration with the modified code. 178 .t insert end "4. An editor for arrowheads on canvas lines." {demo demo-arrow}
|
/ast/src/cmd/mailx/ |
H A D | cmd2.c | 600 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 D | proc.c | 315 * 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 D | cmd1.c | 405 * 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 D | send.c | 275 else if ((ap->flags & PART_body) || (flags & GMIME) && ap->count == 1 && !n && ap->next && !ap->next->lines && mime(1) && (s = mimeview(state.part.mime, NiL, NiL, ap->type, ap->opts))) { 276 note(DEBUG, "copy part text offset=%ld size=%ld lines=%ld", (long)ap->offset, (long)ap->size, (long)ap->lines); 280 n += ap->lines; 283 fprintf(op, "(attachment %2d %s %20s \"%s\")\n\n", ap->count, counts(1, ap->lines, ap->size), ap->type, ap->name);
|
H A D | imap.c | 148 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 D | misc.c | 675 * 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 D | mailx.h | 436 off_t lines; member in struct:part
|
/ast/src/cmd/re/ |
H A D | ed.c | 181 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;
|
/ast/src/cmd/ie/ |
H A D | history.c | 570 /* don't count empty lines */ 797 * if s1==0 the number of lines for the command is returned 888 * and number of lines back or foward, 892 histloc hist_locate(command,line,lines) 895 int lines; 898 line += lines; 904 if(lines > 0)
|
/ast/src/cmd/ksh93/edit/ |
H A D | history.c | 827 /* 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)
|