Lines Matching refs:val

165 static ParameterError getnum(long *val, const char *str, int base)  in getnum()  argument
177 *val = num; in getnum()
184 ParameterError str2num(long *val, const char *str) in str2num() argument
186 return getnum(val, str, 10); in str2num()
189 ParameterError oct2nummax(long *val, const char *str, long max) in oct2nummax() argument
191 ParameterError result = getnum(val, str, 8); in oct2nummax()
194 else if(*val > max) in oct2nummax()
196 else if(*val < 0) in oct2nummax()
211 ParameterError str2unum(long *val, const char *str) in str2unum() argument
213 ParameterError result = getnum(val, str, 10); in str2unum()
216 if(*val < 0) in str2unum()
232 ParameterError str2unummax(long *val, const char *str, long max) in str2unummax() argument
234 ParameterError result = str2unum(val, str); in str2unummax()
237 if(*val > max) in str2unummax()
256 static ParameterError str2double(double *val, const char *str, double max) in str2double() argument
270 *val = num; in str2double()
364 const char * const *val, char **ostr, const char *str) in proto2num() argument
391 for(; *val; val++) { in proto2num()
392 const char *p = proto_token(*val); in proto2num()
503 ParameterError str2offset(curl_off_t *val, const char *str) in str2offset() argument
512 CURLofft offt = curlx_strtoofft(str, &endptr, 10, val); in str2offset()
520 *val = strtol(str, &endptr, 0); in str2offset()
521 if((*val == LONG_MIN || *val == LONG_MAX) && errno == ERANGE) in str2offset()
720 ParameterError str2tls_max(long *val, const char *str) in str2tls_max() argument
737 *val = tls_max_array[i].tls_max; in str2tls_max()