chromium/third_party/icu/source/common/rbbi_cache.cpp

// Copyright (C) 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html

// file: rbbi_cache.cpp

#include "unicode/utypes.h"

#if !UCONFIG_NO_BREAK_ITERATION

#include "unicode/ubrk.h"
#include "unicode/rbbi.h"

#include "rbbi_cache.h"

#include "brkeng.h"
#include "cmemory.h"
#include "rbbidata.h"
#include "rbbirb.h"
#include "uassert.h"
#include "uvectr32.h"

U_NAMESPACE_BEGIN

/*
 * DictionaryCache implementation
 */

RuleBasedBreakIterator::DictionaryCache::DictionaryCache(RuleBasedBreakIterator *bi, UErrorCode &status) :{}

RuleBasedBreakIterator::DictionaryCache::~DictionaryCache() {}

void RuleBasedBreakIterator::DictionaryCache::reset() {}

UBool RuleBasedBreakIterator::DictionaryCache::following(int32_t fromPos, int32_t *result, int32_t *statusIndex) {}


UBool RuleBasedBreakIterator::DictionaryCache::preceding(int32_t fromPos, int32_t *result, int32_t *statusIndex) {}

void RuleBasedBreakIterator::DictionaryCache::populateDictionary(int32_t startPos, int32_t endPos,
                                       int32_t firstRuleStatus, int32_t otherRuleStatus) {}


/*
 *   BreakCache implementation
 */

RuleBasedBreakIterator::BreakCache::BreakCache(RuleBasedBreakIterator *bi, UErrorCode &status) :{}


RuleBasedBreakIterator::BreakCache::~BreakCache() {}


void RuleBasedBreakIterator::BreakCache::reset(int32_t pos, int32_t ruleStatus) {}


int32_t  RuleBasedBreakIterator::BreakCache::current() {}


void RuleBasedBreakIterator::BreakCache::following(int32_t startPos, UErrorCode &status) {}


void RuleBasedBreakIterator::BreakCache::preceding(int32_t startPos, UErrorCode &status) {}


/*
 * Out-of-line code for BreakCache::next().
 * Cache does not already contain the boundary
 */
void RuleBasedBreakIterator::BreakCache::nextOL() {}


void RuleBasedBreakIterator::BreakCache::previous(UErrorCode &status) {}


UBool RuleBasedBreakIterator::BreakCache::seek(int32_t pos) {}


UBool RuleBasedBreakIterator::BreakCache::populateNear(int32_t position, UErrorCode &status) {}



UBool RuleBasedBreakIterator::BreakCache::populateFollowing() {}


UBool RuleBasedBreakIterator::BreakCache::populatePreceding(UErrorCode &status) {}


void RuleBasedBreakIterator::BreakCache::addFollowing(int32_t position, int32_t ruleStatusIdx, UpdatePositionValues update) {}

bool RuleBasedBreakIterator::BreakCache::addPreceding(int32_t position, int32_t ruleStatusIdx, UpdatePositionValues update) {}


void RuleBasedBreakIterator::BreakCache::dumpCache() {}

U_NAMESPACE_END

#endif // #if !UCONFIG_NO_BREAK_ITERATION