Searched defs:line (Results 1 - 25 of 599) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dis_linetou.c48 is_linetouched(WINDOW *win, int line) argument
50 if (line < 0 || line >= win->_maxy)
52 if (win->_firstch[line] == _INFINITY)
H A Dripoffline.c46 * such that a line is removed from the user's screen by initscr. This
48 * which tells initscr to reduce the size of stdscr by one for each line
58 int line; member in struct:_ripdef
82 ((flag = _ripstruct[i].line) > 0) ? 0 : LINES, 0), COLS);
90 ripoffline(int line, int (*initfunction)(WINDOW *, int)) argument
93 _ripstruct[_ripcounter].line = line;
/illumos-gate/usr/src/cmd/bnu/
H A Dversys.c51 char line[BUFSIZ]; local
70 while (getsysline(line, sizeof(line))) {
71 if((line[0] == '#') || (line[0] == ' ') || (line[0] == '\t') ||
72 (line[0] == '\n'))
75 if ((iptr=strpbrk(line, " \t")) == NULL)
78 if (EQUALS(name, line)) {
/illumos-gate/usr/src/tools/scripts/
H A Djstyle.pl37 -c check continuation line indenting
61 my ($filename, $line, $prev);
101 printf $fmt, $filename, $., $_[0], $line;
126 line: while (<STDIN>) { label
129 # save the original line, then remove all text from within
132 $line = $_;
141 next line;
145 # a /*JSTYLED*/ comment indicates that the next line is ok.
157 $prev = $line;
158 next line;
[all...]
H A Dcstyle.pl106 my ($filename, $line, $prev); # shared globals
203 printf $fmt, $filename, $., $error, $line;
213 my $out = $prevline."\n".$line;
260 $line = '';
264 line: while (<$filehandle>) { label
267 # save the original line, then remove all text from within
270 $line = $_;
274 # the line. We translate that into a quoted string on the previous
275 # line followed by an initial quote on the next line
[all...]
/illumos-gate/usr/src/lib/libpp/common/
H A Dppcomment.c31 ppcomment(char* head, char* comment, char* tail, int line) argument
33 NoP(line);
H A Dppline.c25 * common preprocessor line sync handler
31 ppline(int line, char* file) argument
51 type[1] = ((pp.flags & PP_linetype) && !*pp.lineid && pp.lastfile) ? (line <= 1 ? (file == pp.firstfile ? PP_sync : PP_sync_push) : PP_sync_pop) : PP_sync;
75 * some front ends can't handle two line syncs in a row
81 ppprintf("#%s %d \"%s\"%s\n", pp.lineid, line, (pp.flags & PP_linebase) && (s = strrchr(file, '/')) ? s + 1 : file, type);
83 ppprintf("#%s %d\n", pp.lineid, line);
H A Dppincref.c32 ppincref(char* parent, char* file, int line, int type) argument
38 NoP(line);
H A Dppmacref.c31 ppmacref(struct ppsymbol* sym, char* file, int line, int type, unsigned long sum) argument
36 NoP(line);
38 p += sfsprintf(p, MAXTOKEN, "\n#%s %d", pp.lineid, error_info.line);
/illumos-gate/usr/src/stand/lib/sa/
H A Dassert.c34 __assert(const char *assertion, const char *file, int line) argument
39 "%s, file: %s, line: %d", assertion, file, line);
/illumos-gate/usr/src/boot/lib/libstand/
H A Dassert.c34 __assert(const char *func, const char *file, int line, const char *expression) argument
37 panic("Assertion failed: (%s), file %s, line %d.",
38 expression, file, line);
40 panic("Assertion failed: (%s), function %s, file %s, line %d.",
41 expression, func, file, line);
/illumos-gate/usr/src/cmd/ttymon/
H A Dadmutil.c51 int line = 0; /* line number we found entry on */ local
55 line++;
61 return(line);
/illumos-gate/usr/src/tools/cscope-fast/
H A Dhelp.c48 int line; local
60 "the file containing a displayed line\n";
75 "line.\n";
107 "to mark or unmark the line to be\n";
113 *tp++ = "1-9\tMark or unmark the line to be changed.\n";
130 line = 0;
132 if (line < LINES - 1) {
135 ++line;
143 line = 0;
146 if (line) {
[all...]
H A Dlogdir.c49 static char line[BUFSIZ+1]; variable
74 /* get the next line in the password file */
75 i = read(pwf, line, BUFSIZ);
77 if (line[j] == '\n')
82 line[++j] = 0; /* terminate the line */
83 /* point at the next line */
85 p = passwdfield(line); /* get the logname */
86 } while (*name != *line || /* fast pretest */
87 strcmp(name, line) !
[all...]
/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dgethostent6.c62 check_addr(nss_XbyY_args_t *argp, const char *line, int linelen) argument
64 return (__nss_files_check_addr(AF_INET6, argp, line, linelen));
H A Dgetspent.c35 check_spnamp(nss_XbyY_args_t *argp, const char *line, int linelen) argument
37 const char *linep = line;
41 if (linelen == 0 || *line == '+' || *line == '-')
/illumos-gate/usr/src/lib/libnsl/saf/
H A Dcheckver.c54 char line[BUFSIZ]; /* temp buffer for input */ local
60 p = line;
71 p = line;
/illumos-gate/usr/src/cmd/ypcmd/
H A Dstdethers.c44 * The hostname buffer must be at least as large as the line buffer
48 char line[MAXHOSTNAMELEN + 256], *lf, hostname[sizeof (line)]; local
62 while (fgets(line, sizeof (line), in) != NULL) {
63 lf = strchr(line, '\n');
66 if ((line[0] == '#') || (line[0] == '\0'))
68 if (ether_line(line, &e, hostname) == 0) {
73 "%s: ignoring line
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_rquota.c69 char *line; local
82 line = get_sum_line();
87 (void) sprintf(line,
92 check_retransmit(line, xid);
94 (void) sprintf(line, "RQUOTA R %s ",
96 line += strlen(line);
99 (void) sprintf(line, "OK");
101 (void) sprintf(line, "No quota");
103 (void) sprintf(line, "N
[all...]
/illumos-gate/usr/src/cmd/refer/
H A Drefer1.c34 main(int argc, char *argv[]) /* process command-line arguments */
36 char line[BUFSIZ], *s; local
146 while (input(line)) {
148 if (biblio && *line == '\n')
149 doref(line);
150 else if (biblio && Iline == 1 && *line == '%')
151 doref(line);
152 else if (!prefix(".[", line))
153 output(line);
155 doref(line);
[all...]
/illumos-gate/usr/src/cmd/tbl/
H A Dtg.c25 char line[BIGBUF]; local
31 fprintf(tabout, ".nr %d \\n(.lu\n", SL); /* remember old line length */
59 while (gets1(line, sizeof line))
61 if (line[0]=='T' && line[1]=='}' && line[2]== tab) break;
62 if (match("T}", line)) break;
63 fprintf(tabout, "%s\n", line);
73 /* copy remainder of line */
[all...]
/illumos-gate/usr/src/lib/libast/common/misc/
H A Ddebug.c32 debug_fatal(const char* file, int line) argument
34 error(2, "%s:%d: debug error", file, line);
/illumos-gate/usr/src/boot/sys/boot/common/linenoise/
H A Dexample.c15 char *line; local
18 /* Parse options, with --multiline we enable multi line editing. */
24 printf("Multi-line mode enabled.\n");
48 while((line = linenoise("hello> ")) != NULL) {
50 if (line[0] != '\0' && line[0] != '/') {
51 printf("echo: '%s'\n", line);
52 linenoiseHistoryAdd(line); /* Add to the history. */
54 } else if (!strncmp(line,"/historylen",11)) {
56 int len = atoi(line
[all...]
/illumos-gate/usr/src/cmd/mandoc/
H A Dmandoc_xr.h22 int line; /* Or -1 for this page's own names. */ member in struct:mandoc_xr
/illumos-gate/usr/src/cmd/loadkeys/
H A Dloadkeys.y530 table line
534 line: label
810 yyerror("line too long");
837 yyerror("missing newline at end of line");
847 yyerror("missing newline at end of line");
858 yyerror("line too long");
987 (void) fprintf(stderr, "%s, line %d: %s\n", infilename, lineno, msg);

Completed in 59 milliseconds

1234567891011>>