Searched refs:confidence (Results 1 - 25 of 49) sorted by relevance

12

/external/icu/icu4c/source/i18n/
H A Dcsrucode.cpp34 // UTF-16 confidence calculation. Very simple minded, but better than nothing.
35 // Any 8 bit non-control characters bump the confidence up. These have a zero high byte,
40 static int32_t adjustConfidence(UChar codeUnit, int32_t confidence) { argument
42 confidence -= 10;
44 confidence += 10;
46 if (confidence < 0) {
47 confidence = 0;
48 } else if (confidence > 100) {
49 confidence = 100;
51 return confidence;
58 int32_t confidence = 10; local
93 int32_t confidence = 10; local
130 int32_t confidence = 0; local
[all...]
H A Dcsrutf8.cpp36 int32_t confidence; local
86 // Cook up some sort of confidence score, based on presence of a BOM
88 confidence = 0;
90 confidence = 100;
92 confidence = 80;
94 confidence = 100;
96 confidence = 80;
99 // accepts ASCII with confidence = 10.
100 confidence = 15;
103 confidence
[all...]
H A Dcsmatch.cpp24 : textIn(NULL), confidence(0), fCharsetName(NULL), fLang(NULL)
33 confidence = conf;
58 return confidence;
H A Dcsr2022.cpp150 int32_t confidence = match_2022(textIn->fInputBytes, local
154 results->set(textIn, this, confidence);
155 return (confidence > 0);
166 int32_t confidence = match_2022(textIn->fInputBytes, local
170 results->set(textIn, this, confidence);
171 return (confidence > 0);
181 int32_t confidence = match_2022(textIn->fInputBytes, local
185 results->set(textIn, this, confidence);
186 return (confidence > 0);
H A Dcsrmbcs.cpp154 int32_t confidence = 0; local
180 return confidence;
188 // We don't have enough data to have any confidence.
190 confidence = 0;
195 confidence = 10;
198 return confidence;
206 confidence = 0;
208 return confidence;
213 // Assess confidence purely on having a reasonable number of
215 confidence
273 int32_t confidence = match_mbcs(det, commonChars_sjis, UPRV_LENGTHOF(commonChars_sjis)); local
374 int32_t confidence = match_mbcs(det, commonChars_euc_jp, UPRV_LENGTHOF(commonChars_euc_jp)); local
396 int32_t confidence = match_mbcs(det, commonChars_euc_kr, UPRV_LENGTHOF(commonChars_euc_kr)); local
448 int32_t confidence = match_mbcs(det, commonChars_big5, UPRV_LENGTHOF(commonChars_big5)); local
524 int32_t confidence = match_mbcs(det, commonChars_gb_18030, UPRV_LENGTHOF(commonChars_gb_18030)); local
[all...]
H A Dcsmatch.h24 * Any confidence > 0 indicates a possible match, meaning that the input bytes
37 int32_t confidence; member in class:CharsetMatch
H A Dcsrsbcs.cpp137 // were we were getting a confidence of 135...
899 int32_t confidence = match_sbcs(textIn, ngrams, charMap_8859_1); local
900 if (confidence > bestConfidenceSoFar) {
901 results->set(textIn, this, confidence, name, lang);
902 bestConfidenceSoFar = confidence;
926 int32_t confidence = match_sbcs(textIn, ngrams, charMap_8859_2); local
927 if (confidence > bestConfidenceSoFar) {
928 results->set(textIn, this, confidence, name, lang);
929 bestConfidenceSoFar = confidence;
963 int32_t confidence local
990 int32_t confidence = match_sbcs(textIn, ngrams_8859_6_ar, charMap_8859_6); local
1018 int32_t confidence = match_sbcs(textIn, ngrams_8859_7_el, charMap_8859_7); local
1051 int32_t confidence = match_sbcs(textIn, ngrams_8859_8_I_he, charMap_8859_8); local
1069 int32_t confidence = match_sbcs(textIn, ngrams_8859_8_he, charMap_8859_8); local
1097 int32_t confidence = match_sbcs(textIn, ngrams_8859_9_tr, charMap_8859_9); local
1119 int32_t confidence = match_sbcs(textIn, ngrams_windows_1256, charMap_windows_1256); local
1141 int32_t confidence = match_sbcs(textIn, ngrams_windows_1251, charMap_windows_1251); local
1163 int32_t confidence = match_sbcs(textIn, ngrams_KOI8_R, charMap_KOI8_R); local
1191 int32_t confidence = match_sbcs(textIn, ngrams_IBM424_he_rtl, charMap_IBM424_he); local
1208 int32_t confidence = match_sbcs(textIn, ngrams_IBM424_he_ltr, charMap_IBM424_he); local
1246 int32_t confidence = match_sbcs(textIn, ngrams_IBM420_ar_rtl, charMap_IBM420_ar); local
1263 int32_t confidence = match_sbcs(textIn, ngrams_IBM420_ar_ltr, charMap_IBM420_ar); local
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DCharsetRecog_Unicode.java36 // UTF-16 confidence calculation. Very simple minded, but better than nothing.
37 // Any 8 bit non-control characters bump the confidence up. These have a zero high byte,
41 static int adjustConfidence(int codeUnit, int confidence) { argument
43 confidence -= 10;
45 confidence += 10;
47 if (confidence < 0) {
48 confidence = 0;
49 } else if (confidence > 100) {
50 confidence = 100;
52 return confidence;
[all...]
H A DCharsetRecog_UTF8.java33 int confidence;
77 // Cook up some sort of confidence score, based on presense of a BOM
79 confidence = 0;
81 confidence = 100;
83 confidence = 80;
85 confidence = 100;
87 confidence = 80;
90 // accepts ASCII with confidence = 10.
92 confidence = 15;
95 confidence
[all...]
H A DCharsetRecog_2022.java124 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences);
125 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
141 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences);
142 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
168 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences);
169 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
H A DCharsetRecog_mbcs.java45 * bits 0-7: the match confidence, ranging from 0-100
56 int confidence = 0;
89 // We don't have enough data to have any confidence.
91 confidence = 0;
96 confidence = 10;
107 confidence = 0;
113 // Assess confidence purely on having a reasonable number of
115 confidence = 30 + doubleByteCharCount - 20*badCharCount;
116 if (confidence > 100) {
117 confidence
[all...]
H A DCharsetRecog_sbcs.java160 // were we were getting a confidence of 135...
433 int confidence = match(det, ngl.fNGrams, byteMap);
434 if (confidence > bestConfidenceSoFar) {
435 bestConfidenceSoFar = confidence;
530 int confidence = match(det, ngl.fNGrams, byteMap);
531 if (confidence > bestConfidenceSoFar) {
532 bestConfidenceSoFar = confidence;
610 int confidence = match(det, ngrams, byteMap);
611 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DCharsetRecog_Unicode.java35 // UTF-16 confidence calculation. Very simple minded, but better than nothing.
36 // Any 8 bit non-control characters bump the confidence up. These have a zero high byte,
40 static int adjustConfidence(int codeUnit, int confidence) { argument
42 confidence -= 10;
44 confidence += 10;
46 if (confidence < 0) {
47 confidence = 0;
48 } else if (confidence > 100) {
49 confidence = 100;
51 return confidence;
[all...]
H A DCharsetRecog_UTF8.java32 int confidence;
76 // Cook up some sort of confidence score, based on presense of a BOM
78 confidence = 0;
80 confidence = 100;
82 confidence = 80;
84 confidence = 100;
86 confidence = 80;
89 // accepts ASCII with confidence = 10.
91 confidence = 15;
94 confidence
[all...]
H A DCharsetRecog_2022.java123 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences);
124 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
140 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences);
141 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
167 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences);
168 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
H A DCharsetRecog_mbcs.java44 * bits 0-7: the match confidence, ranging from 0-100
55 int confidence = 0;
88 // We don't have enough data to have any confidence.
90 confidence = 0;
95 confidence = 10;
106 confidence = 0;
112 // Assess confidence purely on having a reasonable number of
114 confidence = 30 + doubleByteCharCount - 20*badCharCount;
115 if (confidence > 100) {
116 confidence
[all...]
H A DCharsetRecog_sbcs.java159 // were we were getting a confidence of 135...
432 int confidence = match(det, ngl.fNGrams, byteMap);
433 if (confidence > bestConfidenceSoFar) {
434 bestConfidenceSoFar = confidence;
529 int confidence = match(det, ngl.fNGrams, byteMap);
530 if (confidence > bestConfidenceSoFar) {
531 bestConfidenceSoFar = confidence;
609 int confidence = match(det, ngrams, byteMap);
610 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
[all...]
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
H A DClassifier.java44 private final Float confidence; field in class:Classifier.Recognition
50 final String id, final String title, final Float confidence, final RectF location) {
53 this.confidence = confidence;
66 return confidence;
88 if (confidence != null) {
89 resultString += String.format("(%.1f%%) ", confidence * 100.0f);
49 Recognition( final String id, final String title, final Float confidence, final RectF location) argument
/external/libxcam/xcore/
H A Dmeta_data.h55 uint32_t confidence; member in struct:XCam::DevicePose
61 confidence = 1;
/external/icu/icu4c/source/samples/csdet/
H A Dcsdet.c63 int32_t confidence = ucsdet_getConfidence(csm[match], &status); local
69 printf("%s (%s) %d\n", name, lang, confidence);
/external/tensorflow/tensorflow/contrib/lite/models/smartreply/
H A Dpredictor.cc58 TfLiteTensor* confidence = interpreter->tensor(interpreter->outputs()[1]); local
60 for (int i = 0; i < confidence->dims->data[0]; i++) {
61 float weight = confidence->data.f[i];
/external/neven/
H A DFaceDetector_jni.cpp41 float confidence; member in struct:FaceData
49 jfieldID confidence; member in struct:FaceOffsets
81 fdata->confidence = (float)btk_DCR_confidence(hdcr) / (1 << 24);
105 gFaceOffsets.confidence = _env->GetFieldID(faceClass, "mConfidence", "F");
259 _env->SetFloatField(face, gFaceOffsets.confidence, faceData.confidence);
/external/wycheproof/java/com/google/security/wycheproof/
H A DRandomUtil.java149 int confidence = 64;
159 BigInteger q = new BigInteger(size, confidence, rand);
/external/owasp/sanitizer/tools/findbugs/lib/
H A Dannotations.jar ... edu.umd.cs.findbugs.annotations.Confidence confidence () public abstract java.lang.String explanation () } edu ...
/external/deqp/modules/glshared/
H A DglsCalibration.hpp61 float confidence; member in struct:deqp::gls::LineParametersWithConfidence

Completed in 4251 milliseconds

12