/curl/tests/http/ |
H A D | scorecard.py | 48 protocol: str, 49 server_descr: str, 54 server_addr: Optional[str] = None): 104 def _make_docs_file(self, docs_dir: str, fname: str, fsize: int): 114 def setup_resources(self, server_docs: str, 228 def download_url(self, label: str, url: str, count: int): 261 def upload_single(self, url: str, fpath: str, count: int): 289 def upload_serial(self, url: str, fpath: str, count: int): 317 def upload_parallel(self, url: str, fpath: str, count: int): 350 def upload_url(self, label: str, url: str, fpath: str, count: int): [all …]
|
H A D | test_30_vsftpd.py | 50 def _make_docs_file(self, docs_dir: str, fname: str, fsize: int): 192 def check_downloads(self, client, srcfile: str, count: int,
|
H A D | test_08_caddy.py | 51 def _make_docs_file(self, docs_dir: str, fname: str, fsize: int): 240 def check_downloads(self, client, srcfile: str, count: int,
|
H A D | test_31_vsftpds.py | 57 def _make_docs_file(self, docs_dir: str, fname: str, fsize: int): 240 def check_downloads(self, client, srcfile: str, count: int,
|
H A D | test_04_stuttered.py | 129 def stats_spread(self, stats: List[Dict], key: str) -> Tuple[float, int, float, int, float]:
|
/curl/tests/http/testenv/ |
H A D | certs.py | 75 def __init__(self, name: Optional[str] = None, 76 domains: Optional[List[str]] = None, 77 email: Optional[str] = None, 78 key_type: Optional[str] = None, 118 name: str, 174 def set_files(self, cert_file: str, pkey_file: Optional[str] = None, 231 def __init__(self, fpath: str): 305 def load_pem_pkey(self, fpath: str): 342 def create_root(cls, name: str, store_dir: str, key_type: str = "rsa2048") -> Credentials: 522 def _make_server_credentials(name: str, domains: List[str], issuer: Credentials, [all …]
|
H A D | curl.py | 187 stdout: List[str], stderr: List[str], 465 run_env: Optional[Dict[str, str]] = None, argument 522 def http_get(self, url: str, extra_args: Optional[List[str]] = None, 535 def http_download(self, urls: List[str], 566 def http_upload(self, urls: List[str], data: str, 588 def http_delete(self, urls: List[str], 632 def http_form(self, urls: List[str], form: Dict[str, str], 652 def ftp_get(self, urls: List[str], 681 def ftp_ssl_get(self, urls: List[str], 697 def ftp_upload(self, urls: List[str], [all …]
|
H A D | client.py | 43 def __init__(self, name: str, env: Env, run_dir: Optional[str] = None, 45 run_env: Optional[Dict[str,str]] = None): argument
|
H A D | ports.py | 34 def alloc_ports(port_specs: Dict[str, int]) -> Dict[str, int]:
|
H A D | env.py | 323 def curl_uses_lib(libname: str) -> bool: 341 def curl_has_feature(feature: str) -> bool: 349 def curl_has_protocol(protocol: str) -> bool: 353 def curl_lib_version(libname: str) -> str: 361 def curl_lib_version_at_least(libname: str, min_version) -> bool: 541 def pts_port(self, proto: str = 'http/1.1') -> int: 594 def port_for(self, alpn_proto: Optional[str] = None): 602 def authority_for(self, domain: str, alpn_proto: Optional[str] = None): 605 def make_data_file(self, indir: str, fname: str, fsize: int,
|
H A D | httpd.py | 107 def set_extra_config(self, domain: str, lines: Optional[Union[str, List[str]]]): 135 def _apachectl(self, cmd: str):
|
H A D | nghttpx.py | 44 def __init__(self, env: Env, port: int, https_port: int, name: str):
|
/curl/src/ |
H A D | tool_paramhlp.c | 165 static ParameterError getnum(long *val, const char *str, int base) in getnum() 184 ParameterError str2num(long *val, const char *str) in str2num() 189 ParameterError oct2nummax(long *val, const char *str, long max) in oct2nummax() 211 ParameterError str2unum(long *val, const char *str) in str2unum() 232 ParameterError str2unummax(long *val, const char *str, long max) in str2unummax() 290 ParameterError secs2ms(long *valp, const char *str) in secs2ms() 485 ParameterError check_protocol(const char *str) in check_protocol() 503 ParameterError str2offset(curl_off_t *val, const char *str) in str2offset() 610 int ftpcccmethod(struct OperationConfig *config, const char *str) in ftpcccmethod() 623 long delegation(struct OperationConfig *config, const char *str) in delegation() [all …]
|
H A D | tool_strdup.c | 27 char *strdup(const char *str) in strdup()
|
H A D | tool_formparse.c | 327 static char *get_param_word(struct OperationConfig *config, char **str, in get_param_word() 461 char **str, char **pdata, char **ptype, in get_param_part()
|
H A D | tool_cb_hdr.c | 95 const char *str = ptr; in tool_header_cb() local
|
/curl/tests/unit/ |
H A D | unit1398.c | 38 const char *str = "bug"; variable
|
H A D | unit3205.c | 609 const char *str; member
|
/curl/lib/ |
H A D | strdup.c | 40 char *Curl_strdup(const char *str) in Curl_strdup()
|
H A D | strtoofft.c | 212 CURLofft curlx_strtoofft(const char *str, char **endp, int base, in curlx_strtoofft()
|
H A D | escape.c | 184 char *str = NULL; in curl_easy_unescape() local
|
H A D | dynbuf.c | 176 CURLcode Curl_dyn_add(struct dynbuf *s, const char *str) in Curl_dyn_add()
|
H A D | memdebug.c | 187 ALLOC_FUNC char *curl_dbg_strdup(const char *str, in curl_dbg_strdup() 212 ALLOC_FUNC wchar_t *curl_dbg_wcsdup(const wchar_t *str, in curl_dbg_wcsdup()
|
H A D | mprintf.c | 139 char *str; member 709 char *str = optr->start; in formatf() local 875 const char *str; in formatf() local
|
/curl/tests/libtest/ |
H A D | lib509.c | 79 char *str = NULL; in test() local
|