Lines Matching refs:std
61 auto &paths = config.push[std::string(optarg, eq)];
82 void print_version(std::ostream &out) {
83 out << "nghttpd nghttp2/" NGHTTP2_VERSION << std::endl;
88 void print_usage(std::ostream &out) {
90 << "HTTP/2 server" << std::endl;
95 void print_help(std::ostream &out) {
191 << std::endl;
256 std::cerr << "-b: Bad option value: " << optarg << std::endl;
272 std::cerr << "-m: invalid argument: " << optarg << std::endl;
280 std::cerr << "-n: WARNING: Threading disabled at build time, "
281 << "no threads created." << std::endl;
285 std::cerr << "-n: Bad option value: " << optarg << std::endl;
293 print_help(std::cout);
301 std::cerr << "-c: Bad option value: " << optarg << std::endl;
304 if (n > std::numeric_limits<uint32_t>::max()) {
305 std::cerr << "-c: Value too large. It should be less than or equal to "
306 << std::numeric_limits<uint32_t>::max() << std::endl;
314 std::cerr << "-p: Bad option value: " << optarg << std::endl;
321 std::cerr << "-" << static_cast<char>(c)
323 << std::endl;
350 print_version(std::cout);
365 std::cerr << "--trailer: invalid header: " << optarg << std::endl;
376 std::cerr << "--trailer: invalid header - value missing: " << optarg
377 << std::endl;
405 std::cerr << "--encoder-header-table-size: Bad option value: "
406 << optarg << std::endl;
409 if (n > std::numeric_limits<uint32_t>::max()) {
410 std::cerr << "--encoder-header-table-size: Value too large. It "
412 << std::numeric_limits<uint32_t>::max() << std::endl;
433 print_usage(std::cerr);
434 std::cerr << "Too few arguments" << std::endl;
441 if (n == -1 || n > std::numeric_limits<uint16_t>::max()) {
442 std::cerr << "<PORT>: Bad value: " << portStr << std::endl;
455 print_usage(std::cerr);
456 std::cerr << "-d option must be specified when -D is used." << std::endl;
475 std::cerr << "--mime-types-file: Could not open mime types file: "
476 << config.mime_types_file << std::endl;