24oneToOneMapping::oneToOneMapping( OneToOneMappingTable_t
const *rpTable,
const size_t rnBytes,
const size_t rnUnitSize )
26 mnSize( rnBytes / rnUnitSize )
30oneToOneMapping::~oneToOneMapping()
44 if( nKey < mpTable[current].first )
46 else if( nKey > mpTable[current].first )
49 return mpTable[current].second;
61 mpTableWF ( rpTableWF ),
78 for(
size_t k = 0; k <
mnSize; k++ )
87 for (
int j = 0; j < 256; ++j)
104 high = (nKey >> 8) & 0xFF;
106 if(
mpIndex[high] !=
nullptr &&
107 mpIndex[high][low] !=
nullptr &&
109 return mpIndex[high][low]->second;
std::unique_ptr< UnicodePairWithFlag const *[]> mpIndex[256]
virtual sal_Unicode find(const sal_Unicode nKey) const override
UnicodePairWithFlag const * mpTableWF
virtual ~oneToOneMappingWithFlag() override
constexpr OUStringLiteral first