#include <zxcvbn/util.hpp>
#include <algorithm>
#include <codecvt>
#include <locale>
#include <string>
#include <utility>
#include <cassert>
Go to the source code of this file.
|
| std::string | zxcvbn::util::ascii_lower (const std::string &in) |
| |
| std::string | zxcvbn::util::reverse_string (const std::string &in) |
| |
| bool | zxcvbn::util::utf8_valid (std::string::const_iterator start, std::string::const_iterator end) |
| |
| bool | zxcvbn::util::utf8_valid (const std::string &str) |
| |
| template<class It > |
| It | zxcvbn::util::_utf8_iter (It start, It end) |
| |
| std::string::iterator | zxcvbn::util::utf8_iter (std::string::iterator start, std::string::iterator end) |
| |
| std::string::const_iterator | zxcvbn::util::utf8_iter (std::string::const_iterator start, std::string::const_iterator end) |
| |
| std::string::size_type | zxcvbn::util::character_len (const std::string &str, std::string::size_type start, std::string::size_type end) |
| |
| std::string::size_type | zxcvbn::util::character_len (const std::string &str) |
| |
| template<class It > |
| std::pair< char32_t, It > | zxcvbn::util::_utf8_decode (It it, It end) |
| |
| std::pair< char32_t, std::string::iterator > | zxcvbn::util::utf8_decode (std::string::iterator start, std::string::iterator end) |
| |
| std::pair< char32_t, std::string::const_iterator > | zxcvbn::util::utf8_decode (std::string::const_iterator start, std::string::const_iterator end) |
| |
| char32_t | zxcvbn::util::utf8_decode (const std::string &start, std::string::size_type &idx) |
| |