Home
last modified time | relevance | path

Searched refs:CSRecognizerInfo (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCharsetDetector.java194 CSRecognizerInfo rcinfo = ALL_CS_RECOGNIZERS.get(i); in detectAll()
462 private static class CSRecognizerInfo { class in CharsetDetector
466 CSRecognizerInfo(CharsetRecognizer recognizer, boolean isDefaultEnabled) { in CSRecognizerInfo() method in CharsetDetector.CSRecognizerInfo
475 private static final List<CSRecognizerInfo> ALL_CS_RECOGNIZERS;
478 List<CSRecognizerInfo> list = new ArrayList<CSRecognizerInfo>();
480 list.add(new CSRecognizerInfo(new CharsetRecog_UTF8(), true)); in list.add()
481 list.add(new CSRecognizerInfo(new CharsetRecog_Unicode.CharsetRecog_UTF_16_BE(), true)); in list.add()
482 list.add(new CSRecognizerInfo(new CharsetRecog_Unicode.CharsetRecog_UTF_16_LE(), true)); in list.add()
483 list.add(new CSRecognizerInfo(new CharsetRecog_Unicode.CharsetRecog_UTF_32_BE(), true)); in list.add()
484 list.add(new CSRecognizerInfo(new CharsetRecog_Unicode.CharsetRecog_UTF_32_LE(), true)); in list.add()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCharsetDetector.java183 CSRecognizerInfo rcinfo = ALL_CS_RECOGNIZERS.get(i); in detectAll()
441 private static class CSRecognizerInfo { class in CharsetDetector
445 CSRecognizerInfo(CharsetRecognizer recognizer, boolean isDefaultEnabled) { in CSRecognizerInfo() method in CharsetDetector.CSRecognizerInfo
454 private static final List<CSRecognizerInfo> ALL_CS_RECOGNIZERS;
457 List<CSRecognizerInfo> list = new ArrayList<CSRecognizerInfo>();
459 list.add(new CSRecognizerInfo(new CharsetRecog_UTF8(), true)); in list.add()
460 list.add(new CSRecognizerInfo(new CharsetRecog_Unicode.CharsetRecog_UTF_16_BE(), true)); in list.add()
461 list.add(new CSRecognizerInfo(new CharsetRecog_Unicode.CharsetRecog_UTF_16_LE(), true)); in list.add()
462 list.add(new CSRecognizerInfo(new CharsetRecog_Unicode.CharsetRecog_UTF_32_BE(), true)); in list.add()
463 list.add(new CSRecognizerInfo(new CharsetRecog_Unicode.CharsetRecog_UTF_32_LE(), true)); in list.add()
[all …]
/external/icu/icu4c/source/i18n/
Dcsdetect.cpp37 struct CSRecognizerInfo : public UMemory { struct
38 CSRecognizerInfo(CharsetRecognizer *recognizer, UBool isDefaultEnabled) in CSRecognizerInfo() argument
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 …]