Lines Matching defs:ucsd
49 ucsdet_close(UCharsetDetector *ucsd)
51 CharsetDetector *csd = (CharsetDetector *) ucsd;
56 ucsdet_setText(UCharsetDetector *ucsd, const char *textIn, int32_t len, UErrorCode *status)
62 ((CharsetDetector *) ucsd)->setText(textIn, len);
96 ucsdet_detect(UCharsetDetector *ucsd, UErrorCode *status)
102 return (const UCharsetMatch *) ((CharsetDetector *) ucsd)->detect(*status);
106 ucsdet_setDeclaredEncoding(UCharsetDetector *ucsd, const char *encoding, int32_t length, UErrorCode *status)
112 ((CharsetDetector *) ucsd)->setDeclaredEncoding(encoding,length);
116 ucsdet_detectAll(UCharsetDetector *ucsd,
123 CharsetDetector *csd = (CharsetDetector *) ucsd;
147 ucsdet_isInputFilterEnabled(const UCharsetDetector *ucsd)
150 if (ucsd == NULL) {
154 return ((CharsetDetector *) ucsd)->getStripTagsFlag();
158 ucsdet_enableInputFilter(UCharsetDetector *ucsd, UBool filter)
161 if (ucsd == NULL) {
165 CharsetDetector *csd = (CharsetDetector *) ucsd;
185 ucsdet_setDetectableCharset(UCharsetDetector *ucsd, const char *encoding, UBool enabled, UErrorCode *status)
187 ((CharsetDetector *)ucsd)->setDetectableCharset(encoding, enabled, *status);
191 ucsdet_getAllDetectableCharsets(const UCharsetDetector * /*ucsd*/, UErrorCode *status)
197 ucsdet_getDetectableCharsets(const UCharsetDetector *ucsd, UErrorCode *status)
199 return ((CharsetDetector *)ucsd)->getDetectableCharsets(*status);