Home | History | Annotate | Download | only in i18n

Lines Matching refs:det

130 int32_t IteratedChar::nextByte(InputText *det)
132 if (nextIndex >= det->fRawLength) {
138 return det->fRawInput[nextIndex++];
146 int32_t CharsetRecog_mbcs::match_mbcs(InputText *det, const uint16_t commonChars[], int32_t commonCharsLen) {
155 while (nextChar(&iter, det)) {
242 UBool CharsetRecog_sjis::nextChar(IteratedChar* it, InputText* det) {
246 int32_t firstByte = it->charValue = it->nextByte(det);
256 int32_t secondByte = it->nextByte(det);
270 int32_t CharsetRecog_sjis::match(InputText* det)
272 return match_mbcs(det, commonChars_sjis, ARRAY_SIZE(commonChars_sjis));
290 UBool CharsetRecog_euc::nextChar(IteratedChar* it, InputText* det) {
297 firstByte = it->charValue = it->nextByte(det);
309 secondByte = it->nextByte(det);
341 thirdByte = it->nextByte(det);
369 int32_t CharsetRecog_euc_jp::match(InputText *det)
371 return match_mbcs(det, commonChars_euc_jp, ARRAY_SIZE(commonChars_euc_jp));
389 int32_t CharsetRecog_euc_kr::match(InputText *det)
391 return match_mbcs(det, commonChars_euc_kr, ARRAY_SIZE(commonChars_euc_kr));
399 UBool CharsetRecog_big5::nextChar(IteratedChar* it, InputText* det)
405 firstByte = it->charValue = it->nextByte(det);
416 int32_t secondByte = it->nextByte(det);
439 int32_t CharsetRecog_big5::match(InputText *det)
441 return match_mbcs(det, commonChars_big5, ARRAY_SIZE(commonChars_big5));
449 UBool CharsetRecog_gb_18030::nextChar(IteratedChar* it, InputText* det) {
457 firstByte = it->charValue = it->nextByte(det);
469 secondByte = it->nextByte(det);
483 thirdByte = it->nextByte(det);
486 fourthByte = it->nextByte(det);
513 int32_t CharsetRecog_gb_18030::match(InputText *det)
515 return match_mbcs(det, commonChars_gb_18030, ARRAY_SIZE(commonChars_gb_18030));