#include "unicode/utypes.h"
#if !UCONFIG_NO_COLLATION
#include "cmemory.h"
#include "collation.h"
#include "collationweights.h"
#include "uarrsort.h"
#include "uassert.h"
#ifdef UCOL_DEBUG
# include <stdio.h>
#endif
U_NAMESPACE_BEGIN
static inline uint32_t
getWeightTrail(uint32_t weight, int32_t length) { … }
static inline uint32_t
setWeightTrail(uint32_t weight, int32_t length, uint32_t trail) { … }
static inline uint32_t
getWeightByte(uint32_t weight, int32_t idx) { … }
static inline uint32_t
setWeightByte(uint32_t weight, int32_t idx, uint32_t byte) { … }
static inline uint32_t
truncateWeight(uint32_t weight, int32_t length) { … }
static inline uint32_t
incWeightTrail(uint32_t weight, int32_t length) { … }
static inline uint32_t
decWeightTrail(uint32_t weight, int32_t length) { … }
CollationWeights::CollationWeights()
: … { … }
void
CollationWeights::initForPrimary(UBool compressible) { … }
void
CollationWeights::initForSecondary() { … }
void
CollationWeights::initForTertiary() { … }
uint32_t
CollationWeights::incWeight(uint32_t weight, int32_t length) const { … }
uint32_t
CollationWeights::incWeightByOffset(uint32_t weight, int32_t length, int32_t offset) const { … }
void
CollationWeights::lengthenRange(WeightRange &range) const { … }
static int32_t U_CALLCONV
compareRanges(const void * , const void *left, const void *right) { … }
UBool
CollationWeights::getWeightRanges(uint32_t lowerLimit, uint32_t upperLimit) { … }
UBool
CollationWeights::allocWeightsInShortRanges(int32_t n, int32_t minLength) { … }
UBool
CollationWeights::allocWeightsInMinLengthRanges(int32_t n, int32_t minLength) { … }
UBool
CollationWeights::allocWeights(uint32_t lowerLimit, uint32_t upperLimit, int32_t n) { … }
uint32_t
CollationWeights::nextWeight() { … }
U_NAMESPACE_END
#endif