Lines Matching refs:match

127     const UCharsetMatch *match;  in TestUTF8()  local
139 match = ucsdet_detect(csd, &status); in TestUTF8()
141 if (match == NULL) { in TestUTF8()
146 dLength = ucsdet_getUChars(match, detected, sLength, &status); in TestUTF8()
173 const UCharsetMatch *match; in TestUTF16() local
178 match = ucsdet_detect(csd, &status); in TestUTF16()
180 if (match == NULL) { in TestUTF16()
185 name = ucsdet_getName(match, &status); in TestUTF16()
186 conf = ucsdet_getConfidence(match, &status); in TestUTF16()
198 match = ucsdet_detect(csd, &status); in TestUTF16()
200 if (match == NULL) { in TestUTF16()
205 name = ucsdet_getName(match, &status); in TestUTF16()
206 conf = ucsdet_getConfidence(match, &status); in TestUTF16()
236 const UCharsetMatch *match; in TestC1Bytes() local
245 match = ucsdet_detect(csd, &status); in TestC1Bytes()
247 if (match == NULL) { in TestC1Bytes()
252 name = ucsdet_getName(match, &status); in TestC1Bytes()
259 match = ucsdet_detect(csd, &status); in TestC1Bytes()
261 if (match == NULL) { in TestC1Bytes()
266 name = ucsdet_getName(match, &status); in TestC1Bytes()
289 const UCharsetMatch *match; in TestInputFilter() local
303 match = ucsdet_detect(csd, &status); in TestInputFilter()
305 if (match == NULL) { in TestInputFilter()
310 name = ucsdet_getName(match, &status); in TestInputFilter()
315 lang = ucsdet_getLanguage(match, &status); in TestInputFilter()
325 match = ucsdet_detect(csd, &status); in TestInputFilter()
327 if (match == NULL) { in TestInputFilter()
332 name = ucsdet_getName(match, &status); in TestInputFilter()
337 lang = ucsdet_getLanguage(match, &status); in TestInputFilter()
394 const UCharsetMatch *match; in TestBufferOverflow() local
405 match = ucsdet_detect(csd, &status); in TestBufferOverflow()
407 if (match == NULL) { in TestBufferOverflow()
417 … if (testResults[idx] == NULL || strcmp(ucsdet_getName(match, &status), testResults[idx]) != 0) { in TestBufferOverflow()
419 … ucsdet_getName(match, &status), testResults[idx], idx, ucsdet_getConfidence(match, &status)); in TestBufferOverflow()
479 const UCharsetMatch *match; in TestIBM424() local
483 match = ucsdet_detect(csd, &status); in TestIBM424()
485 if (match == NULL) { in TestIBM424()
490 name = ucsdet_getName(match, &status); in TestIBM424()
496 match = ucsdet_detect(csd, &status); in TestIBM424()
498 if (match == NULL) { in TestIBM424()
503 name = ucsdet_getName(match, &status); in TestIBM424()
557 const UCharsetMatch *match; in TestIBM420() local
561 match = ucsdet_detect(csd, &status); in TestIBM420()
563 if (match == NULL) { in TestIBM420()
568 name = ucsdet_getName(match, &status); in TestIBM420()
574 match = ucsdet_detect(csd, &status); in TestIBM420()
576 if (match == NULL) { in TestIBM420()
581 name = ucsdet_getName(match, &status); in TestIBM420()