Lines Matching refs:det
95 int32_t NGramParser::nextByte(InputText *det) in nextByte() argument
97 if (byteIndex >= det->fInputLen) { in nextByte()
101 return det->fInputBytes[byteIndex++]; in nextByte()
104 void NGramParser::parseCharacters(InputText *det) in parseCharacters() argument
109 while ((b = nextByte(det)) >= 0) { in parseCharacters()
123 int32_t NGramParser::parse(InputText *det) in parse() argument
125 parseCharacters(det); in parse()
192 int32_t NGramParser_IBM420::nextByte(InputText *det) in nextByte() argument
195 if (byteIndex >= det->fInputLen || det->fInputBytes[byteIndex] == 0) { in nextByte()
200 alef = isLamAlef(det->fInputBytes[byteIndex]); in nextByte()
204 next = unshapeMap_IBM420[det->fInputBytes[byteIndex]& 0xFF] & 0xFF; in nextByte()
211 void NGramParser_IBM420::parseCharacters(InputText *det) in parseCharacters() argument
216 while ((b = nextByte(det)) >= 0) { in parseCharacters()
254 int32_t CharsetRecog_sbcs::match_sbcs(InputText *det, const int32_t ngrams[], const uint8_t byteMa… in match_sbcs() argument
259 result = parser.parse(det); in match_sbcs()
1224 int32_t CharsetRecog_IBM420_ar::match_sbcs(InputText *det, const int32_t ngrams[], const uint8_t b… in match_sbcs() argument
1229 result = parser.parse(det); in match_sbcs()