Searched refs:line (Results 1 - 25 of 947) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/test/util-tests/tests/awk/gnu/
H A Diobug1.awk18 # managed to reduced the problem down to a 3 line test case, enclosed
24 # [io.c, line 560]
50 getline line < "/dev/null" # [b]
51 "true" | getline line # [c]
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/client/helptools/
H A Dextract32 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/test/util-tests/tests/awk/syn/
H A Dparseme.awk1 BEGIN { toupper(substr*line,1,12)) }
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dis_linetou.c48 is_linetouched(WINDOW *win, int line) argument
50 if (line < 0 || line >= win->_maxy)
52 if (win->_firstch[line] == _INFINITY)
H A Dripoffline.c46 * 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 Dversys.c51 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 Dppcomment.c31 ppcomment(char* head, char* comment, char* tail, int line) argument
33 NoP(line);
/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/uts/intel/sys/acpi/platform/
H A Dacdragonflyex.h163 int line);
171 int line);
180 int line);
187 int line);
/illumos-gate/usr/src/cmd/line/
H A Dline.c33 * 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 Dstdethers.c44 * 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 DMapfile.py54 # comment and empty lines until the first non-empty line is seen.
55 # This line must be '$mapfile_version 2'.
59 for line in fh:
60 line = CmtRE.sub(r'', line)
61 line = LeadingWSRE.sub(r'', line)
62 if line == '' :
65 # First non=empty line must be version declaration
66 if not VersionRE.match(line)
[all...]
H A DKeywords.py60 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 DHdrChk.py87 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...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_solarnet.c82 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 Dsnoop_tcp.c85 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 Dutil.c35 * 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 Dassert.c34 __assert(const char *assertion, const char *file, int line) argument
39 "%s, file: %s, line: %d", assertion, file, line);
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/
H A Dshow_ifs.sh18 line=$(echo $loc | cut -d ':' -f 2)
20 echo $code_file $line
21 tail -n +$(($line - ($context - 1))) $code_file | head -n $(($context - 1))
25 tail -n +${line} $code_file | head -n $context
/illumos-gate/usr/src/cmd/checkeq/
H A Dcheckeq.c53 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/boot/lib/libstand/
H A Dassert.c34 __assert(const char *func, const char *file, int line, const char *expression) argument
37 panic("Assertion failed: (%s), file %s, line %d.",
38 expression, file, line);
40 panic("Assertion failed: (%s), function %s, file %s, line %d.",
41 expression, func, file, line);
/illumos-gate/usr/src/cmd/make/bin/
H A Dnse_printdep.cc35 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
329 register Property line; local
[all...]
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A DSys_malloc.c69 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 Daddbib.c89 "Invalid command line flag: %s\n"), argv[i]);
108 char line[BUFSIZ]; local
112 fgets(line, BUFSIZ, stdin);
113 if (line[0] == 'y' || line[0] == 'Y')
120 if (fgets(line, BUFSIZ, stdin) == NULL) {
124 if (line[0] == '-' && line[1] == '\n') {
131 } else if (line[strlen(line)
187 trim(char line[]) argument
[all...]
/illumos-gate/usr/src/tools/cscope-fast/
H A Dlogdir.c49 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...]

Completed in 240 milliseconds

1234567891011>>