/external/icu/icu4c/source/i18n/ |
H A D | csmatch.cpp | 23 CharsetMatch::CharsetMatch() function in class:CharsetMatch 29 void CharsetMatch::set(InputText *input, const CharsetRecognizer *cr, int32_t conf, 46 const char* CharsetMatch::getName()const 51 const char* CharsetMatch::getLanguage()const 56 int32_t CharsetMatch::getConfidence()const 61 int32_t CharsetMatch::getUChars(UChar *buf, int32_t cap, UErrorCode *status) const
|
H A D | csrecog.h | 21 class CharsetMatch; 49 virtual UBool match(InputText *textIn, CharsetMatch *results) const = 0;
|
H A D | csdetect.h | 23 class CharsetMatch; 29 CharsetMatch **resultArray; 46 const CharsetMatch * const *detectAll(int32_t &maxMatchesFound, UErrorCode &status); 48 const CharsetMatch *detect(UErrorCode& status);
|
H A D | csr2022.h | 21 class CharsetMatch; 67 UBool match(InputText *textIn, CharsetMatch *results) const; 77 UBool match(InputText *textIn, CharsetMatch *results) const; 88 UBool match(InputText *textIn, CharsetMatch *results) const;
|
H A D | csrutf8.h | 37 UBool match(InputText *input, CharsetMatch *results) const;
|
H A D | csmatch.h | 23 * CharsetMatch represents the results produced by one Charset Recognizer for one input text 28 * CharsetMatch objects, each representing a possible matching charset. 33 class CharsetMatch : public UMemory class in inherits:UMemory 42 CharsetMatch(); 45 * fully set the state of this CharsetMatch.
|
H A 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 *result [all...] |
H A 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;
|
H A 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;
|
H A D | ucsdet.cpp | 72 return ((CharsetMatch *) ucsm)->getName(); 82 return ((CharsetMatch *) ucsm)->getConfidence(); 92 return ((CharsetMatch *) ucsm)->getLanguage(); 181 return ((CharsetMatch *) ucsm)->getUChars(buf, cap, status);
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
H A D | CharsetRecognizer.java | 48 * @return A CharsetMatch object containing details of match 51 abstract CharsetMatch match(CharsetDetector det);
|
H A D | CharsetRecog_2022.java | 123 CharsetMatch match(CharsetDetector det) { 125 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); 140 CharsetMatch match(CharsetDetector det) { 142 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); 167 CharsetMatch match(CharsetDetector det) { 169 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
|
H A D | CharsetMatch.java | 32 public class CharsetMatch implements Comparable<CharsetMatch> { class in inherits:Comparable 157 * Compare to other CharsetMatch objects. 161 * @param other the CharsetMatch object to compare against. 163 * confidence level of this CharsetMatch 166 * @throws ClassCastException if the argument is not a CharsetMatch. 169 public int compareTo (CharsetMatch other) { 182 CharsetMatch(CharsetDetector det, CharsetRecognizer rec, int conf) { method in class:CharsetMatch 187 // recognizer before using this CharsetMatch. 202 CharsetMatch(CharsetDetecto method in class:CharsetMatch [all...] |
H A D | CharsetRecog_Unicode.java | 30 abstract CharsetMatch match(CharsetDetector det); 64 CharsetMatch match(CharsetDetector det) 85 return new CharsetMatch(det, this, confidence); 100 CharsetMatch match(CharsetDetector det) 121 return new CharsetMatch(det, this, confidence); 135 CharsetMatch match(CharsetDetector det) 177 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
|
H A D | CharsetRecog_UTF8.java | 26 CharsetMatch match(CharsetDetector det) { 97 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
|
H A D | CharsetDetector.java | 145 * @return a CharsetMatch object representing the best matching charset, or 148 public CharsetMatch detect() { 153 CharsetMatch matches[] = detectAll(); 173 * @return An array of CharsetMatch objects representing possibly matching charsets. 175 public CharsetMatch[] detectAll() { 176 ArrayList<CharsetMatch> matches = new ArrayList<CharsetMatch>(); 186 CharsetMatch m = rcinfo.recognizer.match(this); 192 Collections.sort(matches); // CharsetMatch compares on confidence 194 CharsetMatch [] resultArra [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | CharsetRecognizer.java | 47 * @return A CharsetMatch object containing details of match 50 abstract CharsetMatch match(CharsetDetector det);
|
H A D | CharsetMatch.java | 31 public class CharsetMatch implements Comparable<CharsetMatch> { class in inherits:Comparable 168 * Compare to other CharsetMatch objects. 172 * @param other the CharsetMatch object to compare against. 174 * confidence level of this CharsetMatch 177 * @throws ClassCastException if the argument is not a CharsetMatch. 181 public int compareTo (CharsetMatch other) { 194 CharsetMatch(CharsetDetector det, CharsetRecognizer rec, int conf) { method in class:CharsetMatch 199 // recognizer before using this CharsetMatch. 214 CharsetMatch(CharsetDetecto method in class:CharsetMatch [all...] |
H A D | CharsetRecog_Unicode.java | 29 abstract CharsetMatch match(CharsetDetector det); 63 CharsetMatch match(CharsetDetector det) 84 return new CharsetMatch(det, this, confidence); 99 CharsetMatch match(CharsetDetector det) 120 return new CharsetMatch(det, this, confidence); 134 CharsetMatch match(CharsetDetector det) 176 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
|
H A D | CharsetRecog_2022.java | 122 CharsetMatch match(CharsetDetector det) { 124 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); 139 CharsetMatch match(CharsetDetector det) { 141 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); 166 CharsetMatch match(CharsetDetector det) { 168 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
|
H A D | CharsetRecog_UTF8.java | 25 CharsetMatch match(CharsetDetector det) { 96 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
|
H A D | CharsetDetector.java | 152 * @return a CharsetMatch object representing the best matching charset, or 157 public CharsetMatch detect() { 162 CharsetMatch matches[] = detectAll(); 182 * @return An array of CharsetMatch objects representing possibly matching charsets. 186 public CharsetMatch[] detectAll() { 187 ArrayList<CharsetMatch> matches = new ArrayList<CharsetMatch>(); 197 CharsetMatch m = rcinfo.recognizer.match(this); 203 Collections.sort(matches); // CharsetMatch compares on confidence 205 CharsetMatch [] resultArra [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/charsetdet/ |
H A D | TestCharsetDetector.java | 36 import android.icu.text.CharsetMatch; 134 CharsetMatch m; 191 CharsetMatch m; 227 CharsetMatch m; 262 CharsetMatch m; 296 CharsetMatch match; 420 CharsetMatch m = det.detect(); 509 CharsetMatch m; 545 CharsetMatch m; 663 CharsetMatch [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/charsetdet/ |
H A D | TestCharsetDetector.java | 35 import com.ibm.icu.text.CharsetMatch; 133 CharsetMatch m; 190 CharsetMatch m; 226 CharsetMatch m; 261 CharsetMatch m; 295 CharsetMatch match; 419 CharsetMatch m = det.detect(); 508 CharsetMatch m; 544 CharsetMatch m; 662 CharsetMatch [all...] |
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/charsetdet/ |
H A D | DetectingViewer.java | 43 import com.ibm.icu.text.CharsetMatch; 165 private String encodingName(CharsetMatch match) 170 private void setMatchMenu(CharsetMatch[] matches) 178 CharsetMatch match = matches[i]; 268 private CharsetMatch[] detect(byte[] bytes) 277 private CharsetMatch[] detect(BufferedInputStream inputStream) 291 private void show(InputStream inputStream, CharsetMatch[] matches, String title) 361 CharsetMatch[] matches = detect(inputStream); 378 CharsetMatch[] matches = detect(filtered);
|