Home
last modified time | relevance | path

Searched refs:endptr (Results 1 – 16 of 16) sorted by relevance

/curl/src/
H A Dterminal.c50 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 Dtool_paramhlp.c168 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 Dtool_main.c125 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 Dstrtoofft.c79 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 Dnoproxy.c148 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 Dftplistparser.c443 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 Dimap.c1163 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 Dfirst.c112 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 Ddigest.h36 const char **endptr);
H A Ddigest.c73 const char **endptr) in Curl_auth_digest_get_pair() argument
139 *endptr = str; in Curl_auth_digest_get_pair()
/curl/tests/server/
H A Drtspd.c472 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 Dsws.c627 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 Dsockfilt.c1421 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 Dmqttd.c991 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 Dsocksd.c1052 char *endptr; in main() local
1053 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main()
H A Dtftpd.c615 char *endptr; in main() local
616 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main()

Completed in 39 milliseconds