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

12

/osnet-11/usr/src/lib/nsswitch/files/common/
H A Dgetspent.c34 const char *linep = line; local
40 while (*keyp && linelen-- && *keyp == *linep) {
42 linep++;
44 return (linelen && *keyp == '\0' && *linep == ':');
H A Dgetnetent.c51 const char *limit, *linep, *addrstart; local
56 linep = line;
60 while (linep < limit && !isspace(*linep))
61 linep++;
63 while (linep < limit && isspace(*linep))
64 linep++;
65 if (linep == limit)
68 addrstart = linep;
[all...]
H A Dgetprotoent.c48 const char *limit, *linep; local
50 linep = line;
54 while (linep < limit && !isspace(*linep))
55 linep++;
57 while (linep < limit && isspace(*linep))
58 linep++;
59 if (linep == limit)
61 proto = (int)strtol(linep, NUL
[all...]
H A Dgetrpcent.c48 const char *limit, *linep; local
50 linep = line;
54 while (linep < limit && !isspace(*linep))
55 linep++;
57 while (linep < limit && isspace(*linep))
58 linep++;
59 if (linep == limit)
61 r_number = (int)strtol(linep, NUL
[all...]
H A Dtsol_gettpent.c36 const char *limit, *linep, *keyp; local
38 linep = line;
43 while (*keyp && linep < limit && *linep != ':' && *keyp == *linep) {
45 linep++;
47 if (*keyp == '\0' && linep < limit && *linep == ':')
H A Dether_addr.c52 const char *limit, *linep, *keyp; local
53 linep = line;
57 while (linep < limit && isspace(*linep))
58 linep++;
60 while (linep < limit && !isspace(*linep))
61 linep++;
63 while (linep < limit && isspace(*linep))
109 const char *limit, *linep; local
[all...]
H A Dgetprinter.c41 const char *limit, *linep; local
45 linep = line;
51 while (linep+klen < limit && *linep != '|' && *linep != ':') {
52 if ((strncmp(linep, keyp, klen) == 0) &&
53 ((*(linep + klen) == '|') || (*(linep + klen) == ':'))) {
56 while (linep < limit && *linep !
[all...]
H A Dgetprojent.c36 const char *linep, *limit, *end; local
38 linep = line;
45 while (linep < limit && *linep++ != ':');
46 if (linep == limit)
50 end = linep;
51 id = (uint_t)strtol(linep, (char **)&end, 10);
52 if (linep == end)
74 const char *linep, *limit, *end; local
76 linep
[all...]
H A Dgetservent.c39 const char *limit, *linep, *keyp; local
42 linep = line;
47 while (*keyp && linep < limit && !isspace(*linep) && *keyp == *linep) {
49 linep++;
51 if (*keyp == '\0' && linep < limit && isspace(*linep)) {
59 while (linep < limit && !isspace(*linep))
128 const char *limit, *linep, *keyp, *numstart; local
[all...]
H A Dnetmasks.c51 const char *limit, *linep, *addrstart; local
56 linep = line;
60 while (linep < limit && isspace(*linep))
61 linep++;
63 addrstart = linep;
64 while (linep < limit && !isspace(*linep))
65 linep++;
66 if (linep
[all...]
H A Dgetgrent.c46 const char *linep, *limit; local
49 linep = line;
55 while (*keyp && linep < limit && *keyp == *linep) {
57 linep++;
59 return (linep < limit && *keyp == '\0' && *linep == ':');
73 const char *linep, *limit, *end; local
76 linep = line;
83 while (linep < limi
120 char *linep, *limit, *gidp; local
[all...]
H A Dtsol_getrhent.c37 const char *limit, *linep, *keyp; local
41 linep = line;
46 if (strstr(linep, "\\:") != NULL)
60 while (*keyp && linep < limit && *keyp == *linep) {
61 if ((ipv6 == 0 && *linep == ':') ||
62 (ipv6 == 1 && prev != '\\' && *linep == ':'))
65 prev = *linep;
67 linep++;
69 if (*keyp == '\0' && linep < limi
[all...]
H A Dgetpwnam.c47 const char *linep, *limit; local
50 linep = line;
56 while (*keyp && linep < limit && *keyp == *linep) {
58 linep++;
60 return (linep < limit && *keyp == '\0' && *linep == ':');
74 const char *linep, *limit, *end; local
77 linep = line;
84 while (linep < limi
120 char *linep, *limit, *uidp, *gidp; local
[all...]
H A Dgetexecattr.c117 const char *limit, *linep, *keyp; local
138 linep = line;
145 while (*keyp && linep < limit &&
146 *linep != ':' && *keyp == *linep) {
148 linep++;
150 if (*keyp || linep == limit || *linep != ':')
154 while (linep < limit && *linep !
[all...]
/osnet-11/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...]
/osnet-11/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...]
/osnet-11/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...]
H A Dnis_common.c646 const char *limit, *linep, *keyp; local
648 linep = line;
653 while (*keyp && linep < limit && !isspace(*linep) && *keyp == *linep) {
655 linep++;
657 if (*keyp == '\0' && linep < limit && isspace(*linep))
660 while (linep < limit && !isspace(*linep))
[all...]
/osnet-11/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.c74 char *linep, *limit, *uidp, *gidp; local
84 linep = line;
87 while (linep < limit && *linep++ != ':') /* skip username */
89 while (linep < limit && *linep++ != ':') /* skip password */
91 if (linep == limit)
94 uidp = linep;
95 uidl = strtoul(uidp, (char **)&linep, 10); /* grab uid */
96 olduidlen = linep
[all...]
/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Dlcl_ng.c359 char *pos, *spos, *linep = NULL, *olinep; local
406 if (!(linep = malloc(olen + len + 1))){
416 memcpy(linep, olinep, olen);
419 memcpy(linep + olen, pos, len);
421 *(linep + olen) = '\0';
422 olinep = linep;
432 lp->l_line = linep;
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_sasl.c345 char *linep, *retp = NULL; local
354 while (linep = fgets(lineq, BUFSIZ, fp)) {
360 if ((comment = strchr(linep, '#')) != NULL) {
363 if ((*linep == '\0') || isspace(*linep)) {
367 if ((tokenp = strstr(linep, db_colon)) == NULL) {
/osnet-11/usr/src/lib/libnsl/netselect/
H A Dnetselect.c323 char linep[BUFSIZ]; /* pointer to a line in the file */ local
330 while (retvalp = fgets(linep, BUFSIZ, fp)) {
332 if (!(blank(linep) || comment(linep))) {
342 if ((entnetid = gettoken(linep, FALSE)) == NULL) {

Completed in 124 milliseconds

12