/external/icu/icu4c/source/i18n/ |
csrecog.h | 19 class CharsetMatch; 47 virtual UBool match(InputText *textIn, CharsetMatch *results) const = 0;
|
csmatch.cpp | 21 CharsetMatch::CharsetMatch() 27 void CharsetMatch::set(InputText *input, const CharsetRecognizer *cr, int32_t conf, 44 const char* CharsetMatch::getName()const 49 const char* CharsetMatch::getLanguage()const 54 int32_t CharsetMatch::getConfidence()const 59 int32_t CharsetMatch::getUChars(UChar *buf, int32_t cap, UErrorCode *status) const
|
csr2022.h | 19 class CharsetMatch; 65 UBool match(InputText *textIn, CharsetMatch *results) const; 75 UBool match(InputText *textIn, CharsetMatch *results) const; 86 UBool match(InputText *textIn, CharsetMatch *results) const;
|
csdetect.h | 19 class CharsetMatch; 25 CharsetMatch **resultArray; 42 const CharsetMatch * const *detectAll(int32_t &maxMatchesFound, UErrorCode &status); 44 const CharsetMatch *detect(UErrorCode& status);
|
csrsbcs.h | 76 virtual UBool match(InputText *det, CharsetMatch *results) const = 0; 85 virtual UBool match(InputText *det, CharsetMatch *results) const; 93 virtual UBool match(InputText *det, CharsetMatch *results) const; 144 virtual UBool match(InputText *det, CharsetMatch *results) const; 154 virtual UBool match(InputText *det, CharsetMatch *results) const; 164 virtual UBool match(InputText *det, CharsetMatch *results) const; 176 virtual UBool match(InputText *det, CharsetMatch *results) const; 186 virtual UBool match(InputText *det, CharsetMatch *results) const; 196 virtual UBool match(InputText *det, CharsetMatch *results) const; 208 virtual UBool match(InputText *det, CharsetMatch *results) const [all...] |
csrucode.h | 39 UBool match(InputText* textIn, CharsetMatch *results) const = 0; 51 UBool match(InputText* textIn, CharsetMatch *results) const; 62 UBool match(InputText* textIn, CharsetMatch *results) const; 75 UBool match(InputText* textIn, CharsetMatch *results) const;
|
csrutf8.h | 35 UBool match(InputText *input, CharsetMatch *results) const;
|
csmatch.h | 21 * CharsetMatch represents the results produced by one Charset Recognizer for one input text 26 * CharsetMatch objects, each representing a possible matching charset. 31 class CharsetMatch : public UMemory 40 CharsetMatch(); 43 * fully set the state of this CharsetMatch.
|
csrmbcs.h | 74 UBool match(InputText* input, CharsetMatch *results) const = 0; 103 UBool match(InputText* input, CharsetMatch *results) const; 125 UBool match(InputText* input, CharsetMatch *results) const = 0; 147 UBool match(InputText* input, CharsetMatch *results) const; 162 UBool match(InputText* input, CharsetMatch *results) const; 180 UBool match(InputText* input, CharsetMatch *results) const; 199 UBool match(InputText* input, CharsetMatch *results) const;
|
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/ |
CharsetRecognizer.java | 46 * @return A CharsetMatch object containing details of match 49 abstract CharsetMatch match(CharsetDetector det);
|
CharsetRecog_2022.java | 119 CharsetMatch match(CharsetDetector det) { 121 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); 134 CharsetMatch match(CharsetDetector det) { 136 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); 159 CharsetMatch match(CharsetDetector det) { 161 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
|
CharsetMatch.java | 30 public class CharsetMatch implements Comparable<CharsetMatch> { 155 * Compare to other CharsetMatch objects. 159 * @param other the CharsetMatch object to compare against. 161 * confidence level of this CharsetMatch 164 * @throws ClassCastException if the argument is not a CharsetMatch. 166 public int compareTo (CharsetMatch other) { 179 CharsetMatch(CharsetDetector det, CharsetRecognizer rec, int conf) { 184 // recognizer before using this CharsetMatch. 199 CharsetMatch(CharsetDetector det, CharsetRecognizer rec, int conf, String csName, String lang) [all...] |
CharsetRecog_Unicode.java | 26 abstract CharsetMatch match(CharsetDetector det); 58 CharsetMatch match(CharsetDetector det) 79 return new CharsetMatch(det, this, confidence); 92 CharsetMatch match(CharsetDetector det) 113 return new CharsetMatch(det, this, confidence); 125 CharsetMatch match(CharsetDetector det) 167 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
|
CharsetRecog_UTF8.java | 22 CharsetMatch match(CharsetDetector det) { 93 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
|
CharsetDetector.java | 143 * @return a CharsetMatch object representing the best matching charset, or 146 public CharsetMatch detect() { 151 CharsetMatch matches[] = detectAll(); 171 * @return An array of CharsetMatch objects representing possibly matching charsets. 173 public CharsetMatch[] detectAll() { 174 ArrayList<CharsetMatch> matches = new ArrayList<CharsetMatch>(); 184 CharsetMatch m = rcinfo.recognizer.match(this); 190 Collections.sort(matches); // CharsetMatch compares on confidence 192 CharsetMatch [] resultArray = new CharsetMatch[matches.size()] [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
CharsetRecognizer.java | 45 * @return A CharsetMatch object containing details of match 48 abstract CharsetMatch match(CharsetDetector det);
|
CharsetRecog_2022.java | 118 CharsetMatch match(CharsetDetector det) { 120 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); 133 CharsetMatch match(CharsetDetector det) { 135 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); 158 CharsetMatch match(CharsetDetector det) { 160 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
|
CharsetMatch.java | 29 public class CharsetMatch implements Comparable<CharsetMatch> { 166 * Compare to other CharsetMatch objects. 170 * @param other the CharsetMatch object to compare against. 172 * confidence level of this CharsetMatch 175 * @throws ClassCastException if the argument is not a CharsetMatch. 178 public int compareTo (CharsetMatch other) { 191 CharsetMatch(CharsetDetector det, CharsetRecognizer rec, int conf) { 196 // recognizer before using this CharsetMatch. 211 CharsetMatch(CharsetDetector det, CharsetRecognizer rec, int conf, String csName, String lang) [all...] |
CharsetRecog_Unicode.java | 25 abstract CharsetMatch match(CharsetDetector det); 57 CharsetMatch match(CharsetDetector det) 78 return new CharsetMatch(det, this, confidence); 91 CharsetMatch match(CharsetDetector det) 112 return new CharsetMatch(det, this, confidence); 124 CharsetMatch match(CharsetDetector det) 166 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
|
CharsetRecog_UTF8.java | 21 CharsetMatch match(CharsetDetector det) { 92 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
|
CharsetDetector.java | 150 * @return a CharsetMatch object representing the best matching charset, or 155 public CharsetMatch detect() { 160 CharsetMatch matches[] = detectAll(); 180 * @return An array of CharsetMatch objects representing possibly matching charsets. 184 public CharsetMatch[] detectAll() { 185 ArrayList<CharsetMatch> matches = new ArrayList<CharsetMatch>(); 195 CharsetMatch m = rcinfo.recognizer.match(this); 201 Collections.sort(matches); // CharsetMatch compares on confidence 203 CharsetMatch [] resultArray = new CharsetMatch[matches.size()] [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/charsetdet/ |
TestCharsetDetector.java | 33 import android.icu.text.CharsetMatch; 148 CharsetMatch m; 203 CharsetMatch m; 238 CharsetMatch m; 272 CharsetMatch m; 305 CharsetMatch match; 428 CharsetMatch m = det.detect(); 516 CharsetMatch m; 517 String charsetMatch; 523 charsetMatch = m.getName() [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/charsetdet/ |
TestCharsetDetector.java | 32 import com.ibm.icu.text.CharsetMatch; 144 CharsetMatch m; 199 CharsetMatch m; 234 CharsetMatch m; 268 CharsetMatch m; 301 CharsetMatch match; 424 CharsetMatch m = det.detect(); 512 CharsetMatch m; 513 String charsetMatch; 519 charsetMatch = m.getName() [all...] |
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/charsetdet/ |
DetectingViewer.java | 41 import com.ibm.icu.text.CharsetMatch; 163 private String encodingName(CharsetMatch match) 168 private void setMatchMenu(CharsetMatch[] matches) 176 CharsetMatch match = matches[i]; 266 private CharsetMatch[] detect(byte[] bytes) 275 private CharsetMatch[] detect(BufferedInputStream inputStream) 289 private void show(InputStream inputStream, CharsetMatch[] matches, String title) 359 CharsetMatch[] matches = detect(inputStream); 376 CharsetMatch[] matches = detect(filtered);
|