• Home
  • Raw
  • Download

Lines Matching refs:csd

94     UCharsetDetector *csd = ucsdet_open(&status);  in TestConstruction()  local
95 UEnumeration *e = ucsdet_getAllDetectableCharsets(csd, &status); in TestConstruction()
114 ucsdet_close(csd); in TestConstruction()
127 UCharsetDetector *csd = ucsdet_open(&status); in TestUTF8() local
134 ucsdet_setText(csd, bytes, byteLength, &status); in TestUTF8()
140 match = ucsdet_detect(csd, &status); in TestUTF8()
153 ucsdet_setDeclaredEncoding(csd, "UTF-8", 5, &status); /* for coverage */ in TestUTF8()
157 ucsdet_close(csd); in TestUTF8()
173 UCharsetDetector *csd = ucsdet_open(&status); in TestUTF16() local
178 ucsdet_setText(csd, beBytes, beLength, &status); in TestUTF16()
179 match = ucsdet_detect(csd, &status); in TestUTF16()
198 ucsdet_setText(csd, leBytes, leLength, &status); in TestUTF16()
199 match = ucsdet_detect(csd, &status); in TestUTF16()
221 ucsdet_close(csd); in TestUTF16()
236 UCharsetDetector *csd = ucsdet_open(&status); in TestC1Bytes() local
245 ucsdet_setText(csd, bWindows, lWindows, &status); in TestC1Bytes()
246 match = ucsdet_detect(csd, &status); in TestC1Bytes()
259 ucsdet_setText(csd, bISO, lISO, &status); in TestC1Bytes()
260 match = ucsdet_detect(csd, &status); in TestC1Bytes()
277 ucsdet_close(csd); in TestC1Bytes()
289 UCharsetDetector *csd = ucsdet_open(&status); in TestInputFilter() local
296 ucsdet_enableInputFilter(csd, TRUE); in TestInputFilter()
298 if (!ucsdet_isInputFilterEnabled(csd)) { in TestInputFilter()
303 ucsdet_setText(csd, bytes, byteLength, &status); in TestInputFilter()
304 match = ucsdet_detect(csd, &status); in TestInputFilter()
324 ucsdet_enableInputFilter(csd, FALSE); in TestInputFilter()
325 ucsdet_setText(csd, bytes, byteLength, &status); in TestInputFilter()
326 match = ucsdet_detect(csd, &status); in TestInputFilter()
347 ucsdet_close(csd); in TestInputFilter()
394 UCharsetDetector *csd = ucsdet_open(&status); in TestBufferOverflow() local
397 ucsdet_setDeclaredEncoding(csd, "ISO-2022-JP", -1, &status); in TestBufferOverflow()
405 ucsdet_setText(csd, testStrings[idx], -1, &status); in TestBufferOverflow()
406 match = ucsdet_detect(csd, &status); in TestBufferOverflow()
426 ucsdet_close(csd); in TestBufferOverflow()
479 UCharsetDetector *csd = ucsdet_open(&status); in TestIBM424() local
483 ucsdet_setText(csd, bytes, bLength, &status); in TestIBM424()
484 match = ucsdet_detect(csd, &status); in TestIBM424()
496 ucsdet_setText(csd, bytes_r, brLength, &status); in TestIBM424()
497 match = ucsdet_detect(csd, &status); in TestIBM424()
512 ucsdet_close(csd); in TestIBM424()
557 UCharsetDetector *csd = ucsdet_open(&status); in TestIBM420() local
561 ucsdet_setText(csd, bytes, bLength, &status); in TestIBM420()
562 match = ucsdet_detect(csd, &status); in TestIBM420()
574 ucsdet_setText(csd, bytes_r, brLength, &status); in TestIBM420()
575 match = ucsdet_detect(csd, &status); in TestIBM420()
590 ucsdet_close(csd); in TestIBM420()