Searched refs:CSRecognizerInfo (Results 1 – 3 of 3) sorted by relevance
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CharsetDetector.java | 181 CSRecognizerInfo rcinfo = ALL_CS_RECOGNIZERS.get(i); in detectAll() 439 private static class CSRecognizerInfo { class in CharsetDetector 443 CSRecognizerInfo(CharsetRecognizer recognizer, boolean isDefaultEnabled) { in CSRecognizerInfo() method in CharsetDetector.CSRecognizerInfo 452 private static final List<CSRecognizerInfo> ALL_CS_RECOGNIZERS; 455 List<CSRecognizerInfo> list = new ArrayList<CSRecognizerInfo>(); 457 list.add(new CSRecognizerInfo(new CharsetRecog_UTF8(), true)); in list.add() 458 list.add(new CSRecognizerInfo(new CharsetRecog_Unicode.CharsetRecog_UTF_16_BE(), true)); in list.add() 459 list.add(new CSRecognizerInfo(new CharsetRecog_Unicode.CharsetRecog_UTF_16_LE(), true)); in list.add() 460 list.add(new CSRecognizerInfo(new CharsetRecog_Unicode.CharsetRecog_UTF_32_BE(), true)); in list.add() 461 list.add(new CSRecognizerInfo(new CharsetRecog_Unicode.CharsetRecog_UTF_32_LE(), true)); in list.add() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CharsetDetector.java | 192 CSRecognizerInfo rcinfo = ALL_CS_RECOGNIZERS.get(i); in detectAll() 460 private static class CSRecognizerInfo { class in CharsetDetector 464 CSRecognizerInfo(CharsetRecognizer recognizer, boolean isDefaultEnabled) { in CSRecognizerInfo() method in CharsetDetector.CSRecognizerInfo 473 private static final List<CSRecognizerInfo> ALL_CS_RECOGNIZERS; 476 List<CSRecognizerInfo> list = new ArrayList<CSRecognizerInfo>(); 478 list.add(new CSRecognizerInfo(new CharsetRecog_UTF8(), true)); in list.add() 479 list.add(new CSRecognizerInfo(new CharsetRecog_Unicode.CharsetRecog_UTF_16_BE(), true)); in list.add() 480 list.add(new CSRecognizerInfo(new CharsetRecog_Unicode.CharsetRecog_UTF_16_LE(), true)); in list.add() 481 list.add(new CSRecognizerInfo(new CharsetRecog_Unicode.CharsetRecog_UTF_32_BE(), true)); in list.add() 482 list.add(new CSRecognizerInfo(new CharsetRecog_Unicode.CharsetRecog_UTF_32_LE(), true)); in list.add() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | csdetect.cpp | 37 struct CSRecognizerInfo : public UMemory { struct 38 CSRecognizerInfo(CharsetRecognizer *recognizer, UBool isDefaultEnabled) in CSRecognizerInfo() function 41 ~CSRecognizerInfo() {delete recognizer;}; in ~CSRecognizerInfo() argument 49 static icu::CSRecognizerInfo **fCSRecognizers = NULL; argument 87 CSRecognizerInfo *tempArray[] = { in initRecognizers() 88 new CSRecognizerInfo(new CharsetRecog_UTF8(), TRUE), in initRecognizers() 90 new CSRecognizerInfo(new CharsetRecog_UTF_16_BE(), TRUE), in initRecognizers() 91 new CSRecognizerInfo(new CharsetRecog_UTF_16_LE(), TRUE), in initRecognizers() 92 new CSRecognizerInfo(new CharsetRecog_UTF_32_BE(), TRUE), in initRecognizers() 93 new CSRecognizerInfo(new CharsetRecog_UTF_32_LE(), TRUE), in initRecognizers() [all …]
|