Home | History | Annotate | Download | only in i18n

Lines Matching refs:det

131 int32_t IteratedChar::nextByte(InputText *det)
133 if (nextIndex >= det->fRawLength) {
139 return det->fRawInput[nextIndex++];
147 int32_t CharsetRecog_mbcs::match_mbcs(InputText *det, const uint16_t commonChars[], int32_t commonCharsLen) const {
156 while (nextChar(&iter, det)) {
243 UBool CharsetRecog_sjis::nextChar(IteratedChar* it, InputText* det) const {
247 int32_t firstByte = it->charValue = it->nextByte(det);
257 int32_t secondByte = it->nextByte(det);
271 UBool CharsetRecog_sjis::match(InputText* det, CharsetMatch *results) const {
272 int32_t confidence = match_mbcs(det, commonChars_sjis, ARRAY_SIZE(commonChars_sjis));
273 results->set(det, this, confidence);
292 UBool CharsetRecog_euc::nextChar(IteratedChar* it, InputText* det) const {
299 firstByte = it->charValue = it->nextByte(det);
311 secondByte = it->nextByte(det);
343 thirdByte = it->nextByte(det);
371 UBool CharsetRecog_euc_jp::match(InputText *det, CharsetMatch *results) const
373 int32_t confidence = match_mbcs(det, commonChars_euc_jp, ARRAY_SIZE(commonChars_euc_jp));
374 results->set(det, this, confidence);
393 UBool CharsetRecog_euc_kr::match(InputText *det, CharsetMatch *results) const
395 int32_t confidence = match_mbcs(det, commonChars_euc_kr, ARRAY_SIZE(commonChars_euc_kr));
396 results->set(det, this, confidence);
405 UBool CharsetRecog_big5::nextChar(IteratedChar* it, InputText* det) const
411 firstByte = it->charValue = it->nextByte(det);
422 int32_t secondByte = it->nextByte(det);
445 UBool CharsetRecog_big5::match(InputText *det, CharsetMatch *results) const
447 int32_t confidence = match_mbcs(det, commonChars_big5, ARRAY_SIZE(commonChars_big5));
448 results->set(det, this, confidence);
457 UBool CharsetRecog_gb_18030::nextChar(IteratedChar* it, InputText* det) const {
465 firstByte = it->charValue = it->nextByte(det);
477 secondByte = it->nextByte(det);
491 thirdByte = it->nextByte(det);
494 fourthByte = it->nextByte(det);
521 UBool CharsetRecog_gb_18030::match(InputText *det, CharsetMatch *results) const
523 int32_t confidence = match_mbcs(det, commonChars_gb_18030, ARRAY_SIZE(commonChars_gb_18030));
524 results->set(det, this, confidence);