Searched refs:endp (Results 1 - 25 of 108) sorted by relevance

12345

/opensolaris-onvv-gate/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Ddirname.c46 register const char *endp; local
55 endp = path + strlen(path) - 1;
56 while (endp > path && *endp == '/')
57 endp--;
60 while (endp > path && *endp != '/')
61 endp--;
64 if (endp == path) {
65 (void)strlcpy(bname, *endp
[all...]
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_http.c60 static int printable(const char *line, const char *endp);
65 char *p, *q, *endp; local
69 endp = line + fraglen;
72 c = printable(line, endp - 1);
87 for (p = line; p < endp && lineno < NLINES; p = q + 1) {
88 c = printable(p, endp - 1);
99 q = memchr(p, CR, (endp - p));
101 if (q < endp - 1 && q[1] == LF)
104 q = memchr(p, LF, (endp - p));
107 q = endp
133 printable(const char *startp, const char *endp) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/man/src/util/instant.src/tptregexp/
H A Dtptregexp.h12 char *endp[NSUBEXP]; member in struct:regexp
H A Dregsub.c71 } else if (prog->startp[no] != NULL && prog->endp[no] != NULL) {
72 len = prog->endp[no] - prog->startp[no];
/opensolaris-onvv-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_ctxbuf.c63 ctx->endp = &buf[buflen];
81 ctx->curp == 0 || ctx->endp == 0)
107 ctx->curp == 0 || ctx->endp == 0)
112 n = vsnprintf((char *)ctx->curp, ctx->endp-ctx->curp, fmt, args);
/opensolaris-onvv-gate/usr/src/lib/libnsl/nss/
H A Dinet_pton.c141 uchar_t tmp[IN6ADDRSZ], *tp, *endp, *colonp; local
147 endp = tp + IN6ADDRSZ;
179 if (tp + INT16SZ > endp)
187 if (ch == '.' && ((tp + INADDRSZ) <= endp) &&
196 if (tp + INT16SZ > endp)
209 if (tp == endp)
212 endp[- i] = colonp[n - i];
215 tp = endp;
217 if (tp != endp)
/opensolaris-onvv-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_mkupdate.c84 u_char *cp, *sp2, *startp, *endp; local
207 endp = startp + rrecp->r_size - 1;
211 if (!getword_str(buf2, sizeof buf2, &startp, endp))
226 if (!getword_str(buf2, sizeof buf2, &startp, endp))
239 endp))
259 soanum = getnum_str(&startp, endp);
275 n = getnum_str(&startp, endp);
280 if (!getword_str(buf2, sizeof buf2, &startp, endp))
289 n = getnum_str(&startp, endp);
295 n = getnum_str(&startp, endp);
721 getword_str(char *buf, int size, u_char **startpp, u_char *endp) argument
751 getstr_str(char *buf, int size, u_char **startpp, u_char *endp) argument
829 gethexnum_str(u_char **startpp, u_char *endp) argument
877 getnum_str(u_char **startpp, u_char *endp) argument
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/inet/ip/
H A Dipcsum.c77 uint8_t *endp = mp->b_wptr; local
93 if ((endp - startp) < 10) {
95 while ((endp - startp) >= 2) {
100 if ((endp - startp) >= 1) {
120 if ((uint32_t)endp & 0x1) {
123 endp--;
124 sum += NEXT_ONE(endp);
126 if ((uint32_t)endp & 0x2) {
128 endp -= 2;
129 sum += NEXT_TWO(endp);
[all...]
/opensolaris-onvv-gate/usr/src/cmd/ypcmd/
H A Dstdhosts.c237 char *endp; /* Points to the NULL at the end */ local
261 if ((endp = strchr(value, '#')) == 0) /* Ignore # comments */
262 endp = p + strlen(p); /* Or endp = EOL */
269 while ((p < endp) && isspace((unsigned char)*p))
272 if (p == endp) /* End of the string */
287 while ((p < endp) && !isspace((unsigned char)*p))
310 if (p < endp)
313 } while (p < endp);
/opensolaris-onvv-gate/usr/src/lib/libgss/
H A Dg_initialize.c714 char buffer[BUFSIZ], *oidStr, *oid, *sharedLib, *kernMod, *endp; local
757 for (endp = oid; *endp && !isspace(*endp); endp++)
760 if (*endp) {
761 *endp = '\0';
786 for (sharedLib = endp+1; *sharedLib && isspace(*sharedLib);
803 for (endp = sharedLib; *endp
[all...]
/opensolaris-onvv-gate/usr/src/cmd/dispadmin/
H A Dfssdispadmin.c68 char *endp; local
94 res = strtoul(optarg, &endp, 10);
95 if (res == 0 || errno != 0 || *endp != '\0')
203 char *endp; local
230 i = (int)strtol(value, &endp, 10);
231 if (errno != 0 || endp == value ||
232 i < 0 || *endp != '\0')
240 i = (int)strtol(value, &endp, 10);
241 if (errno != 0 || endp == value ||
242 i < 0 || *endp !
[all...]
H A Dfxdispadmin.c71 char *endp; local
97 res = strtoul(optarg, &endp, 10);
98 if (res == 0 || errno != 0 || *endp != '\0')
233 char *endp; local
278 i = (int)strtol(value, &endp, 10);
279 if (errno != 0 || endp == value ||
280 i < 0 || *endp != '\0')
/opensolaris-onvv-gate/usr/src/lib/fm/libdiagcode/common/
H A Ddiagcode_test.c201 char *endp; local
218 if ((endp = strchr(beginp, ' ')) != NULL) {
219 *endp++ = '\0';
220 beginp = endp;
355 char *endp; local
361 if ((endp = strchr(linebuf, '\n')) != NULL)
362 *endp = '\0';
367 if ((endp = strchr(beginp, ':')) != NULL) {
368 *endp++ = '\0';
369 beginp = endp;
[all...]
/opensolaris-onvv-gate/usr/src/lib/libresolv2/common/inet/
H A Dinet_net_pton.c266 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local
277 endp = tp + NS_IN6ADDRSZ;
311 if (tp + NS_INT16SZ > endp)
320 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) &&
332 if (tp + NS_INT16SZ > endp)
345 endp = tmp + 2 * words;
355 if (tp == endp)
358 endp[- i] = colonp[n - i];
361 tp = endp;
363 if (tp != endp)
[all...]
H A Dinet_cidr_pton.c155 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local
162 endp = tp + NS_IN6ADDRSZ;
195 if (tp + NS_INT16SZ > endp)
203 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) &&
218 if (tp + NS_INT16SZ > endp)
231 if (tp == endp)
234 endp[- i] = colonp[n - i];
237 tp = endp;
/opensolaris-onvv-gate/usr/src/lib/libdladm/common/
H A Dflowattr.c82 char *prefix_str, *endp = NULL; local
93 prefix_len = (int)strtol(prefix_str, &endp, 10);
94 if (errno != 0 || prefix_len == 0 || *endp != '\0')
172 char *endp = NULL; local
175 val = strtol(attr_val, &endp, 10);
176 if (val < 1 || val > MAX_PORT || *endp != '\0')
295 char *mask_str, *endp = NULL; local
301 mask = strtoul(mask_str, &endp, 16);
303 *endp != '\0')
307 endp
[all...]
/opensolaris-onvv-gate/usr/src/lib/libtnfctl/
H A Dkernel_int.h44 uintptr_t *rollbackp, uintptr_t *endp);
/opensolaris-onvv-gate/usr/src/uts/common/cpr/
H A Dcpr_stat.c275 cpr_time_t *startp, *shdnp, *endp; local
279 endp = &cpr_term.tm_cprboot_end;
281 cb_time = endp->tv_sec - startp->tv_sec;
283 cpr_tod_get(endp);
284 startp->tv_sec = endp->tv_sec - cb_time;
287 min_promtime > (endp->tv_sec - shdnp->tv_sec - cb_time))
288 min_promtime = endp->tv_sec - shdnp->tv_sec - cb_time;
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dmultilink.c202 char *p, *endp; local
208 i = strtol(p, &endp, 10);
209 if (endp != p && (*endp == 0 || *endp == ';')) {
337 char *p, *endp; local
348 i = strtol(str, &endp, 10);
349 if (endp == str) {
354 str = endp;
/opensolaris-onvv-gate/usr/src/cmd/ldmad/
H A Dmdesc_mutable.h56 _type *endp; \
75 (_chain).endp->nextp = (_nodep); \
77 (_chain).endp = (_nodep); \
/opensolaris-onvv-gate/usr/src/cmd/logger/
H A Dlogger.c128 char *p, *endp; local
226 endp = buf + buflen;
228 while (fgets(p, endp - p, stdin) != NULL) {
239 } else if (len < endp - p - 1) {
255 "Realloc endp-p=%d, len=%d, offset=%d, "
257 endp - p, len, offset, buflen);
264 endp = buf + buflen;
/opensolaris-onvv-gate/usr/src/cmd/ssh/libssh/common/
H A Dmisc.c212 char *endp; local
215 port = strtol(s, &endp, 0);
216 if (s == endp || *endp != '\0' ||
256 char *endp; local
266 secs = strtol(p, &endp, 10);
267 if (p == endp ||
272 switch (*endp++) {
274 endp--;
301 p = endp;
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/rpc/
H A Dclnt_clts.c1301 check_endpnt(struct endpnt *endp, struct endpnt **newp) argument
1303 *newp = endp;
1305 mutex_enter(&endp->e_lock);
1306 ASSERT(endp->e_ref >= 1);
1316 if ((endp->e_flags & ENDPNT_ESTABLISHED) &&
1317 (!(endp->e_flags & ENDPNT_BOUND) ||
1318 (endp->e_flags & ENDPNT_STALE))) {
1325 endp->e_flags &= ~(ENDPNT_ESTABLISHED |
1327 mutex_exit(&endp->e_lock);
1337 while (!(endp
1376 struct endpnt *endp = NULL; local
[all...]
/opensolaris-onvv-gate/usr/src/lib/pam_modules/unix_cred/
H A Dunix_cred.c95 const char *q, *endp; local
96 tmp = priv_str_to_set(str, ",", &endp);
98 if (endp == NULL)
101 /* Now remove the bad privilege endp points to */
102 q = strchr(endp, ',');
104 q = endp + strlen(endp);
110 (void) strncat(badp, endp, q - endp);
112 (void) memmove((void *)endp,
[all...]
/opensolaris-onvv-gate/usr/src/cmd/vrrpadm/
H A Dvrrpadm.c180 char *endp; local
210 conf.vvc_adver_int = (uint32_t)strtol(optarg, &endp, 0);
211 if ((*endp) != '\0' ||
223 conf.vvc_pri = strtol(optarg, &endp, 0);
224 if ((*endp) != '\0' || conf.vvc_pri < VRRP_PRI_MIN ||
246 conf.vvc_vrid = strtol(optarg, &endp, 0);
247 if ((*endp) != '\0' || conf.vvc_vrid < VRRP_VRID_MIN ||
341 char *endp; local
351 conf.vvc_adver_int = (uint32_t)strtol(optarg, &endp, 0);
352 if ((*endp) !
[all...]

Completed in 222 milliseconds

12345