Searched defs:endp (Results 1 - 25 of 153) 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.c35 const char *endp; local
51 endp = path + strlen(path) - 1;
52 while (endp > path && *endp == '/')
53 endp--;
56 while (endp > path && *endp != '/')
57 endp--;
60 if (endp == path) {
61 dname[0] = *endp
[all...]
H A Dbasename_compat.c34 const char *endp, *startp; local
45 endp = path + strlen(path) - 1;
46 while (endp > path && *endp == '/')
47 endp--;
50 if (endp == path && *endp == '/') {
57 startp = endp;
61 len = endp - startp + 1;
/freebsd-head/usr.sbin/pw/
H A Dstrtounum.c41 char *endp; local
51 ret = strtoumax(np, &endp, 10);
52 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/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/contrib/apr/include/
H A Dapr_allocator.h60 char *endp; /**< pointer to end of free memory */ member in struct:apr_memnode_t
/freebsd-head/contrib/bmake/
H A Ddirname.c63 const char *endp; local
77 endp = path + strlen(path) - 1;
78 while (endp != path && *endp == '/')
79 endp--;
82 while (endp > path && *endp != '/')
83 endp--;
85 if (endp == path) {
86 path = *endp
[all...]
/freebsd-head/sys/arm64/coresight/
H A Dcoresight.c70 struct endpoint *endp; local
75 TAILQ_FOREACH(endp, &pdata->endpoints, link) {
76 if (endp->input == 0)
77 return (endp);
84 coresight_get_output_device(struct endpoint *endp, struct endpoint **out_endp) argument
96 if (endp->their_node == endp2->my_node) {
105 if (endp->their_handle == endp2->my_handle) {
H A Dcoresight_cmd.c54 struct endpoint *endp; local
56 TAILQ_FOREACH(endp, &cs_dev->pdata->endpoints, link) {
57 if (endp->input != 0)
60 out = coresight_get_output_device(endp, &out_endp);
64 endp->cs_dev = cs_dev;
65 LIST_INSERT_HEAD(&event->endplist, endp,
100 struct endpoint *endp; local
120 LIST_FOREACH(endp, &event->endplist, endplink) {
121 cs_dev = endp->cs_dev;
132 struct endpoint *endp; local
144 struct endpoint *endp; local
155 struct endpoint *endp; local
[all...]
H A Dcoresight_funnel.c79 funnel_enable(device_t dev, struct endpoint *endp, argument
92 reg |= (1 << endp->reg);
99 funnel_disable(device_t dev, struct endpoint *endp, argument
110 reg &= ~(1 << endp->reg);
H A Dcoresight_replicator.c67 replicator_enable(device_t dev, struct endpoint *endp, argument
75 if (endp->reg == 0) {
87 replicator_disable(device_t dev, struct endpoint *endp, argument
H A Dcoresight_etm4x.c195 etm_enable(device_t dev, struct endpoint *endp, argument
220 etm_disable(device_t dev, struct endpoint *endp, argument
H A Dcoresight_fdt.c59 struct endpoint *endp; local
86 endp = malloc(sizeof(struct endpoint),
88 endp->my_node = endpoint_child;
89 endp->their_node = OF_node_from_xref(xref);
90 endp->dev_node = dev_node;
91 endp->reg = port_reg;
95 endp->input = 1;
101 endp, link);
/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;

Completed in 124 milliseconds

1234567