Home
last modified time | relevance | path

Searched refs:line (Results 201 – 225 of 1461) sorted by relevance

12345678910>>...59

/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_devperm.c196 if ((ptr = strchr(line, '#')) != NULL) in logindevperm()
199 (void) strcpy(saveline, line); in logindevperm()
219 lineno, line); in logindevperm()
246 lineno, line); in logindevperm()
365 (void) strcpy(saveline, line); in check_driver_match()
788 char line[MAX_MINOR_PERM_LINE]; in i_devfs_read_minor_perm() local
824 if (is_blank(line)) in i_devfs_read_minor_perm()
831 cp = line; in i_devfs_read_minor_perm()
1115 is_blank(char *line) in is_blank() argument
1117 for (/* nothing */; *line != '\0'; line++) in is_blank()
[all …]
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/
H A Dsymtab.c117 symtab_new_function(const int line, const char *file) in symtab_new_function() argument
120 Symtab.Line = line; /* Set, don't clear. */ in symtab_new_function()
351 symtab_set_function(char *name, int line, char *file, in symtab_set_function() argument
372 symtab_set_exception(char *value, int line, char *file) in symtab_set_exception() argument
377 value, line, file, COMPOSITE, "", "", 0, "", -1, -1); in symtab_set_exception()
399 name, line, file, PRIMITIVE, type, basetype, levels, in symtab_set_errval()
419 symtab_add_args(char *name, int line, char *file, in symtab_add_args() argument
767 char *name, int line, char *file, in allocate_entry() argument
790 char *name, int line, char *file, in set_entry() argument
801 e->e_line = line, in set_entry()
[all …]
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_subr.c149 copyw(line *to, line *from, int size) in copyw()
159 copywR(line *to, line *from, int size) in copywR()
229 line *
233 line *addr;
312 lineno(line *a) in lineno()
340 markpr(line *which) in markpr()
545 line *markp; in putmk1()
686 reverse(line *a1, line *a2) in reverse()
688 line t; in reverse()
700 save(line *a1, line *a2) in save()
[all …]
/illumos-gate/usr/src/lib/libsasl/lib/
H A Ddlopen.c288 char line[MAX_LINE]; in _parse_la() local
301 strcpy(line, prefix); in _parse_la()
302 strcat(line, in); in _parse_la()
303 length = strlen(line); in _parse_la()
305 strcat(line, LA_SUFFIX); in _parse_la()
306 file = fopen(line, "rF"); in _parse_la()
318 strcpy(line, prefix); in _parse_la()
319 strcat(line, in); in _parse_la()
321 file = fopen(line, "rF"); in _parse_la()
330 if(line[strlen(line) - 1] != '\n') { in _parse_la()
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_msg.c174 (entry->line == line) && in emlxs_msg_log()
218 entry2->line = entry->line; in emlxs_msg_log()
248 entry->line = line; in emlxs_msg_log()
375 const uint32_t line, emlxs_msg_t *msg, in emlxs_msg_printf() argument
457 line, driver, level, msg->id, msg->buffer, in emlxs_msg_printf()
462 fileno, line, driver, level, msg->id, in emlxs_msg_printf()
469 line, driver, level, msg->id, va_str); in emlxs_msg_printf()
473 fileno, line, driver, level, msg->id); in emlxs_msg_printf()
665 hsecs, entry->id, entry->fileno, entry->line, in emlxs_msg_sprintf()
673 entry->line, driver, level, msg->id, in emlxs_msg_sprintf()
[all …]
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dns_files.c314 char *line, *dir, *map, *opts; in loadmaster_files() local
323 while ((line = get_line(fp, fname, linebuf, in loadmaster_files()
325 unquote(line, lineq); in loadmaster_files()
326 if (macro_expand("", line, lineq, LINESZ)) { in loadmaster_files()
331 dir = line; in loadmaster_files()
403 char *line, *p1, *p2; in loaddirect_files() local
410 while ((line = get_line(fp, fname, linebuf, in loaddirect_files()
412 p1 = line; in loaddirect_files()
619 fname, key, line); in read_execout()
631 char line[LINESZ]; in automountd_do_exec_map() local
[all …]
/illumos-gate/usr/src/cmd/deroff/
H A Dderoff.c335 if (line == NULL) { in regline()
342 line[lindx] = c; in regline()
345 line[lindx] = ' '; in regline()
360 if ((line = (char *)realloc(line, in regline()
366 line[lindx] = C; in regline()
369 line[lindx] = C; in regline()
372 line[lindx] = C; in regline()
376 line[lindx] = '\0'; in regline()
382 putmac(line, cnst); in regline()
384 (void) puts(line); in regline()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dlcl_sv.c179 > sizeof pvt->sv.line) in sv_byname()
181 key.data = pvt->sv.line; in sv_byname()
222 ports = (u_short *)pvt->sv.line; in sv_byport()
390 if ((size_t)n > sizeof(sv->line)) { in sv_db_rec()
391 n = sizeof(sv->line); in sv_db_rec()
393 memcpy(sv->line, p, n); in sv_db_rec()
394 sv->serv.s_name = sv->line; in sv_db_rec()
402 if (key->size > sizeof(sv->line)) in sv_db_rec()
403 key->size = sizeof(sv->line); in sv_db_rec()
405 memcpy(sv->line, key->data, key->size); in sv_db_rec()
[all …]
/illumos-gate/usr/src/cmd/genmsg/
H A Dgenmsg.l525 int n, line, len;
542 n = sscanf(str, "%c%d%s", &ch, &line, pfile);
550 lineno = line - 1;
552 lineno = line - 1;
561 int line;
584 set_linemsgid(int line, int msgid)
589 line_msgid[line_msgcnt].line = line;
595 get_linemsgid(int line)
602 if (line < line_msgid[i].line) {
604 } else if (line > line_msgid[i].line) {
/illumos-gate/usr/src/cmd/svc/servinfo/
H A Dservinfo.c110 char line[LINE_MAX] = ""; in svc_getrpcinfo() local
177 if (strstr(line, blist->rpcb_map.r_netid)) in svc_getrpcinfo()
187 (void) strlcat(line, buf, sizeof (line)); in svc_getrpcinfo()
191 if (strstr(line, buf) || strlen(buf) > line_len) in svc_getrpcinfo()
195 (void) strlcat(line, buf, sizeof (line)); in svc_getrpcinfo()
203 (void) puts(line); in svc_getrpcinfo()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Drev.c121 register int n, line=0; in b_rev() local
130 line=1; in b_rev()
157 if(line) in b_rev()
158 line = rev_line(fp,sfstdout,sftell(fp)); in b_rev()
160 line = rev_char(fp,sfstdout); in b_rev()
163 if(line < 0) in b_rev()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dlog.c41 char line[1024]; in msgbuf() local
109 if (mdb_readstr(line, sizeof (line), (uintptr_t)cont.b_rptr) == -1) { in msgbuf()
142 if (line[0] == 0x0d) in msgbuf()
143 mdb_printf("%s", &line[1]); in msgbuf()
145 mdb_printf("%s", &line[0]); in msgbuf()
/illumos-gate/usr/src/cmd/logadm/
H A Derr.h38 void err_fileline(const char *file, int line);
62 void *err_malloc(int nbytes, const char *fname, int line);
65 void *err_realloc(void *ptr, int nbytes, const char *fname, int line);
68 void err_free(void *ptr, const char *fname, int line);
71 char *err_strdup(const char *ptr, const char *fname, int line);
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dsharetab.c62 static char *line = NULL; in getshare() local
68 if (line == NULL) { in getshare()
69 line = (char *)malloc(MAXBUFSIZE+1); in getshare()
70 if (line == NULL) in getshare()
79 p = fgets(line, MAXBUFSIZE, fd); in getshare()
82 line[strlen(line) - 1] = '\0'; in getshare()
/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
H A Dshow_errs.sh23 cat $file | while read line ; do
24 code_file=$(echo "$line" | cut -d ':' -f 1)
25 lineno=$(echo "$line" | cut -d ' ' -f 1 | cut -d ':' -f 2)
27 echo "$line"
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmttydefs.c58 static char line[BUFSIZ]; in read_ttydefs() local
89 line[0] = '\0'; in read_ttydefs()
90 for (ptr = line, oldc = '\0'; ptr < &line[sizeof (line) - 1] && in read_ttydefs()
108 if (ptr == line) in read_ttydefs()
115 for (ptr = line; *ptr != '\0' && isspace(*ptr); ptr++) in read_ttydefs()
126 ptr = line; in read_ttydefs()
144 len = strlen(line); in read_ttydefs()
147 log("%s", line); in read_ttydefs()
255 "%s<--error detected here\n", states[field], line); in read_ttydefs()
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dnewterm.c174 ripoffline(int line, int (*init)(WINDOW *, int)) in ripoffline() argument
180 if (line != 0 && i < M_CURSES_MAX_RIPOFFLINE) { in ripoffline()
181 rip.line[i].init = init; in ripoffline()
182 if (line < 0) in ripoffline()
183 rip.line[i].dy = --rip.bottom; in ripoffline()
185 rip.line[i].dy = rip.top++; in ripoffline()
379 if (rip.line[i].created) in newterm()
381 y = rip.line[i].dy; in newterm()
386 if (rip.line[i].init != (int (*)(WINDOW *, int)) 0) in newterm()
387 (void) (*rip.line[i].init)(w, columns); in newterm()
[all …]
/illumos-gate/usr/src/common/ficl/emu/
H A Dloader_emu.c561 free(line); in bf_command()
805 bf_run(char *line) in bf_run() argument
1029 if (strlen(line) < 3 || line[0] != '#' || line[1] != ' ') in help_getnext()
1033 cp = line + 2; in help_getnext()
1415 char line[80]; in command_more() local
1421 (void) snprintf(line, sizeof (line), "*** FILE %s BEGIN ***\n", in command_more()
1429 (void) snprintf(line, sizeof (line), in command_more()
1635 int line; member
1662 line = 0; in include()
1665 line++; in include()
[all …]
/illumos-gate/usr/src/cmd/refer/
H A Dsortbib.c100 char line[BUF], fld[4][BUF]; /* one line, the sort fields */ in sortbib() local
103 while (offset = ftell(fp), fgets(line, BUF, fp)) { in sortbib()
106 if (line[0] == '\n') { /* accept null line record separator */ in sortbib()
112 if (line[0] == '.' && line[1] == '[') { /* also accept .[ .] */ in sortbib()
141 if (line[0] == '%') /* parse out fields to be sorted */ in sortbib()
142 parse(line, fld); in sortbib()
153 if (line[0] != '\n') { /* ignore null line just before EOF */ in sortbib()
206 parse(char line[], char fld[][BUF]) in parse() argument
213 n = sscanf(line, "%s %s %s %s %s %s %s %s", in parse()
/illumos-gate/usr/src/lib/libc/port/regex/
H A Dwordexp.c106 char *line, *eob, *cp; /* word from shell */ in wordexp() local
313 cp = line = malloc(BUFSZ); in wordexp()
314 if (line == NULL) { in wordexp()
320 eob = line + BUFSZ; in wordexp()
327 cp = line; in wordexp()
333 size_t bs = (eob - line); in wordexp()
336 if ((nl = realloc(line, bs + BUFSZ)) == NULL) { in wordexp()
340 line = nl; in wordexp()
341 cp = line + bs; in wordexp()
349 free(line); in wordexp()
/illumos-gate/usr/src/cmd/bnu/
H A Dutility.c43 assert(char *s1, char *s2, int i1, char *file, int line) in assert() argument
45 logError(s1, s2, i1, TY_ASSERT, file, line); in assert()
55 errent(char *s1, char *s2, int i1, char *file, int line) in errent() argument
57 logError(s1, s2, i1, TY_ERROR, file, line); in errent()
64 logError(char *s1, char *s2, int i1, int type, char *file, int line) in logError() argument
82 Progname, (long) pid, timeStamp(), s1, s2, i1, file, line); in logError()
/illumos-gate/usr/src/cmd/mandoc/
H A Dmdoc_argv.c341 tmpv.line = line; in mdoc_argv()
348 argv_single(mdoc, line, &tmpv, &ipos, buf); in mdoc_argv()
351 argv_multi(mdoc, line, &tmpv, &ipos, buf); in mdoc_argv()
440 return args(mdoc, line, pos, buf, fl, v); in mdoc_args()
444 args(struct roff_man *mdoc, int line, int *pos, in args() argument
508 line, *pos, NULL); in args()
555 line, *pos, NULL); in args()
575 *v = roff_getarg(mdoc->roff, &p, line, pos); in args()
642 argv_multi(struct roff_man *mdoc, int line, in argv_multi() argument
666 argv_single(struct roff_man *mdoc, int line, in argv_single() argument
[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/boot/common/
H A Dinterp.c188 int line; member
202 int prevsrcid, fd, line; in include() local
214 line = 0; in include()
217 line++; in include()
235 filename, line); in include()
240 sp->line = line; in include()
266 filename, sp->line, sp->text); in include()

12345678910>>...59