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