/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CharsetRecog_sbcs.java | 426 public CharsetMatch match(CharsetDetector det) in match() 438 …return bestConfidenceSoFar <= 0 ? null : new CharsetMatch(det, this, bestConfidenceSoFar, name, la… in match() 523 public CharsetMatch match(CharsetDetector det) in match() 535 …return bestConfidenceSoFar <= 0 ? null : new CharsetMatch(det, this, bestConfidenceSoFar, name, la… in match() 607 public CharsetMatch match(CharsetDetector det) in match() 610 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match() 674 public CharsetMatch match(CharsetDetector det) in match() 677 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match() 741 public CharsetMatch match(CharsetDetector det) in match() 745 return confidence == 0 ? null : new CharsetMatch(det, this, confidence, name, "el"); in match() [all …]
|
D | CharsetRecog_mbcs.java | 226 CharsetMatch match(CharsetDetector det) { in match() 228 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match() 295 CharsetMatch match(CharsetDetector det) { in match() 297 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match() 410 CharsetMatch match(CharsetDetector det) { in match() 412 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match() 448 CharsetMatch match(CharsetDetector det) { in match() 450 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match() 549 CharsetMatch match(CharsetDetector det) { in match() 551 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match()
|
D | CharsetRecog_2022.java | 122 CharsetMatch match(CharsetDetector det) { in match() 124 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match() 139 CharsetMatch match(CharsetDetector det) { in match() 141 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match() 166 CharsetMatch match(CharsetDetector det) { in match() 168 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match()
|
D | CharsetRecog_Unicode.java | 29 abstract CharsetMatch match(CharsetDetector det); in match() 63 CharsetMatch match(CharsetDetector det) in match() 84 return new CharsetMatch(det, this, confidence); in match() 99 CharsetMatch match(CharsetDetector det) in match() 120 return new CharsetMatch(det, this, confidence); in match() 134 CharsetMatch match(CharsetDetector det) in match() 176 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match()
|
D | CharsetDetector.java | 157 public CharsetMatch detect() { in detect() 162 CharsetMatch matches[] = detectAll(); in detect() 186 public CharsetMatch[] detectAll() { in detectAll() 187 ArrayList<CharsetMatch> matches = new ArrayList<CharsetMatch>(); in detectAll() 197 CharsetMatch m = rcinfo.recognizer.match(this); in detectAll() 205 CharsetMatch [] resultArray = new CharsetMatch[matches.size()]; in detectAll() 239 CharsetMatch match = detect(); in getReader() 274 CharsetMatch match = detect(); in getString()
|
D | CharsetMatch.java | 31 public class CharsetMatch implements Comparable<CharsetMatch> { class 181 public int compareTo (CharsetMatch other) { in compareTo() 194 CharsetMatch(CharsetDetector det, CharsetRecognizer rec, int conf) { in CharsetMatch() method in CharsetMatch 214 CharsetMatch(CharsetDetector det, CharsetRecognizer rec, int conf, String csName, String lang) { in CharsetMatch() method in CharsetMatch
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CharsetRecog_sbcs.java | 427 public CharsetMatch match(CharsetDetector det) in match() 439 …return bestConfidenceSoFar <= 0 ? null : new CharsetMatch(det, this, bestConfidenceSoFar, name, la… in match() 524 public CharsetMatch match(CharsetDetector det) in match() 536 …return bestConfidenceSoFar <= 0 ? null : new CharsetMatch(det, this, bestConfidenceSoFar, name, la… in match() 608 public CharsetMatch match(CharsetDetector det) in match() 611 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match() 675 public CharsetMatch match(CharsetDetector det) in match() 678 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match() 742 public CharsetMatch match(CharsetDetector det) in match() 746 return confidence == 0 ? null : new CharsetMatch(det, this, confidence, name, "el"); in match() [all …]
|
D | CharsetRecog_mbcs.java | 227 CharsetMatch match(CharsetDetector det) { in match() 229 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match() 296 CharsetMatch match(CharsetDetector det) { in match() 298 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match() 411 CharsetMatch match(CharsetDetector det) { in match() 413 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match() 449 CharsetMatch match(CharsetDetector det) { in match() 451 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match() 550 CharsetMatch match(CharsetDetector det) { in match() 552 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match()
|
D | CharsetRecog_2022.java | 123 CharsetMatch match(CharsetDetector det) { in match() 125 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match() 140 CharsetMatch match(CharsetDetector det) { in match() 142 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match() 167 CharsetMatch match(CharsetDetector det) { in match() 169 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match()
|
D | CharsetRecog_Unicode.java | 30 abstract CharsetMatch match(CharsetDetector det); in match() 64 CharsetMatch match(CharsetDetector det) in match() 85 return new CharsetMatch(det, this, confidence); in match() 100 CharsetMatch match(CharsetDetector det) in match() 121 return new CharsetMatch(det, this, confidence); in match() 135 CharsetMatch match(CharsetDetector det) in match() 177 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match()
|
D | CharsetDetector.java | 148 public CharsetMatch detect() { in detect() 153 CharsetMatch matches[] = detectAll(); in detect() 175 public CharsetMatch[] detectAll() { in detectAll() 176 ArrayList<CharsetMatch> matches = new ArrayList<CharsetMatch>(); in detectAll() 186 CharsetMatch m = rcinfo.recognizer.match(this); in detectAll() 194 CharsetMatch [] resultArray = new CharsetMatch[matches.size()]; in detectAll() 226 CharsetMatch match = detect(); in getReader() 259 CharsetMatch match = detect(); in getString()
|
D | CharsetMatch.java | 32 public class CharsetMatch implements Comparable<CharsetMatch> { class 169 public int compareTo (CharsetMatch other) { in compareTo() 182 CharsetMatch(CharsetDetector det, CharsetRecognizer rec, int conf) { in CharsetMatch() method in CharsetMatch 202 CharsetMatch(CharsetDetector det, CharsetRecognizer rec, int conf, String csName, String lang) { in CharsetMatch() method in CharsetMatch
|
/external/icu/icu4c/source/i18n/ |
D | csrsbcs.h | 78 virtual UBool match(InputText *det, CharsetMatch *results) const = 0; 87 virtual UBool match(InputText *det, CharsetMatch *results) const; 95 virtual UBool match(InputText *det, CharsetMatch *results) const; 146 virtual UBool match(InputText *det, CharsetMatch *results) const; 156 virtual UBool match(InputText *det, CharsetMatch *results) const; 166 virtual UBool match(InputText *det, CharsetMatch *results) const; 178 virtual UBool match(InputText *det, CharsetMatch *results) const; 188 virtual UBool match(InputText *det, CharsetMatch *results) const; 198 virtual UBool match(InputText *det, CharsetMatch *results) const; 210 virtual UBool match(InputText *det, CharsetMatch *results) const; [all …]
|
D | csmatch.cpp | 23 CharsetMatch::CharsetMatch() in CharsetMatch() function in CharsetMatch 29 void CharsetMatch::set(InputText *input, const CharsetRecognizer *cr, int32_t conf, in set() 46 const char* CharsetMatch::getName()const in getName() 51 const char* CharsetMatch::getLanguage()const in getLanguage() 56 int32_t CharsetMatch::getConfidence()const in getConfidence() 61 int32_t CharsetMatch::getUChars(UChar *buf, int32_t cap, UErrorCode *status) const in getUChars()
|
D | csrmbcs.h | 76 UBool match(InputText* input, CharsetMatch *results) const = 0; 105 UBool match(InputText* input, CharsetMatch *results) const; 127 UBool match(InputText* input, CharsetMatch *results) const = 0; 149 UBool match(InputText* input, CharsetMatch *results) const; 164 UBool match(InputText* input, CharsetMatch *results) const; 182 UBool match(InputText* input, CharsetMatch *results) const; 201 UBool match(InputText* input, CharsetMatch *results) const;
|
D | csrsbcs.cpp | 892 UBool CharsetRecog_8859_1::match(InputText *textIn, CharsetMatch *results) const { in match() 919 UBool CharsetRecog_8859_2::match(InputText *textIn, CharsetMatch *results) const { in match() 961 UBool CharsetRecog_8859_5_ru::match(InputText *textIn, CharsetMatch *results) const in match() 988 UBool CharsetRecog_8859_6_ar::match(InputText *textIn, CharsetMatch *results) const in match() 1015 UBool CharsetRecog_8859_7_el::match(InputText *textIn, CharsetMatch *results) const in match() 1048 UBool CharsetRecog_8859_8_I_he::match(InputText *textIn, CharsetMatch *results) const in match() 1066 UBool CharsetRecog_8859_8_he::match(InputText *textIn, CharsetMatch *results) const in match() 1094 UBool CharsetRecog_8859_9_tr::match(InputText *textIn, CharsetMatch *results) const in match() 1117 UBool CharsetRecog_windows_1256::match(InputText *textIn, CharsetMatch *results) const in match() 1139 UBool CharsetRecog_windows_1251::match(InputText *textIn, CharsetMatch *results) const in match() [all …]
|
D | csr2022.h | 21 class CharsetMatch; variable 67 UBool match(InputText *textIn, CharsetMatch *results) const; 77 UBool match(InputText *textIn, CharsetMatch *results) const; 88 UBool match(InputText *textIn, CharsetMatch *results) const;
|
D | csdetect.h | 23 class CharsetMatch; variable 29 CharsetMatch **resultArray; 46 const CharsetMatch * const *detectAll(int32_t &maxMatchesFound, UErrorCode &status); 48 const CharsetMatch *detect(UErrorCode& status);
|
D | csrucode.h | 41 UBool match(InputText* textIn, CharsetMatch *results) const = 0; 53 UBool match(InputText* textIn, CharsetMatch *results) const; 64 UBool match(InputText* textIn, CharsetMatch *results) const; 77 UBool match(InputText* textIn, CharsetMatch *results) const;
|
D | csdetect.cpp | 77 const CharsetMatch **csm_l = (const CharsetMatch **) left; in charsetMatchComparator() 78 const CharsetMatch **csm_r = (const CharsetMatch **) right; in charsetMatchComparator() 165 resultArray = (CharsetMatch **)uprv_malloc(sizeof(CharsetMatch *)*fCSRecognizers_size); in CharsetDetector() 173 resultArray[i] = new CharsetMatch(); in CharsetDetector() 230 const CharsetMatch *CharsetDetector::detect(UErrorCode &status) in detect() 243 const CharsetMatch * const *CharsetDetector::detectAll(int32_t &maxMatchesFound, UErrorCode &status) in detectAll()
|
D | ucsdet.cpp | 72 return ((CharsetMatch *) ucsm)->getName(); in ucsdet_getName() 82 return ((CharsetMatch *) ucsm)->getConfidence(); in ucsdet_getConfidence() 92 return ((CharsetMatch *) ucsm)->getLanguage(); in ucsdet_getLanguage() 181 return ((CharsetMatch *) ucsm)->getUChars(buf, cap, status); in ucsdet_getUChars()
|
D | csr2022.cpp | 149 UBool CharsetRecog_2022JP::match(InputText *textIn, CharsetMatch *results) const { in match() 165 UBool CharsetRecog_2022KR::match(InputText *textIn, CharsetMatch *results) const { in match() 180 UBool CharsetRecog_2022CN::match(InputText *textIn, CharsetMatch *results) const { in match()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/charsetdet/ |
D | TestCharsetDetector.java | 37 import com.ibm.icu.text.CharsetMatch; 136 CharsetMatch m; in TestInputFilter() 193 CharsetMatch m; in TestUTF16() 229 CharsetMatch m; in TestC1Bytes() 264 CharsetMatch m; in TestShortInput() 298 CharsetMatch match; in TestBufferOverflow() 422 CharsetMatch m = det.detect(); in checkMatch() 511 CharsetMatch m; in TestJapanese() 547 CharsetMatch m; in TestArabic() 665 CharsetMatch m = _test1255(s); in TestHebrew() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/charsetdet/ |
D | TestCharsetDetector.java | 38 import android.icu.text.CharsetMatch; 139 CharsetMatch m; in TestInputFilter() 196 CharsetMatch m; in TestUTF16() 232 CharsetMatch m; in TestC1Bytes() 267 CharsetMatch m; in TestShortInput() 301 CharsetMatch match; in TestBufferOverflow() 425 CharsetMatch m = det.detect(); in checkMatch() 514 CharsetMatch m; in TestJapanese() 550 CharsetMatch m; in TestArabic() 668 CharsetMatch m = _test1255(s); in TestHebrew() [all …]
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/charsetdet/ |
D | DetectingViewer.java | 43 import com.ibm.icu.text.CharsetMatch; 165 private String encodingName(CharsetMatch match) in encodingName() 170 private void setMatchMenu(CharsetMatch[] matches) in setMatchMenu() 178 CharsetMatch match = matches[i]; in setMatchMenu() 268 private CharsetMatch[] detect(byte[] bytes) in detect() 277 private CharsetMatch[] detect(BufferedInputStream inputStream) in detect() 291 private void show(InputStream inputStream, CharsetMatch[] matches, String title) in show() 361 CharsetMatch[] matches = detect(inputStream); in doOpenFile() 378 CharsetMatch[] matches = detect(filtered); in doOpenURL()
|