chromium/third_party/icu/source/i18n/csrmbcs.cpp

// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
 **********************************************************************
 *   Copyright (C) 2005-2016, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 **********************************************************************
 */

#include "unicode/utypes.h"

#if !UCONFIG_NO_CONVERSION

#include "cmemory.h"
#include "csmatch.h"
#include "csrmbcs.h"

#include <math.h>

U_NAMESPACE_BEGIN

#define min(x,y)

static const uint16_t commonChars_sjis [] =;

static const uint16_t commonChars_euc_jp[] =;

static const uint16_t commonChars_euc_kr[] =;

static const uint16_t commonChars_big5[] =;

static const uint16_t commonChars_gb_18030[] =;

static int32_t binarySearch(const uint16_t *array, int32_t len, uint16_t value)
{}

IteratedChar::IteratedChar() :{}

/*void IteratedChar::reset()
{
    charValue = 0;
    index     = -1;
    nextIndex = 0;
    error     = false;
    done      = false;
}*/

int32_t IteratedChar::nextByte(InputText *det)
{}

CharsetRecog_mbcs::~CharsetRecog_mbcs()
{}

int32_t CharsetRecog_mbcs::match_mbcs(InputText *det, const uint16_t commonChars[], int32_t commonCharsLen) const {}

CharsetRecog_sjis::~CharsetRecog_sjis()
{}

UBool CharsetRecog_sjis::nextChar(IteratedChar* it, InputText* det) const {}

UBool CharsetRecog_sjis::match(InputText* det, CharsetMatch *results) const {}

const char *CharsetRecog_sjis::getName() const
{}

const char *CharsetRecog_sjis::getLanguage() const
{}

CharsetRecog_euc::~CharsetRecog_euc()
{}

UBool CharsetRecog_euc::nextChar(IteratedChar* it, InputText* det) const {}

CharsetRecog_euc_jp::~CharsetRecog_euc_jp()
{}

const char *CharsetRecog_euc_jp::getName() const
{}

const char *CharsetRecog_euc_jp::getLanguage() const
{}

UBool CharsetRecog_euc_jp::match(InputText *det, CharsetMatch *results) const
{}

CharsetRecog_euc_kr::~CharsetRecog_euc_kr()
{}

const char *CharsetRecog_euc_kr::getName() const
{}

const char *CharsetRecog_euc_kr::getLanguage() const
{}

UBool CharsetRecog_euc_kr::match(InputText *det, CharsetMatch *results) const
{}

CharsetRecog_big5::~CharsetRecog_big5()
{}

UBool CharsetRecog_big5::nextChar(IteratedChar* it, InputText* det) const
{}

const char *CharsetRecog_big5::getName() const
{}

const char *CharsetRecog_big5::getLanguage() const
{}

UBool CharsetRecog_big5::match(InputText *det, CharsetMatch *results) const
{}

CharsetRecog_gb_18030::~CharsetRecog_gb_18030()
{}

UBool CharsetRecog_gb_18030::nextChar(IteratedChar* it, InputText* det) const {}

const char *CharsetRecog_gb_18030::getName() const
{}

const char *CharsetRecog_gb_18030::getLanguage() const
{}

UBool CharsetRecog_gb_18030::match(InputText *det, CharsetMatch *results) const
{}

U_NAMESPACE_END
#endif