Searched defs:linep (Results 1 - 25 of 43) sorted by relevance

12

/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dgetspent.c37 const char *linep = line; local
43 while (*keyp && linelen-- && *keyp == *linep) {
45 linep++;
47 return (linelen && *keyp == '\0' && *linep == ':');
H A Dgetnetent.c55 const char *limit, *linep, *addrstart; local
60 linep = line;
64 while (linep < limit && !isspace(*linep))
65 linep++;
67 while (linep < limit && isspace(*linep))
68 linep++;
69 if (linep == limit)
72 addrstart = linep;
[all...]
H A Dgetprotoent.c51 const char *limit, *linep; local
53 linep = line;
57 while (linep < limit && !isspace(*linep))
58 linep++;
60 while (linep < limit && isspace(*linep))
61 linep++;
62 if (linep == limit)
64 proto = (int)strtol(linep, NUL
[all...]
H A Dgetrpcent.c51 const char *limit, *linep; local
53 linep = line;
57 while (linep < limit && !isspace(*linep))
58 linep++;
60 while (linep < limit && isspace(*linep))
61 linep++;
62 if (linep == limit)
64 r_number = (int)strtol(linep, NUL
[all...]
H A Dtsol_gettpent.c39 const char *limit, *linep, *keyp; local
41 linep = line;
46 while (*keyp && linep < limit && *linep != ':' && *keyp == *linep) {
48 linep++;
50 if (*keyp == '\0' && linep < limit && *linep == ':')
H A Dether_addr.c55 const char *limit, *linep, *keyp; local
56 linep = line;
60 while (linep < limit && isspace(*linep))
61 linep++;
63 while (linep < limit && !isspace(*linep))
64 linep++;
66 while (linep < limit && isspace(*linep))
112 const char *limit, *linep; local
[all...]
H A Dgetprinter.c44 const char *limit, *linep; local
48 linep = line;
54 while (linep+klen < limit && *linep != '|' && *linep != ':') {
55 if ((strncmp(linep, keyp, klen) == 0) &&
56 ((*(linep + klen) == '|') || (*(linep + klen) == ':'))) {
59 while (linep < limit && *linep !
[all...]
H A Dgetservent.c42 const char *limit, *linep, *keyp; local
45 linep = line;
50 while (*keyp && linep < limit && !isspace(*linep) && *keyp == *linep) {
52 linep++;
54 if (*keyp == '\0' && linep < limit && isspace(*linep)) {
62 while (linep < limit && !isspace(*linep))
131 const char *limit, *linep, *keyp, *numstart; local
[all...]
H A Dnetmasks.c54 const char *limit, *linep, *addrstart; local
59 linep = line;
63 while (linep < limit && isspace(*linep))
64 linep++;
66 addrstart = linep;
67 while (linep < limit && !isspace(*linep))
68 linep++;
69 if (linep
[all...]
H A Dgetprojent.c62 const char *linep, *limit, *end; local
64 linep = line;
71 while (linep < limit && *linep++ != ':');
72 if (linep == limit)
76 end = linep;
77 id = (uint_t)strtol(linep, (char **)&end, 10);
78 if (linep == end)
100 const char *linep, *limit, *end; local
102 linep
[all...]
H A Dtsol_getrhent.c40 const char *limit, *linep, *keyp; local
44 linep = line;
49 if (strstr(linep, "\\:") != NULL)
63 while (*keyp && linep < limit && *keyp == *linep) {
64 if ((ipv6 == 0 && *linep == ':') ||
65 (ipv6 == 1 && prev != '\\' && *linep == ':'))
68 prev = *linep;
70 linep++;
72 if (*keyp == '\0' && linep < limi
[all...]
H A Dgetgrent.c62 const char *linep, *limit, *end; local
64 linep = line;
70 while (linep < limit && *linep++ != ':') /* skip groupname */
72 while (linep < limit && *linep++ != ':') /* skip password */
74 if (linep == limit)
78 end = linep;
79 id = (uint_t)strtoul(linep, (char **)&end, 10);
81 if (linep
100 const char *linep, *limit; local
127 const char *linep, *limit, *end; local
174 char *linep, *limit, *gidp; local
[all...]
H A Dgetpwnam.c63 const char *linep, *limit, *end; local
65 linep = line;
71 while (linep < limit && *linep++ != ':') /* skip username */
73 while (linep < limit && *linep++ != ':') /* skip password */
75 if (linep == limit)
79 end = linep;
80 id = (uint_t)strtoul(linep, (char **)&end, 10);
83 if (linep
102 const char *linep, *limit; local
129 const char *linep, *limit, *end; local
175 char *linep, *limit, *uidp, *gidp; local
[all...]
/illumos-gate/usr/src/cmd/line/
H A Dline.c54 char *linep, *linend; local
57 linep = line;
61 if (linep == linend) {
63 linep = line;
65 *linep++ = c;
69 (void) write(1, line, linep-line);
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_tab.c55 md_tab_line_t *linep = &tabp->lines[line]; local
57 if (linep->context != NULL)
58 Free(linep->context);
59 if (linep->cname != NULL)
60 Free(linep->cname);
61 if (linep->argv != NULL) {
62 assert(linep->alloc > 0);
63 Free(linep->argv);
76 md_tab_line_t *linep,
82 if (argc < linep
75 realloc_argv( md_tab_line_t *linep, size_t argc ) argument
163 md_tab_line_t *linep; local
341 md_tab_line_t *linep = &tabp->lines[line]; local
[all...]
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetpwnam.c62 char *linep, *limit, *uidp, *gidp, *newline; local
69 linep = *linepp;
70 limit = linep + linelen;
73 if (linelen == 0 || *linep == '+' || *linep == '-')
76 while (linep < limit && *linep++ != ':') /* skip username */
78 while (linep < limit && *linep++ != ':') /* skip password */
80 if (linep
[all...]
H A Dgetgrent.c71 char *linep, *limit, *gidp, *newline; local
76 linep = *linepp;
77 limit = linep + linelen;
80 if (linelen == 0 || *linep == '+' || *linep == '-')
83 while (linep < limit && *linep++ != ':') /* skip groupname */
85 while (linep < limit && *linep++ != ':') /* skip password */
87 if (linep
[all...]
H A Dgetservent.c73 const char *limit, *linep, *keyp; local
76 linep = (const char *)argp->buf.buffer;
77 limit = linep + strlen(argp->buf.buffer);
81 while (*keyp && linep < limit && !isspace(*linep) && *keyp == *linep) {
83 linep++;
85 if (*keyp == '\0' && linep < limit && isspace(*linep)) {
93 while (linep < limi
227 const char *limit, *linep, *keyp, *numstart; local
[all...]
/illumos-gate/usr/src/lib/fm/libdiskstatus/common/
H A Dds_util.c59 char *linep; local
69 linep = linebuf;
74 (void) snprintf(linep, bufleft, "0x%08x ", byte_count);
75 len = strlen(linep);
77 linep += len;
84 (void) snprintf(linep, bufleft, "%02X", (unsigned int)
87 len = strlen(linep);
89 linep += len;
93 *linep = '-';
95 *linep
[all...]
/illumos-gate/usr/src/lib/nsswitch/compat/common/
H A Dgetgrent.c69 char *linep, *limit, *gidp; local
77 linep = line;
80 while (linep < limit && *linep++ != ':') /* skip groupname */
82 while (linep < limit && *linep++ != ':') /* skip password */
84 if (linep == limit)
87 gidp = linep;
88 gid = strtoul(gidp, (char **)&linep, 10); /* grab gid */
89 oldgidlen = linep
[all...]
H A Dgetpwent.c75 char *linep, *limit, *uidp, *gidp; local
85 linep = line;
88 while (linep < limit && *linep++ != ':') /* skip username */
90 while (linep < limit && *linep++ != ':') /* skip password */
92 if (linep == limit)
95 uidp = linep;
96 uidl = strtoul(uidp, (char **)&linep, 10); /* grab uid */
97 olduidlen = linep
[all...]
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_nswparse.c181 _nsw_getoneconfig_v1(const char *name, char *linep, enum __nsw_parse_err *errp) argument
182 /* linep Nota Bene: not const char * */
201 /* linep points to a naming service name */
206 if (*linep == '\0' || *linep == '\n') {
228 if (tokenp = skip(&linep, '[')) { /* got criteria */
231 if (!islabel(*linep))
240 /* linep points to a switch_err */
245 if ((tokenp = skip(&linep, '=')) == NULL) {
250 if (!islabel(*linep))
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dcommon.c159 parse_quote(char **linep, /* look here */ argument
169 pc = *linep;
219 *linep = pc-1; /* say where we ended */
/illumos-gate/usr/src/uts/common/exec/intp/
H A Dintp.c106 char *cp, *linep = idatap->intp; local
112 if (error = vn_rdwr(UIO_READ, vp, linep, INTPSZ, (offset_t)0,
115 if (resid > INTPSZ-2 || linep[0] != '#' || linep[1] != '!')
120 for (cp = &linep[2]; cp < &linep[INTPSZ] && *cp != '\n'; cp++)
123 if (cp >= &linep[INTPSZ])
137 for (cp = &linep[2]; *cp == ' '; cp++)
/illumos-gate/usr/src/uts/common/exec/shbin/
H A Dshbin.c137 char linep[SHBINMAGIC_LEN]; local
144 if (error = vn_rdwr(UIO_READ, vp, linep, sizeof (linep), (offset_t)0,
148 if (memcmp(linep, shbinmagicstr, SHBINMAGIC_LEN) != 0)

Completed in 511 milliseconds

12