Searched defs:line (Results 201 - 225 of 621) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/boot/sys/boot/common/
H A Dinterp.c169 * Header prepended to each line. The text immediately follows the header.
176 int line; member in struct:includeline
182 * so we need to read included file into memory, then process line by line
190 int prevsrcid, fd, line; local
202 line = 0;
205 line++;
207 /* Allocate script line structure and copy line, flags */
209 continue; /* ignore empty line, sav
[all...]
H A Dinterp_forth.c74 char *name, *line, *tail, *cp; local
106 line = malloc(strlen(name) + len + 1);
107 strcpy(line, name);
113 strcat(line, " ");
114 strncat(line, cp, len);
123 line = malloc(strlen(name) + len + 2);
124 strcpy(line, name);
126 strcat(line, " ");
127 strncat(line, tail, len);
131 DEBUG("cmd '%s'", line);
329 bf_run(char *line) argument
[all...]
H A Dmisc.c176 caddr_t line; local
182 for (line = region; line < (region + len); line += 16) {
183 emit("%08lx ", (long) line);
186 if ((line + x) < (region + len)) {
187 emit("%02x ", *(u_int8_t *)(line + x));
196 if ((line + x) < (region + len)) {
197 c = *(u_int8_t *)(line + x);
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Definet.c328 char line[80]; local
334 sprintf(line, " %s%d:\n", efinet_dev.dv_name, unit);
335 ret = pager_output(line);
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/
H A Dhost.c140 char line[80]; local
142 sprintf(line, " host%d: Host filesystem\n", 0);
143 pager_output(line);
H A Duserboot_disk.c117 char line[80]; local
121 sprintf(line, " disk%d: Guest drive image\n", i);
122 pager_output(line);
129 sprintf(line, " disk%d", i);
130 disk_print(&dev, line, verbose);
/illumos-gate/usr/src/lib/lvm/libsvm/common/
H A Dupdate_mdconf.c153 * INPUT: *line - contains the mddb_bootlist
162 parse_bootlist(char *line, FILE *tfp) argument
170 if (line[0] == SYS_COMMENTCHAR) {
173 /* move the line start of mddbbootlist */
174 cp = strstr(line, MDDBBOOTLIST);
176 line = cp;
179 cp = strtok(line, "= ");
184 * The line passed in is for example,
/illumos-gate/usr/src/lib/nsswitch/compat/common/
H A Dcompat_common.c291 * once per input line (at present, "+" and "+@netgroup" entries
315 /* End of line */
475 * the line is null-terminated. For now we'll
482 /* Line is last line in file, and has no newline */
485 /* Line too long for buffer; toss it and loop for next line */
609 * Found something non-blank on the line. Skip back
611 * there's non-whitespace earlier in the line,
695 char *line, int *linelenp, int buflen, int extra_chars)
723 return (validate_passwd_ids(line, linelenp, buflen,
726 return (validate_group_ids(line, linelen
694 validate_ids(compat_backend_ptr_t be, nss_XbyY_args_t *argp, char *line, int *linelenp, int buflen, int extra_chars) argument
[all...]
/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dgetexecattr.c57 check_match(nss_XbyY_args_t *argp, const char *line, int linelen) argument
72 linep = line;
73 limit = line + linelen;
243 * Found something non-blank on the line. Skip back
245 * non-whitespace earlier in the line, checking for
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dnis_common.c142 * Don't check for an empty line because it shouldn't ever
639 * names in the line, otherwise 0
643 _nss_nis_check_name_aliases(nss_XbyY_args_t *argp, const char *line, argument
648 linep = line;
649 limit = line + linelen;
/illumos-gate/usr/src/lib/print/libpapi-ipp/common/
H A Dipp-support.c464 char line [BUFSIZ]; local
474 snprintf(line, sizeof (line), "%s:%s:%s", user, realm,
476 md5_calc(urp, line, strlen(line));
478 snprintf(line, sizeof (line), "POST:%s", uri);
479 md5_calc(mr, line, strlen(line));
481 snprintf(line, sizeo
[all...]
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-job.c83 char line[BUFSIZ]; local
105 snprintf(line, sizeof (line), "%c%s\n", code, value);
106 strlcat(*metadata, line, size);
115 char line[BUFSIZ]; local
120 snprintf(line, sizeof (line), "%c%s", code, value);
122 return (add_lpd_control_line(metadata, '5', line));
129 char line[BUFSIZ]; local
134 snprintf(line, sizeo
[all...]
H A Dlpd-query.c107 * status line(s) for "processing" printers will contain one of the following:
116 * status line(s) for "idle" printers will contain one of the following:
132 * document line(s)
151 parse_lpd_job(service_t *svc, job_t **job, int fd, char *line, int len) argument
165 if (regexec(&job_re, line, (size_t)5, matches, 0) == REG_NOMATCH) {
166 if (regexec(&wjob_re, line, (size_t)10, matches, 0)
177 if ((s = regvalue(matches[1], line)) == NULL)
182 if ((s = regvalue(matches[4], line)) == NULL)
189 if ((s = regvalue(matches[7], line)) == NULL)
194 if ((s = regvalue(matches[8], line))
279 char line[128]; local
[all...]
/illumos-gate/usr/src/lib/scsi/libscsi/common/
H A Dscsi_subr.c43 libscsi_assert(const char *expr, const char *file, int line) argument
49 "ABORT: \"%s\", line %d: assertion failed: %s\n", file, line, expr);
54 "ABORT: \"%s\", line %d: assertion failed: %s\n", file, line, expr);
/illumos-gate/usr/src/lib/scsi/libses/common/
H A Dses_subr.c74 ses_assert(const char *expr, const char *file, int line) argument
76 ses_panic("\"%s\", line %d: assertion failed: %s\n", file, line, expr);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_parse.c37 static void strip_line(char *line) argument
39 char *p = line + strlen(line);
40 while (p > line && (p[-1] == '\n' || p[-1] == '\r'))
82 static errcode_t parse_std_line(char *line, struct parse_state *state) argument
91 if (*line == 0)
93 cp = skip_over_blanks(line);
121 * Finish off the rest of the line.
209 static errcode_t parse_line(char *line, struct parse_state *state) argument
215 if (line[
[all...]
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_logging.c363 * line where the assertion failed is logged to the log file.
366 sip_write_to_log(void *obj, int type, char *file, int line) argument
373 "Assertion Failure at %s:%d\n", file, line);
383 "Assertion Failure at %s:%d\n", file, line);
/illumos-gate/usr/src/lib/libdscfg/common/
H A Dcfg_local.c332 addcfline(cfp_t *cfp, char *line, int table_index) argument
334 int len = strlen(line)+1;
392 /* add line to end of list */
395 strcpy(q, line);
537 replacecfline(cfp_t *cfp, char *line, int table_offset, int num) argument
550 int len = strlen(line) + 1;
609 strcpy(q, line);
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dfs_mount_defaults.c298 * Invalid vfstab line.
423 * Invalid vfstab line.
737 * create a vfstab line for writing out to the vfstab file.
741 char *line; local
758 line = (char *)malloc(line_length + 1);
759 if (line != NULL) {
760 sprintf(line, "%s\t%s\t%s\t%s\t%s\t%s\t%s\n",
771 return (line);
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_menu.c167 free_linelist(grub_line_t *line) argument
171 if (line == NULL)
174 while (line) {
175 lp = line;
176 line = lp->gl_next;
198 grub_menu_append_line(grub_menu_t *mp, const char *line) argument
204 if (line == NULL)
210 (lp->gl_line = strdup(line)) == NULL) {
216 line += strspn(line, " \
265 grub_line_t *line, *start; local
[all...]
/illumos-gate/usr/src/lib/libtsnet/common/
H A Dmisc.c47 * Parse off an entry from a line. Entry is stored in 'outbuf'. Returned
123 rtsa_to_str(const struct rtsa_s *rtsa, char *line, size_t len) argument
130 *line = '\0';
139 line[slen++] = ',';
148 slen += snprintf(line + slen, len - slen,
156 slen += snprintf(line + slen, len - slen, "min_sl=%s",
163 slen += snprintf(line + slen, len - slen, "max_sl=%s",
169 slen += snprintf(line + slen, len - slen, "doi=%d",
173 slen += snprintf(line + slen, len - slen, "cipso");
178 return (line);
[all...]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dprivate.h97 #define W_END_LINE 0x0002 /* End of line is the margin. */
142 } line[M_CURSES_MAX_RIPOFFLINE]; member in struct:__anon4211
/illumos-gate/usr/src/lib/libxcurses/src/tic/
H A Dticscan.c54 char line[LINE_MAX+1]; variable
66 char off_beg[] = m_textstr(3126, "Backspaced off beginning of line", "E");
83 * NAMES A line beginning in column 1. 'name'
85 * but not including the first comma on the line.
258 * line. The global variable curr_line is incremented for each new line.
260 * beginning of each line.
268 || line[curr_column] == '\0') {
271 if ((rtn_value = fgets(line, LINE_MAX, stdin)) != NULL)
273 } while (rtn_value != NULL && line[
[all...]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dprivate.h81 #define W_END_LINE 0x0002 /* End of line is the margin. */
128 } line[M_CURSES_MAX_RIPOFFLINE]; member in struct:__anon4224
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgen.c403 char line[1024], pattern[40], mapname[20], accname[20], options[100]; local
425 while (fgets(line, sizeof line, conf)) {
431 for (tmp = line;

Completed in 253 milliseconds

1234567891011>>