Home
last modified time | relevance | path

Searched refs:linep (Results 1 – 25 of 47) sorted by last modified time

12

/illumos-gate/usr/src/cmd/troff/
H A Dn7.c114 *linep = dip->nls = 0; in tbreak()
428 if (linep >= line + lnsize - 1) { in storeline()
444 *linep++ = c; in storeline()
722 if (*--linep != IMP)
732 if ((i = cbits(*(linep - 1))) != '-' && i != EMDASH) {
733 *linep = (*(linep - 1) & SFMASK) | HYPHEN;
734 w = width(*linep);
737 linep++;
746 w = width(*linep);
772 linep = line;
H A Dtdef.h488 #define linep env._linep macro
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dlcl_ng.c355 char *pos, *spos, *linep = NULL, *olinep; in read_for_group() local
402 if (!(linep = malloc(olen + len + 1))){ in read_for_group()
412 memcpy(linep, olinep, olen); in read_for_group()
415 memcpy(linep + olen, pos, len); in read_for_group()
417 *(linep + olen) = '\0'; in read_for_group()
418 olinep = linep; in read_for_group()
428 lp->l_line = linep; in read_for_group()
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldapsearch.c302 char *linep = NULL; in main() local
307 if ((linep = (char *)malloc(BUFSIZ)) == NULL) { in main()
319 if ((linep = (char *) in main()
320 realloc(linep, (increment + 1) * BUFSIZ)) == NULL) { in main()
326 linep[index++] = c; in main()
334 linep[index] = '\0'; in main()
342 linep ); in main()
343 free (linep); in main()
/illumos-gate/usr/src/lib/libc/inc/
H A Dlibc.h185 char *linep, enum __nsw_parse_err *);
187 char *linep, enum __nsw_parse_err *);
/illumos-gate/usr/src/uts/common/exec/shbin/
H A Dshbin.c136 char linep[SHBINMAGIC_LEN]; in checkshbinmagic() local
143 if (error = vn_rdwr(UIO_READ, vp, linep, sizeof (linep), (offset_t)0, in checkshbinmagic()
147 if (memcmp(linep, shbinmagicstr, SHBINMAGIC_LEN) != 0) in checkshbinmagic()
/illumos-gate/usr/src/uts/common/exec/intp/
H A Dintp.c107 char *cp, *linep = idatap->intp; in getintphead() local
113 if (error = vn_rdwr(UIO_READ, vp, linep, INTPSZ, (offset_t)0, in getintphead()
116 if (resid > INTPSZ-2 || linep[0] != '#' || linep[1] != '!') in getintphead()
121 for (cp = &linep[2]; cp < &linep[INTPSZ] && *cp != '\n'; cp++) in getintphead()
124 if (cp >= &linep[INTPSZ]) in getintphead()
138 for (cp = &linep[2]; *cp == ' '; cp++) in getintphead()
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetservent.c79 while (*keyp && linep < limit && !isspace(*linep) && *keyp == *linep) { in check_name2()
91 while (linep < limit && !isspace(*linep)) in check_name2()
94 while (linep < limit && isspace(*linep)) in check_name2()
97 while (linep < limit && !isspace(*linep) && *linep != '/') in check_name2()
99 if (linep == limit || *linep != '/') in check_name2()
105 while (linep < limit && !isspace(*linep)) in check_name2()
126 while (linep < limit && isspace(*linep)) in check_name2()
236 while (linep < limit && isspace(*linep)) in check_port2()
241 while (linep < limit && !isspace(*linep) && *linep != '/') in check_port2()
243 if (linep == limit || *linep != '/') in check_port2()
[all …]
/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dgetprojent.c60 const char *linep, *limit, *end; in hash_projid() local
62 linep = line; in hash_projid()
69 while (linep < limit && *linep++ != ':'); in hash_projid()
70 if (linep == limit) in hash_projid()
74 end = linep; in hash_projid()
76 if (linep == end) in hash_projid()
100 linep = line; in check_projid()
104 while (linep < limit && *linep++ != ':'); in check_projid()
107 if (linep == limit || linep == line + 1) in check_projid()
111 end = linep; in check_projid()
[all …]
H A Dgetprotoent.c49 const char *limit, *linep; in check_addr() local
51 linep = line; in check_addr()
55 while (linep < limit && !isspace(*linep)) in check_addr()
56 linep++; in check_addr()
58 while (linep < limit && isspace(*linep)) in check_addr()
59 linep++; in check_addr()
60 if (linep == limit) in check_addr()
62 proto = (int)strtol(linep, NULL, 10); in check_addr()
H A Dgetrpcent.c49 const char *limit, *linep; in check_rpcnum() local
51 linep = line; in check_rpcnum()
55 while (linep < limit && !isspace(*linep)) in check_rpcnum()
56 linep++; in check_rpcnum()
58 while (linep < limit && isspace(*linep)) in check_rpcnum()
59 linep++; in check_rpcnum()
60 if (linep == limit) in check_rpcnum()
62 r_number = (int)strtol(linep, NULL, 10); in check_rpcnum()
H A Dgetspent.c35 const char *linep = line; in check_spnamp() local
41 while (*keyp && linelen-- && *keyp == *linep) { in check_spnamp()
43 linep++; in check_spnamp()
45 return (linelen && *keyp == '\0' && *linep == ':'); in check_spnamp()
H A Dnetmasks.c52 const char *limit, *linep, *addrstart; in check_addr() local
57 linep = line; in check_addr()
61 while (linep < limit && isspace(*linep)) in check_addr()
62 linep++; in check_addr()
64 addrstart = linep; in check_addr()
65 while (linep < limit && !isspace(*linep)) in check_addr()
66 linep++; in check_addr()
67 if (linep == limit) in check_addr()
69 addrlen = linep - addrstart; in check_addr()
H A Dtsol_getrhent.c38 const char *limit, *linep, *keyp; in check_addr() local
42 linep = line; in check_addr()
47 if (strstr(linep, "\\:") != NULL) in check_addr()
61 while (*keyp && linep < limit && *keyp == *linep) { in check_addr()
62 if ((ipv6 == 0 && *linep == ':') || in check_addr()
63 (ipv6 == 1 && prev != '\\' && *linep == ':')) in check_addr()
66 prev = *linep; in check_addr()
68 linep++; in check_addr()
70 if (*keyp == '\0' && linep < limit && ((ipv6 == 0 && *linep == ':') || in check_addr()
71 (ipv6 == 1 && prev != '\\' && *linep == ':'))) in check_addr()
H A Dtsol_gettpent.c37 const char *limit, *linep, *keyp; in check_name() local
39 linep = line; in check_name()
44 while (*keyp && linep < limit && *linep != ':' && *keyp == *linep) { in check_name()
46 linep++; in check_name()
48 if (*keyp == '\0' && linep < limit && *linep == ':') in check_name()
H A Dgetservent.c48 while (*keyp && linep < limit && !isspace(*linep) && *keyp == *linep) { in check_name()
60 while (linep < limit && !isspace(*linep)) in check_name()
63 while (linep < limit && isspace(*linep)) in check_name()
66 while (linep < limit && !isspace(*linep) && *linep != '/') in check_name()
68 if (linep == limit || *linep != '/') in check_name()
74 while (linep < limit && !isspace(*linep)) in check_name()
95 while (linep < limit && isspace(*linep)) in check_name()
140 while (linep < limit && isspace(*linep)) in check_port()
145 while (linep < limit && !isspace(*linep) && *linep != '/') in check_port()
147 if (linep == limit || *linep != '/') in check_port()
[all …]
H A Dgetnetent.c52 const char *limit, *linep, *addrstart; in check_addr() local
57 linep = line; in check_addr()
61 while (linep < limit && !isspace(*linep)) in check_addr()
62 linep++; in check_addr()
64 while (linep < limit && isspace(*linep)) in check_addr()
65 linep++; in check_addr()
66 if (linep == limit) in check_addr()
69 addrstart = linep; in check_addr()
70 while (linep < limit && !isspace(*linep)) in check_addr()
71 linep++; in check_addr()
[all …]
H A Dgetprinter.c42 const char *limit, *linep; in check_name() local
46 linep = line; in check_name()
52 while (linep+klen < limit && *linep != '|' && *linep != ':') { in check_name()
53 if ((strncmp(linep, keyp, klen) == 0) && in check_name()
54 ((*(linep + klen) == '|') || (*(linep + klen) == ':'))) { in check_name()
57 while (linep < limit && *linep != '|' && *linep != ':') in check_name()
58 linep++; in check_name()
59 if (linep >= limit || *linep == ':') in check_name()
61 if (*linep == '|') in check_name()
62 linep++; in check_name()
H A Dether_addr.c58 while (linep < limit && isspace(*linep)) in check_host()
59 linep++; in check_host()
61 while (linep < limit && !isspace(*linep)) in check_host()
62 linep++; in check_host()
64 while (linep < limit && isspace(*linep)) in check_host()
65 linep++; in check_host()
73 linep++; in check_host()
119 while (linep < limit && isspace(*linep)) in check_ether()
120 linep++; in check_ether()
124 while (linep < limit && isxdigit(*linep)) { in check_ether()
[all …]
/illumos-gate/usr/src/lib/libnsl/nis/gen/
H A Dnis_sec_mechs.c303 parse_line(char *linep, int minflds, int maxflds, int bufsiz) in parse_line() argument
305 char **fpp = calloc(maxflds, sizeof (linep)); in parse_line()
320 if (!nextfield(&linep, cp, bufsiz)) { in parse_line()
/illumos-gate/usr/src/lib/libnsl/netselect/
H A Dnetselect.c324 char linep[BUFSIZ]; /* pointer to a line in the file */ in fgetnetconfig() local
331 while (retvalp = fgets(linep, BUFSIZ, fp)) { in fgetnetconfig()
333 if (!(blank(linep) || comment(linep))) { in fgetnetconfig()
343 if ((entnetid = gettoken(linep, FALSE)) == NULL) { in fgetnetconfig()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Ddsparse.c41 static int next_line( char **bufp, long *blenp, char **linep );
95 next_line( char **bufp, long *blenp, char **linep ) in next_line() argument
132 *linep = NULL; in next_line()
137 *linep = NULL; in next_line()
143 *linep = line; in next_line()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnsparse.c158 if (*linep == '\0' || *linep == '\n') { in _nsw_getoneconfig_v1()
184 if (!islabel(*linep)) in _nsw_getoneconfig_v1()
287 if (*linep == '\0' || *linep == '\n') in _nsw_getoneconfig_v1()
291 linep = p; in _nsw_getoneconfig_v1()
353 if (*linep == '\0' || *linep == '\n') { in _nsw_getoneconfig()
448 if (*linep == '\0' || *linep == '\n') in _nsw_getoneconfig()
452 linep = p; in _nsw_getoneconfig()
520 char *linep; in __nsw_getconfig_v1() local
564 if ((*linep == '\0') || isspace(*linep)) { in __nsw_getconfig_v1()
621 char *linep; in __nsw_getconfig() local
[all …]
/illumos-gate/usr/src/lib/fm/libdiskstatus/common/
H A Dds_util.c57 char *linep; in ddump() local
67 linep = linebuf; in ddump()
75 linep += len; in ddump()
87 linep += len; in ddump()
91 *linep = '-'; in ddump()
96 ++linep; in ddump()
111 linep++; in ddump()
117 *linep = ' '; in ddump()
119 ++linep; in ddump()
128 *linep = ch; in ddump()
[all …]
/illumos-gate/usr/src/cmd/line/
H A Dline.c52 char *linep, *linend; in main() local
55 linep = line; in main()
59 if (linep == linend) { in main()
61 linep = line; in main()
63 *linep++ = c; in main()
67 (void) write(1, line, linep-line); in main()

12