/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/client/helptools/ |
H A D | extract | 32 while read line; do 33 echo "$line" | grep '^.*{".*\.tag"' > /dev/null 36 print -n `echo "$line" | sed s/'\.'/\ / | \ 41 echo "$line" | grep '^\".*+$' | sed s/^\"//g | sed s/\"\ +\$//
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | is_linetou.c | 48 is_linetouched(WINDOW *win, int line) argument 50 if (line < 0 || line >= win->_maxy) 52 if (win->_firstch[line] == _INFINITY)
|
H A D | ripoffline.c | 46 * 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 D | versys.c | 51 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/lib/libpp/common/ |
H A D | ppcomment.c | 31 ppcomment(char* head, char* comment, char* tail, int line) argument 33 NoP(line);
|
/illumos-gate/usr/src/boot/sys/boot/common/linenoise/ |
H A D | example.c | 15 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/uts/intel/sys/acpi/platform/ |
H A D | acdragonflyex.h | 55 int line); 63 int line); 72 int line); 79 int line);
|
/illumos-gate/usr/src/cmd/line/ |
H A D | line.c | 33 * This program reads a single line from the standard input 53 char line[LSIZE]; local 57 linep = line; 58 linend = line + LSIZE; 62 (void) write(1, line, LSIZE); 63 linep = line; 69 (void) write(1, line, linep-line);
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | stdethers.c | 44 * 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/tools/onbld/Checks/ |
H A D | Mapfile.py | 52 # comment and empty lines until the first non-empty line is seen. 53 # This line must be '$mapfile_version 2'. 57 for line in fh: 58 line = CmtRE.sub(r'', line) 59 line = LeadingWSRE.sub(r'', line) 60 if line == '' : 63 # First non=empty line must be version declaration 64 if not VersionRE.match(line) [all...] |
H A D | Keywords.py | 60 for line in fh: 61 line = line.rstrip('\r\n') 64 if lenient and ident.search(line): 67 match = anykword.findall(line) 73 output.write(" %s\n" % line)
|
H A D | HdrChk.py | 87 for line in self.file: 89 if not line or line.isspace(): 92 line = line.rstrip('\r\n') 95 if line.endswith('\\'): 96 line = line[0:-1] + self.getline() 98 return line 104 # Optionally take a line t [all...] |
H A D | Copyright.py | 36 def is_copyright(line): 37 return re.search(r'Copyright (?!\[yyyy\])', line) 39 def is_current_copyright(line): 40 return re.search(r'Copyright.*\b%s\b' % time.strftime('%Y'), line) 48 for line in fh: 49 if is_copyright(line): 51 if is_current_copyright(line):
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_solarnet.c | 82 char *line; local 99 line = get_sum_line(); 102 (void) sprintf(line, 105 line += strlen(line); 109 (void) sprintf(line, " %s", 111 line += strlen(line); 112 (void) sprintf(line, "/%s", 114 line [all...] |
H A D | snoop_tcp.c | 85 char *line, *endline; local 98 line = get_sum_line(); 99 endline = line + MAXLINE; 100 (void) snprintf(line, endline - line, "TCP D=%d S=%d", 102 line += strlen(line); 106 (void) snprintf(line, endline - line, " %s", 108 line 229 char *line; local 339 print_tcpoptions_summary(uchar_t *opt, int optlen, char *line) argument [all...] |
/illumos-gate/usr/src/cmd/ypcmd/revnetgroup/ |
H A D | util.c | 35 * of a line 38 getaline(line, maxlen, fp) 39 char *line; 47 start = line; 60 return (line); 67 * Input line is too long. Rest of the line needs to be discarded. 70 * then the next line too can be discarded. 76 * Discard the rest of the line 90 maxlen = strlen(line) [all...] |
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | assert.c | 34 __assert(const char *assertion, const char *file, int line) argument 39 "%s, file: %s, line: %d", assertion, file, line);
|
/illumos-gate/usr/src/cmd/checkeq/ |
H A D | checkeq.c | 53 int start, line, eq, ndel, totdel; local 56 start = eq = line = ndel = totdel = 0; 58 line++; 66 gettext(" Spurious EQ, line %d\n"), 67 line); 70 gettext(" EQ in %c%c, line %d\n"), 71 delim, delim, line); 75 gettext(" Spurious EN, line %d\n"), 76 line); 81 gettext(" EN in %c%c, line 116 line-start+1, delim, delim, start, line); local 123 line-start+1, delim, delim, start, line); local [all...] |
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | nse_printdep.cc | 35 void print_dependencies(register Name target, register Property line); 36 static void print_deps(register Name target, register Property line); 39 static Boolean should_print_dep(Property line); 45 static Boolean is_out_of_date(Property line); 49 * print_dependencies(target, line) 57 * line We get the dependency list from here 65 print_dependencies(register Name target, register Property line) argument 97 print_deps(target, line); 122 Property line; local 125 line 154 print_deps(register Name target, register Property line) argument 191 is_out_of_date(Property line) argument 265 should_print_dep(Property line) argument 287 Property line; local 331 register Property line; local [all...] |
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | assert.c | 35 __assert(const char *func, const char *file, int line, const char *expression) argument 38 panic("Assertion failed: (%s), file %s, line %d.\n", 39 expression, file, line); 42 "Assertion failed: (%s), function %s, file %s, line %d.\n", 43 expression, func, file, line);
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | Sys_malloc.c | 69 int line 72 _Malloc (size, file, line) 75 int line; 94 int line 97 _Realloc (ptr, size, file, line) 101 int line; 120 int line 123 _Calloc (nelem, elsize, file, line) 127 int line; 145 int line [all...] |
/illumos-gate/usr/src/cmd/refer/ |
H A D | addbib.c | 92 "Invalid command line flag: %s\n"), argv[i]); 111 char line[BUFSIZ]; local 115 fgets(line, BUFSIZ, stdin); 116 if (line[0] == 'y' || line[0] == 'Y') 123 if (fgets(line, BUFSIZ, stdin) == NULL) { 127 if (line[0] == '-' && line[1] == '\n') { 134 } else if (line[strlen(line) 190 trim(char line[]) argument [all...] |
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | logdir.c | 49 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/libc/ |
H A D | extract-copyright.pl | 72 my $line; 73 foreach $line (@block) { 74 chomp $line; 75 $line =~ s/^ \* //; 76 $line =~ s/^ \*//; 77 $line =~ s/^ \*$//; 78 push(@license, $line);
|
/illumos-gate/usr/src/lib/efcode/packages/ |
H A D | parse.c | 84 line_error(char *where, int line, char *msg) argument 86 log_message(MSG_ERROR, "%s:%d: %s\n", where, line, msg); 94 char *buffer, *line, *target, *next; local 105 while ((line = fgets(buffer, PARSE_LINE, fd)) != NULL) { 107 if ((next = strpbrk(line, " \t#\n")) != NULL) 109 if (strlen(line) == 0) 111 if ((target = strchr(line, ':')) == NULL) { 112 line_error(where, lnum, "Badly formed line"); 116 if (strlen(line) == 0) { 124 for (; line; lin [all...] |