Lines Matching refs:match
128 const UCharsetMatch *match; in TestUTF8() local
140 match = ucsdet_detect(csd, &status); in TestUTF8()
142 if (match == NULL) { in TestUTF8()
147 dLength = ucsdet_getUChars(match, detected, sLength, &status); in TestUTF8()
174 const UCharsetMatch *match; in TestUTF16() local
179 match = ucsdet_detect(csd, &status); in TestUTF16()
181 if (match == NULL) { in TestUTF16()
186 name = ucsdet_getName(match, &status); in TestUTF16()
187 conf = ucsdet_getConfidence(match, &status); in TestUTF16()
199 match = ucsdet_detect(csd, &status); in TestUTF16()
201 if (match == NULL) { in TestUTF16()
206 name = ucsdet_getName(match, &status); in TestUTF16()
207 conf = ucsdet_getConfidence(match, &status); in TestUTF16()
237 const UCharsetMatch *match; in TestC1Bytes() local
246 match = ucsdet_detect(csd, &status); in TestC1Bytes()
248 if (match == NULL) { in TestC1Bytes()
253 name = ucsdet_getName(match, &status); in TestC1Bytes()
260 match = ucsdet_detect(csd, &status); in TestC1Bytes()
262 if (match == NULL) { in TestC1Bytes()
267 name = ucsdet_getName(match, &status); in TestC1Bytes()
290 const UCharsetMatch *match; in TestInputFilter() local
304 match = ucsdet_detect(csd, &status); in TestInputFilter()
306 if (match == NULL) { in TestInputFilter()
311 name = ucsdet_getName(match, &status); in TestInputFilter()
316 lang = ucsdet_getLanguage(match, &status); in TestInputFilter()
326 match = ucsdet_detect(csd, &status); in TestInputFilter()
328 if (match == NULL) { in TestInputFilter()
333 name = ucsdet_getName(match, &status); in TestInputFilter()
338 lang = ucsdet_getLanguage(match, &status); in TestInputFilter()
395 const UCharsetMatch *match; in TestBufferOverflow() local
406 match = ucsdet_detect(csd, &status); in TestBufferOverflow()
408 if (match == NULL) { in TestBufferOverflow()
418 … if (testResults[idx] == NULL || strcmp(ucsdet_getName(match, &status), testResults[idx]) != 0) { in TestBufferOverflow()
420 … ucsdet_getName(match, &status), testResults[idx], idx, ucsdet_getConfidence(match, &status)); in TestBufferOverflow()
480 const UCharsetMatch *match; in TestIBM424() local
484 match = ucsdet_detect(csd, &status); in TestIBM424()
486 if (match == NULL) { in TestIBM424()
491 name = ucsdet_getName(match, &status); in TestIBM424()
497 match = ucsdet_detect(csd, &status); in TestIBM424()
499 if (match == NULL) { in TestIBM424()
504 name = ucsdet_getName(match, &status); in TestIBM424()
558 const UCharsetMatch *match; in TestIBM420() local
562 match = ucsdet_detect(csd, &status); in TestIBM420()
564 if (match == NULL) { in TestIBM420()
569 name = ucsdet_getName(match, &status); in TestIBM420()
575 match = ucsdet_detect(csd, &status); in TestIBM420()
577 if (match == NULL) { in TestIBM420()
582 name = ucsdet_getName(match, &status); in TestIBM420()