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

123

/external/icu/icu4c/source/i18n/
H A Dcsrucode.cpp32 // UTF-16 confidence calculation. Very simple minded, but better than nothing.
33 // Any 8 bit non-control characters bump the confidence up. These have a zero high byte,
38 static int32_t adjustConfidence(UChar codeUnit, int32_t confidence) { argument
40 confidence -= 10;
42 confidence += 10;
44 if (confidence < 0) {
45 confidence = 0;
46 } else if (confidence > 100) {
47 confidence = 100;
49 return confidence;
56 int32_t confidence = 10; local
91 int32_t confidence = 10; local
128 int32_t confidence = 0; local
[all...]
H A Dcsrutf8.cpp34 int32_t confidence; local
84 // Cook up some sort of confidence score, based on presence of a BOM
86 confidence = 0;
88 confidence = 100;
90 confidence = 80;
92 confidence = 100;
94 confidence = 80;
97 // accepts ASCII with confidence = 10.
98 confidence = 15;
101 confidence
[all...]
H A Dcsmatch.cpp22 : textIn(NULL), confidence(0), fCharsetName(NULL), fLang(NULL)
31 confidence = conf;
56 return confidence;
H A Dcsr2022.cpp149 int32_t confidence = match_2022(textIn->fInputBytes, local
153 results->set(textIn, this, confidence);
154 return (confidence > 0);
165 int32_t confidence = match_2022(textIn->fInputBytes, local
169 results->set(textIn, this, confidence);
170 return (confidence > 0);
180 int32_t confidence = match_2022(textIn->fInputBytes, local
184 results->set(textIn, this, confidence);
185 return (confidence > 0);
H A Dcsrmbcs.cpp153 int32_t confidence = 0; local
179 return confidence;
187 // We don't have enough data to have any confidence.
189 confidence = 0;
194 confidence = 10;
197 return confidence;
205 confidence = 0;
207 return confidence;
212 // Assess confidence purely on having a reasonable number of
214 confidence
272 int32_t confidence = match_mbcs(det, commonChars_sjis, ARRAY_SIZE(commonChars_sjis)); local
373 int32_t confidence = match_mbcs(det, commonChars_euc_jp, ARRAY_SIZE(commonChars_euc_jp)); local
395 int32_t confidence = match_mbcs(det, commonChars_euc_kr, ARRAY_SIZE(commonChars_euc_kr)); local
447 int32_t confidence = match_mbcs(det, commonChars_big5, ARRAY_SIZE(commonChars_big5)); local
523 int32_t confidence = match_mbcs(det, commonChars_gb_18030, ARRAY_SIZE(commonChars_gb_18030)); local
[all...]
H A Dcsmatch.h22 * Any confidence > 0 indicates a possible match, meaning that the input bytes
35 int32_t confidence; member in class:CharsetMatch
H A Dcsrsbcs.cpp136 // were we were getting a confidence of 135...
898 int32_t confidence = match_sbcs(textIn, ngrams, charMap_8859_1); local
899 if (confidence > bestConfidenceSoFar) {
900 results->set(textIn, this, confidence, name, lang);
901 bestConfidenceSoFar = confidence;
925 int32_t confidence = match_sbcs(textIn, ngrams, charMap_8859_2); local
926 if (confidence > bestConfidenceSoFar) {
927 results->set(textIn, this, confidence, name, lang);
928 bestConfidenceSoFar = confidence;
962 int32_t confidence local
989 int32_t confidence = match_sbcs(textIn, ngrams_8859_6_ar, charMap_8859_6); local
1017 int32_t confidence = match_sbcs(textIn, ngrams_8859_7_el, charMap_8859_7); local
1050 int32_t confidence = match_sbcs(textIn, ngrams_8859_8_I_he, charMap_8859_8); local
1068 int32_t confidence = match_sbcs(textIn, ngrams_8859_8_he, charMap_8859_8); local
1096 int32_t confidence = match_sbcs(textIn, ngrams_8859_9_tr, charMap_8859_9); local
1118 int32_t confidence = match_sbcs(textIn, ngrams_windows_1256, charMap_windows_1256); local
1140 int32_t confidence = match_sbcs(textIn, ngrams_windows_1251, charMap_windows_1251); local
1162 int32_t confidence = match_sbcs(textIn, ngrams_KOI8_R, charMap_KOI8_R); local
1190 int32_t confidence = match_sbcs(textIn, ngrams_IBM424_he_rtl, charMap_IBM424_he); local
1207 int32_t confidence = match_sbcs(textIn, ngrams_IBM424_he_ltr, charMap_IBM424_he); local
1245 int32_t confidence = match_sbcs(textIn, ngrams_IBM420_ar_rtl, charMap_IBM420_ar); local
1262 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.java32 // UTF-16 confidence calculation. Very simple minded, but better than nothing.
33 // Any 8 bit non-control characters bump the confidence up. These have a zero high byte,
37 static int adjustConfidence(int codeUnit, int confidence) { argument
39 confidence -= 10;
41 confidence += 10;
43 if (confidence < 0) {
44 confidence = 0;
45 } else if (confidence > 100) {
46 confidence = 100;
48 return confidence;
[all...]
H A DCharsetRecog_UTF8.java29 int confidence;
73 // Cook up some sort of confidence score, based on presense of a BOM
75 confidence = 0;
77 confidence = 100;
79 confidence = 80;
81 confidence = 100;
83 confidence = 80;
86 // accepts ASCII with confidence = 10.
88 confidence = 15;
91 confidence
[all...]
H A DCharsetRecog_2022.java120 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences);
121 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
135 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences);
136 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
160 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences);
161 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
H A DCharsetRecog_mbcs.java42 * bits 0-7: the match confidence, ranging from 0-100
53 int confidence = 0;
86 // We don't have enough data to have any confidence.
88 confidence = 0;
93 confidence = 10;
104 confidence = 0;
110 // Assess confidence purely on having a reasonable number of
112 confidence = 30 + doubleByteCharCount - 20*badCharCount;
113 if (confidence > 100) {
114 confidence
[all...]
H A DCharsetRecog_sbcs.java157 // were we were getting a confidence of 135...
428 int confidence = match(det, ngl.fNGrams, byteMap);
429 if (confidence > bestConfidenceSoFar) {
430 bestConfidenceSoFar = confidence;
523 int confidence = match(det, ngl.fNGrams, byteMap);
524 if (confidence > bestConfidenceSoFar) {
525 bestConfidenceSoFar = confidence;
599 int confidence = match(det, ngrams, byteMap);
600 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.java31 // UTF-16 confidence calculation. Very simple minded, but better than nothing.
32 // Any 8 bit non-control characters bump the confidence up. These have a zero high byte,
36 static int adjustConfidence(int codeUnit, int confidence) { argument
38 confidence -= 10;
40 confidence += 10;
42 if (confidence < 0) {
43 confidence = 0;
44 } else if (confidence > 100) {
45 confidence = 100;
47 return confidence;
[all...]
H A DCharsetRecog_UTF8.java28 int confidence;
72 // Cook up some sort of confidence score, based on presense of a BOM
74 confidence = 0;
76 confidence = 100;
78 confidence = 80;
80 confidence = 100;
82 confidence = 80;
85 // accepts ASCII with confidence = 10.
87 confidence = 15;
90 confidence
[all...]
H A DCharsetRecog_2022.java119 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences);
120 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
134 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences);
135 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
159 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences);
160 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
H A DCharsetRecog_mbcs.java41 * bits 0-7: the match confidence, ranging from 0-100
52 int confidence = 0;
85 // We don't have enough data to have any confidence.
87 confidence = 0;
92 confidence = 10;
103 confidence = 0;
109 // Assess confidence purely on having a reasonable number of
111 confidence = 30 + doubleByteCharCount - 20*badCharCount;
112 if (confidence > 100) {
113 confidence
[all...]
H A DCharsetRecog_sbcs.java156 // were we were getting a confidence of 135...
427 int confidence = match(det, ngl.fNGrams, byteMap);
428 if (confidence > bestConfidenceSoFar) {
429 bestConfidenceSoFar = confidence;
522 int confidence = match(det, ngl.fNGrams, byteMap);
523 if (confidence > bestConfidenceSoFar) {
524 bestConfidenceSoFar = confidence;
598 int confidence = match(det, ngrams, byteMap);
599 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
[all...]
/external/pdfium/xfa/src/fxbarcode/pdf417/
H A DBC_PDF417BarcodeValue.cpp29 int32_t confidence = 0; local
32 confidence = m_values.GetAt(i);
33 m_values.SetAt(i, confidence + 1);
37 confidence = 1;
39 m_values.Add(confidence);
/external/netperf/doc/examples/
H A Drunemomni.sh6 # and max iteration for confidence intervals
12 confidence="-i 30,3"
84 netperf $HDR -T $i,$j -t omni -c -C -H $control_host -l $length $confidence -- $CSV -H $data -m 64K;HDR="-P 0";
103 netperf $HDR -T $i,$j -t omni -c -C -H $control_host -l $length $confidence -- $CSV -H $data -s 1M -S 1M -m 64K;HDR="-P 0";
122 netperf $HDR -T $i,$j -t omni -f m -c -C -H $control_host -l $length $confidence -- $CSV -H $data -s 1M -S 1M -r 64K -b 12; HDR="-P 0";
141 netperf $HDR -T $i,$j -t omni -c -C -H $control_host -l $length $confidence -- $CSV -H $data -r 1; HDR="-P 0";
154 netperf $HDR -T $i -t omni -f m -c -C -H $control_host -l $length $confidence -- $CSV -H $data -s 1M -S 1M -r $req -b $burst -D;HDR=-"P 0";
168 netperf $HDR -T $i -t omni -f m -c -C -H $control_host -l $length $confidence -- $CSV -H $data -s 1M -S 1M -r $req -b $burst -T udp;HDR=-"P 0";
176 echo UDP_STREAM MEGABITS to $data altering send size, no confidence intvls
177 confidence
[all...]
H A Drunemomniagg2.sh30 # this will be the settings for confidence intervals
34 confidence="-i 30,30"
91 netperf $HDR -t omni -c -C -H ${remote_hosts[$client]} -l $length $confidence -- $CSV -H ${remote_hosts[$client]} $socket_sizes -m 64K -u $NETUUID & HDR="-P 0";
106 netperf $HDR -t omni -c -C -H ${remote_hosts[$client]} -l $length $confidence -- $CSV -H ${remote_hosts[$client]} $socket_sizes -M ,64K -u $NETUUID & HDR="-P 0";
122 netperf $HDR -t omni -f m -c -C -H ${remote_hosts[$client]} -l $length $confidence -- $CSV -H ${remote_hosts[$client]} -s 1M -S 1M -r 64K -b 12 -u $NETUUID & HDR="-P 0";
140 netperf $HDR -t omni -f x -c -C -H ${remote_hosts[$client]} -l $length $confidence -- $CSV -H ${remote_hosts[$client]} -r 1 -b $b -D -u $NETUUID & HDR="-P 0";
/external/icu/icu4c/source/samples/csdet/
H A Dcsdet.c59 int32_t confidence = ucsdet_getConfidence(csm[match], &status); local
65 printf("%s (%s) %d\n", name, lang, confidence);
/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");
261 _env->SetFloatField(face, gFaceOffsets.confidence, faceData.confidence);
/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
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
H A DScenarioStatusTable.java148 int confidence = Utils.confidenceLevel(deviation);
151 String image = Utils.getImage(confidence, hasFailure, comment != null);
153 if (!hasFailure|| (confidence & Utils.NAN) != 0 || failure.length() == 0){

Completed in 544 milliseconds

123