/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...] |
/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...] |
/external/libxcam/xcore/ |
meta_data.h | 55 uint32_t confidence; member in struct:XCam::DevicePose 61 confidence = 1;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
LinkCapacityEstimate.java | 38 /** Confidence of the downlink estimate as a percentage [1, 100]; deprecated in HAL 1.2 */ 39 public final int confidence; field in class:LinkCapacityEstimate 45 public LinkCapacityEstimate(int downlinkCapacityKbps, int confidence, int status) { 47 this.confidence = confidence; 56 this.confidence = INVALID; 67 .append(", confidence=") 68 .append(confidence)
|
/external/tensorflow/tensorflow/contrib/lite/models/smartreply/ |
predictor.cc | 58 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/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/ |
Classifier.java | 44 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);
|
/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/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
|