Searched defs:endp (Results 1 - 25 of 160) sorted by relevance

1234567

/freebsd-head/crypto/openssh/openbsd-compat/
H A Ddirname.c33 const char *endp; local
43 endp = path + strlen(path) - 1;
44 while (endp > path && *endp == '/')
45 endp--;
48 while (endp > path && *endp != '/')
49 endp--;
52 if (endp == path) {
53 dname[0] = *endp
[all...]
H A Dbasename.c31 const char *endp, *startp; local
41 endp = path + strlen(path) - 1;
42 while (endp > path && *endp == '/')
43 endp--;
46 if (endp == path && *endp == '/') {
53 startp = endp;
57 len = endp - startp + 1;
H A Dbsd-closefrom.c73 char fdpath[PATH_MAX], *endp; local
82 fd = strtol(dent->d_name, &endp, 10);
83 if (dent->d_name != endp && *endp == '\0' &&
/freebsd-head/contrib/netbsd-tests/lib/libc/gen/posix_spawn/
H A Dh_spawn.c40 char *endp; local
46 ret = strtoul(argv[1], &endp, 10);
/freebsd-head/lib/libc/gen/
H A Ddirname_compat.c33 const char *endp; local
49 endp = path + strlen(path) - 1;
50 while (endp > path && *endp == '/')
51 endp--;
54 while (endp > path && *endp != '/')
55 endp--;
58 if (endp == path) {
59 dname[0] = *endp
[all...]
H A Dbasename_compat.c31 const char *endp, *startp; local
42 endp = path + strlen(path) - 1;
43 while (endp > path && *endp == '/')
44 endp--;
47 if (endp == path && *endp == '/') {
54 startp = endp;
58 len = endp - startp + 1;
/freebsd-head/usr.sbin/pw/
H A Dstrtounum.c41 char *endp; local
52 ret = strtoumax(np, &endp, 10);
53 if (endp == np || *endp != '\0') {
/freebsd-head/lib/libpathconv/
H A Dabs2rel.c47 * endp points the last position which is safe in the result buffer.
49 const char *endp = result + size - 1; local
75 if (rp > endp)
88 if (rp + 3 > endp)
94 if (rp > endp)
101 if (rp + strlen(branch + 1) > endp)
H A Drel2abs.c47 * endp points the last position which is safe in the result buffer.
49 const char *endp = result + size - 1; local
88 if (rp > endp)
124 if (rp + strlen(pp) > endp)
/freebsd-head/contrib/less/
H A Dregexp.h14 char *endp[NSUBEXP]; member in struct:regexp
/freebsd-head/contrib/apr/include/
H A Dapr_allocator.h60 char *endp; /**< pointer to end of free memory */ member in struct:apr_memnode_t
/freebsd-head/lib/libc/stdlib/
H A Dlsearch.c40 uint8_t *ep, *endp; local
43 for (endp = (uint8_t *)(ep + width * *nelp); ep < endp; ep += width) {
56 memcpy(endp, key, width);
59 return (endp);
/freebsd-head/usr.sbin/rtprio/
H A Drtprio.c131 char *endp; local
135 res = strtol(str, &endp, 10);
136 if (errno != 0 || endp == str || *endp != '\0')
/freebsd-head/sys/arm64/coresight/
H A Dcoresight-cmd.c54 struct endpoint *endp; local
56 TAILQ_FOREACH(endp, &cs_dev->pdata->endpoints, link) {
57 if (endp->slave != 0)
60 out = coresight_get_output_device(endp, &out_endp);
64 endp->cs_dev = cs_dev;
65 LIST_INSERT_HEAD(&event->endplist, endp,
97 struct endpoint *endp; local
117 LIST_FOREACH(endp, &event->endplist, endplink) {
118 cs_dev = endp->cs_dev;
129 struct endpoint *endp; local
141 struct endpoint *endp; local
152 struct endpoint *endp; local
[all...]
H A Dcoresight-dynamic-replicator.c82 replicator_enable(device_t dev, struct endpoint *endp, argument
90 if (endp->reg == 0) {
102 replicator_disable(device_t dev, struct endpoint *endp, argument
/freebsd-head/contrib/bmake/
H A Ddirname.c64 const char *endp; local
78 endp = path + strlen(path) - 1;
79 while (endp != path && *endp == '/')
80 endp--;
83 while (endp > path && *endp != '/')
84 endp--;
86 if (endp == path) {
87 path = *endp
[all...]
/freebsd-head/lib/libc/tests/stdio/
H A Dscanfloat_test.c285 char *endp; local
289 ATF_REQUIRE(strtod("0xy", &endp) == 0);
290 ATF_REQUIRE(strcmp("xy", endp) == 0);
294 ATF_REQUIRE(strtof("3.5e38", &endp) == FLT_MAX);
295 ATF_REQUIRE(strtod("2e308", &endp) == DBL_MAX);
297 ATF_REQUIRE(strtof("3.5e38", &endp) == INFINITY);
298 ATF_REQUIRE(strtod("2e308", &endp) == INFINITY);
300 ATF_REQUIRE(strtof("3.5e38", &endp) == FLT_MAX);
301 ATF_REQUIRE(strtod("2e308", &endp) == DBL_MAX);
303 ATF_REQUIRE(strtof("3.5e38", &endp)
[all...]
/freebsd-head/usr.sbin/ypldap/
H A Dentries.c46 char *endp; local
66 endp = linep;
76 memcpy(endp, ue->ue_line, len);
77 endp[strcspn(endp, ":")] = '\0';
79 ue->ue_line = endp;
80 endp += len;
104 endp = linep;
113 memcpy(endp, ge->ge_line, len);
114 endp[strcsp
[all...]
/freebsd-head/sbin/ifconfig/
H A Difvlan.c136 char *endp; local
138 ul = strtoul(val, &endp, 0);
139 if (*endp != '\0')
165 char *endp; local
167 ul = strtoul(val, &endp, 0);
168 if (*endp != '\0')
/freebsd-head/usr.sbin/chroot/
H A Dchroot.c66 char *endp, *p, *user, *group, *grouplist; local
106 gid = (gid_t)strtoul(group, &endp, 0);
107 if (*endp != '\0')
127 gidlist[gids] = (gid_t)strtoul(p, &endp, 0);
128 if (*endp != '\0')
144 uid = (uid_t)strtoul(user, &endp, 0);
145 if (*endp != '\0')
/freebsd-head/lib/libc/stdio/
H A Dgetdelim.c114 u_char *endp; local
138 while ((endp = memchr(fp->_p, delim, fp->_r)) == NULL) {
147 endp++; /* snarf the delimiter, too */
148 if (sappend(linep, &linelen, linecapp, fp->_p, endp - fp->_p))
150 fp->_r -= endp - fp->_p;
151 fp->_p = endp;
/freebsd-head/usr.sbin/ugidfw/
H A Dugidfw.c143 char *endp; local
148 value = strtol(argv[0], &endp, 10);
149 if (*endp != '\0')
176 char *endp; local
181 value = strtol(argv[0], &endp, 10);
182 if (*endp != '\0')
/freebsd-head/contrib/ldns/compat/
H A Dinet_pton.c154 uint8_t tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local
160 endp = tp + NS_IN6ADDRSZ;
190 if (tp + NS_INT16SZ > endp)
198 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) &&
207 if (tp + NS_INT16SZ > endp)
221 endp[- i] = colonp[n - i];
224 tp = endp;
226 if (tp != endp)
/freebsd-head/contrib/unbound/compat/
H A Dinet_pton.c154 uint8_t tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local
160 endp = tp + NS_IN6ADDRSZ;
190 if (tp + NS_INT16SZ > endp)
198 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) &&
207 if (tp + NS_INT16SZ > endp)
221 endp[- i] = colonp[n - i];
224 tp = endp;
226 if (tp != endp)
/freebsd-head/contrib/nvi/vi/
H A Dv_ch.c143 CHAR_T *endp, *p, *startp; local
166 endp = (startp = p) + len;
169 while (++p < endp && *p != key);
170 if (p == endp) {
225 CHAR_T *endp, *p; local
249 endp = p - 1;
252 while (--p > endp && *p != key);
253 if (p == endp) {
259 vp->m_stop.cno = (p - endp) - 1;

Completed in 342 milliseconds

1234567