Home
last modified time | relevance | path

Searched refs:confidence (Results 1 – 25 of 44) sorted by relevance

12

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCharsetRecog_Unicode.java36 static int adjustConfidence(int codeUnit, int confidence) { in adjustConfidence() argument
38 confidence -= 10; in adjustConfidence()
40 confidence += 10; in adjustConfidence()
42 if (confidence < 0) { in adjustConfidence()
43 confidence = 0; in adjustConfidence()
44 } else if (confidence > 100) { in adjustConfidence()
45 confidence = 100; in adjustConfidence()
47 return confidence; in adjustConfidence()
60 int confidence = 10; in match() local
66 confidence = 100; in match()
[all …]
DCharsetRecog_sbcs.java427 int confidence = match(det, ngl.fNGrams, byteMap); in match() local
428 if (confidence > bestConfidenceSoFar) { in match()
429 bestConfidenceSoFar = confidence; in match()
522 int confidence = match(det, ngl.fNGrams, byteMap); in match() local
523 if (confidence > bestConfidenceSoFar) { in match()
524 bestConfidenceSoFar = confidence; in match()
598 int confidence = match(det, ngrams, byteMap); in match() local
599 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match()
662 int confidence = match(det, ngrams, byteMap); in match() local
663 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match()
[all …]
DCharsetRecog_mbcs.java52 int confidence = 0; in match() local
87 confidence = 0; in match()
92 confidence = 10; in match()
103 confidence = 0; in match()
111 confidence = 30 + doubleByteCharCount - 20*badCharCount; in match()
112 if (confidence > 100) { in match()
113 confidence = 100; in match()
121 confidence = (int)(Math.log(commonCharCount+1) * scaleFactor + 10); in match()
122 confidence = Math.min(confidence, 100); in match()
126 return confidence; in match()
[all …]
DCharsetRecog_UTF8.java28 int confidence; in match() local
74 confidence = 0; in match()
76 confidence = 100; in match()
78 confidence = 80; in match()
80 confidence = 100; in match()
82 confidence = 80; in match()
87 confidence = 15; in match()
90 confidence = 25; in match()
92 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match()
DCharsetRecog_2022.java119 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences); in match() local
120 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match()
134 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences); in match() local
135 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match()
159 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences); in match() local
160 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match()
/external/icu/icu4c/source/i18n/
Dcsrucode.cpp38 static int32_t adjustConfidence(UChar codeUnit, int32_t confidence) { in adjustConfidence() argument
40 confidence -= 10; in adjustConfidence()
42 confidence += 10; in adjustConfidence()
44 if (confidence < 0) { in adjustConfidence()
45 confidence = 0; in adjustConfidence()
46 } else if (confidence > 100) { in adjustConfidence()
47 confidence = 100; in adjustConfidence()
49 return confidence; in adjustConfidence()
56 int32_t confidence = 10; in match() local
63 confidence = 100; in match()
[all …]
Dcsrsbcs.cpp897 int32_t confidence = match_sbcs(textIn, ngrams, charMap_8859_1); in match() local
898 if (confidence > bestConfidenceSoFar) { in match()
899 results->set(textIn, this, confidence, name, lang); in match()
900 bestConfidenceSoFar = confidence; in match()
924 int32_t confidence = match_sbcs(textIn, ngrams, charMap_8859_2); in match() local
925 if (confidence > bestConfidenceSoFar) { in match()
926 results->set(textIn, this, confidence, name, lang); in match()
927 bestConfidenceSoFar = confidence; in match()
961 int32_t confidence = match_sbcs(textIn, ngrams_8859_5_ru, charMap_8859_5); in match() local
962 results->set(textIn, this, confidence); in match()
[all …]
Dcsrmbcs.cpp153 int32_t confidence = 0; in match_mbcs() local
179 return confidence; in match_mbcs()
189 confidence = 0; in match_mbcs()
194 confidence = 10; in match_mbcs()
197 return confidence; in match_mbcs()
205 confidence = 0; in match_mbcs()
207 return confidence; in match_mbcs()
214 confidence = 30 + doubleByteCharCount - 20*badCharCount; in match_mbcs()
216 if (confidence > 100) { in match_mbcs()
217 confidence = 100; in match_mbcs()
[all …]
Dcsrutf8.cpp34 int32_t confidence; in match() local
86 confidence = 0; in match()
88 confidence = 100; in match()
90 confidence = 80; in match()
92 confidence = 100; in match()
94 confidence = 80; in match()
98 confidence = 15; in match()
101 confidence = 25; in match()
104 results->set(input, this, confidence); in match()
105 return (confidence > 0); in match()
Dcsr2022.cpp149 int32_t confidence = match_2022(textIn->fInputBytes, in match() local
153 results->set(textIn, this, confidence); in match()
154 return (confidence > 0); in match()
165 int32_t confidence = match_2022(textIn->fInputBytes, in match() local
169 results->set(textIn, this, confidence); in match()
170 return (confidence > 0); in match()
180 int32_t confidence = match_2022(textIn->fInputBytes, in match() local
184 results->set(textIn, this, confidence); in match()
185 return (confidence > 0); in match()
Dcsmatch.cpp22 : textIn(NULL), confidence(0), fCharsetName(NULL), fLang(NULL) in CharsetMatch()
31 confidence = conf; in set()
56 return confidence; in getConfidence()
Dcsmatch.h35 int32_t confidence; variable
/external/neven/
DFaceDetector_jni.cpp41 float confidence; member
49 jfieldID confidence; member
81 fdata->confidence = (float)btk_DCR_confidence(hdcr) / (1 << 24); in getFaceData()
105 gFaceOffsets.confidence = _env->GetFieldID(faceClass, "mConfidence", "F"); in nativeClassInit()
261 _env->SetFloatField(face, gFaceOffsets.confidence, faceData.confidence); in get_face()
/external/owasp/sanitizer/tools/findbugs/lib/
Dannotations.jar ... edu.umd.cs.findbugs.annotations.Confidence confidence () public abstract java.lang.String ...
/external/icu/icu4c/source/samples/csdet/
Dcsdet.c59 int32_t confidence = ucsdet_getConfidence(csm[match], &status); in main() local
65 printf("%s (%s) %d\n", name, lang, confidence); in main()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
DScenarioStatusTable.java148 int confidence = Utils.confidenceLevel(deviation); in printConfigStats() local
151 String image = Utils.getImage(confidence, hasFailure, comment != null); in printConfigStats()
153 if (!hasFailure|| (confidence & Utils.NAN) != 0 || failure.length() == 0){ in printConfigStats()
DUtils.java367 public static String getImage(int confidence, boolean scenarioFailed, boolean hasExplanation) { in getImage() argument
373 } else if ((confidence & ERR) != 0) { in getImage()
378 } else if ((confidence & NAN) != 0) { in getImage()
380 } else if ((confidence & ERR) != 0) { in getImage()
/external/clang/utils/analyzer/
DCmpRuns.py270 a,b,confidence = res
283 elif confidence:
/external/deqp/modules/glshared/
DglsCalibration.hpp61 float confidence; member
/external/opencv/cv/src/
Dcvfundam.cpp65 CvMat* mask, double confidence=0.99, int maxIters=1000 );
68 double confidence=0.99, int maxIters=1000 );
164 double confidence, int maxIters ) in runRANSAC() argument
226 niters = cvRANSACUpdateNumIters( confidence, in runRANSAC()
258 CvMat* mask, double confidence, int maxIters ) in CV_IMPLEMENT_QSORT()
294 niters = cvRound(log(1-confidence)/log(1-pow(1-outlierRatio,(double)modelPoints))); in CV_IMPLEMENT_QSORT()
580 const double confidence = 0.99; in cvFindHomography() local
620 result = estimator.runLMeDS( M, m, &_H, tempMask, confidence ); in cvFindHomography()
622 result = estimator.runRANSAC( M, m, &_H, tempMask, ransacReprojThreshold, confidence ); in cvFindHomography()
/external/deqp/modules/gles3/performance/
Des3pDepthTests.cpp759 const float confidence = 0.60f; in logAnalysis() local
760 …t LineParametersWithConfidence testParam = theilSenSiegelLinearRegression(testSamples, confidence); in logAnalysis()
767 …ence interval max]. Reported confidence interval for this test is " << confidence << TestLog::EndM… in logAnalysis()
1067 const float confidence = 0.60f; in logAnalysis() local
1069 …t LineParametersWithConfidence nullParam = theilSenSiegelLinearRegression(nullSamples, confidence); in logAnalysis()
1070 …t LineParametersWithConfidence baseParam = theilSenSiegelLinearRegression(baseSamples, confidence); in logAnalysis()
1071 …t LineParametersWithConfidence testParam = theilSenSiegelLinearRegression(testSamples, confidence); in logAnalysis()
1086 …ence interval max]. Reported confidence interval for this test is " << confidence << TestLog::EndM… in logAnalysis()
/external/netperf/
Dnettest_sdp.c285 while (((confidence < 0) && (confidence_iteration < iteration_max)) || in send_sdp_stream()
729 if (confidence < 0) { in send_sdp_stream()
982 while (((confidence < 0) && (confidence_iteration < iteration_max)) || in send_sdp_maerts()
1437 if (confidence < 0) { in send_sdp_maerts()
2394 while (((confidence < 0) && (confidence_iteration < iteration_max)) || in send_sdp_rr()
2858 if (confidence < 0) { in send_sdp_rr()
Dnettest_sctp.c456 while (((confidence < 0) && (confidence_iteration < iteration_max)) ||
936 if (confidence < 0) {
1593 while (((confidence < 0) && (confidence_iteration < iteration_max)) ||
2099 if (confidence < 0) {
2695 while (((confidence < 0) && (confidence_iteration < iteration_max)) ||
3136 if (confidence < 0) {
3756 while (((confidence < 0) && (confidence_iteration < iteration_max)) ||
4188 if (confidence < 0) {
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/charsetdet/
DTestCharsetDetector.java214 int confidence = m.getConfidence(); in TestUTF16() local
215 if(confidence != 100){ in TestUTF16()
216 errln("Did not get the expected confidence level " + confidence); in TestUTF16()
/external/compiler-rt/lib/sanitizer_common/scripts/
Dcpplint.py825 def _ShouldPrintError(category, confidence, linenum): argument
833 if confidence < _cpplint_state.verbose_level:
852 def Error(filename, linenum, category, confidence, message): argument
874 if _ShouldPrintError(category, confidence, linenum):
878 filename, linenum, message, category, confidence))
881 filename, linenum, message, category, confidence))
884 filename, linenum, message, category, confidence))

12