Ada 3.1.0
Fast spec-compliant URL parser
|
Includes the declarations for unicode operations. More...
Functions | |
ada_really_inline size_t | percent_encode_index (const std::string_view input, const uint8_t character_set[]) |
constexpr bool | is_tabs_or_newline (char c) noexcept |
constexpr uint64_t | broadcast (uint8_t v) noexcept |
Variables | |
static constexpr std::array< uint8_t, 256 > | is_forbidden_host_code_point_table |
static constexpr std::array< uint8_t, 256 > | is_forbidden_domain_code_point_table |
static constexpr std::array< uint8_t, 256 > | is_forbidden_domain_code_point_table_or_upper |
static constexpr std::array< bool, 256 > | is_alnum_plus_table |
constexpr std::string_view | table_is_double_dot_path_segment [] |
static constexpr char | hex_to_binary_table [] |
Includes the declarations for unicode operations.
Includes the definitions for unicode operations.
Unicode operations. These functions are not part of our public API and may change at any time.
private
Unicode operations. These functions are not part of our public API and may change at any time.
|
constexprnoexcept |
Definition at line 24 of file unicode.cpp.
|
constexprnoexcept |
Definition at line 20 of file unicode.cpp.
ada_really_inline size_t ada::unicode::percent_encode_index | ( | std::string_view | input, |
const uint8_t | character_set[] ) |
Returns the index at which percent encoding should start, or (equivalently), the length of the prefix that does not require percent encoding.
Definition at line 19 of file unicode-inl.h.
References ada_really_inline, and ada::character_sets::bit_at().
Referenced by ada::url_aggregator::set_password(), and ada::url_aggregator::set_username().
|
staticconstexpr |
Definition at line 357 of file unicode.cpp.
|
staticconstexpr |
Definition at line 255 of file unicode.cpp.
|
staticconstexpr |
Definition at line 174 of file unicode.cpp.
|
staticconstexpr |
Definition at line 214 of file unicode.cpp.
|
staticconstexpr |
Definition at line 159 of file unicode.cpp.
|
constexpr |
Definition at line 296 of file unicode.cpp.