/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CharsetRecog_Unicode.java | 41 static int adjustConfidence(int codeUnit, int confidence) { in adjustConfidence() argument 43 confidence -= 10; in adjustConfidence() 45 confidence += 10; in adjustConfidence() 47 if (confidence < 0) { in adjustConfidence() 48 confidence = 0; in adjustConfidence() 49 } else if (confidence > 100) { in adjustConfidence() 50 confidence = 100; in adjustConfidence() 52 return confidence; in adjustConfidence() 67 int confidence = 10; in match() local 73 confidence = 100; in match() [all …]
|
D | CharsetRecog_sbcs.java | 433 int confidence = match(det, ngl.fNGrams, byteMap); in match() local 434 if (confidence > bestConfidenceSoFar) { in match() 435 bestConfidenceSoFar = confidence; in match() 530 int confidence = match(det, ngl.fNGrams, byteMap); in match() local 531 if (confidence > bestConfidenceSoFar) { in match() 532 bestConfidenceSoFar = confidence; in match() 610 int confidence = match(det, ngrams, byteMap); in match() local 611 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match() 677 int confidence = match(det, ngrams, byteMap); in match() local 678 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match() [all …]
|
D | CharsetRecog_mbcs.java | 56 int confidence = 0; in match() local 91 confidence = 0; in match() 96 confidence = 10; in match() 107 confidence = 0; in match() 115 confidence = 30 + doubleByteCharCount - 20*badCharCount; in match() 116 if (confidence > 100) { in match() 117 confidence = 100; in match() 125 confidence = (int)(Math.log(commonCharCount+1) * scaleFactor + 10); in match() 126 confidence = Math.min(confidence, 100); in match() 130 return confidence; in match() [all …]
|
D | CharsetRecog_UTF8.java | 33 int confidence; in match() local 79 confidence = 0; in match() 81 confidence = 100; in match() 83 confidence = 80; in match() 85 confidence = 100; in match() 87 confidence = 80; in match() 92 confidence = 15; in match() 95 confidence = 25; in match() 97 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match()
|
D | CharsetRecog_2022.java | 124 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences); in match() local 125 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match() 141 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences); in match() local 142 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match() 168 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences); in match() local 169 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CharsetRecog_Unicode.java | 40 static int adjustConfidence(int codeUnit, int confidence) { in adjustConfidence() argument 42 confidence -= 10; in adjustConfidence() 44 confidence += 10; in adjustConfidence() 46 if (confidence < 0) { in adjustConfidence() 47 confidence = 0; in adjustConfidence() 48 } else if (confidence > 100) { in adjustConfidence() 49 confidence = 100; in adjustConfidence() 51 return confidence; in adjustConfidence() 66 int confidence = 10; in match() local 72 confidence = 100; in match() [all …]
|
D | CharsetRecog_sbcs.java | 432 int confidence = match(det, ngl.fNGrams, byteMap); in match() local 433 if (confidence > bestConfidenceSoFar) { in match() 434 bestConfidenceSoFar = confidence; in match() 529 int confidence = match(det, ngl.fNGrams, byteMap); in match() local 530 if (confidence > bestConfidenceSoFar) { in match() 531 bestConfidenceSoFar = confidence; in match() 609 int confidence = match(det, ngrams, byteMap); in match() local 610 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match() 676 int confidence = match(det, ngrams, byteMap); in match() local 677 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match() [all …]
|
D | CharsetRecog_mbcs.java | 55 int confidence = 0; in match() local 90 confidence = 0; in match() 95 confidence = 10; in match() 106 confidence = 0; in match() 114 confidence = 30 + doubleByteCharCount - 20*badCharCount; in match() 115 if (confidence > 100) { in match() 116 confidence = 100; in match() 124 confidence = (int)(Math.log(commonCharCount+1) * scaleFactor + 10); in match() 125 confidence = Math.min(confidence, 100); in match() 129 return confidence; in match() [all …]
|
D | CharsetRecog_UTF8.java | 32 int confidence; in match() local 78 confidence = 0; in match() 80 confidence = 100; in match() 82 confidence = 80; in match() 84 confidence = 100; in match() 86 confidence = 80; in match() 91 confidence = 15; in match() 94 confidence = 25; in match() 96 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match()
|
D | CharsetRecog_2022.java | 123 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences); in match() local 124 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match() 140 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences); in match() local 141 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match() 167 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences); in match() local 168 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); in match()
|
/external/icu/icu4c/source/i18n/ |
D | csrucode.cpp | 40 static int32_t adjustConfidence(UChar codeUnit, int32_t confidence) { in adjustConfidence() argument 42 confidence -= 10; in adjustConfidence() 44 confidence += 10; in adjustConfidence() 46 if (confidence < 0) { in adjustConfidence() 47 confidence = 0; in adjustConfidence() 48 } else if (confidence > 100) { in adjustConfidence() 49 confidence = 100; in adjustConfidence() 51 return confidence; in adjustConfidence() 58 int32_t confidence = 10; in match() local 65 confidence = 100; in match() [all …]
|
D | csrsbcs.cpp | 899 int32_t confidence = match_sbcs(textIn, ngrams, charMap_8859_1); in match() local 900 if (confidence > bestConfidenceSoFar) { in match() 901 results->set(textIn, this, confidence, name, lang); in match() 902 bestConfidenceSoFar = confidence; in match() 926 int32_t confidence = match_sbcs(textIn, ngrams, charMap_8859_2); in match() local 927 if (confidence > bestConfidenceSoFar) { in match() 928 results->set(textIn, this, confidence, name, lang); in match() 929 bestConfidenceSoFar = confidence; in match() 963 int32_t confidence = match_sbcs(textIn, ngrams_8859_5_ru, charMap_8859_5); in match() local 964 results->set(textIn, this, confidence); in match() [all …]
|
D | csrmbcs.cpp | 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() [all …]
|
D | csrutf8.cpp | 36 int32_t confidence; in match() local 88 confidence = 0; in match() 90 confidence = 100; in match() 92 confidence = 80; in match() 94 confidence = 100; in match() 96 confidence = 80; in match() 100 confidence = 15; in match() 103 confidence = 25; in match() 106 results->set(input, this, confidence); in match() 107 return (confidence > 0); in match()
|
D | csr2022.cpp | 150 int32_t confidence = match_2022(textIn->fInputBytes, in match() local 154 results->set(textIn, this, confidence); in match() 155 return (confidence > 0); in match() 166 int32_t confidence = match_2022(textIn->fInputBytes, in match() local 170 results->set(textIn, this, confidence); in match() 171 return (confidence > 0); in match() 181 int32_t confidence = match_2022(textIn->fInputBytes, in match() local 185 results->set(textIn, this, confidence); in match() 186 return (confidence > 0); in match()
|
D | csmatch.cpp | 24 : textIn(NULL), confidence(0), fCharsetName(NULL), fLang(NULL) in CharsetMatch() 33 confidence = conf; in set() 58 return confidence; in getConfidence()
|
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/ |
D | Classifier.java | 44 private final Float confidence; field in Classifier.Recognition 50 final String id, final String title, final Float confidence, final RectF location) { in Recognition() argument 53 this.confidence = confidence; in Recognition() 66 return confidence; in getConfidence() 88 if (confidence != null) { in toString() 89 resultString += String.format("(%.1f%%) ", confidence * 100.0f); in toString()
|
/external/autotest/client/site_tests/power_Speedometer2/ |
D | power_Speedometer2.py | 64 confidence = tab.EvaluateJavaScript( 67 match = re.search(r"((\d+(\.\d+)?)|(\.\d+))", confidence) 68 confidence = float(match.group(0)) 70 keyvals = {RESULT: result, CONFIDENCE: confidence} 76 self.output_perf_value(description=CONFIDENCE, value=confidence, 81 logger.add_item(CONFIDENCE, confidence, 'point', 'perf')
|
/external/libtextclassifier/native/annotator/translate/ |
D | translate.cc | 86 for (const LanguageConfidence& confidence : confidences) { in CreateSerializedEntityData() local 90 language_prediction_result->language_tag = confidence.language; in CreateSerializedEntityData() 91 language_prediction_result->confidence_score = confidence.confidence; in CreateSerializedEntityData() 148 return a.confidence > b.confidence; in BackoffDetectLanguages()
|
/external/neven/ |
D | FaceDetector_jni.cpp | 41 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() 259 _env->SetFloatField(face, gFaceOffsets.confidence, faceData.confidence); in get_face()
|
/external/rust/crates/clap/src/ |
D | suggestions.rs | 22 let confidence = strsim::jaro_winkler(v, pv.as_ref()); in did_you_mean() localVariable 23 if confidence > 0.8 && (candidate.is_none() || (candidate.as_ref().unwrap().0 < confidence)) in did_you_mean() 25 candidate = Some((confidence, pv.as_ref())); in did_you_mean()
|
/external/oboe/apps/OboeTester/app/src/main/cpp/analyzer/ |
D | LatencyAnalyzer.h | 58 double confidence = 0.0; member 62 confidence = 0.0; in reset() 207 report->confidence = 0.0; in measureLatencyFromPulse() 251 report->confidence = peakCorrelation; in measureLatencyFromPulse() 466 if (mLatencyReport.confidence < kMinimumConfidence) { in analyze() 481 << mLatencyReport.confidence << "\n"; in analyze() 496 return mLatencyReport.confidence; in getMeasuredConfidence()
|
/external/tflite-support/tensorflow_lite_support/cc/task/vision/proto/ |
D | segmentations.proto | 31 // pixel, the value indicates the prediction confidence usually in the [0, 1] 32 // range where higher values represent a stronger confidence. Ultimately this 38 // List of confidence masks with respect to the model output depth (this depth 40 // class (e.g. a sky segmentation model) which turns into a single confidence 73 // One confidence masks of size `width` x `height` for each of the supported 74 // classes. The value of each pixel in these masks represents the confidence
|
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/ |
D | RoundTripLatencyActivity.java | 93 double confidence = getMeasuredConfidence(); in onAnalyserDone() local 95 mConfidences.add(confidence); in onAnalyserDone() 96 mConfidenceSum += confidence; in onAnalyserDone() 264 double confidence = getMeasuredConfidence(); in getResultString() local 267 message += String.format("confidence = " + CONFIDENCE_FORMAT + "\n", confidence); in getResultString()
|
/external/icu/icu4c/source/samples/csdet/ |
D | csdet.c | 63 int32_t confidence = ucsdet_getConfidence(csm[match], &status); in main() local 69 printf("%s (%s) %d\n", name, lang, confidence); in main()
|