Lines Matching defs:detector
21 UCharsetDetector* detector = ucsdet_open(&status);
22 ucsdet_setText(detector, text.data(), static_cast<int32_t>(text.length()),
24 const UCharsetMatch* match = ucsdet_detect(detector, &status);
28 ucsdet_close(detector);
40 UCharsetDetector* detector = ucsdet_open(&status);
41 ucsdet_setText(detector, text.data(), static_cast<int32_t>(text.length()),
44 const UCharsetMatch** matches = ucsdet_detectAll(detector,
48 ucsdet_close(detector);
86 UEnumeration* detectable_encodings = ucsdet_getAllDetectableCharsets(detector,
100 ucsdet_close(detector);