Home
last modified time | relevance | path

Searched refs:line (Results 151 – 175 of 1461) sorted by relevance

12345678910>>...59

/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dmemcluster.c63 int line; member
180 __memget_record(size_t size, const char *file, int line) { in __memget_record() argument
193 UNUSED(line); in __memget_record()
221 e->line = line; in __memget_record()
328 e->line = line; in __memget_record()
379 UNUSED(line); in __memput_record()
439 e->line = line; in __memput_record()
472 __memget_debug(size_t size, const char *file, int line) { in __memget_debug() argument
474 ptr = __memget_record(size, file, line); in __memget_debug()
484 __memput_record(ptr, size, file, line); in __memput_debug()
[all …]
/illumos-gate/usr/src/cmd/pools/poold/
H A Dpoold.c144 char line[255] = ""; in pu_output() local
150 (void) snprintf(line, sizeof (line), gettext(PNAME_FMT), pname); in pu_output()
152 (void) vsnprintf(line + strlen(line), sizeof (line) - strlen(line), in pu_output()
155 if (line[strlen(line) - 1] != '\n') in pu_output()
156 (void) snprintf(line + strlen(line), sizeof (line) - in pu_output()
157 strlen(line), gettext(ERRNO_FMT), strerror(err)); in pu_output()
159 line[strlen(line) - 1] = 0; in pu_output()
163 (void) fprintf(stderr, "%s\n", line); in pu_output()
167 syslog(LOG_ERR, "%s", line); in pu_output()
177 if ((jline = (*env)->NewStringUTF(env, line)) != NULL) in pu_output()
/illumos-gate/usr/src/cmd/ypcmd/
H A Dgetlist.c78 char line[256]; local
86 while (fgets(line, sizeof (line), fyle)) {
87 if (line[0] == '#') continue;
88 if (line[0] == '\0') continue;
89 if (line[0] == '\n') continue;
90 nname = newname(line);
/illumos-gate/usr/src/tools/cscope-fast/
H A Dhelp.c46 int line; in help() local
128 line = 0; in help()
130 if (line < LINES - 1) { in help()
133 ++line; in help()
141 line = 0; in help()
144 if (line) { in help()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dcmds.c111 if (prompt_for_arg(line, sizeof (line), "to") == -1) { in setpeer()
346 if (prompt_for_arg(line, sizeof (line), "local-file") == -1) { in put()
1166 if (prompt_for_arg(line, sizeof (line), "from-name") < 0) { in renamefile()
1181 if (prompt_for_arg(line, sizeof (line), "to-name") < 0) { in renamefile()
1357 if (prompt_for_arg(line, sizeof (line), "username") < 0) { in user()
1477 if (prompt_for_arg(line, sizeof (line), in quote()
1517 if (prompt_for_arg(line, sizeof (line), in site()
1619 *line = '\0'; in confirm()
1620 (void) fgets(line, sizeof (line), stdin); in confirm()
1622 return (*line != 'n' && *line != 'N'); in confirm()
[all …]
H A Ddomacro.c62 (void) strcat(line, " "); in domacro()
64 (void) gets(&line[strlen(line)]); in domacro()
85 (void) strcpy(line2, line); in domacro()
92 cp2 = line; in domacro()
153 printf("%s\n", line); in domacro()
160 (void) strcpy(line, line2); in domacro()
/illumos-gate/usr/src/cmd/fmt/
H A Dfmt.c300 prefix(wchar_t line[]) in prefix() argument
306 if (line[0] == L'\0') { in prefix()
315 np = cp - line; in prefix()
387 csplit(wchar_t line[]) in csplit() argument
393 cp = line; in csplit()
426 msplit(wchar_t line[]) in msplit() argument
432 cp = line; in msplit()
542 cp = line + wslen(line) - 1; in tabulate()
549 b = cp - line; in tabulate()
804 prefix(line); in fill_hdrbuf()
[all …]
/illumos-gate/usr/src/cmd/cron/
H A Dpermit.c95 char line[UNAMESIZE]; in within() local
101 while (fgets(line, UNAMESIZE, cap) != NULL) { in within()
102 for (i = 0; line[i] != '\0'; i++) { in within()
103 if (isspace(line[i])) { in within()
104 line[i] = '\0'; in within()
107 if (strcmp(line, username) == 0) { in within()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dgrep.sh69 while read -r line # read in a line
71 case "$line" in
73 test "$noprint" || print -r -- "$fname${nflag:+$n:}$line"
77 then print -r -- "$fname${nflag:+$n:}$line"
93 Some line contain foo only,
96 A line containing foobar should also be counted.
98 There are only two line with out foo but with bar.
/illumos-gate/usr/src/tools/scripts/
H A Dinterface_check.pl352 my $line;
363 while ($line = onbld_elfmod::GetLine(\*FIND_ELF, \$LineNum)) {
364 if ($line =~ /^PREFIX\s+(.*)$/) {
374 while ($line = onbld_elfmod::GetLine(\*FIND_ELF, \$LineNum)) {
375 if ($line =~ /^OBJECT\s/i) {
376 push @ObjList, $line;
380 if ($line =~ /^ALIAS\s/i) {
381 my ($item, $obj, $alias) = split(/\s+/, $line, 3);
392 foreach $line (@ObjList) {
394 split(/\s+/, $line, 5);
/illumos-gate/usr/src/cmd/keyserv/
H A Dupdate.c60 static int match(char *line, char *name);
230 char line[256]; local
283 while (fgets(line, sizeof (line), rf)) {
284 if (err < 0 && match(line, name)) {
300 fputs(line, wf);
337 match(char *line, char *name) argument
342 return (strncmp(line, name, len) == 0 &&
343 (line[len] == ' ' || line[len] == '\t'));
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dtree.c239 ret->line = line; in newnode()
486 (left) ? left->line : right->line); in tree_expr()
613 outfl(O_ERR, file, line, in tree_iname()
684 outfl(O_DIE, np->file, np->line, in tree_name_repairdash()
707 outfl(O_DIE, np->file, np->line, in tree_name_repairdash2()
745 outfl(O_ERR, file, line, in tree_timeval()
942 (lhs) ? lhs->line : rhs->line); in tree_arrow()
1041 ret = newnode(t, file, line); in dodecl()
1098 const char *file, int line) in tree_decl() argument
1173 outfl(O_ERR, file, line, in tree_decl()
[all …]
/illumos-gate/usr/src/cmd/vscan/vscand/
H A Dvs_icap.c1320 char *q = line; in vs_icap_parse_hdrs()
1337 q = line + line_len; in vs_icap_parse_hdrs()
1448 if (*line == 0) { in vs_icap_opt_value()
1454 if ((end != (line + strlen(line))) || (val < 0)) in vs_icap_opt_value()
1571 if (strstr(line, "*")) { in vs_icap_opt_ext()
1575 (line, EXT_SEPARATOR); in vs_icap_opt_ext()
1585 if (strstr(line, "*")) { in vs_icap_opt_ext()
1589 (line, EXT_SEPARATOR); in vs_icap_opt_ext()
1644 line++; in vs_icap_resp_infection()
1706 if (strstr(line, "res-hdr")) in vs_icap_resp_encap()
[all …]
/illumos-gate/usr/src/cmd/mandoc/
H A Dmandoc_xr.c65 mandoc_xr_add(const char *sec, const char *name, int line, int pos) in mandoc_xr_add() argument
84 xr->line = line; in mandoc_xr_add()
104 ret = (oxr->line == -1) ^ (xr->line == -1); in mandoc_xr_add()
105 if (xr->line == -1) in mandoc_xr_add()
106 oxr->line = -1; in mandoc_xr_add()
/illumos-gate/usr/src/cmd/mailx/
H A Dtranslate.c44 char line[LINESIZE]; in translate() local
82 if (fgets(line, sizeof line, pp) == NULL) in translate()
84 line[strlen(line)-1] = 0; in translate()
85 if (!strcmp(line, n->n_name)) in translate()
87 x = extract(line, n->n_type); in translate()
/illumos-gate/usr/src/cmd/sgs/unifdef/common/
H A Dunifdef.c510 *line++ = chr; in getlin()
521 *line++ = ' '; in getlin()
527 *line++ = chr; in getlin()
532 *line = '\n'; in getlin()
539 *line = '\f'; in getlin()
541 *line = '\n'; in getlin()
550 *++line = '\0'; in getlin()
567 putlin(char *line, FILE *fio) in putlin() argument
571 while (chr = *line++) in putlin()
583 error(int err, int line, int depth) in error() argument
[all …]
/illumos-gate/usr/src/cmd/fmthard/
H A Dfmthard.c542 char line[256]; in load() local
565 while (fgets(line, sizeof (line) - 1, fp)) { in load()
566 if (line[0] == '\0' || line[0] == '\n' || line[0] == '*') in load()
568 line[strlen(line) - 1] = '\0'; in load()
572 line); in load()
611 char line[256]; in load64() local
616 while (fgets(line, sizeof (line) - 1, fp)) { in load64()
617 if (line[0] == '\0' || line[0] == '\n' || line[0] == '*') in load64()
619 line[strlen(line) - 1] = '\0'; in load64()
623 line); in load64()
[all …]
/illumos-gate/usr/src/cmd/latencytop/common/
H A Dtable.c152 *line = mem[(*index)++]; in read_line_from_mem()
154 ++line; in read_line_from_mem()
156 if (*(line-1) == '\r' || *(line-1) == '\n') { in read_line_from_mem()
160 *line = '\0'; in read_line_from_mem()
487 char line[256]; in parse_config() local
506 while (read_line_from_mem(work, work_len, line, sizeof (line), in parse_config()
508 len = strlen(line); in parse_config()
510 if (line[len-1] != '\n' && line[len-1] != '\r' && in parse_config()
516 begin = line; in parse_config()
550 "No space after flag char: %s\n", line); in parse_config()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/
H A Dlcgen.c286 int line; local
294 line = 0;
345 line++;
409 fprintf(stderr, "%s: %d: %s invalid\n", command, line, arg[0]);
423 fprintf(stderr, "%s: %d: out of space\n", command, line);
439 fprintf(stderr, "%s: %d: out of space\n", command, line);
461 fprintf(stderr, "%s: %d: out of space\n", command, line);
493 fprintf(stderr, "%s: %d: out of space\n", command, line);
529 fprintf(stderr, "%s: %d: out of space\n", command, line);
536 fprintf(stderr, "%s: %d: out of space\n", command, line);
[all …]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dripoffline.c56 int line; member
80 ((flag = _ripstruct[i].line) > 0) ? 0 : LINES, 0), COLS); in _init_rip_func()
88 ripoffline(int line, int (*initfunction)(WINDOW *, int)) in ripoffline() argument
91 _ripstruct[_ripcounter].line = line; in ripoffline()
/illumos-gate/usr/src/cmd/ypcmd/mknetid/
H A Dgetname.c39 getaline(line, maxlinelen, f, lcount, com) in getaline() argument
40 char *line; in getaline()
49 if (! fgets(line, maxlinelen, f)) {
53 } while (iseol(line[0]));
54 p = line;
68 lp = line;
/illumos-gate/usr/src/cmd/tsol/tnchkdb/
H A Dtnchkdb.c275 char line[2048], *cp; local
295 while (fgets(line, sizeof (line), fp) != NULL) {
297 if (line[0] == '#')
299 if ((cp = strchr(line, '\n')) != NULL)
301 (void) str_to_tpstr(line, strlen(line), &tpstr, buf,
435 char line[2048], *cp; local
456 while (fgets(line, sizeof (line), fp) != NULL) {
458 if (line[0] == '#')
462 (void) str_to_rhstr(line, strlen(line), &rhstr, buf,
577 char line[2048], *cp; local
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_indenting.c77 pos.line--; in prev_lines_say_endif()
144 __next_stmt->pos.line == stmt->case_statement->pos.line) in match_stmt()
150 __next_stmt->pos.line == stmt->label_statement->pos.line) in match_stmt()
158 if (stmt->pos.line == __prev_stmt->pos.line) { in match_stmt()
173 (stmt->pos.line == __next_stmt->pos.line || in match_stmt()
/illumos-gate/usr/src/boot/common/
H A Dmisc.c178 caddr_t line; in hexdump() local
184 for (line = region; line < (region + len); line += 16) { in hexdump()
185 emit("%08lx ", (long) line); in hexdump()
188 if ((line + x) < (region + len)) { in hexdump()
189 emit("%02x ", *(u_int8_t *)(line + x)); in hexdump()
198 if ((line + x) < (region + len)) { in hexdump()
199 c = *(u_int8_t *)(line + x); in hexdump()
/illumos-gate/usr/src/cmd/dispadmin/
H A Dfssdispadmin.c195 int line; in setadmin() local
212 for (line = 1; fgets(buf, sizeof (buf), fp) != NULL; line++) { in setadmin()
232 "resolution value\n", infile, line); in setadmin()
242 "quantum value\n", infile, line); in setadmin()
248 infile, line); in setadmin()
251 fatalerr("%s, line %d: syntax error\n", infile, line); in setadmin()
254 if (line == 1 || nparams < 2) in setadmin()
265 "valid range\n", infile, line); in setadmin()

12345678910>>...59