Searched defs:line (Results 26 - 50 of 621) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/tools/scripts/
H A Dcstyle.pl106 my ($filename, $line, $prev); # shared globals
198 printf $fmt, $filename, $., $error, $line;
208 my $out = $prevline."\n".$line;
255 $line = '';
259 line: while (<$filehandle>) { label
262 # save the original line, then remove all text from within
265 $line = $_;
269 # the line. We translate that into a quoted string on the previous
270 # line followed by an initial quote on the next line
[all...]
/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/lib/lvm/libsvm/common/
H A Dcheck_svm.c43 * INPUT: file pointer, line buffer, line_length
55 char *line; local
62 if ((line = malloc(line_len)) == NULL)
65 while (fgets(line, line_len, fp) != NULL) {
66 bp = strstr(line, "mddb_bootlist");
69 if (*line != '*' && *line != '#') {
75 free(line);
H A Dgetdrvname.c48 * is_blank() returns 1 (true) if a line specified is composed of
51 * Note. the argument (line) must be null-terminated.
54 is_blank(char *line) argument
56 for (/* nothing */; *line != '\0'; line++)
57 if (!isspace(*line))
81 char line[MAX_N2M_ALIAS_LINE], *cp; local
91 while ((fgets(line, sizeof (line), fp) != NULL) &&
94 if ((cp = strchr(line, '#')) !
[all...]
/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dgetnetent.c52 check_addr(nss_XbyY_args_t *argp, const char *line, int linelen) argument
60 linep = line;
61 limit = line + linelen;
H A Dgetprotoent.c48 check_addr(nss_XbyY_args_t *argp, const char *line, int linelen) argument
53 linep = line;
54 limit = line + linelen;
H A Dgetrpcent.c48 check_rpcnum(nss_XbyY_args_t *argp, const char *line, int linelen) argument
53 linep = line;
54 limit = line + linelen;
H A Dtsol_gettpent.c37 check_name(nss_XbyY_args_t *args, const char *line, int linelen) argument
41 linep = line;
42 limit = line + linelen;
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DNativeException.java32 * adding native source filename and line number, which are otherwise
46 NativeException(String file, int line, Throwable cause) argument
50 lineNumber = line;
58 buf.append(" line ");
/illumos-gate/usr/src/lib/libeti/panel/common/
H A Dupdate.c43 * touch_top - Touch the line in all windows
44 * which is visible above a given line
47 touch_top(PANEL *panel, int line, _obscured_list *obs, int start_x, int end_x) argument
57 if (line >= obs -> start && line <= obs -> end &&
59 (void) touchline(pnl->win, line - pnl->wstarty, 1);
62 touch_top(panel, line, next_obs,
80 * Touch the line in all windows which is visible above a given line.
85 std_touch_top(int line, PANE argument
[all...]
/illumos-gate/usr/src/lib/libpp/common/
H A Dppargs.c25 * common preprocessor command line argument parse
37 " by the \b-D-X\b command line option.]"
60 " affects error message and line sync output.]"
67 " [+-D-L\b[\aid\a]], \bpp::lineid\b [\aid\a]]?Set the line sync directive"
116 " [+-I-R\afile\a?Include \afile\a but do not emit text or line syncs.]"
134 "[P!:sync?Emit line syncs.]"
141 " one per line, indented to show nesting.]"
167 pplint(char* head, char* comment, char* tail, int line) argument
169 NoP(line);
174 ppline(error_info.line, Ni
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dirs_p.h33 char line[BUFSIZ+1]; member in struct:lcl_sv
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dassertions.c83 default_assertion_failed(const char *file, int line, assertion_type type, argument
87 file, line, assertion_type_to_text(type), cond,
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dgetdate.c54 * 7 Input string does not match any line in the template.
67 char *datemsk, *line, *rp; local
103 * each line not exceed 512 bytes, using a fixed buffer. We could
111 while ((line = fgets(buf, sizeof (buf), fp)) != NULL) {
114 * the input line was too long. We just check to
116 * then we hit a null byte first, and the line is
128 rp = strptime(str, line, rtmp);
/illumos-gate/usr/src/cmd/ypcmd/
H A Dgetlist.c80 char line[256]; local
88 while (fgets(line, sizeof (line), fyle)) {
89 if (line[0] == '#') continue;
90 if (line[0] == '\0') continue;
91 if (line[0] == '\n') continue;
92 nname = newname(line);
H A Dudpublickey.c56 char line[256]; local
125 while (fgets(line, sizeof (line), rf)) {
126 if (err < 0 && match(line, name)) {
142 fputs(line, wf);
181 match(line, name)
182 char *line;
188 return (strncmp(line, name, len) == 0 &&
189 (line[len] == ' ' || line[le
[all...]
/illumos-gate/usr/src/cmd/oamuser/group/
H A Ddel_group.c59 int line = 1; local
97 line++;
103 errmsg(M_SYNTAX, line);
H A Dmod_group.c59 int line = 1; local
98 line++;
103 errmsg(M_SYNTAX, line);
/illumos-gate/usr/src/cmd/rexd/
H A Dmntent.c99 static char *line = NULL; local
102 if (line == NULL)
103 line = (char *)malloc(BUFSIZ+1);
106 cp = fgets(line, 256, mnttabp);
H A Dsharetab.c63 static char *line = NULL; local
68 if (line == NULL) {
69 line = (char *)malloc(BUFSIZ+1);
70 if (line == NULL)
79 p = fgets(line, BUFSIZ, fd);
82 line[strlen(line) - 1] = '\0';
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.fingerd.c56 char line[512]; local
66 line[0] = '\0';
67 if (fgets(line, sizeof (line), stdin) == NULL)
69 sp = line;
97 /* check for end of "command line" */
106 /* check again for end of "command line" */
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_bparam.c70 char *line; local
82 line = get_sum_line();
85 (void) sprintf(line,
88 line += strlen(line);
92 (void) sprintf(line, " %s",
98 (void) sprintf(line, " %s",
104 check_retransmit(line, xid);
106 (void) sprintf(line, "BPARAM R %s ",
108 line
[all...]
H A Dsnoop_rstat.c69 char *line; local
79 line = get_sum_line();
82 (void) sprintf(line,
86 check_retransmit(line, xid);
88 (void) sprintf(line, "RSTAT R %s ",
/illumos-gate/usr/src/cmd/cron/
H A Dpermit.c98 char line[UNAMESIZE]; local
104 while (fgets(line, UNAMESIZE, cap) != NULL) {
105 for (i = 0; line[i] != '\0'; i++) {
106 if (isspace(line[i])) {
107 line[i] = '\0';
110 if (strcmp(line, username) == 0) {
/illumos-gate/usr/src/cmd/mailx/
H A Dtranslate.c46 char line[LINESIZE]; local
84 if (fgets(line, sizeof line, pp) == NULL)
86 line[strlen(line)-1] = 0;
87 if (!strcmp(line, n->n_name))
89 x = extract(line, n->n_type);

Completed in 182 milliseconds

1234567891011>>