/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/examples/android/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/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/tensorflow/tensorflow/contrib/lite/models/smartreply/ |
D | predictor.cc | 58 TfLiteTensor* confidence = interpreter->tensor(interpreter->outputs()[1]); in ExecuteTfLite() local 60 for (int i = 0; i < confidence->dims->data[0]; i++) { in ExecuteTfLite() 61 float weight = confidence->data.f[i]; in ExecuteTfLite()
|
/external/libxcam/xcore/ |
D | meta_data.h | 55 uint32_t confidence; member 61 confidence = 1; in DevicePose()
|
/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()
|
/external/wycheproof/java/com/google/security/wycheproof/ |
D | RandomUtil.java | 149 int confidence = 64; in getSeedForPrime() local 159 BigInteger q = new BigInteger(size, confidence, rand); in getSeedForPrime()
|
/external/tensorflow/tensorflow/contrib/lite/examples/ios/simple/ |
D | RunModelViewController.mm | 47 // Returns the top N confidence values over threshold in the provided vector, 48 // sorted by confidence in descending order. 194 const float confidence = result.first; 197 ss << index << " " << confidence << " ";
|
/external/tensorflow/tensorflow/examples/ios/simple/ |
D | RunModelViewController.mm | 64 // Returns the top N confidence values over threshold in the provided vector, 65 // sorted by confidence in descending order. 229 const float confidence = result.first; 232 ss << index << " " << confidence << " ";
|
/external/tensorflow/tensorflow/examples/ios/benchmark/ |
D | BenchmarkViewController.mm | 66 // Returns the top N confidence values over threshold in the provided vector, 67 // sorted by confidence in descending order. 269 const float confidence = result.first; 272 ss << index << " " << confidence << " ";
|