/freebsd-11-stable/contrib/binutils/libiberty/ |
H A D | make-relative-prefix.c | 242 char *startp, *endp, *nstore; local 249 startp = endp = temp; 252 if (*endp == PATH_SEPARATOR || *endp == 0) 254 if (endp == startp) 262 strncpy (nstore, startp, endp - startp); 263 if (! IS_DIR_SEPARATOR (endp[-1])) 265 nstore[endp - startp] = DIR_SEPARATOR; 266 nstore[endp - startp + 1] = 0; 269 nstore[endp [all...] |
/freebsd-11-stable/lib/libc/stdio/ |
H A D | getdelim.c | 112 u_char *endp; local 136 while ((endp = memchr(fp->_p, delim, fp->_r)) == NULL) { 145 endp++; /* snarf the delimiter, too */ 146 if (sappend(linep, &linelen, linecapp, fp->_p, endp - fp->_p)) 148 fp->_r -= endp - fp->_p; 149 fp->_p = endp;
|
H A D | printfcommon.h | 165 __ultoa(u_long val, CHAR *endp, int base, int octzero, const char *xdigs) argument 167 CHAR *cp = endp; 221 __ujtoa(uintmax_t val, CHAR *endp, int base, int octzero, const char *xdigs) argument 223 CHAR *cp = endp; 229 return (__ultoa((u_long)val, endp, base, octzero, xdigs));
|
/freebsd-11-stable/usr.sbin/rtprio/ |
H A D | rtprio.c | 131 char *endp; local 135 res = strtol(str, &endp, 10); 136 if (errno != 0 || endp == str || *endp != '\0')
|
/freebsd-11-stable/lib/libc/inet/ |
H A D | inet_net_pton.c | 268 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local 279 endp = tp + NS_IN6ADDRSZ; 313 if (tp + NS_INT16SZ > endp) 322 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && 334 if (tp + NS_INT16SZ > endp) 347 endp = tmp + 2 * words; 357 if (tp == endp) 360 endp[- i] = colonp[n - i]; 363 tp = endp; 365 if (tp != endp) [all...] |
H A D | inet_cidr_pton.c | 157 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local 164 endp = tp + NS_IN6ADDRSZ; 197 if (tp + NS_INT16SZ > endp) 205 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && 220 if (tp + NS_INT16SZ > endp) 233 if (tp == endp) 236 endp[- i] = colonp[n - i]; 239 tp = endp;
|
/freebsd-11-stable/contrib/tcpdump/ |
H A D | print-cdp.c | 283 const u_char *endp = p + l; local 289 if (p + 4 > endp) 294 while (p < endp && num >= 0) { 296 if (p + 2 > endp) 303 if (p + pl + 2 > endp) 316 if (p + 4 > endp) 331 if (p + al > endp) 342 if (p + pl > endp) 348 if (p + 2 > endp) 354 if (p + al > endp) [all...] |
/freebsd-11-stable/usr.sbin/ugidfw/ |
H A D | ugidfw.c | 143 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-11-stable/sbin/ifconfig/ |
H A D | ifvlan.c | 133 char *endp; local 135 ul = strtoul(val, &endp, 0); 136 if (*endp != '\0') 162 char *endp; local 164 ul = strtoul(val, &endp, 0); 165 if (*endp != '\0')
|
/freebsd-11-stable/contrib/ntp/libntp/ |
H A D | decodenetnum.c | 104 char * endp = strchr(++haddr, ']'); local 105 if (endp) { 106 port = _num_or_dflt(_skip(_chop(endp), ':'),
|
/freebsd-11-stable/contrib/ntp/include/ |
H A D | vint64ops.h | 26 extern vint64 strtouv64(const char * begp, char ** endp, int base);
|
/freebsd-11-stable/contrib/less/ |
H A D | regexp.h | 14 char *endp[NSUBEXP]; member in struct:regexp
|
/freebsd-11-stable/lib/libc/tests/stdio/ |
H A D | scanfloat_test.c | 285 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-11-stable/lib/libc/posix1e/ |
H A D | acl_from_text.c | 279 char *endp; local 285 l = strtoul(name, &endp, 0); 286 if (*endp != '\0' || l != (unsigned long)(uid_t)l) { 299 l = strtoul(name, &endp, 0); 300 if (*endp != '\0' || l != (unsigned long)(gid_t)l) {
|
/freebsd-11-stable/contrib/groff/src/preproc/refer/ |
H A D | ref.cpp | 547 const char **endp) 557 *endp = token_start; 566 *endp = end; 883 const char *find_year(const char *start, const char *end, const char **endp) argument 896 *endp = ptr; 905 const char **endp) 921 *endp = ptr; 991 const char *reference::get_year(const char **endp) const 997 return find_year(start, end, endp); 1003 const char *reference::get_field(unsigned char c, const char **endp) cons 546 find_last_name(const char *start, const char *end, const char **endp) argument 904 find_day(const char *start, const char *end, const char **endp) argument 1020 nth_field(int i, const char *start, const char **endp) argument [all...] |
/freebsd-11-stable/contrib/wpa/src/fst/ |
H A D | fst_ctrl_iface.c | 559 char *endp; local 566 if (fst_read_next_text_param(params, ifname, sizeof(ifname), &endp) || 570 while (isspace(*endp)) 571 endp++; 572 if (fst_read_peer_addr(endp, peer_addr)) 821 int fst_read_next_int_param(const char *params, Boolean *valid, char **endp) argument 827 *endp = (char *) params; 830 ret = (int) strtol(curp, endp, 0); 831 if (!**endp || isspace(**endp)) 839 fst_read_next_text_param(const char *params, char *buf, size_t buflen, char **endp) argument 889 char *endp; local 927 char *endp; local [all...] |
/freebsd-11-stable/contrib/nvi/ex/ |
H A D | ex_script.c | 198 char *endp, *p, *t, buf[1024]; local 210 endp = buf; 230 more: len = sizeof(buf) - (endp - buf); 231 switch (nr = read(sc->sh_master, endp, len)) { 239 endp += nr; 244 for (p = t = buf; p < endp; ++p) { 255 memmove(buf, t, endp - t); 256 endp = buf + (endp - t); 258 if (endp 425 char *endp, *p, *t; local [all...] |
/freebsd-11-stable/usr.sbin/bluetooth/l2ping/ |
H A D | l2ping.c | 71 char *endp, *rname; local 107 count = strtol(optarg, &endp, 10); 108 if (count <= 0 || *endp != '\0') 117 wait = strtol(optarg, &endp, 10); 118 if (wait <= 0 || *endp != '\0') 136 echo_size = strtol(optarg, &endp, 10); 139 *endp != '\0')
|
/freebsd-11-stable/sys/dev/usb/controller/ |
H A D | uhci.h | 121 #define UHCI_TD_SETUP(len, endp, dev) (UHCI_TD_SET_MAXLEN(len) | \ 122 UHCI_TD_SET_ENDPT(endp) | \ 126 #define UHCI_TD_OUT(len, endp, dev, dt) (UHCI_TD_SET_MAXLEN(len) | \ 127 UHCI_TD_SET_ENDPT(endp) | \ 131 #define UHCI_TD_IN(len, endp, dev, dt) (UHCI_TD_SET_MAXLEN(len) | \ 132 UHCI_TD_SET_ENDPT(endp) | \
|
/freebsd-11-stable/contrib/apr-util/buckets/ |
H A D | apr_buckets_alloc.c | 161 char *endp; local 170 endp = active->first_avail + SMALL_NODE_SIZE; 171 if (endp >= active->endp) { 179 endp = active->first_avail + SMALL_NODE_SIZE; 185 active->first_avail = endp;
|
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | netgraph.c | 422 * ending with any character from ``sep''. Point ``endp'' at the next 426 #define GETSEGMENT(what, from, sep, endp) \ 427 getsegment(#what, (what), sizeof(what), from, sep, endp) 431 const char *sep, const char **endp) 448 *endp = from + len; 449 *endp += strspn(*endp, sep); 467 const char *devp, *endp; local 511 if (!GETSEGMENT(hook, devp, ".[", &endp)) 514 devp = endp; 430 getsegment(const char *what, char *word, size_t sz, const char *from, const char *sep, const char **endp) argument [all...] |
/freebsd-11-stable/contrib/subversion/subversion/libsvn_diff/ |
H A D | diff_file.c | 87 char *endp; /* next memory address after the current chunk */ member in struct:svn_diff__file_baton_t::file_info 235 * curp equal to endp to indicate EOF. */ 242 if ((all_files)[svn_macro__i].curp < (all_files)[svn_macro__i].endp - 1)\ 282 /* We are at the last chunk. Indicate EOF by setting curp == endp. */ 283 file->curp = file->endp; 294 file->endp = file->buffer + length; 308 by setting chunk = -1 and curp = endp - 1. Both conditions are 312 file->curp = file->endp - 1; 321 file->endp = file->buffer + CHUNK_SIZE; 322 file->curp = file->endp 861 char *endp; local 2015 char *endp[3]; member in struct:svn_diff3__file_output_baton_t 2140 char *endp; local [all...] |
/freebsd-11-stable/contrib/nvi/regex/ |
H A D | engine.c | 75 const RCHAR_T *endp; /* end of string -- virtual NUL here */ member in struct:match 135 const RCHAR_T *endp; local 175 m->endp = stop; 185 endp = fast(m, start, stop, gf, gl); 186 if (endp == NULL) { /* a miss */ 197 endp = slow(m, m->coldp, stop, gf, gl); 198 if (endp != NULL) 200 assert(m->coldp < m->endp); 218 dp = dissect(m, m->coldp, endp, gf, gl); 229 dp = backref(m, m->coldp, endp, g [all...] |
/freebsd-11-stable/lib/libc/regex/ |
H A D | engine.c | 86 const char *endp; /* end of string -- virtual NUL here */ member in struct:match 154 const char *endp; local 235 m->endp = stop; 252 endp = walk(m, start, stop, gf, gl, true); 253 if (endp == NULL) { /* a miss */ 268 endp = walk(m, m->coldp, stop, gf, gl, false); 269 if (endp != NULL) 271 assert(m->coldp < m->endp); 273 m->endp - m->coldp, &m->mbs, 0); 290 dp = dissect(m, m->coldp, endp, g [all...] |
/freebsd-11-stable/stand/uboot/common/ |
H A D | main.c | 212 char *endp; local 264 *unit = strtol(p, &endp, 10); 265 p = endp; 292 *slice = strtoul(p, &endp, 10); 295 if (p == endp) { 302 p = endp; 322 *partition = strtol(p, &endp, 10); 323 p = endp; 326 if (*endp == '\0')
|