#include "unicode/edits.h"
#include "unicode/unistr.h"
#include "unicode/utypes.h"
#include "cmemory.h"
#include "uassert.h"
#include "util.h"
U_NAMESPACE_BEGIN
namespace {
const int32_t MAX_UNCHANGED_LENGTH = …;
const int32_t MAX_UNCHANGED = …;
const int32_t MAX_SHORT_CHANGE_OLD_LENGTH = …;
const int32_t MAX_SHORT_CHANGE_NEW_LENGTH = …;
const int32_t SHORT_CHANGE_NUM_MASK = …;
const int32_t MAX_SHORT_CHANGE = …;
const int32_t LENGTH_IN_1TRAIL = …;
const int32_t LENGTH_IN_2TRAIL = …;
}
void Edits::releaseArray() noexcept { … }
Edits &Edits::copyArray(const Edits &other) { … }
Edits &Edits::moveArray(Edits &src) noexcept { … }
Edits &Edits::operator=(const Edits &other) { … }
Edits &Edits::operator=(Edits &&src) noexcept { … }
Edits::~Edits() { … }
void Edits::reset() noexcept { … }
void Edits::addUnchanged(int32_t unchangedLength) { … }
void Edits::addReplace(int32_t oldLength, int32_t newLength) { … }
void Edits::append(int32_t r) { … }
UBool Edits::growArray() { … }
UBool Edits::copyErrorTo(UErrorCode &outErrorCode) const { … }
Edits &Edits::mergeAndAppend(const Edits &ab, const Edits &bc, UErrorCode &errorCode) { … }
Edits::Iterator::Iterator(const uint16_t *a, int32_t len, UBool oc, UBool crs) : … { … }
int32_t Edits::Iterator::readLength(int32_t head) { … }
void Edits::Iterator::updateNextIndexes() { … }
void Edits::Iterator::updatePreviousIndexes() { … }
UBool Edits::Iterator::noNext() { … }
UBool Edits::Iterator::next(UBool onlyChanges, UErrorCode &errorCode) { … }
UBool Edits::Iterator::previous(UErrorCode &errorCode) { … }
int32_t Edits::Iterator::findIndex(int32_t i, UBool findSource, UErrorCode &errorCode) { … }
int32_t Edits::Iterator::destinationIndexFromSourceIndex(int32_t i, UErrorCode &errorCode) { … }
int32_t Edits::Iterator::sourceIndexFromDestinationIndex(int32_t i, UErrorCode &errorCode) { … }
UnicodeString& Edits::Iterator::toString(UnicodeString& sb) const { … }
U_NAMESPACE_END