Searched refs:ParameterError (Results 1 – 6 of 6) sorted by relevance
/third_party/curl/src/ |
D | tool_paramhlp.h | 28 ParameterError file2string(char **bufp, FILE *file); 30 ParameterError file2memory(char **bufp, size_t *size, FILE *file); 34 ParameterError str2num(long *val, const char *str); 35 ParameterError str2unum(long *val, const char *str); 36 ParameterError oct2nummax(long *val, const char *str, long max); 37 ParameterError str2unummax(long *val, const char *str, long max); 38 ParameterError str2udouble(double *val, const char *str, long max); 44 ParameterError str2offset(curl_off_t *val, const char *str); 48 ParameterError add2list(struct curl_slist **list, const char *ptr); 56 ParameterError str2tls_max(long *val, const char *str);
|
D | tool_paramhlp.c | 65 ParameterError file2string(char **bufp, FILE *file) in file2string() 89 ParameterError file2memory(char **bufp, size_t *size, FILE *file) in file2memory() 135 static ParameterError getnum(long *val, const char *str, int base) in getnum() 152 ParameterError str2num(long *val, const char *str) in str2num() 157 ParameterError oct2nummax(long *val, const char *str, long max) in oct2nummax() 159 ParameterError result = getnum(val, str, 8); in oct2nummax() 179 ParameterError str2unum(long *val, const char *str) in str2unum() 181 ParameterError result = getnum(val, str, 10); in str2unum() 200 ParameterError str2unummax(long *val, const char *str, long max) in str2unummax() 202 ParameterError result = str2unum(val, str); in str2unummax() [all …]
|
D | tool_getparam.h | 47 } ParameterError; typedef 52 ParameterError getparameter(const char *flag, char *nextarg, bool *usedarg, 62 ParameterError parse_args(struct GlobalConfig *config, int argc,
|
D | tool_helpers.c | 43 ParameterError error = (ParameterError)res; in param2text()
|
D | tool_getparam.c | 490 static ParameterError GetSizeParameter(struct GlobalConfig *global, in GetSizeParameter() 539 ParameterError getparameter(const char *flag, /* f or -long-flag */ in getparameter() 555 ParameterError err; in getparameter() 723 ParameterError pe = GetSizeParameter(global, nextarg, "rate", &value); in getparameter() 875 ParameterError pe = in getparameter() 2325 ParameterError parse_args(struct GlobalConfig *global, int argc, in parse_args() 2331 ParameterError result = PARAM_OK; in parse_args()
|
D | tool_operate.c | 2494 ParameterError res = parse_args(global, argc, argv); in operate()
|