HomeSort by relevance Sort by last modified time
    Searched refs:confidence (Results 1 - 25 of 127) sorted by null

1 2 3 4 5 6

  /external/icu/icu4c/source/i18n/
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...]
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...]
csmatch.cpp 24 : textIn(NULL), confidence(0), fCharsetName(NULL), fLang(NULL)
33 confidence = conf;
58 return confidence;
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);
csmatch.h 24 * Any confidence > 0 indicates a possible match, meaning that the input bytes
37 int32_t confidence; member in class:CharsetMatch
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_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_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_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/icu4j/main/classes/core/src/com/ibm/icu/text/
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_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_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/netperf/doc/examples/
runemomni.sh 6 # 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...]
runemomniagg2.sh 30 # 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/
csdet.c 63 int32_t confidence = ucsdet_getConfidence(csm[match], &status); local
69 printf("%s (%s) %d\n", name, lang, confidence);
  /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/av/media/libstagefright/include/media/stagefright/
MediaExtractor.h 89 float *confidence, sp<AMessage> *meta);
101 String8 *mimeType, float *confidence, sp<AMessage> *meta);
  /frameworks/av/media/libmedia/
CharacterEncodingDetector.cpp 114 // since 'buf' is empty, ICU would return a UTF-8 matcher with low confidence, so
129 // the ISO detector reports a confidence of 0, while the GB18030 detector reports
130 // a confidence of 10 with no invalid characters)
213 ALOGV("@@@@ recognized charset: %s for %s confidence %d",
289 * - recalculate the starting confidence level for multibyte encodings using a different
293 * - signal to the caller whether this match is considered good: confidence > 15, and confidence
308 int confidence = ucsdet_getConfidence(ucma[i], &status); local
309 ALOGV("%zu: %s %d", i, encname, confidence);
318 int confidence = ucsdet_getConfidence(matches[0], &status) local
335 int confidence = ucsdet_getConfidence(matches[i], &status); local
    [all...]
  /frameworks/av/media/libstagefright/include/
AACExtractor.h 57 const sp<DataSource> &source, String8 *mimeType, float *confidence,
AMRExtractor.h 58 const sp<DataSource> &source, String8 *mimeType, float *confidence,
FLACExtractor.h 61 float *confidence, sp<AMessage> *);
MP3Extractor.h 57 const sp<DataSource> &source, String8 *mimeType, float *confidence,
OggExtractor.h 59 const sp<DataSource> &source, String8 *mimeType, float *confidence,

Completed in 625 milliseconds

1 2 3 4 5 6