/curl/lib/ |
H A D | inet_pton.c | 162 unsigned char tmp[IN6ADDRSZ], *tp, *endp, *colonp; in inet_pton6() local 168 endp = tp + IN6ADDRSZ; in inet_pton6() 199 if(tp + INT16SZ > endp) in inet_pton6() 207 if(ch == '.' && ((tp + INADDRSZ) <= endp) && in inet_pton6() 216 if(tp + INT16SZ > endp) in inet_pton6() 229 if(tp == endp) in inet_pton6() 232 *(endp - i) = *(colonp + n - i); in inet_pton6() 235 tp = endp; in inet_pton6() 237 if(tp != endp) in inet_pton6()
|
H A D | strtoofft.c | 212 CURLofft curlx_strtoofft(const char *str, char **endp, int base, in curlx_strtoofft() argument 224 if(endp) in curlx_strtoofft() 225 *endp = (char *)str; /* did not actually move */ in curlx_strtoofft() 229 if(endp) in curlx_strtoofft() 230 *endp = end; in curlx_strtoofft()
|
H A D | strtoofft.h | 51 CURLofft curlx_strtoofft(const char *str, char **endp, int base,
|
H A D | parsedate.c | 299 static int oneortwodigit(const char *date, const char **endp) in oneortwodigit() argument 303 *endp = &date[2]; in oneortwodigit() 306 *endp = &date[1]; in oneortwodigit() 313 int *h, int *m, int *s, char **endp) in match_time() argument 339 *endp = (char *)p; in match_time()
|
H A D | rtsp.c | 922 char *endp; in Curl_rtsp_parseheader() local 926 CSeq = strtol(p, &endp, 10); in Curl_rtsp_parseheader() 927 if(p != endp) { in Curl_rtsp_parseheader() 1007 char *endp; in rtsp_parse_transport() local 1009 chan1 = strtol(p, &endp, 10); in rtsp_parse_transport() 1010 if(p != endp && chan1 >= 0 && chan1 <= 255) { in rtsp_parse_transport() 1013 if(*endp == '-') { in rtsp_parse_transport() 1014 p = endp + 1; in rtsp_parse_transport() 1015 chan2 = strtol(p, &endp, 10); in rtsp_parse_transport() 1016 if(p == endp || chan2 < 0 || chan2 > 255) { in rtsp_parse_transport()
|
H A D | http_aws_sigv4.c | 265 char *endp; in make_headers() local 274 endp = value; in make_headers() 275 while(*endp && ISALNUM(*endp)) in make_headers() 276 ++endp; in make_headers() 278 if((endp - value) == TIMESTAMP_SIZE - 1) { in make_headers()
|
H A D | hsts.c | 165 char *endp; in Curl_hsts_parse() local 182 offt = curlx_strtoofft(p, &endp, 10, &expires); in Curl_hsts_parse() 188 p = endp; in Curl_hsts_parse()
|
H A D | urlapi.c | 680 char *endp = NULL; in ipv4_normalize() local 685 l = strtoul(c, &endp, 0); in ipv4_normalize() 695 c = endp; in ipv4_normalize() 885 const char *endp = &input[clen]; in dedotdotify() local 986 } while(input < endp); in dedotdotify() 1821 char *endp; in curl_url_set() local 1824 port = strtoul(part, &endp, 10); /* must be decimal */ in curl_url_set() 1825 if(errno || (port > 0xffff) || *endp) in curl_url_set()
|
H A D | url.c | 1687 char *endp; local 1688 unsigned long scope = strtoul(zoneid, &endp, 10); 1689 if(!*endp && (scope < UINT_MAX)) 2895 char *endp = NULL; local 2899 long portparse = strtol(host_portno, &endp, 10); 2900 if((endp && *endp) || (portparse < 0) || (portparse > 65535)) { 2978 char *endp = NULL; local 2979 long port_to_match = strtol(ptr, &endp, 10); 2980 if((endp == ptr_next) && (port_to_match == conn->remote_port)) {
|
H A D | ftp.c | 1760 char *endp; in match_pasv_6nums() local 1768 num = strtoul(p, &endp, 10); in match_pasv_6nums() 1772 p = endp; in match_pasv_6nums() 1805 char *endp; in ftp_state_pasv_resp() local 1806 unsigned long num = strtoul(&ptr[3], &endp, 10); in ftp_state_pasv_resp() 1807 if(*endp != sep) in ftp_state_pasv_resp()
|
/curl/src/ |
H A D | tool_urlglob.c | 214 char *endp; in glob_range() local 217 if(errno || &pattern[4] == endp || *endp != ']') in glob_range() 254 char *endp; in glob_range() local 272 endp = NULL; in glob_range() 274 if(*endp != '-') in glob_range() 275 endp = NULL; in glob_range() 281 endp = NULL; in glob_range() 288 endp = NULL; in glob_range() 295 endp = NULL; in glob_range() 299 if(endp && (*endp == ']')) { in glob_range() [all …]
|
H A D | tool_getparam.c | 963 char *endp; in set_rate() local 965 if(curlx_strtoofft(&div[1], &endp, 10, &numunits)) { in set_rate() 967 if(endp == &div[1]) in set_rate() 974 unit = *endp; in set_rate()
|
/curl/tests/http/testenv/mod_curltest/ |
H A D | mod_curltest.c | 102 char *endp; in duration_parse() local 105 n = apr_strtoi64(value, &endp, 10); in duration_parse() 109 if(!endp || !*endp) { in duration_parse() 113 else if(endp == value) { in duration_parse() 117 def_unit = endp; in duration_parse()
|
/curl/tests/server/ |
H A D | sws.c | 504 char *endp; in ProcessRequest() local 505 part = strtoul(p, &endp, 16); in ProcessRequest() 507 p = endp; in ProcessRequest()
|