Lines Matching defs:det

41      * @param det  The CharsetDetector, which contains the input text
49 int match(CharsetDetector det, int [] commonChars) {
60 for (iter.reset(); nextChar(iter, det);) {
157 int nextByte(CharsetDetector det) {
158 if (nextIndex >= det.fRawLength) {
162 int byteValue = det.fRawInput[nextIndex++] & 0x00ff;
175 * @param det The charset detector, which is needed to get at the input byte data
179 abstract boolean nextChar(iteratedChar it, CharsetDetector det);
202 boolean nextChar(iteratedChar it, CharsetDetector det) {
205 firstByte = it.charValue = it.nextByte(det);
214 int secondByte = it.nextByte(det);
227 CharsetMatch match(CharsetDetector det) {
228 int confidence = match(det, commonChars);
229 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
268 boolean nextChar(iteratedChar it, CharsetDetector det) {
271 firstByte = it.charValue = it.nextByte(det);
281 int secondByte = it.nextByte(det);
296 CharsetMatch match(CharsetDetector det) {
297 int confidence = match(det, commonChars);
298 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
330 boolean nextChar(iteratedChar it, CharsetDetector det) {
338 firstByte = it.charValue = it.nextByte(det);
349 secondByte = it.nextByte(det);
375 thirdByte = it.nextByte(det);
411 CharsetMatch match(CharsetDetector det) {
412 int confidence = match(det, commonChars);
413 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
449 CharsetMatch match(CharsetDetector det) {
450 int confidence = match(det, commonChars);
451 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
476 boolean nextChar(iteratedChar it, CharsetDetector det) {
484 firstByte = it.charValue = it.nextByte(det);
497 secondByte = it.nextByte(det);
508 thirdByte = it.nextByte(det);
511 fourthByte = it.nextByte(det);
550 CharsetMatch match(CharsetDetector det) {
551 int confidence = match(det, commonChars);
552 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);