Lines Matching refs:confidence

154     int32_t confidence          = 0;  in match_mbcs()  local
180 return confidence; in match_mbcs()
190 confidence = 0; in match_mbcs()
195 confidence = 10; in match_mbcs()
198 return confidence; in match_mbcs()
206 confidence = 0; in match_mbcs()
208 return confidence; in match_mbcs()
215 confidence = 30 + doubleByteCharCount - 20*badCharCount; in match_mbcs()
217 if (confidence > 100) { in match_mbcs()
218 confidence = 100; in match_mbcs()
227 confidence = (int32_t)(log((double)commonCharCount+1) * scaleFactor + 10.0); in match_mbcs()
229 confidence = min(confidence, 100); in match_mbcs()
232 if (confidence < 0) { in match_mbcs()
233 confidence = 0; in match_mbcs()
236 return confidence; in match_mbcs()
273 int32_t confidence = match_mbcs(det, commonChars_sjis, UPRV_LENGTHOF(commonChars_sjis)); in match() local
274 results->set(det, this, confidence); in match()
275 return (confidence > 0); in match()
374 int32_t confidence = match_mbcs(det, commonChars_euc_jp, UPRV_LENGTHOF(commonChars_euc_jp)); in match() local
375 results->set(det, this, confidence); in match()
376 return (confidence > 0); in match()
396 int32_t confidence = match_mbcs(det, commonChars_euc_kr, UPRV_LENGTHOF(commonChars_euc_kr)); in match() local
397 results->set(det, this, confidence); in match()
398 return (confidence > 0); in match()
448 int32_t confidence = match_mbcs(det, commonChars_big5, UPRV_LENGTHOF(commonChars_big5)); in match() local
449 results->set(det, this, confidence); in match()
450 return (confidence > 0); in match()
524 int32_t confidence = match_mbcs(det, commonChars_gb_18030, UPRV_LENGTHOF(commonChars_gb_18030)); in match() local
525 results->set(det, this, confidence); in match()
526 return (confidence > 0); in match()