/external/icu/icu4c/source/i18n/ |
csmatch.h | 24 * Any confidence > 0 indicates a possible match, meaning that the input bytes 37 int32_t confidence; member in class:CharsetMatch
|
csrutf8.cpp | 36 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; 98 // Plain ASCII. Confidence must be > 10, it's more likely than UTF-16, which 99 // accepts ASCII with confidence = 10. 100 confidence = 15 [all...] |
csr2022.cpp | 150 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);
|
csrucode.cpp | 34 // 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) { 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...] |
csrmbcs.cpp | 154 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 = 30 + doubleByteCharCount - 20*badCharCount 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...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
CharsetRecog_UTF8.java | 33 int confidence; local 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; 89 // Plain ASCII. Confidence must be > 10, it's more likely than UTF-16, which 90 // accepts ASCII with confidence = 10. 92 confidence = 15 [all...] |
CharsetRecog_2022.java | 124 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences); local 125 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); 141 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences); local 142 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); 168 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences); local 169 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
|
CharsetRecog_Unicode.java | 36 // 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) { 43 confidence -= 10; 45 confidence += 10; 47 if (confidence < 0) { 48 confidence = 0; 49 } else if (confidence > 100) { 50 confidence = 100; 52 return confidence; 67 int confidence = 10; local 103 int confidence = 10; local 142 int confidence = 0; local [all...] |
CharsetRecog_mbcs.java | 45 * bits 0-7: the match confidence, ranging from 0-100 56 int confidence = 0; local 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 = 100 228 int confidence = match(det, commonChars); local 297 int confidence = match(det, commonChars); local 412 int confidence = match(det, commonChars); local 450 int confidence = match(det, commonChars); local 551 int confidence = match(det, commonChars); local [all...] |
/external/icu/icu4c/source/samples/csdet/ |
csdet.c | 63 int32_t confidence = ucsdet_getConfidence(csm[match], &status); local 69 printf("%s (%s) %d\n", name, lang, confidence);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
CharsetRecog_UTF8.java | 32 int confidence; local 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; 88 // Plain ASCII. Confidence must be > 10, it's more likely than UTF-16, which 89 // accepts ASCII with confidence = 10. 91 confidence = 15 [all...] |
CharsetRecog_2022.java | 123 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences); local 124 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); 140 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences); local 141 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); 167 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences); local 168 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
|
CharsetRecog_Unicode.java | 35 // 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) { 42 confidence -= 10; 44 confidence += 10; 46 if (confidence < 0) { 47 confidence = 0; 48 } else if (confidence > 100) { 49 confidence = 100; 51 return confidence; 66 int confidence = 10; local 102 int confidence = 10; local 141 int confidence = 0; local [all...] |
CharsetRecog_mbcs.java | 44 * bits 0-7: the match confidence, ranging from 0-100 55 int confidence = 0; local 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 = 100 227 int confidence = match(det, commonChars); local 296 int confidence = match(det, commonChars); local 411 int confidence = match(det, commonChars); local 449 int confidence = match(det, commonChars); local 550 int confidence = match(det, commonChars); local [all...] |
/hardware/qcom/msm8994/kernel-headers/media/ |
msm_fd.h | 41 __u32 confidence; member in struct:msm_fd_face_data
|
/hardware/qcom/msm8996/kernel-headers/media/ |
msm_fd.h | 42 __u32 confidence; member in struct:msm_fd_face_data
|
/hardware/qcom/msm8996/original-kernel-headers/media/ |
msm_fd.h | 34 * @confidence: Face confidence level. 41 __u32 confidence; member in struct:msm_fd_face_data
|
/hardware/qcom/msm8998/kernel-headers/media/ |
msm_fd.h | 42 __u32 confidence; member in struct:msm_fd_face_data
|
/hardware/qcom/msm8998/original-kernel-headers/media/ |
msm_fd.h | 34 * @confidence: Face confidence level. 41 __u32 confidence; member in struct:msm_fd_face_data
|
/hardware/qcom/msm8x84/kernel-headers/media/ |
msm_fd.h | 41 __u32 confidence; member in struct:msm_fd_face_data
|
/frameworks/av/media/libstagefright/ |
MediaExtractor.cpp | 159 float confidence; local 160 if (!sniff(source, &tmp, &confidence, &meta)) { 167 ALOGV("Autodetected media content as '%s' with confidence %.2f", 168 mime, confidence); 231 const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) { 233 *confidence = 0.0f; 249 if (newConfidence > *confidence) { 251 *confidence = newConfidence; 257 return *confidence > 0.0;
|
/frameworks/base/media/java/android/media/ |
FaceDetector.java | 36 /** The minimum confidence factor of good face recognition */ 46 * Returns a confidence factor between 0 and 1. This indicates how 47 * certain what has been found is actually a face. A confidence 50 public float confidence() { method in class:FaceDetector.Face
|
/hardware/qcom/msm8994/original-kernel-headers/media/ |
msm_fd.h | 44 * @confidence: Face confidence level. 51 __u32 confidence; member in struct:msm_fd_face_data
|
/hardware/qcom/msm8x84/original-kernel-headers/media/ |
msm_fd.h | 44 * @confidence: Face confidence level. 51 __u32 confidence; member in struct:msm_fd_face_data
|
/external/deqp/modules/glshared/ |
glsCalibration.hpp | 61 float confidence; member in struct:deqp::gls::LineParametersWithConfidence 65 // Confidence interval is given as the range that contains the given fraction of all slopes/offsets
|