Home
last modified time | relevance | path

Searched refs:line (Results 126 – 150 of 1461) sorted by relevance

12345678910>>...59

/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema_test.c420 long line; in memory_test_extended() local
471 for (line = (LINES_PER_PAGE(handle) - 1); line >= 0; line--) { in memory_test_extended()
492 line, 1) == -1) { in memory_test_extended()
513 line, 1) == -1) { in memory_test_extended()
534 line, 1) == -1) { in memory_test_extended()
571 for (line = (LINES_PER_PAGE(handle) - 1); line >= 0; line--) { in memory_test_extended()
592 line, 1) == -1) { in memory_test_extended()
598 line, 1) == -1) { in memory_test_extended()
620 for (line = 0; line < LINES_PER_PAGE(handle); line++) { in memory_test_extended()
637 line, 1) == -1) { in memory_test_extended()
[all …]
/illumos-gate/usr/src/tools/onbld/Checks/
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)
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_clear/
H A Dzpool_clear_001_pos.ksh97 typeset line
99 while read line; do
101 echo $line | grep "NAME" >/dev/null 2>&1
107 echo $line | grep $checkvdev >/dev/null 2>&1
109 c_read=`echo $line | awk '{print $3}'`
110 c_write=`echo $line | awk '{print $4}'`
111 c_cksum=`echo $line | awk '{print $5}'`
120 c_read=`echo $line | awk '{print $3}'`
121 c_write=`echo $line | awk '{print $4}'`
122 c_cksum=`echo $line | awk '{print $5}'`
/illumos-gate/usr/src/cmd/ipf/lib/
H A Dvar.c34 char *get_variable(string, after, line) in get_variable() argument
36 int line;
49 fprintf(stderr, "%d: { without }\n", line);
58 line, *s);
69 fprintf(stderr, "%d: unknown variable '%s'\n", line, s);
74 value = expand_string(s, line);
81 static char *expand_string(oldstring, line) in expand_string() argument
83 int line;
106 value = get_variable(s, &p3, line);
110 p2 = expand_string(value, line);
H A Drwlock_emul.c5 void eMrwlock_read_enter(rw, file, line) in eMrwlock_read_enter() argument
8 int line;
23 rw->eMrw_heldat = line;
27 void eMrwlock_write_enter(rw, file, line) in eMrwlock_write_enter() argument
30 int line;
45 rw->eMrw_heldat = line;
49 void eMrwlock_downgrade(rw, file, line) in eMrwlock_downgrade() argument
52 int line;
68 rw->eMrw_heldat = line;
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dalloc.c68 alloc_malloc(size_t nbytes, const char *fname, int line) in alloc_malloc() argument
73 outfl(O_DIE, fname, line, "malloc: out of memory"); in alloc_malloc()
90 alloc_realloc(void *ptr, size_t nbytes, const char *fname, int line) in alloc_realloc() argument
95 out(O_DIE, fname, line, "realloc: out of memory"); in alloc_realloc()
106 alloc_strdup(const char *ptr, const char *fname, int line) in alloc_strdup() argument
111 outfl(O_DIE, fname, line, "strdup: out of memory"); in alloc_strdup()
123 alloc_free(void *ptr, const char *fname, int line) in alloc_free() argument
H A Dtree.h94 int line:24; member
272 struct node *newnode(enum nodetype t, const char *file, int line);
280 const char *file, int line);
282 const char *file, int line);
283 struct node *tree_iname(const char *s, const char *file, int line);
290 const char *file, int line);
291 struct node *tree_num(const char *s, const char *file, int line);
292 struct node *tree_quote(const char *s, const char *file, int line);
294 const char *file, int line);
310 const char *file, int line);
[all …]
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_line.c1379 if (line == NULL) { in dwarf_lineendsequence()
1393 dwarf_lineno(Dwarf_Line line, in dwarf_lineno() argument
1441 if (line == NULL) { in dwarf_line_is_addr_set()
1478 dwarf_lineoff(Dwarf_Line line, in dwarf_lineoff() argument
1579 if (line == NULL) { in dwarf_linesrc()
1599 if (line == NULL) { in dwarf_lineblock()
1616 if (line == NULL) { in dwarf_prologue_end_etc()
1632 if (line == NULL) { in dwarf_linelogical()
1645 if (line == NULL) { in dwarf_linecontext()
1658 if (line == NULL) { in dwarf_line_subprogno()
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/aggs/
H A Dtst.aggpackbanner.ksh20 banner $3 | /bin/nawk -v line=$1 -v pos=$2 -v width=$width '{ \
33 let line=0
46 let line=line+1
51 outputchar $line $pos $c
57 while [[ $i -le $line ]]; do
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.h70 extern int genent_user_attr(char *line, int (*cback)());
71 extern int genent_prof_attr(char *line, int (*cback)());
72 extern int genent_exec_attr(char *line, int (*cback)());
73 extern int genent_auth_attr(char *line, int (*cback)());
74 extern int genent_tnrhdb(char *line, int (*cback)());
75 extern int genent_tnrhtp(char *line, int (*cback)());
/illumos-gate/usr/src/tools/smatch/src/Documentation/sphinx/
H A Dcdoc.py91 line += '\n' + l[3:]
94 return line
99 (lineno, line) = next(lines)
100 if line == '':
102 while line[-1] not in delim:
104 line += ' ' + l.lstrip()
106 line = ''
107 return (lineno, line)
174 if len(line):
175 line = line.rstrip(';')
[all …]
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_util.c315 parse_match(char line, char *seps) in parse_match() argument
321 if (*sep == line) in parse_match()
333 parse(char **line, char *seps) in parse() argument
335 char *start = *line; in parse()
337 while (**line != 0) { in parse()
338 *line = *line + 1; in parse()
339 if (parse_match(**line, seps)) { in parse()
341 while (parse_match(**line, seps)) { in parse()
342 **line = 0; in parse()
343 *line = *line + 1; in parse()
/illumos-gate/usr/src/cmd/make/lib/vroot/
H A Dreport.cc94 char line[MAXPATHLEN+2]; in close_file() local
134 while (fgets(line, MAXPATHLEN+2, command_output_fp) in close_file()
136 fprintf(nse_depinfo_fp, "%s", line); in close_file()
156 while (fgets(line, MAXPATHLEN+2, nse_depinfo_fp) != NULL) { in close_file()
157 if (strncmp(line, sfile, len) == 0 && line[len] == ':') { in close_file()
162 if (strcmp(line, buf)) { in close_file()
172 while (fgets(line, MAXPATHLEN, nse_depinfo_fp) in close_file()
174 fputs(line, merge_fp); in close_file()
188 fputs(line, merge_fp); in close_file()
192 while (fgets(line, MAXPATHLEN+2, command_output_fp) != NULL) { in close_file()
[all …]
/illumos-gate/usr/src/cmd/refer/
H A Dglue4.c25 char line[200], *s, argig[100], *cv[50]; in grepcall() local
67 while (fgets(line, 100, gf) == line) { in grepcall()
68 line[100] = 0; in grepcall()
69 for (s = line; *s && (*s != '\t'); s++) in grepcall()
75 if (line[0]) in grepcall()
76 strcat(out, line); in grepcall()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ipsec.c58 char *line; in interpret_esp() local
71 line = (char *)get_sum_line(); in interpret_esp()
76 (void) sprintf(line, "ESP SPI=0x%x Replay=%u", in interpret_esp()
79 line += strlen(line); in interpret_esp()
109 char *line, *buff; in interpret_ah() local
143 line = (char *)get_sum_line(); in interpret_ah()
144 (void) sprintf(line, "AH SPI=0x%x Replay=%u", in interpret_ah()
146 line += strlen(line); in interpret_ah()
H A Dsnoop_socks.c39 interpret_socks_call(flags, line, fraglen) in interpret_socks_call() argument
41 char *line;
106 show_string(line, fraglen, 20));
126 show_string(line, fraglen, 20));
131 show_string(line, fraglen, 20));
135 show_string(line, fraglen, 20));
208 show_string(line,
231 show_string(line, fraglen,
237 show_string(line, fraglen, 20));
243 show_string(line, fraglen, 20));
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/pkgrm/
H A Dcheck.c242 char line[PATH_MAX+1]; in preremove_verify() local
288 while (fgets(line, sizeof (line), fp) != (char *)NULL) { in preremove_verify()
294 len = strlen(line); in preremove_verify()
296 line[--len] = '\0'; in preremove_verify()
301 if (line[0] == '#') { in preremove_verify()
307 if (line[0] == '\0') { in preremove_verify()
317 if (strncmp(line, DEPCKL[j].name, in preremove_verify()
323 echoDebug(DBG_PRERVFY_SCAN, line, pkginst, in preremove_verify()
329 progerr(ERR_PRERVFY_UNKNOWN_LINE, line, in preremove_verify()
337 line[len]) != (char *)NULL)) { in preremove_verify()
[all …]
/illumos-gate/usr/src/cmd/msgfmt/
H A Dxgettext.c984 len = strlen(line); in trim_line()
992 c = line[i--]; in trim_line()
1015 c = line[i++]; in trim_line()
1039 line[i] = line[p++]; in trim_line()
1041 line [i] = '\0'; in trim_line()
1068 if ((line[0] == '\n') || (line[0] == '#')) { in read_exclude_file()
1078 trim_line(line); in read_exclude_file()
1758 line[strlen(line)-1] = 0; in read_po()
1768 line[strlen(line)-1] = 0; in read_po()
1784 trim_line(line); in read_po()
[all …]
/illumos-gate/usr/src/cmd/sort/
H A Dstreams_wide.c246 stream_wide_put_line(stream_t *str, line_rec_t *line) in stream_wide_put_line() argument
251 if (line->l_data_length >= 0) { in stream_wide_put_line()
258 safe_free(line->l_raw_collate.wp); in stream_wide_put_line()
259 line->l_raw_collate.wp = NULL; in stream_wide_put_line()
273 line->l_data_length >= 0) { in stream_wide_put_line_unique()
274 stream_wide_put_line(str, line); in stream_wide_put_line_unique()
276 if (line->l_collate_length + sizeof (wchar_t) > in stream_wide_put_line_unique()
279 line->l_collate_length + sizeof (wchar_t)); in stream_wide_put_line_unique()
280 collate_buf_len = line->l_collate_length + in stream_wide_put_line_unique()
285 line->l_collate_length); in stream_wide_put_line_unique()
[all …]
/illumos-gate/usr/src/cmd/th_tools/
H A Dth_script.sh134 read line
135 [ -z "$line" ] && break
136 set -A stats $(echo "$line" |
165 while read line
167 set -- $(echo "$line" | \
169 w=${line##*"-w "}
191 echo $line
/illumos-gate/usr/src/cmd/mandoc/
H A Droff_validate.c74 mandoc_msg(MANDOCERR_PAR_SKIP, n->line, n->pos, in roff_valid_br()
88 n->line, n->pos, "br after %s", roff_name[np->tok]); in roff_valid_br()
100 mandoc_msg(MANDOCERR_FI_SKIP, n->line, n->pos, "fi"); in roff_valid_fi()
110 roff_word_alloc(man, n->line, n->pos, "P"); in roff_valid_ft()
118 mandoc_msg(MANDOCERR_FT_BAD, n->line, n->pos, "ft %s", cp); in roff_valid_ft()
126 mandoc_msg(MANDOCERR_NF_SKIP, n->line, n->pos, "nf"); in roff_valid_nf()
140 np->line, np->pos, "br before sp"); in roff_valid_sp()
145 n->line, n->pos, "sp after Pp"); in roff_valid_sp()
H A Dman.c96 roff_body_alloc(man, line, offs, man->last->tok); in man_descope()
109 roff_word_alloc(man, line, offs, buf + offs); in man_ptext()
110 man_descope(man, line, offs, buf + offs); in man_ptext()
125 mandoc_msg(MANDOCERR_BLK_BLANK, line, 0, NULL); in man_ptext()
135 roff_elem_alloc(man, line, offs, ROFF_sp); in man_ptext()
150 mandoc_msg(MANDOCERR_SPACE_EOL, line, i - 1, NULL); in man_ptext()
160 roff_word_alloc(man, line, offs, buf + offs); in man_ptext()
172 man_descope(man, line, offs, buf + offs); in man_ptext()
298 mandoc_msg(MANDOCERR_BLK_LINE, n->line, n->pos, in man_breakscope()
315 roff_body_alloc(man, n->line, n->pos, n->tok); in man_breakscope()
[all …]
/illumos-gate/usr/src/cmd/lp/lib/users/
H A Dloadpri.c74 char line[BUFSIZ], in ld_priority_file() local
105 if (!(p = fdgets(line, BUFSIZ, fd))) in ld_priority_file()
107 p = line; in ld_priority_file()
108 pri = strtol(line, &p, 10); in ld_priority_file()
109 if (p == line) in ld_priority_file()
130 if (!(user = next_user(fd, line, &p))) in ld_priority_file()
136 if (!(user = next_user(fd, line, &p))) goto Error; in ld_priority_file()
151 while ((user = next_user(fd, line, &p))); in ld_priority_file()
/illumos-gate/usr/src/cmd/eeprom/i386/
H A Dbenv.c368 *line += lines; in add_comm()
387 (*line)++; in parse_cmd()
506 (*line)++; in parse_value()
590 (*line)++; in add_cmd()
602 int line; in parse_benv() local
606 line = 1; in parse_benv()
659 static char line[256]; in get_line() local
661 if (fgets(line, sizeof (line), stdin) != NULL) { in get_line()
666 if (nl = strchr(line, '\n')) in get_line()
671 return (line); in get_line()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_add/
H A Dzpool_add.kshlib43 typeset line
46 while read -r line
48 vfstabdev=`echo "$line" | awk '{print $1}'`
66 typeset line
69 while read -r line
71 mnttabdev=`echo "$line" | awk '{print $1}'`

12345678910>>...59