/illumos-gate/usr/src/cmd/mailwrapper/ |
H A D | mailwrapper.c | 86 char *line, *cp, *from, *to, *ap; local 119 if ((line = fparseln(config, &len, &lineno, NULL, 0)) == NULL) { 123 err(EX_CONFIG, "cannot parse line %lu", 128 cp = line; 132 /* empty line */ 133 free(line); 154 free(line); 167 errx(EX_CONFIG, "parse error in %s at line %lu",
|
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | nse_printdep.cc | 35 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 331 register Property line; local [all...] |
H A D | rep.cc | 73 wchar_t *line; local 100 line = ALLOC_WC(line_size); 103 while (fgetws(line, line_size, fp) != NULL) { 104 while (wcslen(line) == line_index) { 105 if (line[wcslen(line) - 1] == '\n') { 109 wcscpy(bigger_line, line); 110 retmem(line); 111 line = bigger_line; 112 if (fgetws(&line[line_inde 169 report_recursive_dep(Name target, wchar_t *line) argument [all...] |
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | man.c | 62 if (man->last->type != ROFFT_EQN || ln > man->last->line) 71 man_descope(struct roff_man *man, int line, int offs) argument 74 * Co-ordinate what happens with having a next-line scope open: 87 roff_body_alloc(man, line, offs, man->last->tok); 91 man_ptext(struct roff_man *man, int line, char *buf, int offs) argument 98 roff_word_alloc(man, line, offs, buf + offs); 99 man_descope(man, line, offs); 115 roff_elem_alloc(man, line, offs, MAN_sp); 132 line, i - 1, NULL); 142 roff_word_alloc(man, line, off [all...] |
H A D | man_macro.c | 102 man->parse, n->line, n->pos, 120 man->parse, n->line, n->pos, 205 if ( ! man_args(man, line, pos, buf, &p)) 213 line, p - buf, "RE ... %s", p); 219 line, ppos, "RE %d", target); 236 line, ppos, man_macronames[tok]); 239 line = man->last->line; 248 blk_imp(man, ntok, line, ppos, pos, buf); 261 roff_block_alloc(man, line, ppo 400 man_args(struct roff_man *man, int line, int *pos, char *buf, char **v) argument [all...] |
/illumos-gate/usr/src/common/ficl/ |
H A D | extras.c | 48 int line = 0; local 76 /* feed each line to ficlExec */ 80 line++; 99 ficlVmThrowError(vm, "Error loading file <%s> line %d", 100 FICL_COUNTED_STRING_GET_POINTER(*counted), line); 105 * Pass an empty line with SOURCE-ID == -1 to flush
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | zalloc_malloc.c | 54 Malloc(size_t bytes, const char *file, int line) argument 89 Free(void *ptr, const char *file, int line) argument 100 printf("free: duplicate free @ %p from %s:%d\n", ptr, file, line); 104 panic("free: guard1 fail @ %p from %s:%d", ptr, file, line); 109 printf("free: duplicate2 free @ %p from %s:%d\n", ptr, file, line); 113 panic("free: guard2 fail @ %p + %zu from %s:%d", ptr, res->ga_Bytes - MALLOCALIGN, file, line); 127 Calloc(size_t n1, size_t n2, const char *file, int line) argument 132 if ((res = Malloc(bytes, file, line)) != NULL) { 149 Realloc(void *ptr, size_t size, const char *file, int line) argument 154 if ((res = Malloc(size, file, line)) ! 179 Reallocf(void *ptr, size_t size, const char *file, int line) argument [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_systemfile.c | 276 * parse mddb.cf line 283 char *line, /* line in file */ 290 char *p = line; 356 char line[MDDB_BOOTLIST_MAX_LEN]; local 413 (void) snprintf(line, sizeof (line), 429 if ((strlen(line) + strlen(entry) + 4) > sizeof (line)) 431 (void) strcat(line, entr 282 confline( char *line, char **driver, minor_t *mnump, daddr_t *block, char **devid_char_pp ) argument [all...] |
/illumos-gate/usr/src/lib/lvm/libpreen/common/ |
H A D | mdpreen.c | 68 * is_blank() returns 1 (true) if a line specified is composed of 71 * Note. the argument (line) must be null-terminated. 74 is_blank(char *line) argument 76 for (/* nothing */; *line != '\0'; line++) 77 if (!isspace(*line)) 89 char line[MAX_N2M_ALIAS_LINE], *cp; local 96 while ((fgets(line, sizeof (line), fp) != NULL) && 99 if ((cp = strchr(line, '#')) ! [all...] |
/illumos-gate/usr/src/lib/nsswitch/compat/common/ |
H A D | getgrent.c | 67 validate_group_ids(char *line, int *linelenp, int buflen, int extra_chars) argument 74 if (linelen == 0 || *line == '+' || *line == '-') 77 linep = line; 78 limit = line + linelen;
|
H A D | getpwent.c | 73 validate_passwd_ids(char *line, int *linelenp, int buflen, int extra_chars) argument 82 if (linelen == 0 || *line == '+' || *line == '-') 85 linep = line; 86 limit = line + linelen;
|
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | files_common.c | 87 * This routine reads a line, including the processing of continuation 88 * characters. It always leaves (or inserts) \n\0 at the end of the line. 89 * It returns the length of the line read, excluding the \n\0. Who's idea 134 /* Buffer overflow -- eat rest of line and loop again */ 284 * Found something non-blank on the line. Skip back 286 * there's non-whitespace earlier in the line, 392 uint_t hash, line, f; local 434 line = hp - htab; 435 if ((*check)(args, fhp->fh_line[line].l_start, 436 fhp->fh_line[line] [all...] |
H A D | getgrent.c | 35 hash_grname(nss_XbyY_args_t *argp, int keyhash, const char *line, argument 46 name = line; 48 while (linelen-- && *line++ != ':') 58 hash_grgid(nss_XbyY_args_t *argp, int keyhash, const char *line, argument 64 linep = line; 65 limit = line + linelen; 98 check_grname(nss_XbyY_args_t *argp, const char *line, int linelen) argument 103 linep = line; 104 limit = line + linelen; 107 if (linelen == 0 || *line 125 check_grgid(nss_XbyY_args_t *argp, const char *line, int linelen) argument 171 validate_group_ids(char *line, int *linelenp, int buflen, int extra_chars, files_XY_check_func check) argument [all...] |
H A D | getpwnam.c | 36 hash_pwname(nss_XbyY_args_t *argp, int keyhash, const char *line, argument 47 name = line; 49 while (linelen-- && *line++ != ':') 59 hash_pwuid(nss_XbyY_args_t *argp, int keyhash, const char *line, argument 65 linep = line; 66 limit = line + linelen; 100 check_pwname(nss_XbyY_args_t *argp, const char *line, int linelen) argument 105 linep = line; 106 limit = line + linelen; 109 if (linelen == 0 || *line 127 check_pwuid(nss_XbyY_args_t *argp, const char *line, int linelen) argument 173 validate_passwd_ids(char *line, int *linelenp, int buflen, int extra_chars) argument [all...] |
/illumos-gate/usr/src/lib/scsi/libsmp/common/ |
H A D | smp_subr.c | 48 smp_assert(const char *expr, const char *file, int line) argument 54 "ABORT: \"%s\", line %d: assertion failed: %s\n", file, line, expr); 59 "ABORT: \"%s\", line %d: assertion failed: %s\n", file, line, expr);
|
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | regress.c | 53 "command line option, these shells may contain system library function " 58 "command line \b--regress\b=\avalue\a option, where \avalue\a is passed " 60 "intercepts are enabled with one or more command line \b--regress\b " 68 "line is produced each time an enabled intercept is called.]" 71 "trace line info is either \begid==rgid\b or \begid!=rgid\b. The " 83 "trace line info is either \beuid==ruid\b or \beuid!=ruid\b. The " 98 "\bp_suid\b. A trace line is output for each SHOPT_P_SUID " 103 "[+sh_source()?The trace line info is the path of the script " 136 void sh_regress(unsigned int index, const char* intercept, const char* info, unsigned int line, const char* file) argument 240 uid_t sh_regress_p_suid(unsigned int line, cons argument 252 sh_regress_etc(const char* path, unsigned int line, const char* file) argument [all...] |
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | inuse_lu.c | 198 char line[MAXPATHLEN]; local 207 while (fgets(line, sizeof (line), fp) == line) { 212 if (strncmp(line, "<beFsComponent ", 15) != 0) { 216 if ((devp = strstr(line, "fsDevice=\"")) == NULL) { 256 char line[MAXPATHLEN]; local 265 while (fgets(line, sizeof (line), fp) == line) { [all...] |
/illumos-gate/usr/src/lib/libfsmgt/common/ |
H A D | fileutil.c | 43 static char *get_first_column_data(char *line); 44 static char *retrieve_string(FILE *fp, char *line, int buffersize); 45 static char *trim_trailing_whitespace(char *line); 68 char line[BUFSIZE]; local 76 retrieve_string(fp, line, BUFSIZE)) != NULL) { 117 static char buff[BUFSIZE]; /* line buffer */ 126 *t = '\0'; /* ignore rest of line */ 134 fileutil_getline(FILE *fp, char *line, int linesz) argument 136 char *share_cmd, *p = line; 139 while (fgets(line, lines 201 fileutil_add_string_to_array(char ***string_array, char *line, int *count, int *err) argument 238 get_first_column_data(char *line) argument 244 retrieve_string(FILE *fp, char *line, int buffersize) argument [all...] |
/illumos-gate/usr/src/lib/libuutil/common/ |
H A D | uu_misc.c | 210 assfail(const char *astring, const char *file, int line) argument 212 __assert(astring, file, line);
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | newterm.c | 61 * Assume terminal has only one screen line by restricting those 62 * capabilities that assume more than one line. This function must 124 * soft label keys, or whether we have to fake it by using the last line 166 * If line is positive (1), one line is removed from the beginning of 167 * stdscr; else if line is negative (-1), one line is removed from the end. 170 ripoffline(int line, int (*init)(WINDOW *, int)) argument 175 __m_trace("ripoffline(%d, %p)", line, init); 180 if (line ! [all...] |
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | newterm.c | 67 * Assume terminal has only one screen line by restricting those 68 * capabilities that assume more than one line. This function must 128 * soft label keys, or whether we have to fake it by using the last line 172 * If line is positive (1), one line is removed from the beginning of 173 * stdscr; else if line is negative (-1), one line is removed from the end. 176 ripoffline(int line, int (*init)(WINDOW *, int)) argument 182 if (line != 0 && i < M_CURSES_MAX_RIPOFFLINE) { 183 rip.line[ [all...] |
/illumos-gate/usr/src/lib/libzonecfg/common/ |
H A D | scratchops.c | 151 char line[2 * ZONENAME_MAX + MAXPATHLEN + 2]; local 156 if (fgets(line, sizeof (line), fp) == NULL) 158 if ((cp = strchr(line, '\n')) == NULL) 161 if ((cp = strchr(line, ' ')) == NULL) 162 cp = line + strlen(line); 166 strlcpy(zonename, line, namelen) >= namelen)
|
/illumos-gate/usr/src/lib/libnsl/saf/ |
H A D | doconfig.c | 63 * is a syntax error, return the line number in error. 74 int line; /* line counter */ local 89 line = 0; 91 line++; 93 /* if no \n, then line is too long */ 96 return (line); 128 return (line); 133 return (line); 138 return (line); [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | lcl_nw.c | 89 char line[BUFSIZ+1]; member in struct:pvt 236 bufp = pvt->line; 237 bufsiz = sizeof(pvt->line); 245 /* allocate space for longer line */ 257 /* allocation failed; skip this long line */
|
H A D | lcl_pr.c | 87 char line[BUFSIZ+1]; member in struct:pvt 212 bufp = pvt->line; 223 /* allocate space for longer line */ 235 /* allocation failed; skip this long line */
|