/curl/tests/http/ |
H A D | scorecard.py | 101 def _make_docs_file(self, docs_dir: str, fname: str, fsize: int): 122 def transfer_single(self, url: str, proto: str, count: int): 149 def transfer_serial(self, url: str, proto: str, count: int): 176 def transfer_parallel(self, url: str, proto: str, count: int): 207 def download_url(self, label: str, url: str, proto: str, count: int): 277 def upload_single(self, url: str, proto: str, fpath: str, count: int): 304 def upload_serial(self, url: str, proto: str, fpath: str, count: int): 331 def upload_parallel(self, url: str, proto: str, fpath: str, count: int): 363 def upload_url(self, label: str, url: str, fpath: str, proto: str, count: int): 421 def do_requests(self, url: str, proto: 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_31_vsftpds.py | 57 def _make_docs_file(self, docs_dir: str, fname: str, fsize: int): 223 def check_downloads(self, client, srcfile: str, count: int,
|
H A D | test_08_caddy.py | 48 def _make_docs_file(self, docs_dir: str, fname: str, fsize: int):
|
H A D | test_04_stuttered.py | 130 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, 77 email: Optional[str] = None, 78 key_type: Optional[str] = None, 118 name: str, 173 def set_files(self, cert_file: str, pkey_file: Optional[str] = None, 230 def __init__(self, fpath: str): 304 def load_pem_pkey(self, fpath: str): 341 def create_root(cls, name: str, store_dir: str, key_type: str = "rsa2048") -> Credentials: 375 …def _make_x509_name(org_name: str = None, common_name: str = None, parent: x509.Name = None) -> x5… 518 def _make_server_credentials(name: str, domains: List[str], issuer: Credentials, [all …]
|
H A D | curl.py | 192 stdout: List[str], stderr: List[str], 466 run_dir: Optional[str] = None, 469 run_env: Optional[Dict[str, str]] = None): argument 524 def http_get(self, url: str, extra_args: Optional[List[str]] = None, 537 def http_download(self, urls: List[str], 568 def http_upload(self, urls: List[str], data: str, 590 def http_delete(self, urls: List[str], 634 def http_form(self, urls: List[str], form: Dict[str, str], 654 def ftp_get(self, urls: List[str], 683 def ftp_ssl_get(self, urls: List[str], [all …]
|
H A D | client.py | 47 def __init__(self, name: str, env: Env, run_dir: Optional[str] = None, 49 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 | 308 def curl_uses_lib(libname: str) -> bool: 318 def curl_has_feature(feature: str) -> bool: 322 def curl_has_protocol(protocol: str) -> bool: 326 def curl_lib_version(libname: str) -> str: 334 def curl_lib_version_at_least(libname: str, min_version) -> str: 502 def pts_port(self, proto: str = 'http/1.1') -> int: 555 def port_for(self, alpn_proto: Optional[str] = None): 563 def authority_for(self, domain: str, alpn_proto: Optional[str] = None): 566 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]]]): 137 def _apachectl(self, cmd: str):
|
H A D | nghttpx.py | 44 def __init__(self, env: Env, 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 | 76 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 | 182 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 | setopt.c | 175 static CURLcode protocol2num(const char *str, curl_prot_t *val) in protocol2num()
|
/curl/tests/libtest/ |
H A D | lib509.c | 79 char *str = NULL; in test() local
|