Home
last modified time | relevance | path

Searched refs:line (Results 76 – 100 of 1461) sorted by relevance

12345678910>>...59

/illumos-gate/usr/src/cmd/bart/
H A Dcompare.c40 char **line, char *fname);
234 line_len = strlen(line); in parse_line()
271 buf[cnt] = line[*curr_pos]; in get_token()
287 line_len = strlen(line); in extract_fname_ftype()
535 char **line, char *fname) in read_manifest_line() argument
548 *line = buf; in read_manifest_line()
554 if ((*line[0] == '!') || (*line[0] == '#')) in read_manifest_line()
567 *line = &(buf[end_pos]); in read_manifest_line()
569 if ((*line[0] == '!') || (*line[0] == '#')) in read_manifest_line()
593 *line = &(buf[end_pos]); in read_manifest_line()
[all …]
/illumos-gate/usr/src/cmd/mail/
H A Dgoback.c75 for (fgets(line, LSIZE, tmpf);
78 strncmp(line, header[H_FROM1].tag,
80 if ((i = substr(line, "remote from")) != -1) {
81 for (i = 0, cp = strrchr(line, ' ') + 1;
89 if (line[0] == '>') {
94 for (w = i; line[w] != ' '; w++) {
95 wuser[w-i] = line[w];
99 if (line[0] == '>') {
104 for (w = i; line[w] != ' '; w++) {
105 wuser[w-i] = line[w];
[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, "No permission");
H A Dsnoop_pmap.c103 char *line; local
129 line = get_sum_line();
134 line += strlen(line);
140 (void) sprintf(line,
147 (void) sprintf(line,
167 line += strlen(line);
389 char *line; local
417 line = get_sum_line();
420 (void) sprintf(line,
423 line += strlen(line);
[all …]
/illumos-gate/usr/src/cmd/luxadm/
H A Dfabric_conf.c45 char *filename, char *line);
94 char *line; in read_repos_file() local
137 line = tmp_ptr; in read_repos_file()
149 if (*line == COMMENT_CHAR) { in read_repos_file()
155 wwn, repos_filename, line); in read_repos_file()
182 line_copy = strdup(line); in parse_line()
279 char *filename, char *line) in create_ap_instance() argument
290 line, filename, strerror(errno)); in create_ap_instance()
300 line, filename, strerror(errno)); in create_ap_instance()
311 line, filename, strerror(errno)); in create_ap_instance()
[all …]
/illumos-gate/usr/src/boot/common/
H A Dinterp_forth.c74 char *name, *line, *tail, *cp; in bf_command() local
110 strcpy(line, name); in bf_command()
118 strcat(line, " "); in bf_command()
119 strncat(line, cp, len); in bf_command()
131 strcpy(line, name); in bf_command()
133 strcat(line, " "); in bf_command()
134 strncat(line, tail, len); in bf_command()
138 DPRINTF("cmd '%s'", line); in bf_command()
142 if (!parse(&argc, &argv, line)) { in bf_command()
158 free(line); in bf_command()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/vmalloc/
H A Dvmdebug.c194 int line;
373 int line; local
396 { vm->file = file; vm->line = line; vm->func = func;
420 int line; local
444 { vm->file = file; vm->line = line; vm->func = func;
477 int line, oldline; local
483 { vm->file = file; vm->line = line;
490 { vm->file = file; vm->line = line;
529 { vm->file = file; vm->line = line;
666 int line; local
[all …]
/illumos-gate/usr/src/tools/onbld/Checks/
H A DCmtBlk.py45 line = block['start']
51 raise CmtBlkError(line, actual, valid)
52 line += 1
74 for line in fh:
75 line = line.rstrip('\r\n')
78 if StartRE.search(line):
80 lic.append(line)
82 elif in_cmt and EndRE.search(line):
84 lic.append(line)
89 lic.append(line)
H A DShellLint.py32 for line in tmpfile:
33 if '`...` obsolete' in line:
37 line = line.replace('/dev/stdin', filename)
38 line = line.replace('warning: ', '')
39 output.write(line)
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevpolicy.c107 char *line, *col; in loadprivs() local
118 line = fep->entry; in loadprivs()
120 if (*line == '\0') in loadprivs()
123 line[strlen(line)-1] = '\0'; in loadprivs()
125 col = strchr(line, ':'); in loadprivs()
131 if (modctl(MODGETMAJBIND, line, col - line + 1, &maj) in loadprivs()
135 line = col + 1; in loadprivs()
140 line, strerror(errno)); in loadprivs()
150 char *line; in loadpolicy() local
170 line = fep->entry; in loadpolicy()
[all …]
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dcheck.c154 outfl(O_DIE, np->file, np->line, in check_path_iterators()
177 outfl(O_ERR, np->file, np->line, in check_arrow()
249 outfl(O_ERR, np->file, np->line, in check_num()
261 outfl(O_ERR, np->file, np->line, in check_quote()
273 outfl(O_ERR, np->file, np->line, in check_action()
284 outfl(O_ERR, np->file, np->line, in check_num_func()
312 outfl(O_ERR, np->file, np->line, in check_fru_asru()
323 outfl(O_ERR, np->file, np->line, in check_engine()
336 outfl(O_ERR, np->file, np->line, in check_count()
403 np->file, np->line, in check_stmt_required_properties()
[all …]
/illumos-gate/usr/src/cmd/tbl/
H A Dtg.c23 char line[BIGBUF]; in get_text() local
57 while (gets1(line, sizeof line)) in get_text()
59 if (line[0]=='T' && line[1]=='}' && line[2]== tab) break; in get_text()
60 if (match("T}", line)) break; in get_text()
61 fprintf(tabout, "%s\n", line); in get_text()
72 if (line[2]) in get_text()
73 tcopy (sp, line+3); in get_text()
/illumos-gate/usr/src/cmd/ypcmd/revnetgroup/
H A Dutil.c38 getaline(line, maxlen, fp) in getaline() argument
39 char *line; in getaline()
47 start = line;
60 return (line);
90 maxlen = strlen(line) + 1;
96 line[maxlen - 2] = '\n';
98 "ignored\n--- %s", line);
99 return (line);
/illumos-gate/usr/src/cmd/checknr/
H A Dchecknr.c287 for (lineno = 1; fgets(line, sizeof (line), f); lineno++) { in process()
288 if (line[0] == '.') { in process()
314 addcmd(line); in process()
316 chkcmd(line, mac); in process()
323 for (i = 0; line[i]; i++) in process()
324 if (line[i] == '\\' && (i == 0 || line[i-1] != '\\')) { in process()
326 pl = line[++i]; in process()
351 n = line[++i]; in process()
409 chkcmd(char *line, char *mac) in chkcmd() argument
526 addcmd(char *line) in addcmd() argument
[all …]
/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dfiles_common.c393 uint_t hash, line, f; in _nss_files_XY_hash() local
435 line = hp - htab;
524 line = 1;
527 line++;
530 if (line % f == 0) {
532 line++;
536 fhp->fh_size = line;
542 line = 0;
680 linep = line; in _nss_files_check_name_colon()
681 limit = line + linelen; in _nss_files_check_name_colon()
[all …]
H A Dgetprojent.c33 hash_projname(nss_XbyY_args_t *argp, int keyhash, const char *line, in hash_projname() argument
44 name = line; in hash_projname()
46 while (linelen-- && *line++ != ':') in hash_projname()
56 hash_projid(nss_XbyY_args_t *argp, int keyhash, const char *line, in hash_projid() argument
62 linep = line; in hash_projid()
63 limit = line + linelen; in hash_projid()
96 check_projid(nss_XbyY_args_t *argp, const char *line, int linelen) { in check_projid() argument
100 linep = line; in check_projid()
101 limit = line + linelen; in check_projid()
107 if (linep == limit || linep == line + 1) in check_projid()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.comsat.c400 char line[BUFSIZ]; in jkfprintf() local
422 while (fgets(line, sizeof (line), fi) != NULL) { in jkfprintf()
434 if (inheader && (line[0] == ' ' || line[0] == '\t')) in jkfprintf()
436 cp = index(line, ':'); in jkfprintf()
437 if (cp == 0 || (index(line, ' ') && index(line, ' ') < cp)) in jkfprintf()
440 cnt = cp - line; in jkfprintf()
445 strncmp(line, "To", cnt)) in jkfprintf()
447 cp = index(line, '\n'); in jkfprintf()
452 if (!isprint(line[i])) in jkfprintf()
453 line[i] = ' '; in jkfprintf()
[all …]
/illumos-gate/usr/src/cmd/refer/
H A Drefer2.c53 while (input(line)) { /* get query */ in doref()
55 if (prefix(".]", line)) in doref()
57 if (biblio && line[0] == '\n') in doref()
59 if (biblio && line[0] == '%' && line[1] == *convert) in doref()
61 if (control(line[0])) in doref()
63 strcat(query ? dbuff : buff, line); in doref()
69 if (biblio && line[0] == '\n' && feof(in)) in doref()
148 line, 0); in doref()
165 putsig(nf, flds, refnum, line1, line, 1); in doref()
169 if (biblio && line[0] == '\n') in doref()
[all …]
/illumos-gate/usr/src/cmd/abi/appcert/scripts/
H A Dsymprof.pl254 my $line;
313 my ($profile, $line, $tmp);
922 my ($line, $path2);
948 chop($line = $_);
952 split(/\|/, $line, 4);
1003 chop($line = $_);
1005 split(/\|/, $line, 4);
1057 if ($line =~ /^\d+:\s*(.*)$/) {
1148 my ($line, $object) = @_;
1244 my ($line) = @_;
[all …]
/illumos-gate/usr/src/cmd/logadm/
H A Derr.c65 err_fileline(const char *file, int line) in err_fileline() argument
68 Line = line; in err_fileline()
219 char line[MAXLINE]; in err_mailto() local
235 while (fgets(line, MAXLINE, Errorfile) != NULL) in err_mailto()
236 (void) fputs(line, pfp); in err_mailto()
257 err_malloc(int nbytes, const char *fname, int line) in err_malloc() argument
262 err(0, "%s:%d: out of memory", fname, line); in err_malloc()
278 err(0, "%s:%d: out of memory", fname, line); in err_realloc()
296 err(0, "%s:%d: out of memory", fname, line); in err_strdup()
298 err(0, "%s:%d: could not strdup", fname, line); in err_strdup()
[all …]
/illumos-gate/usr/src/cmd/genmsg/
H A Dutil.c72 int line; member
206 if (mi->line && mi->file && in write_msgfile()
226 if (mi->line && mi->file && in write_msgfile()
274 src_err(file, line, gettext( in lookup_msgid()
329 newmi->line = line; in add_msgid()
411 char line[LINE_MAX]; in read_projfile() local
421 while (fgets(line, sizeof (line), fp) != NULL) { in read_projfile()
422 char *p = line; in read_projfile()
515 src_err(file, line, in get_msgid()
555 int line = 0; in read_msgfile() local
[all …]
/illumos-gate/usr/src/cmd/line/
H A Dline.c51 char line[LSIZE]; in main() local
55 linep = line; in main()
56 linend = line + LSIZE; in main()
60 (void) write(1, line, LSIZE); in main()
61 linep = line; in main()
67 (void) write(1, line, linep-line); in main()
/illumos-gate/usr/src/cmd/utmp_update/
H A Dutmp_update.c237 line = argv[3]; in load_utmpx_struct()
311 char *line = buf; in check_utmpx() local
371 if (bad_line(line) == 1) { in check_utmpx()
372 dprintf("Bad line = %s\n", line); in check_utmpx()
420 check_id(char *id, char *line) in check_id() argument
425 len = strlen(line); in check_id()
429 id[i] = len - i < 0 ? 0 : line[len-i]; in check_id()
455 bad_line(char *line) in bad_line() argument
466 if (strstr(line, "../") != 0) { in bad_line()
467 dprintf("Bad line = %s\n", line); in bad_line()
[all …]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dudpublickey.c54 char line[256]; local
123 while (fgets(line, sizeof (line), rf)) {
124 if (err < 0 && match(line, name)) {
140 fputs(line, wf);
179 match(line, name) in match() argument
180 char *line; in match()
186 return (strncmp(line, name, len) == 0 &&
187 (line[len] == ' ' || line[len] == '\t'));
/illumos-gate/usr/src/test/util-tests/tests/awk/gnu/
H A Dgetnr2tb.in1 line 1
2 line 2
3 line 3
4 line 4
5 line 5
6 line 6

12345678910>>...59