Lines Matching refs:det

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