/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | alloc.c | 70 alloc_malloc(size_t nbytes, const char *fname, int line) argument 75 outfl(O_DIE, fname, line, "malloc: out of memory"); 92 alloc_realloc(void *ptr, size_t nbytes, const char *fname, int line) argument 97 out(O_DIE, fname, line, "realloc: out of memory"); 108 alloc_strdup(const char *ptr, const char *fname, int line) argument 113 outfl(O_DIE, fname, line, "strdup: out of memory"); 125 alloc_free(void *ptr, const char *fname, int line) argument
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | t-qic.c | 102 char line_in[1024], line[256], line_out[32], *obp; local 188 los = sm_strlcpy(line, inout[i].qic_in, sizeof(line)); 189 SM_TEST(los + 1 < sizeof(line)); 191 obp = quote_unquote(line, line, los, inout[i].qic_exp); 205 if (obp != line)
|
/illumos-gate/usr/src/cmd/idmap/idmap/ |
H A D | idmap_engine.h | 52 int linenum; /* line number */ 53 char *line; /* line content */ member in struct:cmd_pos
|
/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | ipft_hx.c | 62 char line[513]; local 66 * interpret start of line as possibly "[ifname]" or 74 while (fgets(line, sizeof(line)-1, tfp)) { 75 if ((s = strchr(line, '\n'))) { 76 if (s == line) 80 if ((s = strchr(line, '#'))) 82 if (!*line) 85 printf("input: %s", line); 88 if ((*line [all...] |
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/ |
H A D | ovload.c | 103 * Purpose: parse principal line in db dump file 136 char line[LINESIZE]; local 138 if (fgets(line, LINESIZE, filep) == (char *) NULL) { 141 if((cp = nstrtok(line, "\t")) == NULL)
|
/illumos-gate/usr/src/cmd/tbl/ |
H A D | t1.c | 70 char line[BIGBUF]; local 74 while (gets1(line, sizeof line)) 76 fprintf(tabout, "%s\n",line); 77 if (prefix(".TS", line))
|
/illumos-gate/usr/src/cmd/tip/aculib/ |
H A D | biz22.c | 72 char line[80]; local 74 (void) sprintf(line, "%d second dial timeout", 76 logent(value(HOST), num, "biz1022", line); local
|
/illumos-gate/usr/src/cmd/tip/ |
H A D | tipout.c | 46 char c, line[PATH_MAX]; local 47 char *pline = line; 51 while (c != '\n' && line + sizeof (line) - pline > 1) { 58 if (pline == line) { 62 if ((fscript = fopen(line, "a")) == NULL)
|
/illumos-gate/usr/src/ucbcmd/from/ |
H A D | from.c | 99 match(char *line, char *str) argument 103 while (*line == ' ' || *line == '\t') 104 ++line; 105 if (*line == '\n') 107 while (*str && *line != ' ' && *line != '\t' && *line != '\n') { 108 ch = isupper(*line) ? tolower(*line) [all...] |
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_service_stash.c | 52 char line[RECORDLEN]="0", *start=NULL, *file=NULL; local 95 while (fgets(line, RECORDLEN, fptr) != NULL) { 100 for (start = line; isspace(*start); ++start); 105 sscanf(line, "%*[ \t]%[^#]", tmp); 107 sscanf(line, "%[^#]", tmp); 121 start = strchr(line, '\n'); 125 start = strchr(line, '#');
|
/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | ppd.c | 41 process_line(char *line, char **key, char **value, char **comment) argument 45 *key = &line[1]; 49 if ((ptr = strchr(line, ':')) == NULL) 53 * line is in the form: 62 if ((ptr2 = strchr(line, ' ')) != NULL) { 65 * line is in the form: 89 char line[256]; local 101 (fgets(line, sizeof (line), fp) != NULL)) { 105 if (line[ [all...] |
/illumos-gate/usr/src/cmd/lp/lib/users/ |
H A D | loadpri.c | 44 1 line with a number representing the default priority level. 45 This must be the first line of the file, and no extra 48 1 line anywhere in the file with a number representing 76 char line[BUFSIZ], local 101 /* this loop reads the line containing the default priority, 103 to the colon (:) in the line with the first limit. */ 107 if (!(p = fdgets(line, BUFSIZ, fd))) 109 p = line; 110 pri = strtol(line, &p, 10); 111 if (p == line) [all...] |
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | sharetab.c | 62 static char *line = NULL; local 68 if (line == NULL) { 69 line = (char *)malloc(MAXBUFSIZE+1); 70 if (line == NULL) 79 p = fgets(line, MAXBUFSIZE, fd); 82 line[strlen(line) - 1] = '\0';
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | tag.c | 34 size_t line; member in struct:tag_entry 98 * Set up the ohash table to collect output line numbers 121 * Set the line number where a term is defined, 125 tag_put(const char *s, int prio, size_t line) argument 142 entry->line = line; 164 entry->s, tag_files.ofn, entry->line);
|
H A D | tbl.c | 90 tbl_alloc(int pos, int line, struct mparse *parse) argument 95 tbl->line = line; 137 tbl_restart(int line, int pos, struct tbl_node *tbl) argument 141 line, pos, "T&"); 144 tbl->line = line; 172 tbl->line, tbl->pos, "TE"); 179 tbl->line, tbl->pos, NULL);
|
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_tab.c | 48 size_t line; local 54 for (line = 0; (line < tabp->nlines); ++line) { 55 md_tab_line_t *linep = &tabp->lines[line]; 103 * (re)allocate line array 155 /* allocate context buffer "file line XXX" */ 158 strlen(dgettext(TEXT_DOMAIN, "%s line %u")) + 20 + 1; 166 /* allocate new line */ 170 dgettext(TEXT_DOMAIN, "%s line 334 size_t line; local [all...] |
/illumos-gate/usr/src/lib/lvm/libsvm/common/ |
H A D | metaconf.c | 48 * is_blank() returns 1 (true) if a line specified is composed of 51 * Note. the argument (line) must be null-terminated. 54 is_blank(char *line) argument 56 for (/* nothing */; *line != '\0'; line++) 57 if (!isspace(*line)) 93 /* remove a new-line character for md_targ_nm_table */
|
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | getprojent.c | 35 hash_projname(nss_XbyY_args_t *argp, int keyhash, const char *line, argument 46 name = line; 48 while (linelen-- && *line++ != ':') 58 hash_projid(nss_XbyY_args_t *argp, int keyhash, const char *line, argument 64 linep = line; 65 limit = line + linelen; 98 check_projid(nss_XbyY_args_t *argp, const char *line, int linelen) { argument 102 linep = line; 103 limit = line + linelen; 109 if (linep == limit || linep == line [all...] |
H A D | tsol_getrhent.c | 38 check_addr(nss_XbyY_args_t *args, const char *line, int linelen) argument 44 linep = line; 45 limit = line + linelen;
|
/illumos-gate/usr/src/lib/pam_modules/dial_auth/ |
H A D | dial_auth.c | 60 char line[80]; local 104 while ((p1 = fgets(line, sizeof (line), fp)) != NULL) { 108 if (strcmp(line, ttyn) == 0) 118 (void) memset(line, 0, sizeof (line)); 124 (void) memset(line, 0, sizeof (line)); 130 while ((p1 = fgets(line, sizeof (line) [all...] |
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | mntent.c | 92 static char *line = NULL; local 95 if (line == NULL) 96 line = (char *)malloc(BUFSIZ+1); 98 cp = fgets(line, BUFSIZ, mnttabp);
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | tee.c | 44 "[l:linebuffer?Set the standard output to be line buffered.]" 62 int line; member in struct:Tee_s 102 if (tp->line >= 0) 103 sfset(sfstdout, SF_LINE, tp->line); 116 int line; local 128 line = -1; 141 line = sfset(sfstdout, 0, 0) & SF_LINE; 142 if ((line == 0) == (opt_info.num == 0)) 143 line = -1; 176 tp->line [all...] |
/illumos-gate/usr/src/lib/libgss/ |
H A D | g_utils.c | 60 char buf[BUFLEN]; /* one line from the file */ 63 char *line; local 85 * For each line in the file parse it appropriately. 91 line = fgets(buf, BUFLEN, fp); 92 if (line == NULL) 96 if ((*line == '#') || (*line == '\n')) 100 next = strchr(line, '#'); 107 if (*name == '\0') /* blank line */ 125 if (*name == '\0') { /* end of line, n [all...] |
/illumos-gate/usr/src/cmd/refer/ |
H A D | inv2.c | 35 char line[LINESIZ]; local 42 while (fgets(line, LINESIZ, inf)) { 43 p = line; 46 fputs(line, recf); 93 lp += (strlen(line)+lt+1);
|
H A D | inv6.c | 26 char line[100]; local 44 while (fgets(line, 100, ft)) { 46 sscanf(line, "%d %ld", &k, &point);
|