Lines Matching refs:det
132 int32_t IteratedChar::nextByte(InputText *det) in nextByte() argument
134 if (nextIndex >= det->fRawLength) { in nextByte()
140 return det->fRawInput[nextIndex++]; in nextByte()
148 int32_t CharsetRecog_mbcs::match_mbcs(InputText *det, const uint16_t commonChars[], int32_t commonC… in match_mbcs() argument
157 while (nextChar(&iter, det)) { in match_mbcs()
244 UBool CharsetRecog_sjis::nextChar(IteratedChar* it, InputText* det) const { in nextChar()
248 int32_t firstByte = it->charValue = it->nextByte(det); in nextChar()
258 int32_t secondByte = it->nextByte(det); in nextChar()
272 UBool CharsetRecog_sjis::match(InputText* det, CharsetMatch *results) const { in match() argument
273 int32_t confidence = match_mbcs(det, commonChars_sjis, UPRV_LENGTHOF(commonChars_sjis)); in match()
274 results->set(det, this, confidence); in match()
293 UBool CharsetRecog_euc::nextChar(IteratedChar* it, InputText* det) const { in nextChar()
300 firstByte = it->charValue = it->nextByte(det); in nextChar()
312 secondByte = it->nextByte(det); in nextChar()
344 thirdByte = it->nextByte(det); in nextChar()
372 UBool CharsetRecog_euc_jp::match(InputText *det, CharsetMatch *results) const in match() argument
374 int32_t confidence = match_mbcs(det, commonChars_euc_jp, UPRV_LENGTHOF(commonChars_euc_jp)); in match()
375 results->set(det, this, confidence); in match()
394 UBool CharsetRecog_euc_kr::match(InputText *det, CharsetMatch *results) const in match() argument
396 int32_t confidence = match_mbcs(det, commonChars_euc_kr, UPRV_LENGTHOF(commonChars_euc_kr)); in match()
397 results->set(det, this, confidence); in match()
406 UBool CharsetRecog_big5::nextChar(IteratedChar* it, InputText* det) const in nextChar()
412 firstByte = it->charValue = it->nextByte(det); in nextChar()
423 int32_t secondByte = it->nextByte(det); in nextChar()
446 UBool CharsetRecog_big5::match(InputText *det, CharsetMatch *results) const in match() argument
448 int32_t confidence = match_mbcs(det, commonChars_big5, UPRV_LENGTHOF(commonChars_big5)); in match()
449 results->set(det, this, confidence); in match()
458 UBool CharsetRecog_gb_18030::nextChar(IteratedChar* it, InputText* det) const { in nextChar()
466 firstByte = it->charValue = it->nextByte(det); in nextChar()
478 secondByte = it->nextByte(det); in nextChar()
492 thirdByte = it->nextByte(det); in nextChar()
495 fourthByte = it->nextByte(det); in nextChar()
522 UBool CharsetRecog_gb_18030::match(InputText *det, CharsetMatch *results) const in match() argument
524 int32_t confidence = match_mbcs(det, commonChars_gb_18030, UPRV_LENGTHOF(commonChars_gb_18030)); in match()
525 results->set(det, this, confidence); in match()