Ada 3.1.0
Fast spec-compliant URL parser
|
Includes the definitions for helper functions. More...
Functions | |
ada_unused std::string | get_state (ada::state s) |
ada_really_inline int | trailing_zeroes (uint32_t input_num) noexcept |
ada_really_inline size_t | find_next_host_delimiter_special (std::string_view view, size_t location) noexcept |
ada_really_inline size_t | find_next_host_delimiter (std::string_view view, size_t location) noexcept |
Variables | |
static constexpr std::array< uint8_t, 256 > | special_host_delimiters |
static constexpr std::array< uint8_t, 256 > | host_delimiters |
static constexpr std::array< uint8_t, 256 > | authority_delimiter_special |
static constexpr std::array< uint8_t, 256 > | authority_delimiter |
Includes the definitions for helper functions.
These functions are not part of our public API and may change at any time.
|
noexcept |
Definition at line 449 of file helpers.cpp.
References ada_really_inline, and host_delimiters.
|
noexcept |
Definition at line 317 of file helpers.cpp.
References ada_really_inline, and special_host_delimiters.
ada_unused std::string ada::helpers::get_state | ( | ada::state | s | ) |
Definition at line 35 of file helpers.cpp.
References ada_unused, ada::AUTHORITY, ada::FILE, ada::FILE_HOST, ada::FILE_SLASH, ada::FRAGMENT, ada::HOST, ada::NO_SCHEME, ada::OPAQUE_PATH, ada::PATH, ada::PATH_OR_AUTHORITY, ada::PATH_START, ada::PORT, ada::QUERY, ada::RELATIVE_SCHEME, ada::RELATIVE_SLASH, ada::SCHEME, ada::SCHEME_START, ada::SPECIAL_AUTHORITY_IGNORE_SLASHES, ada::SPECIAL_AUTHORITY_SLASHES, and ada::SPECIAL_RELATIVE_OR_AUTHORITY.
Referenced by ada::to_string().
|
noexcept |
Definition at line 166 of file helpers.cpp.
References ada_really_inline.
|
staticconstexpr |
Definition at line 757 of file helpers.cpp.
|
staticconstexpr |
Definition at line 735 of file helpers.cpp.
|
staticconstexpr |
Definition at line 441 of file helpers.cpp.
Referenced by find_next_host_delimiter().
|
staticconstexpr |
Definition at line 308 of file helpers.cpp.
Referenced by find_next_host_delimiter_special().