Searched refs:line1 (Results 1 - 22 of 22) sorted by relevance

/freebsd-9.3-release/usr.bin/comm/
H A Dcomm.c76 char *line1, *line2; local
123 line1 = line2 = NULL;
129 n1 = getline(&line1, &line1len, fp1);
132 if (n1 > 0 && line1[n1 - 1] == '\n')
133 line1[n1 - 1] = '\0';
152 show(fp1, argv[0], col1, &line1, &line1len);
157 if ((tline1 = convert(line1)) != NULL)
160 comp = strcmp(line1, line2);
172 (void)printf("%s%s\n", col3, line1);
181 (void)printf("%s%s\n", col1, line1);
[all...]
/freebsd-9.3-release/gnu/usr.bin/rcs/lib/
H A Drcssyn.c545 * Store the command's line number and length into dc->line1 and dc->nlines.
554 long line1, nlines, t; local
590 line1 = 0;
593 LONG_MAX/10 < line1 ||
594 (t = line1 * 10, (line1 = t + (c - '0')) < t)
615 if (line1+nlines < line1)
619 if (line1 < dc->adprev) {
622 dc->adprev = line1
[all...]
H A Drcsedit.c766 if (line_lim <= dc.line1)
771 copylines(dc.line1-1, delta);
789 copylines(dc.line1, delta);
H A Drcsbase.h652 line1, /* number of first line */ member in struct:diffcmd
654 adprev, /* previous 'a' line1+1 or 'd' line1 */
655 dafter; /* sum of previous 'd' line1 and previous 'd' nlines */
/freebsd-9.3-release/sbin/dhclient/
H A Dconflex.c59 static char line1[81]; variable
83 cur_line = line1;
96 if (cur_line == line1) {
98 prev_line = line1;
101 prev_line = line1;
107 if (lpos < sizeof(line1)) {
/freebsd-9.3-release/contrib/cvs/src/
H A Dpatch.c404 char *line1, *line2; local
414 line1 = NULL;
633 if (getline (&line1, &line1_chars_allocated, fp) < 0 ||
650 if (strncmp (line1, "*** ", 4) != 0 ||
652 (cp1 = strchr (line1, '\t')) == NULL ||
664 if (strncmp (line1, "--- ", 4) != 0 ||
666 (cp1 = strchr (line1, '\t')) == NULL ||
741 = getline (&line1, &line1_chars_allocated, fp))
743 cvs_output (line1, 0);
756 if (line1)
[all...]
H A Dsanity.sh5261 echo line1 from branch1 >> file3
5284 ${PLUS} line1 from branch1"
5293 - line1 from branch1
5312 echo line1 from branch1 >> file3
9741 echo 'br1:line1' >>file1
9752 echo 'trunk:line1' > file2
9756 echo 'trunk:line1' >>file1
9784 br1:line1
9786 trunk:line1
9794 echo 'br2:line1' >>file
[all...]
/freebsd-9.3-release/usr.sbin/edquota/
H A Dedquota.c545 char *fsp, line1[BUFSIZ], line2[BUFSIZ]; local
555 (void) fgets(line1, sizeof (line1), fd);
556 while (fgets(line1, sizeof (line1), fd) != NULL &&
558 if ((fsp = strtok(line1, " \t:")) == NULL) {
559 warnx("%s: bad format", line1);
723 char *fsp, bunits[10], iunits[10], line1[BUFSIZ]; local
733 (void) fgets(line1, sizeof (line1), f
[all...]
/freebsd-9.3-release/contrib/diff/src/
H A Dutil.c683 *first1 = hunk->line1;
689 l1 = next->line1 + next->inserted - 1;
708 for (i = next->line1; i <= l1 && trivial; i++)
778 long int line1 = sp->line1;
782 line0, line1, deleted, inserted);
767 long int line1 = sp->line1; local
H A Dcontext.c242 while (next && next->line1 + next->inserted <= i)
248 if (next && next->line1 <= i)
407 top1 = start->line1 + start->inserted;
415 if (start && start->line0 - top0 != start->line1 - top1)
H A Danalyze.c693 add_change (lin line0, lin line1, lin deleted, lin inserted,
699 new->line1 = line1;
726 lin line0 = i0, line1 = i1;
733 script = add_change (line0, line1, i0 - line0, i1 - line1, script);
760 lin line0 = i0, line1 = i1;
767 script = add_change (i0, i1, line0 - i0, line1 - i1, script);
689 add_change(lin line0, lin line1, lin deleted, lin inserted, struct change *old) argument
722 lin line0 = i0, line1 = i1; local
756 lin line0 = i0, line1 = i1; local
H A Ddiff.h226 lin line1; /* Line number of 1st inserted line. */
224 lin line1; /* Line number of 1st inserted line. */ member in struct:change
/freebsd-9.3-release/bin/sh/
H A Dmkinit.c326 dodecl(char *line1, FILE *fp) argument
331 if (strcmp(line1, "MKINIT\n") == 0) { /* start of struct/union decl */
344 for (p = line1 + 6 ; *p && strchr("=/\n", *p) == NULL; p++)
357 addstr(line1 + 6, &decls);
/freebsd-9.3-release/contrib/cvs/diff/
H A Dcontext.c216 while (next && next->line1 + next->inserted <= i)
222 if (next && next->line1 <= i)
376 top1 = start->line1 + start->inserted;
386 if (start && start->line0 - top0 != start->line1 - top1)
H A Danalyze.c733 add_change (line0, line1, deleted, inserted, old)
734 int line0, line1, deleted, inserted;
740 new->line1 = line1;
768 int line0 = i0, line1 = i1;
775 script = add_change (line0, line1, i0 - line0, i1 - line1, script);
803 int line0 = i0, line1 = i1;
810 script = add_change (i0, i1, line0 - i0, line1 - i1, script);
764 int line0 = i0, line1 = i1; local
799 int line0 = i0, line1 = i1; local
H A Dutil.c769 *first1 = hunk->line1;
775 l1 = next->line1 + next->inserted - 1;
795 for (i = next->line1; i <= l1 && trivial; i++)
858 sp->line0, sp->line1, sp->deleted, sp->inserted);
H A Ddiff.h207 int line1; /* Line number of 1st inserted line. */
205 int line1; /* Line number of 1st inserted line. */ member in struct:change
/freebsd-9.3-release/contrib/gdb/gdb/
H A Dmacrotab.c199 compare_locations (struct macro_source_file *file1, int line1,
238 line1 = file1->included_at_line;
255 line1 = file1->included_at_line;
274 if (line1 == line2)
290 return line1 - line2;
196 compare_locations(struct macro_source_file *file1, int line1, struct macro_source_file *file2, int line2) argument
/freebsd-9.3-release/contrib/texinfo/util/
H A Dtexindex.c492 char **line1 = (char **) p1;
503 char *start1 = find_field (&keyfields[i], *line1, &length1);
506 *line1 - text_base,
526 struct lineinfo *line1 = (struct lineinfo *) p1;
535 if (line1->text - text_base > line2->text - text_base)
541 tem = line1->key.number - line2->key.number;
543 tem = compare_field (keyfields, line1->key.text, line1->keylen, 0,
552 text1 = line1->text;
488 char **line1 = (char **) p1; local
522 struct lineinfo *line1 = (struct lineinfo *) p1; local
H A Dinstall-info.c221 menu_line_lessp (char *line1, int len1, char *line2, int len2)
230 if (line1[i] == ':' && line2[i] != ':')
232 if (line2[i] == ':' && line1[i] != ':')
235 if (line1[i] < line2[i])
237 if (line1[i] > line2[i])
250 menu_line_equal (char *line1, int len1, char *line2, int len2)
258 if (line1[i] == ':' && line2[i] == ':')
261 if (line1[i] != line2[i])
216 menu_line_lessp(char *line1, int len1, char *line2, int len2) argument
245 menu_line_equal(char *line1, int len1, char *line2, int len2) argument
/freebsd-9.3-release/contrib/ee/
H A Dnew_curse.h243 extern int Comp_line P_((struct _line *line1, struct _line *line2));
/freebsd-9.3-release/tools/regression/usr.bin/sed/
H A Dmultitest.t381 echo line1 > lines3

Completed in 179 milliseconds