Searched defs:line (Results 76 - 100 of 621) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dalloc.c70 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 Dt-qic.c102 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 Didmap_engine.h52 int linenum; /* line number */
53 char *line; /* line content */ member in struct:cmd_pos
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dipft_hx.c62 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 Dovload.c103 * 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 Dt1.c70 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 Dbiz22.c72 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 Dtipout.c46 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 Dfrom.c99 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 Dldap_service_stash.c52 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 Dppd.c41 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 Dloadpri.c44 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 Dsharetab.c62 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 Dtag.c34 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 Dtbl.c90 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 Dmeta_tab.c48 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 Dmetaconf.c48 * 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 Dgetprojent.c35 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 Dtsol_getrhent.c38 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 Ddial_auth.c60 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 Dmntent.c92 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 Dtee.c44 "[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 Dg_utils.c60 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 Dinv2.c35 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 Dinv6.c26 char line[100]; local
44 while (fgets(line, 100, ft)) {
46 sscanf(line, "%d %ld", &k, &point);

Completed in 212 milliseconds

1234567891011>>