Home
last modified time | relevance | path

Searched refs:fEnabledRecognizers (Results 1 – 4 of 4) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/text/
DCharsetDetector.java182 … boolean active = (fEnabledRecognizers != null) ? fEnabledRecognizers[i] : rcinfo.isDefaultEnabled; in detectAll()
435 … private boolean[] fEnabledRecognizers; // If not null, active set of charset recognizers had field in CharsetDetector
507 … boolean active = (fEnabledRecognizers == null) ? rcinfo.isDefaultEnabled : fEnabledRecognizers[i]; in getDetectableCharsets()
547 if (fEnabledRecognizers == null && !isDefaultVal) { in setDetectableCharset()
549 fEnabledRecognizers = new boolean[ALL_CS_RECOGNIZERS.size()]; in setDetectableCharset()
553 fEnabledRecognizers[i] = ALL_CS_RECOGNIZERS.get(i).isDefaultEnabled; in setDetectableCharset()
557 if (fEnabledRecognizers != null) { in setDetectableCharset()
558 fEnabledRecognizers[modIdx] = enabled; in setDetectableCharset()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCharsetDetector.java193 … boolean active = (fEnabledRecognizers != null) ? fEnabledRecognizers[i] : rcinfo.isDefaultEnabled; in detectAll()
456 … private boolean[] fEnabledRecognizers; // If not null, active set of charset recognizers had field in CharsetDetector
528 … boolean active = (fEnabledRecognizers == null) ? rcinfo.isDefaultEnabled : fEnabledRecognizers[i]; in getDetectableCharsets()
568 if (fEnabledRecognizers == null && !isDefaultVal) { in setDetectableCharset()
570 fEnabledRecognizers = new boolean[ALL_CS_RECOGNIZERS.size()]; in setDetectableCharset()
574 fEnabledRecognizers[i] = ALL_CS_RECOGNIZERS.get(i).isDefaultEnabled; in setDetectableCharset()
578 if (fEnabledRecognizers != null) { in setDetectableCharset()
579 fEnabledRecognizers[modIdx] = enabled; in setDetectableCharset()
/external/icu/icu4c/source/i18n/
Dcsdetect.cpp153 fEnabledRecognizers(NULL) in CharsetDetector()
192 if (fEnabledRecognizers) { in ~CharsetDetector()
193 uprv_free(fEnabledRecognizers); in ~CharsetDetector()
298 if (fEnabledRecognizers == NULL && !isDefaultVal) { in setDetectableCharset()
300 fEnabledRecognizers = NEW_ARRAY(UBool, fCSRecognizers_size); in setDetectableCharset()
301 if (fEnabledRecognizers == NULL) { in setDetectableCharset()
307 fEnabledRecognizers[i] = fCSRecognizers[i]->isDefaultEnabled; in setDetectableCharset()
311 if (fEnabledRecognizers != NULL) { in setDetectableCharset()
312 fEnabledRecognizers[modIdx] = enabled; in setDetectableCharset()
481 ((Context*)en->context)->enabledRecognizers = fEnabledRecognizers; in getDetectableCharsets()
Dcsdetect.h31 UBool *fEnabledRecognizers; // If not null, active set of charset recognizers had variable