Lines Matching refs:csd

93     UCharsetDetector *csd = ucsdet_open(&status);
94 UEnumeration *e = ucsdet_getAllDetectableCharsets(csd, &status);
113 ucsdet_close(csd);
126 UCharsetDetector *csd = ucsdet_open(&status);
133 ucsdet_setText(csd, bytes, byteLength, &status);
139 match = ucsdet_detect(csd, &status);
152 ucsdet_setDeclaredEncoding(csd, "UTF-8", 5, &status); /* for coverage */
156 ucsdet_close(csd);
172 UCharsetDetector *csd = ucsdet_open(&status);
177 ucsdet_setText(csd, beBytes, beLength, &status);
178 match = ucsdet_detect(csd, &status);
197 ucsdet_setText(csd, leBytes, leLength, &status);
198 match = ucsdet_detect(csd, &status);
220 ucsdet_close(csd);
235 UCharsetDetector *csd = ucsdet_open(&status);
244 ucsdet_setText(csd, bWindows, lWindows, &status);
245 match = ucsdet_detect(csd, &status);
258 ucsdet_setText(csd, bISO, lISO, &status);
259 match = ucsdet_detect(csd, &status);
276 ucsdet_close(csd);
288 UCharsetDetector *csd = ucsdet_open(&status);
295 ucsdet_enableInputFilter(csd, TRUE);
297 if (!ucsdet_isInputFilterEnabled(csd)) {
298 log_err("ucsdet_enableInputFilter(csd, TRUE) did not enable input filter!\n");
302 ucsdet_setText(csd, bytes, byteLength, &status);
303 match = ucsdet_detect(csd, &status);
323 ucsdet_enableInputFilter(csd, FALSE);
324 ucsdet_setText(csd, bytes, byteLength, &status);
325 match = ucsdet_detect(csd, &status);
346 ucsdet_close(csd);
393 UCharsetDetector *csd = ucsdet_open(&status);
396 ucsdet_setDeclaredEncoding(csd, "ISO-2022-JP", -1, &status);
404 ucsdet_setText(csd, testStrings[idx], -1, &status);
405 match = ucsdet_detect(csd, &status);
425 ucsdet_close(csd);
478 UCharsetDetector *csd = ucsdet_open(&status);
482 ucsdet_setText(csd, bytes, bLength, &status);
483 match = ucsdet_detect(csd, &status);
495 ucsdet_setText(csd, bytes_r, brLength, &status);
496 match = ucsdet_detect(csd, &status);
511 ucsdet_close(csd);
556 UCharsetDetector *csd = ucsdet_open(&status);
560 ucsdet_setText(csd, bytes, bLength, &status);
561 match = ucsdet_detect(csd, &status);
573 ucsdet_setText(csd, bytes_r, brLength, &status);
574 match = ucsdet_detect(csd, &status);
589 ucsdet_close(csd);