/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | newterm.c | 168 ripoffline(int line, int (*init)(WINDOW *, int)) in ripoffline() argument 173 __m_trace("ripoffline(%d, %p)", line, init); in ripoffline() 178 if (line != 0 && i + 1 < M_CURSES_MAX_RIPOFFLINE) { in ripoffline() 179 rip.line[i].init = init; in ripoffline() 180 if (line < 0) in ripoffline() 181 rip.line[i].dy = --rip.bottom; in ripoffline() 183 rip.line[i].dy = ++rip.top; in ripoffline() 365 y = rip.line[i].dy; 370 if (rip.line[i].init != (int (*)(WINDOW *, int)) 0) 371 (void) (*rip.line[i].init)(w, columns);
|
/illumos-gate/usr/src/cmd/cpc/common/ |
H A D | cpustat.c | 337 char line[1024]; in print_sample() local 347 ccnt = snprintf(line, sizeof (line), "%7.3f %3d %5s ", in print_sample() 350 ccnt += snprintf(line + ccnt, sizeof (line) - ccnt, in print_sample() 354 ccnt += snprintf(line + ccnt, sizeof (line) - ccnt, in print_sample() 358 ccnt += snprintf(line + ccnt, sizeof (line) - ccnt, in print_sample() 361 ccnt += snprintf(line + ccnt, sizeof (line) - ccnt, "\n"); in print_sample() 374 p = strrchr(line, '\n'); in print_sample() 378 ccnt = strlen(line); in print_sample() 379 ccnt += snprintf(line + ccnt, sizeof (line) - ccnt, in print_sample() 386 if (ccnt > sizeof (line)) in print_sample() [all …]
|
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | getspent.c | 33 check_spnamp(nss_XbyY_args_t *argp, const char *line, int linelen) in check_spnamp() argument 35 const char *linep = line; in check_spnamp() 39 if (linelen == 0 || *line == '+' || *line == '-') in check_spnamp()
|
/illumos-gate/usr/src/cmd/ypcmd/mknetid/ |
H A D | mknetid.c | 166 char line[MAXLINELEN]; local 172 while (lp = getaline(line, sizeof (line), mf, &curline, "#")) { 213 char line[MAXLINELEN]; local 219 while (lp = getaline(line, sizeof (line), gf, &curline, "")) { 244 char line[MAXLINELEN]; local 252 while (lp = getaline(line, sizeof (line), pf, &curline, "")) { 285 char line[MAXLINELEN]; local 291 while (lp = getaline(line, sizeof (line), hf, &curline, "#")) {
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmutmp.c | 59 account(char *line) in account() argument 67 (void) strncpy(up->ut_line, lastname(line), sizeof (up->ut_line)); in account() 88 checkut_line(char *line) in checkut_line() argument 95 (void) strncpy(buf, lastname(line), sizeof (u->ut_line)); in checkut_line() 177 getty_account(char *line) in getty_account() argument 188 (void) strncpy(u->ut_line, lastname(line), in getty_account()
|
/illumos-gate/usr/src/lib/libsqlite/tool/ |
H A D | mkopts.tcl | 10 set line [gets stdin] 12 regsub -all "\[ \t\n,\]+" [string trim $line] { } line 13 foreach token [split $line { }] {
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_parse.c | 37 static void strip_line(char *line) in strip_line() argument 39 char *p = line + strlen(line); in strip_line() 40 while (p > line && (p[-1] == '\n' || p[-1] == '\r')) in strip_line() 82 static errcode_t parse_std_line(char *line, struct parse_state *state) in parse_std_line() argument 91 if (*line == 0) in parse_std_line() 93 cp = skip_over_blanks(line); in parse_std_line() 209 static errcode_t parse_line(char *line, struct parse_state *state) in parse_line() argument 215 if (line[0] != '[') in parse_line() 220 return parse_std_line(line, state); in parse_line() 222 cp = skip_over_blanks(line); in parse_line()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/ |
H A D | gentab.sh | 67 while read line 72 set '' $line 80 read line 81 set '' $line 92 eval set '""' $line
|
H A D | pplib.h | 152 int line; /* saved line number */ member 562 cur->line = error_info.line; \ 563 error_info.line = n; \ 574 cur->line = error_info.line; \ 575 error_info.line = n; \ 629 cur->line = error_info.line; \ 630 error_info.line = 1; \ 644 cur->line = error_info.line; \ 645 error_info.line = n; \ 659 cur->line = error_info.line; \ [all …]
|
/illumos-gate/usr/src/lib/libnsl/common/ |
H A D | daemon_utils.c | 143 char line[BUFSIZ]; in _enter_daemon_lock() local 147 (void) snprintf(line, sizeof (line), "%ld\n", pid); in _enter_daemon_lock() 166 if (write(fd, line, strlen(line)) == -1) { in _enter_daemon_lock()
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | inv2.c | 33 char line[LINESIZ]; in newkeys() local 40 while (fgets(line, LINESIZ, inf)) { in newkeys() 41 p = line; in newkeys() 44 fputs(line, recf); in newkeys() 91 lp += (strlen(line)+lt+1); in newkeys()
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | dr_util.c | 208 char line[LINEWIDTH]; in dr_dbg_dump_msg() local 218 bzero(line, LINEWIDTH); in dr_dbg_dump_msg() 220 curr = line; in dr_dbg_dump_msg() 221 aoff = line + ASCIIOFFSET; in dr_dbg_dump_msg() 243 while (curr != (line + ASCIIOFFSET)) in dr_dbg_dump_msg() 246 DR_DBG_TRANS("%s\n", line); in dr_dbg_dump_msg()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/ |
H A D | proto.c | 83 #line 151 200 #line 13 207 #line 108 316 #line 206 426 #line 16 3282 line = proto->line; 3318 line = proto->line; 3325 proto->line = line; 3812 line = proto->line; 4139 line = proto->line; [all …]
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypserv_net_secure.c | 69 int items = 0, line = 0; in get_secure_nets() local 74 line++; in get_secure_nets() 78 daemon_name, ACCFILE, line); in get_secure_nets() 88 daemon_name, ACCFILE, line); in get_secure_nets() 95 daemon_name, ACCFILE, line); in get_secure_nets() 103 daemon_name, ACCFILE, line); in get_secure_nets() 110 daemon_name, ACCFILE, line); in get_secure_nets()
|
/illumos-gate/usr/src/cmd/sort/ |
H A D | check.c | 44 char *line; in fail_check() local 54 line = alloca(length + 1); in fail_check() 55 (void) wcstombs(line, L->l_data.wp, L->l_data_length); in fail_check() 56 line[length] = '\0'; in fail_check() 58 line = L->l_data.sp; in fail_check() 64 (void) write(fileno(stderr), line, length); in fail_check() 70 (void) write(fileno(stderr), line, length); in fail_check()
|
/illumos-gate/usr/src/lib/libtsnet/common/ |
H A D | misc.c | 123 rtsa_to_str(const struct rtsa_s *rtsa, char *line, size_t len) in rtsa_to_str() argument 130 *line = '\0'; in rtsa_to_str() 139 line[slen++] = ','; in rtsa_to_str() 148 slen += snprintf(line + slen, len - slen, in rtsa_to_str() 156 slen += snprintf(line + slen, len - slen, "min_sl=%s", in rtsa_to_str() 163 slen += snprintf(line + slen, len - slen, "max_sl=%s", in rtsa_to_str() 169 slen += snprintf(line + slen, len - slen, "doi=%d", in rtsa_to_str() 173 slen += snprintf(line + slen, len - slen, "cipso"); in rtsa_to_str() 178 return (line); in rtsa_to_str()
|
/illumos-gate/usr/src/uts/i86pc/io/dr/ |
H A D | sbdgenerr.pl | 28 my ($line) = @_; 29 $line =~ s#/\*|\*/##g; 30 $line =~ s#^\s+|\s+$##g; 31 return $line;
|
/illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
H A D | sbdgenerr.pl | 31 my ($line) = @_; 32 $line =~ s#/\*|\*/##g; 33 $line =~ s#^\s+|\s+$##g; 34 return $line;
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/ |
H A D | sbdgenerr.pl | 29 my ($line) = @_; 30 $line =~ s#/\*|\*/##g; 31 $line =~ s#^\s+|\s+$##g; 32 return $line;
|
/illumos-gate/usr/src/cmd/vi/misc/ |
H A D | ctags.c | 468 sp = tp = token = line; in C_entries() 550 if (sp == line) in C_entries() 564 if (sp == line) in C_entries() 679 if (c == '\n' ||c == '}'|| sp > &line[sizeof (line) - BUFSIZ]) { in C_entries() 680 tp = token = sp = line; in C_entries() 712 if (sp > &line[sizeof (line) - BUFSIZ]) 771 if (sp > &line[sizeof (line) - BUFSIZ]) 790 if (sp > &line[sizeof (line) - BUFSIZ]) 818 while (fgets(line, sizeof (line), inf) != NULL) { 915 start = line; [all …]
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | mime.c | 889 register char *line; in mimeboundary() 896 if (line[0] != '-' || line[1] != '-' || boundaries == NULL) 898 i = strlen(line); 903 while (i > 0 && (line[i - 1] == ' ' || line[i - 1] == '\t' 905 || line[i - 1] == '\r' 909 savec = line[i]; 910 line[i] = '\0'; 921 line[i - 2] = '\0'; 924 line[i - 2] = '-'; 927 line[i] = savec; [all …]
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | alloc.h | 38 void *alloc_realloc(void *ptr, size_t nbytes, const char *fname, int line); 39 void *alloc_malloc(size_t nbytes, const char *fname, int line); 40 void alloc_free(void *ptr, const char *fname, int line); 41 char *alloc_strdup(const char *ptr, const char *fname, int line);
|
/illumos-gate/usr/src/test/util-tests/tests/awk/gnu/ |
H A D | clsflnam.in | 1 line 1 2 line 2 3 line 3
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgserv/ |
H A D | pkgserv.c | 631 buf = p->line = mystrcpy(buf, blen + 1); in parse_line() 806 if (strcmp(ent->line, e2->line) != 0) { in parse_contents() 808 ent->pathlen, ent->line); in parse_contents() 958 p.line = cmd->buf; in file_find() 967 return (look->line); in file_find() 1019 umem_free(p->line, p->len); in freeentry() 1027 strcmp(cur->line + cur->pathlen, in swapentry() 1028 new->line + new->pathlen) == 0) { in swapentry() 1035 umem_free(cur->line, cur->len); in swapentry() 1038 cur->line = new->line; in swapentry() [all …]
|
/illumos-gate/usr/src/cmd/pools/poolstat/ |
H A D | poolstat.c | 639 char *line; in prt_stat_line() local 644 line = ZALLOC(len); in prt_stat_line() 656 line = REALLOC(line, len); in prt_stat_line() 665 line[pos++] = ' '; in prt_stat_line() 671 (void) printf("%s\n", line); in prt_stat_line() 672 FREE(line); in prt_stat_line() 683 char *line; in prt_stat_hd() local 697 line = ZALLOC(len); in prt_stat_hd() 709 line = REALLOC(line, len); in prt_stat_hd() 718 line[pos++] = ' '; in prt_stat_hd() [all …]
|