/curl/src/ |
H A D | terminal.c | 50 char *endptr; in get_terminal_columns() local 51 long num = strtol(colp, &endptr, 10); in get_terminal_columns() 52 if((endptr != colp) && (endptr == colp + strlen(colp)) && (num > 20) && in get_terminal_columns()
|
H A D | tool_paramhlp.c | 168 char *endptr = NULL; in getnum() local 173 num = strtol(str, &endptr, base); in getnum() 176 if((endptr != str) && (*endptr == '\0')) { in getnum() 259 char *endptr; in str2double() local 262 num = strtod(str, &endptr); in str2double() 269 if((endptr != str) && (endptr == str + strlen(str))) { in str2double() 505 char *endptr; in str2offset() local 512 CURLofft offt = curlx_strtoofft(str, &endptr, 10, val); in str2offset() 520 *val = strtol(str, &endptr, 0); in str2offset() 524 if((endptr != str) && (endptr == str + strlen(str))) in str2offset()
|
H A D | tool_main.c | 125 char *endptr; in memory_tracking_init() local 126 long num = strtol(env, &endptr, 10); in memory_tracking_init() 127 if((endptr != env) && (endptr == env + strlen(env)) && (num > 0)) in memory_tracking_init()
|
/curl/lib/ |
H A D | strtoofft.c | 79 static curl_off_t strtooff(const char *nptr, char **endptr, int base) in strtooff() argument 103 if(endptr) { in strtooff() 104 *endptr = end; in strtooff() 157 if(endptr) in strtooff() 158 *endptr = end; in strtooff()
|
H A D | noproxy.c | 148 char *endptr; in Curl_check_noproxy() local 150 endptr = strchr(name, ']'); in Curl_check_noproxy() 151 if(!endptr) in Curl_check_noproxy() 154 namelen = endptr - name; in Curl_check_noproxy()
|
H A D | ftplistparser.c | 443 char *endptr = mem + 6; in Curl_ftp_parselist() local 446 while(ISBLANK(*endptr)) in Curl_ftp_parselist() 447 endptr++; in Curl_ftp_parselist() 448 while(ISDIGIT(*endptr)) in Curl_ftp_parselist() 449 endptr++; in Curl_ftp_parselist() 450 if(*endptr) { in Curl_ftp_parselist() 955 char *endptr; in Curl_ftp_parselist() local 958 &endptr, 10, &finfo->size)) { in Curl_ftp_parselist()
|
H A D | imap.c | 1163 char *endptr; in imap_state_fetch_resp() local 1164 if(!curlx_strtoofft(ptr + 1, &endptr, 10, &size) && in imap_state_fetch_resp() 1165 (endptr - ptr > 1 && *endptr == '}')) in imap_state_fetch_resp()
|
/curl/tests/libtest/ |
H A D | first.c | 112 char *endptr; in memory_tracking_init() local 113 long num = strtol(env, &endptr, 10); in memory_tracking_init() 114 if((endptr != env) && (endptr == env + strlen(env)) && (num > 0)) in memory_tracking_init()
|
/curl/lib/vauth/ |
H A D | digest.h | 36 const char **endptr);
|
H A D | digest.c | 73 const char **endptr) in Curl_auth_digest_get_pair() argument 139 *endptr = str; in Curl_auth_digest_get_pair()
|
/curl/tests/server/ |
H A D | rtspd.c | 472 char *endptr; in ProcessRequest() local 477 endptr = ptr; in ProcessRequest() 479 clen = strtoul(ptr, &endptr, 10); in ProcessRequest() 480 if((ptr == endptr) || !ISSPACE(*endptr) || (ERANGE == errno)) { in ProcessRequest() 1119 char *endptr; in main() local 1120 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main()
|
H A D | sws.c | 627 char *endptr; in ProcessRequest() local 632 endptr = ptr; in ProcessRequest() 634 clen = strtoul(ptr, &endptr, 10); in ProcessRequest() 635 if((ptr == endptr) || !ISSPACE(*endptr) || (ERANGE == errno)) { in ProcessRequest() 2100 char *endptr; in main() local 2101 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() 2102 if((endptr != argv[arg] + strlen(argv[arg])) || in main() 2122 char *endptr; in main() local 2123 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() 2124 if((endptr != argv[arg] + strlen(argv[arg])) || in main()
|
H A D | sockfilt.c | 1421 char *endptr; in main() local 1422 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() 1432 char *endptr; in main() local 1433 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() 1434 if((endptr != argv[arg] + strlen(argv[arg])) || in main()
|
H A D | mqttd.c | 991 char *endptr; in main() local 992 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main() 993 if((endptr != argv[arg] + strlen(argv[arg])) || in main()
|
H A D | socksd.c | 1052 char *endptr; in main() local 1053 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main()
|
H A D | tftpd.c | 615 char *endptr; in main() local 616 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main()
|