int32_t CharsetRecog_gb_18030::match(InputText * det) { return match_mbcs(det, commonChars_gb_18030, ARRAY_SIZE(commonChars_gb_18030)); }
int32_t CharsetRecog_big5::match(InputText * det) { return match_mbcs(det, commonChars_big5, ARRAY_SIZE(commonChars_big5)); }
int32_t CharsetRecog_euc_kr::match(InputText * det) { return match_mbcs(det, commonChars_euc_kr, ARRAY_SIZE(commonChars_euc_kr)); }
int32_t CharsetRecog_sjis::match(InputText * det) { return match_mbcs(det, commonChars_sjis, ARRAY_SIZE(commonChars_sjis)); }
UBool CharsetRecog_gb_18030::match(InputText *det, CharsetMatch *results) const { int32_t confidence = match_mbcs(det, commonChars_gb_18030, ARRAY_SIZE(commonChars_gb_18030)); results->set(det, this, confidence); return (confidence > 0); }
UBool CharsetRecog_big5::match(InputText *det, CharsetMatch *results) const { int32_t confidence = match_mbcs(det, commonChars_big5, UPRV_LENGTHOF(commonChars_big5)); results->set(det, this, confidence); return (confidence > 0); }