Lines Matching refs:args_map

195                          std::map<std::string, std::string> args_map,  in DoConnection()  argument
198 if (!Connect(&sock, args_map["-connect"])) { in DoConnection()
202 if (args_map.count("-starttls") != 0) { in DoConnection()
203 const std::string& starttls = args_map["-starttls"]; in DoConnection()
217 if (args_map.count("-server-name") != 0) { in DoConnection()
218 SSL_set_tlsext_host_name(ssl.get(), args_map["-server-name"].c_str()); in DoConnection()
221 if (args_map.count("-session-in") != 0) { in DoConnection()
222 bssl::UniquePtr<BIO> in(BIO_new_file(args_map["-session-in"].c_str(), in DoConnection()
263 std::map<std::string, std::string> args_map; in Client() local
265 if (!ParseKeyValueArguments(&args_map, args, kArguments)) { in Client()
282 if (args_map.count("-cipher") != 0 && in Client()
283 !SSL_CTX_set_strict_cipher_list(ctx.get(), args_map["-cipher"].c_str())) { in Client()
289 if (args_map.count("-max-version") != 0 && in Client()
290 !VersionFromString(&max_version, args_map["-max-version"])) { in Client()
292 args_map["-max-version"].c_str()); in Client()
300 if (args_map.count("-min-version") != 0) { in Client()
302 if (!VersionFromString(&version, args_map["-min-version"])) { in Client()
304 args_map["-min-version"].c_str()); in Client()
312 if (args_map.count("-select-next-proto") != 0) { in Client()
313 const std::string &proto = args_map["-select-next-proto"]; in Client()
323 if (args_map.count("-alpn-protos") != 0) { in Client()
324 const std::string &alpn_protos = args_map["-alpn-protos"]; in Client()
348 if (args_map.count("-fallback-scsv") != 0) { in Client()
352 if (args_map.count("-ocsp-stapling") != 0) { in Client()
356 if (args_map.count("-signed-certificate-timestamps") != 0) { in Client()
360 if (args_map.count("-channel-id-key") != 0) { in Client()
362 LoadPrivateKey(args_map["-channel-id-key"]); in Client()
368 if (args_map.count("-false-start") != 0) { in Client()
372 if (args_map.count("-key") != 0) { in Client()
373 const std::string &key = args_map["-key"]; in Client()
387 if (args_map.count("-session-out") != 0) { in Client()
388 session_out.reset(BIO_new_file(args_map["-session-out"].c_str(), "wb")); in Client()
391 args_map["-session-out"].c_str()); in Client()
397 if (args_map.count("-grease") != 0) { in Client()
401 if (args_map.count("-root-certs") != 0) { in Client()
403 ctx.get(), args_map["-root-certs"].c_str(), nullptr)) { in Client()
411 if (args_map.count("-early-data") != 0) { in Client()
415 if (args_map.count("-resume") != 0 && in Client()
416 !DoConnection(ctx.get(), args_map, &WaitForSession)) { in Client()
420 return DoConnection(ctx.get(), args_map, &TransferData); in Client()