| D | util.cc | 2 * nghttp2 - HTTP/2 C Library 81 // inet_pton-wrapper for Windows 89 addr[sizeof(addr) - 1] = 0; 104 static constexpr char unreserved[] = {'-', '.', '_', '~'}; in in_rfc3986_unreserved_chars() 117 std::string percent_encode(const unsigned char *target, size_t len) { in percent_encode() argument 120 unsigned char c = target[i]; in percent_encode() 133 std::string percent_encode(const std::string &target) { in percent_encode() argument 134 return percent_encode(reinterpret_cast<const unsigned char *>(target.c_str()), in percent_encode() 135 target.size()); in percent_encode() 156 '-', '.', '^', '_', '`', '|', '~'}; in in_token() [all …]
|