#include <algorithm>
#include <sstream>
#include <cassert>
#include <cstdio>
#include "phonenumbers/default_logger.h"
#include "phonenumbers/utf/unicodetext.h"
#include "phonenumbers/utf/stringpiece.h"
#include "phonenumbers/utf/utf.h"
#include "phonenumbers/utf/unilib.h"
namespace i18n {
namespace phonenumbers {
string;
stringstream;
max;
hex;
dec;
static int CodepointDistance(const char* start, const char* end) { … }
static int CodepointCount(const char* utf8, int len) { … }
UnicodeText::const_iterator::difference_type
distance(const UnicodeText::const_iterator& first,
const UnicodeText::const_iterator& last) { … }
static int ConvertToInterchangeValid(char* start, int len) { … }
void UnicodeText::Repr::reserve(int new_capacity) { … }
void UnicodeText::Repr::resize(int new_size) { … }
void UnicodeText::Repr::clear() { … }
void UnicodeText::Repr::Copy(const char* data, int size) { … }
void UnicodeText::Repr::TakeOwnershipOf(char* data, int size, int capacity) { … }
void UnicodeText::Repr::PointTo(const char* data, int size) { … }
void UnicodeText::Repr::append(const char* bytes, int byte_length) { … }
string UnicodeText::Repr::DebugString() const { … }
UnicodeText::UnicodeText() { … }
UnicodeText::UnicodeText(const UnicodeText& src) { … }
UnicodeText::UnicodeText(const UnicodeText::const_iterator& first,
const UnicodeText::const_iterator& last) { … }
string UnicodeText::UTF8Substring(const const_iterator& first,
const const_iterator& last) { … }
UnicodeText& UnicodeText::operator=(const UnicodeText& src) { … }
UnicodeText& UnicodeText::Copy(const UnicodeText& src) { … }
UnicodeText& UnicodeText::CopyUTF8(const char* buffer, int byte_length) { … }
UnicodeText& UnicodeText::UnsafeCopyUTF8(const char* buffer,
int byte_length) { … }
UnicodeText& UnicodeText::TakeOwnershipOfUTF8(char* buffer,
int byte_length,
int byte_capacity) { … }
UnicodeText& UnicodeText::UnsafeTakeOwnershipOfUTF8(char* buffer,
int byte_length,
int byte_capacity) { … }
UnicodeText& UnicodeText::PointToUTF8(const char* buffer, int byte_length) { … }
UnicodeText& UnicodeText::UnsafePointToUTF8(const char* buffer,
int byte_length) { … }
UnicodeText& UnicodeText::PointTo(const UnicodeText& src) { … }
UnicodeText& UnicodeText::PointTo(const const_iterator &first,
const const_iterator &last) { … }
UnicodeText& UnicodeText::append(const UnicodeText& u) { … }
UnicodeText& UnicodeText::append(const const_iterator& first,
const const_iterator& last) { … }
UnicodeText& UnicodeText::UnsafeAppendUTF8(const char* utf8, int len) { … }
UnicodeText::const_iterator UnicodeText::find(const UnicodeText& look,
const_iterator start_pos) const { … }
UnicodeText::const_iterator UnicodeText::find(const UnicodeText& look) const { … }
UnicodeText::const_iterator UnicodeText::UnsafeFind(
const UnicodeText& look, const_iterator start_pos) const { … }
bool UnicodeText::HasReplacementChar() const { … }
void UnicodeText::clear() { … }
UnicodeText::~UnicodeText() { … }
void UnicodeText::push_back(char32 c) { … }
int UnicodeText::size() const { … }
bool operator==(const UnicodeText& lhs, const UnicodeText& rhs) { … }
string UnicodeText::DebugString() const { … }
UnicodeText::const_iterator::const_iterator() : … { … }
UnicodeText::const_iterator::const_iterator(const const_iterator& other)
: … { … }
UnicodeText::const_iterator&
UnicodeText::const_iterator::operator=(const const_iterator& other) { … }
UnicodeText::const_iterator UnicodeText::begin() const { … }
UnicodeText::const_iterator UnicodeText::end() const { … }
bool operator<(const UnicodeText::const_iterator& lhs,
const UnicodeText::const_iterator& rhs) { … }
char32 UnicodeText::const_iterator::operator*() const { … }
UnicodeText::const_iterator& UnicodeText::const_iterator::operator++() { … }
UnicodeText::const_iterator& UnicodeText::const_iterator::operator--() { … }
int UnicodeText::const_iterator::get_utf8(char* utf8_output) const { … }
UnicodeText::const_iterator UnicodeText::MakeIterator(const char* p) const { … }
string UnicodeText::const_iterator::DebugString() const { … }
}
}