• Home
  • Raw
  • Download

Lines Matching refs:match

129     const UCharsetMatch *match;  in TestUTF8()  local
141 match = ucsdet_detect(csd, &status); in TestUTF8()
143 if (match == NULL) { in TestUTF8()
148 dLength = ucsdet_getUChars(match, detected, sLength, &status); in TestUTF8()
175 const UCharsetMatch *match; in TestUTF16() local
180 match = ucsdet_detect(csd, &status); in TestUTF16()
182 if (match == NULL) { in TestUTF16()
187 name = ucsdet_getName(match, &status); in TestUTF16()
188 conf = ucsdet_getConfidence(match, &status); in TestUTF16()
200 match = ucsdet_detect(csd, &status); in TestUTF16()
202 if (match == NULL) { in TestUTF16()
207 name = ucsdet_getName(match, &status); in TestUTF16()
208 conf = ucsdet_getConfidence(match, &status); in TestUTF16()
238 const UCharsetMatch *match; in TestC1Bytes() local
247 match = ucsdet_detect(csd, &status); in TestC1Bytes()
249 if (match == NULL) { in TestC1Bytes()
254 name = ucsdet_getName(match, &status); in TestC1Bytes()
261 match = ucsdet_detect(csd, &status); in TestC1Bytes()
263 if (match == NULL) { in TestC1Bytes()
268 name = ucsdet_getName(match, &status); in TestC1Bytes()
291 const UCharsetMatch *match; in TestInputFilter() local
305 match = ucsdet_detect(csd, &status); in TestInputFilter()
307 if (match == NULL) { in TestInputFilter()
312 name = ucsdet_getName(match, &status); in TestInputFilter()
317 lang = ucsdet_getLanguage(match, &status); in TestInputFilter()
327 match = ucsdet_detect(csd, &status); in TestInputFilter()
329 if (match == NULL) { in TestInputFilter()
334 name = ucsdet_getName(match, &status); in TestInputFilter()
339 lang = ucsdet_getLanguage(match, &status); in TestInputFilter()
396 const UCharsetMatch *match; in TestBufferOverflow() local
408 match = ucsdet_detect(csd, &status); in TestBufferOverflow()
410 if (match == NULL) { in TestBufferOverflow()
420 … if (testResults[idx] == NULL || strcmp(ucsdet_getName(match, &status), testResults[idx]) != 0) { in TestBufferOverflow()
422 … ucsdet_getName(match, &status), testResults[idx], idx, ucsdet_getConfidence(match, &status)); in TestBufferOverflow()
482 const UCharsetMatch *match; in TestIBM424() local
486 match = ucsdet_detect(csd, &status); in TestIBM424()
488 if (match == NULL) { in TestIBM424()
493 name = ucsdet_getName(match, &status); in TestIBM424()
499 match = ucsdet_detect(csd, &status); in TestIBM424()
501 if (match == NULL) { in TestIBM424()
506 name = ucsdet_getName(match, &status); in TestIBM424()
560 const UCharsetMatch *match; in TestIBM420() local
564 match = ucsdet_detect(csd, &status); in TestIBM420()
566 if (match == NULL) { in TestIBM420()
571 name = ucsdet_getName(match, &status); in TestIBM420()
577 match = ucsdet_detect(csd, &status); in TestIBM420()
579 if (match == NULL) { in TestIBM420()
584 name = ucsdet_getName(match, &status); in TestIBM420()