/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | soconfig.c | 49 * with the first line registering and the second line 75 static int split_line(char *line, char *argvec[], int maxargvec); 78 char *path, const char *file, int line); 192 * Open the specified file and parse each line. Skip comments (everything 198 char line[MAXLINELEN]; local 214 while (fgets(line, sizeof (line) - 1, fp) != NULL) { 216 strcpy(pline, line); 230 /* Empty line 263 split_line(char *line, char *argvec[], int maxargvec) argument 302 parse_params(char *famstr, char *typestr, char *protostr, char *path, const char *file, int line) argument [all...] |
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | files.cc | 261 * read_dir(dir, pattern, line, library) 273 * line When we scan using a pattern we enter files 274 * we find as dependencies for this line 285 read_dir(Name dir, wchar_t *pattern, Property line, wchar_t *library) argument 365 line->body.line.target->string_mb, 369 enter_dependency(line, file, false); 402 line->body.line.target-> 407 enter_dependency(line, plain_fil [all...] |
/illumos-gate/usr/src/cmd/make/lib/vroot/ |
H A D | report.cc | 94 char line[MAXPATHLEN+2]; local 134 while (fgets(line, MAXPATHLEN+2, command_output_fp) 136 fprintf(nse_depinfo_fp, "%s", line); 156 while (fgets(line, MAXPATHLEN+2, nse_depinfo_fp) != NULL) { 157 if (strncmp(line, sfile, len) == 0 && line[len] == ':') { 162 if (strcmp(line, buf)) { 172 while (fgets(line, MAXPATHLEN, nse_depinfo_fp) 174 fputs(line, merge_fp); 188 fputs(line, merge_f [all...] |
/illumos-gate/usr/src/lib/fm/libfmevent/common/ |
H A D | fmev_publish.c | 357 do_publish(const char *file, const char *func, int64_t line, argument 411 line != -1 && nvlist_add_int64(pub, "__fmev_line", line) != 0 || 447 const char *file, const char *func, int64_t line, 456 return (do_publish(file, func, line, 463 const char *file, const char *func, int64_t line, 477 rc = do_publish(file, func, line, 446 _i_fmev_publish_nvl( const char *file, const char *func, int64_t line, const char *ruleset, const char *class, const char *subclass, fmev_pri_t pri, nvlist_t *attr) argument 462 _i_fmev_publish( const char *file, const char *func, int64_t line, const char *ruleset, const char *class, const char *subclass, fmev_pri_t pri, uint_t ntuples, ...) argument
|
/illumos-gate/usr/src/test/libc-tests/tests/common/ |
H A D | test_common.c | 273 char line[1024]; local 325 line[0] = 0; 341 * end of line (no escaping). 344 (void) strlcat(line, buf, sizeof (line)); 347 (void) strlcat(line, buf, sizeof (line)); 350 /* got a line */ 351 ptr = line; 356 line[ [all...] |
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | mdoc_argv.c | 274 * Parse flags and their arguments from the input line. 279 mdoc_argv(struct roff_man *mdoc, int line, int tok, argument 297 /* Loop over the flags on the input line. */ 311 * to restore the line as-is. So keep around the 342 tmpv.line = line; 349 argv_single(mdoc, line, &tmpv, &ipos, buf); 352 argv_multi(mdoc, line, &tmpv, &ipos, buf); 416 mdoc_args(struct roff_man *mdoc, int line, int *pos, argument 427 return args(mdoc, line, po 447 args(struct roff_man *mdoc, int line, int *pos, char *buf, enum argsflag fl, char **v) argument 642 argv_multi(struct roff_man *mdoc, int line, struct mdoc_argv *v, int *pos, char *buf) argument 664 argv_single(struct roff_man *mdoc, int line, struct mdoc_argv *v, int *pos, char *buf) argument [all...] |
H A D | mdoc_macro.c | 226 n->line, n->pos, mdoc_macronames[n->tok]); 236 * or as a line macro if from == TOKEN_NONE. 239 lookup(struct roff_man *mdoc, int from, int line, int ppos, const char *p) argument 254 mdoc->parse, line, ppos, p); 293 roff_body_alloc(mdoc, n->line, n->pos, 385 find_pending(struct roff_man *mdoc, int tok, int line, int ppos, argument 406 mdoc->parse, line, ppos, 409 mdoc_endbody_alloc(mdoc, line, ppos, 422 dword(struct roff_man *mdoc, int line, int col, const char *p, argument 437 roff_word_alloc(mdoc, line, co 456 append_delims(struct roff_man *mdoc, int line, int *pos, char *buf) argument 1417 parse_rest(struct roff_man *mdoc, int tok, int line, int *pos, char *buf) argument [all...] |
H A D | tbl_term.c | 212 * 0: inside the table (single or double line with crossings) 213 * 1: inner frame (single line with crossings and ends) 214 * 2: outer frame (single line without crossings with ends) 221 char line, cross; local 223 line = (kind == 0 && TBL_SPAN_DHORIZ == sp->pos) ? '=' : '-'; 233 tbl_char(tp, line, tp->tbl.cols[c1->col].width + 1); 245 tbl_char(tp, line, 2 - vert);
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | commands.c | 66 char line[81], *cp, *ep; local 69 if (fgetstr(line, 80, fd) < 0) 72 if ((strlen(line) < 3) || (line[0] != '#') || (line[1] != ' ')) 76 cp = line + 2; 444 char line[80]; local 449 sprintf(line, "*** FILE %s BEGIN ***\n", argv[i]); 450 if (pager_output(line)) 454 sprintf(line, "*** FIL 490 char line[80]; local [all...] |
H A D | disk.c | 192 char line[80]; local 197 sprintf(line, " %s%s: %s", pa->prefix, pname, 200 sprintf(line, "%-*s%s", PWIDTH, line, 203 strcat(line, "\n"); 204 ret = pager_output(line); 214 sprintf(line, " %s%s", pa->prefix, pname); 216 bsd.prefix = line;
|
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/ |
H A D | efi_console.c | 241 CL(0); /* clear current line from cursor to end */ 274 /* Clear line from current position to end of line */ 280 CHAR16 *line; local 290 case 2: /* entire line */ 299 line = malloc(len * sizeof (CHAR16)); 300 if (line == NULL) { 305 line[i] = ' '; 306 line[len-1] = 0; 311 conout->OutputString(conout, line); [all...] |
H A D | efipart.c | 178 char line[80]; local 187 sprintf(line, " %s%d:", efipart_dev.dv_name, unit); 188 ret = pager_output(line); 192 sprintf(line, " %llu blocks", 194 ret = pager_output(line);
|
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/amd64/ |
H A D | framebuffer.c | 113 efifb_uga_find_pixel(EFI_UGA_DRAW_PROTOCOL *uga, u_int line, argument 124 0, line, 0, 0, 1, 1, 0); 153 0, 0, 0, line, 1, 1, 0); 166 0, 0, 0, line, 1, 1, 0);
|
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/ |
H A D | disk.c | 244 static char line[80]; local 252 sprintf(line, "\tdisk%d (%s)\n", i, 254 pager_output(line); 256 sprintf(line, "\tdisk%d", i); 257 disk_print(&dev, line, verbose);
|
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | gethostent.c | 48 check_name(nss_XbyY_args_t *argp, const char *line, int linelen, argument 55 linep = line; 56 limit = line + linelen; 168 __nss_files_check_addr(int af, nss_XbyY_args_t *argp, const char *line, argument 186 linep = line; 187 limit = line + linelen; 206 check_addr(nss_XbyY_args_t *argp, const char *line, int linelen) argument 208 return (__nss_files_check_addr(AF_INET, argp, line, linelen)); 439 * match on this line, copy the aliases where they're 485 /* Add alias to the first line i [all...] |
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | loadsave.c | 622 CK_BYTE line[100]; local 649 (void) fgets((char *)line, 50, fp); 651 line[strlen((char *)line) - 1] = 0; 652 if (strcmp((char *)line, 1181 CK_BYTE line[100]; local 1231 (void) fgets((char *)line, 50, fp1); 1233 line[ strlen((char *)line)-1 ] = 0; 1234 if (strcmp((char *)line, (cha [all...] |
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/ |
H A D | lpd-port.c | 298 char *line, *iter = NULL; local 673 * line arguments. It then allocates any resources it need privilege for
|
/illumos-gate/usr/src/lib/print/mod_ipp/ |
H A D | mod_ipp.c | 180 void _log_rerror(const char *file, int line, int level, request_rec *r, argument 198 ap_log_rerror(file, line, level, APR_SUCCESS, r, message); 200 ap_log_rerror(file, line, level, r, message);
|
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | dlopen.c | 289 char line[MAX_LINE]; local 302 strcpy(line, prefix); 303 strcat(line, in); 304 length = strlen(line); 305 *(line + (length - strlen(SO_SUFFIX))) = '\0'; 306 strcat(line, LA_SUFFIX); 307 file = fopen(line, "rF"); 319 strcpy(line, prefix); 320 strcat(line, in); 322 file = fopen(line, "r [all...] |
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_confmgr.c | 73 /* Continuation line found */ 76 /* end of line found */ 88 gettext("Buffer overflow, line too long.")); 92 gettext("Unterminated continuation line.")); 149 gettext("Missing Name or Value on line %d."), 158 gettext("Illegal profile type on line %d."), 168 "on line %d."), lineno); 188 "line %d"), file, lineno); 208 "line %d"), file, lineno); 411 __print2buf(LineBuf *line, cons argument [all...] |
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_retire.c | 60 static void rio_assert(di_retire_t *dp, const char *EXstr, int line, 92 rio_assert(di_retire_t *dp, const char *EXstr, int line, const char *file) argument 100 "Assertion failed: %s, file %s, line %d\n", 101 EXstr, file, line);
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | cplfile.c | 94 const char *prefix, const char *line, 98 const char *line, int word_start, int word_end, 115 const char *line; /* The line from which the prefix was extracted */ member in struct:__anon4067 116 int word_start; /* The index in line[] of the start of the username */ 117 int word_end; /* The index in line[] following the end of the prefix */ 206 * lies between specified indexes of a given command-line string. 211 * line const char * The string containing the incomplete filename. 212 * word_start int The index of the first character in line[] 214 * word_end int The index of the character in line[] tha 236 _cf_complete_file(WordCompletion *cpl, CompleteFile *cf, const char *line, int word_start, int word_end, int escaped, CplCheckFn *check_fn, void *check_data) argument 523 cf_complete_username(CompleteFile *cf, WordCompletion *cpl, const char *prefix, const char *line, int word_start, int word_end, int escaped) argument 607 cf_complete_entry(CompleteFile *cf, WordCompletion *cpl, const char *line, int word_start, int word_end, int escaped, CplCheckFn *check_fn, void *check_data) argument [all...] |
/illumos-gate/usr/src/lib/libwrap/ |
H A D | tcpd.h | 239 * Problem reporting interface. Additional file/line context is reported 254 int line; /* current line */ member in struct:tcpd_context
|
/illumos-gate/usr/src/lib/libxcurses/src/tic/ |
H A D | ticparse.c | 135 char line[512]; local 141 fgets(line, 1024, stdin); 143 ptr, ptr->offset, ptr->bptr, ptr->fptr, line); 643 char line[1024]; local 696 fgets(line, 1024, stdin); 697 fprintf(stderr, "%s", line);
|
/illumos-gate/usr/src/lib/libnsl/dial/ |
H A D | sysfiles.c | 62 static int namematch(const char *label, char *line, const char *name); 192 /* got a (logical) line from Sysfiles */ 242 /* got a (logical) line from Devconfig */ 260 * given a file pointer and buffer, construct logical line in buffer 261 * (i.e., concatenate lines ending in '\'). return length of line 266 getaline(FILE *f, char *line) argument 269 lptr = line; 270 while (fgets(lptr, (line + BUFSIZ) - lptr, f) != NULL) { 273 /* empty buf or line too long! */ 276 if (lend == line) /* empt 294 namematch(const char *label, char *line, const char *name) argument 346 char **line, *equals; local 391 setfile(char **type, char *line) argument 425 setioctl(char **type, char *line) argument [all...] |