Home
last modified time | relevance | path

Searched refs:threshold (Results 1 – 25 of 538) sorted by relevance

12345678910>>...22

/external/pdfium/core/src/fpdftext/
Dfpdf_text_search.cpp114 FX_FLOAT threshold = in FPDFText_ProcessInterObj() local
121 if (FXSYS_fabs(y) > threshold * 2) { in FPDFText_ProcessInterObj()
124 threshold = (FX_FLOAT)(nLastWidth > nThisWidth ? nLastWidth : nThisWidth); in FPDFText_ProcessInterObj()
125 threshold = threshold > 400 in FPDFText_ProcessInterObj()
126 ? (threshold < 700 ? threshold / 4 : threshold / 5) in FPDFText_ProcessInterObj()
127 : (threshold / 2); in FPDFText_ProcessInterObj()
128 threshold *= nLastWidth > nThisWidth ? FXSYS_fabs(pPrevObj->GetFontSize()) in FPDFText_ProcessInterObj()
130 threshold /= 1000; in FPDFText_ProcessInterObj()
131 if (FXSYS_fabs(last_pos + last_width - x) > threshold && curChar != L' ' && in FPDFText_ProcessInterObj()
134 if ((x - last_pos - last_width) > threshold || in FPDFText_ProcessInterObj()
[all …]
/external/ImageMagick/MagickCore/
Dthreshold.c399 MagickExport MagickBooleanType BilevelImage(Image *image,const double threshold, in BilevelImage() argument
472 q[i]=(Quantum) (pixel <= threshold ? 0 : QuantumRange); in BilevelImage()
543 threshold; in BlackThresholdImage() local
561 GetPixelInfo(image,&threshold); in BlackThresholdImage()
563 threshold.red=geometry_info.rho; in BlackThresholdImage()
564 threshold.green=geometry_info.rho; in BlackThresholdImage()
565 threshold.blue=geometry_info.rho; in BlackThresholdImage()
566 threshold.black=geometry_info.rho; in BlackThresholdImage()
567 threshold.alpha=100.0; in BlackThresholdImage()
569 threshold.green=geometry_info.sigma; in BlackThresholdImage()
[all …]
/external/deqp/framework/common/
DtcuImageCompare.hpp47 …geSetDesc, const Surface& reference, const Surface& result, const RGBA& threshold, CompareLogMode …
48 …r* imageSetDesc, const Surface& reference, const Surface& result, float threshold, CompareLogMode …
51 …xelBufferAccess& reference, const ConstPixelBufferAccess& result, float threshold, CompareLogMode …
52 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, CompareLogMode …
53 …ferAccess& reference, const ConstPixelBufferAccess& result, const Vec4& threshold, CompareLogMode …
54 …onst Vec4& reference, const ConstPixelBufferAccess& result, const Vec4& threshold, CompareLogMode …
55 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, CompareLogMode …
56 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, const tcu::IVec…
57 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, const tcu::IVec…
59 …fferAccess& reference, const ConstPixelBufferAccess& result, const RGBA threshold, CompareLogMode …
DtcuBilinearImageCompare.cpp114 …lBufferAccess& reference, const ConstPixelBufferAccess& result, const RGBA threshold, int x, int y) in comparePixelRGBA8() argument
127 if (compareThreshold(resPix, readRGBA8(reference, x1, y1), threshold) || in comparePixelRGBA8()
128 compareThreshold(resPix, readRGBA8(reference, x0, y1), threshold) || in comparePixelRGBA8()
129 compareThreshold(resPix, readRGBA8(reference, x2, y1), threshold) || in comparePixelRGBA8()
130 compareThreshold(resPix, readRGBA8(reference, x0, y0), threshold) || in comparePixelRGBA8()
131 compareThreshold(resPix, readRGBA8(reference, x1, y0), threshold) || in comparePixelRGBA8()
132 compareThreshold(resPix, readRGBA8(reference, x2, y0), threshold) || in comparePixelRGBA8()
133 compareThreshold(resPix, readRGBA8(reference, x0, y2), threshold) || in comparePixelRGBA8()
134 compareThreshold(resPix, readRGBA8(reference, x1, y2), threshold) || in comparePixelRGBA8()
135 compareThreshold(resPix, readRGBA8(reference, x2, y2), threshold)) in comparePixelRGBA8()
[all …]
DtcuImageCompare.cpp91 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, const tcu::IVec… in findNumPositionDeviationFailingPixels() argument
124 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in findNumPositionDeviationFailingPixels()
143 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in findNumPositionDeviationFailingPixels()
166 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in findNumPositionDeviationFailingPixels()
216 …xelBufferAccess& reference, const ConstPixelBufferAccess& result, float threshold, CompareLogMode … in fuzzyCompare() argument
221 bool isOk = difference <= threshold; in fuzzyCompare()
235 … comparison failed: difference = " << difference << ", threshold = " << threshold << TestLog::EndM… in fuzzyCompare()
285 …r* imageSetDesc, const Surface& reference, const Surface& result, float threshold, CompareLogMode … in fuzzyCompare() argument
287 …re(log, imageSetName, imageSetDesc, reference.getAccess(), result.getAccess(), threshold, logMode); in fuzzyCompare()
487 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, CompareLogMode … in floatUlpThresholdCompare() argument
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowAutoCompleteTextView.java19 private int threshold = 2; field in ShadowAutoCompleteTextView
34 return threshold; in getThreshold()
38 public void setThreshold(int threshold) { in setThreshold() argument
39 if (threshold <= 0) { in setThreshold()
40 threshold = 1; in setThreshold()
42 this.threshold = threshold; in setThreshold()
/external/autotest/client/tests/kvm/deps/
Dheartbeat_slu.py45 def run_server(host, port, daemon, file, queue_size, threshold, drift): argument
51 timeout_interval = threshold * 2
57 drift = check_heartbeat(heartbeat, local_timestamp, threshold, check_drift)
61 if local_timestamp - prev_check_timestamp > threshold * 2.0:
62 check_for_timeouts(threshold, check_drift)
92 def check_heartbeat(heartbeat, local_timestamp, threshold, check_drift): argument
97 if delta > threshold:
112 def check_for_timeouts(threshold, check_drift): argument
118 if delta > threshold * 2:
149 threshold = 10 # seconds late till alert variable
[all …]
/external/llvm/test/Transforms/LoopUnroll/
Dfull-unroll-heuristics.ll3 ; 1) -unroll-threshold
4 ; 3) -unroll-percent-dynamic-cost-saved-threshold and
8 ; * If size of unrolled loop exceeds the absoulte threshold, we don't unroll
10 ; * If size of unrolled loop is below the '-unroll-threshold', then we'll
20 …ll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-percent-dynamic-cost-saved-th…
21 …ll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-percent-dynamic-cost-saved-th…
22 …ll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-percent-dynamic-cost-saved-th…
23 …ll-max-iteration-count-to-analyze=1000 -unroll-threshold=100 -unroll-percent-dynamic-cost-saved-th…
25 ; If the absolute threshold is too low, or if we can't optimize away requested
33 ; Also, we should unroll if the 'unroll-threshold' is big enough:
/external/chromium-trace/catapult/third_party/flot/
Djquery.flot.threshold.js47 series: { threshold: null } // or { below: number, color: color spec} property
58 thresholded.threshold = null;
116 if (!s.threshold)
119 if (s.threshold instanceof Array) {
120 s.threshold.sort(function(a, b) {
124 $(s.threshold).each(function(i, th) {
129 thresholdData(plot, s, datapoints, s.threshold.below, s.threshold.color);
Djquery.flot.threshold.min.js7threshold:null}};function init(plot){function thresholdData(plot,s,datapoints,below,color){var ps=… property
/external/libvpx/libvpx/test/
Dset_roi.cc33 unsigned int threshold[MAX_MB_SEGMENTS] = { 0, 100, 200, 300 }; in TEST() local
71 threshold); in TEST()
106 if (threshold[i] != breakout) { in TEST()
107 EXPECT_EQ(threshold[i], breakout) in TEST()
139 delta_lf, threshold); in TEST()
149 rand_deltas, threshold); in TEST()
161 delta_lf, threshold); in TEST()
168 delta_lf, threshold); in TEST()
173 delta_lf, threshold); in TEST()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
DBarrier.java36 protected int threshold; field in Barrier
40 threshold = t; in Barrier()
49 if ( count==threshold ) { in waitForRelease()
54 else while ( count<threshold ) { in waitForRelease()
/external/llvm/test/Transforms/SimplifyCFG/
DPhiEliminate3.ll4 ; RUN: opt < %s -simplifycfg -S -phi-node-folding-threshold=1 | grep N:
5 ; RUN: opt < %s -simplifycfg -S -phi-node-folding-threshold=2 | not grep N:
6 ; RUN: opt < %s -simplifycfg -S -phi-node-folding-threshold=2 | grep M:
7 ; RUN: opt < %s -simplifycfg -S -phi-node-folding-threshold=7 | not grep M:
24 ; This phi should be foldable if threshold >= 2
29 ; This phi should be foldable if threshold >= 7
/external/autotest/client/cros/image_comparison/
Dupload_on_fail_comparer.py23 def __init__(self, local_comparer, remote_comparer, threshold=0): argument
34 self.threshold = threshold
77 if (diffpx > self.threshold):
78 logging.debug('Threshold diff pixels is %d', self.threshold)
Dverifier.py29 def __init__(self, image_comparer, stop_on_first_failure, threshold=0, argument
44 self.threshold = threshold
69 log_msgs = ["Threshold for diff pixel count = %d" % self.threshold]
93 if diff_pixels > self.threshold:
/external/llvm/test/Transforms/Inline/
Dinline-optsize.ll4 ; The inline threshold for a function with the optsize attribute is currently
5 ; the same as the global inline threshold for -Os. Check that the optsize
6 ; function attribute doesn't alter the function-specific inline threshold if the
7 ; global inline threshold is lower (as for -Oz).
11 ; This function should be larger than the inline threshold for -Oz (25), but
12 ; smaller than the inline threshold for optsize (75).
Dinline-hot-callee.ll1 ; RUN: opt < %s -inline -inline-threshold=0 -inlinehint-threshold=100 -S | FileCheck %s
3 ; This tests that a hot callee gets the (higher) inlinehint-threshold even without
4 ; inline hints and gets inlined because the cost is less than inlinehint-threshold.
6 ; inline-threshold
/external/autotest/client/tests/kvm/autotest_control/
Dmonotonic_time.control21 # time interface does not go backwards by more than 'threshold'.
23 # Note that the threshold value has the same resolution as the
31 duration=300, threshold=0)
34 duration=300, threshold=0)
37 duration=300, threshold=0)
/external/autotest/client/tests/monotonic_time/
Dcontrol21 # time interface does not go backwards by more than 'threshold'.
23 # Note that the threshold value has the same resolution as the
31 duration=300, threshold=0)
34 duration=300, threshold=0)
37 duration=300, threshold=0)
/external/valgrind/massif/tests/
Dpeak.post.exp45 ->00.85% (16B) in 1+ places, all below ms_print's threshold (01.00%)
57 ->00.44% (16B) in 1+ places, all below ms_print's threshold (01.00%)
69 ->00.30% (16B) in 1+ places, all below ms_print's threshold (01.00%)
81 ->00.23% (16B) in 1+ places, all below ms_print's threshold (01.00%)
93 ->00.18% (16B) in 1+ places, all below ms_print's threshold (01.00%)
105 ->00.15% (16B) in 1+ places, all below ms_print's threshold (01.00%)
117 ->00.13% (16B) in 1+ places, all below ms_print's threshold (01.00%)
129 ->00.11% (16B) in 1+ places, all below ms_print's threshold (01.00%)
141 ->00.10% (16B) in 1+ places, all below ms_print's threshold (01.00%)
153 ->00.09% (16B) in 1+ places, all below ms_print's threshold (01.00%)
[all …]
Dignoring.post.exp51 ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
64 ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
92 ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
107 ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
122 ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
137 ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
152 ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
168 ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
188 ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
208 ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
[all …]
Dpeak2.post.exp45 ->00.85% (16B) in 1+ places, all below ms_print's threshold (01.00%)
57 ->00.44% (16B) in 1+ places, all below ms_print's threshold (01.00%)
69 ->00.30% (16B) in 1+ places, all below ms_print's threshold (01.00%)
81 ->00.23% (16B) in 1+ places, all below ms_print's threshold (01.00%)
93 ->00.18% (16B) in 1+ places, all below ms_print's threshold (01.00%)
105 ->00.15% (16B) in 1+ places, all below ms_print's threshold (01.00%)
117 ->00.13% (16B) in 1+ places, all below ms_print's threshold (01.00%)
129 ->00.11% (16B) in 1+ places, all below ms_print's threshold (01.00%)
141 ->00.10% (16B) in 1+ places, all below ms_print's threshold (01.00%)
153 ->00.09% (16B) in 1+ places, all below ms_print's threshold (01.00%)
[all …]
Dlong-time.post.exp45 ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
59 ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
86 ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
97 ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
112 ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
127 ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
138 ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
154 ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
172 ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
190 ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
[all …]
/external/pdfium/tools/drmemory/scripts/
Dlogging_utils.py16 def __init__(self, threshold=logging.WARNING, err=sys.stderr, out=sys.stdout): argument
28 self._threshold = threshold
62 def config_root(level=logging.INFO, threshold=logging.WARNING, format=FORMAT, argument
79 handler = StdoutStderrHandler(threshold=threshold)
/external/aac/libPCMutils/src/
Dlimiter.cpp98 FIXP_PCM threshold; member
117 INT_PCM threshold, in createLimiter() argument
161 limiter->threshold = (FIXP_PCM)threshold; in createLimiter()
239 FIXP_DBL threshold = FX_PCM2FX_DBL(limiter->threshold)>>TDL_GAIN_SCALING; in applyLimiter() local
289 tmp = fMax(tmp, threshold); in applyLimiter()
316 if (max > threshold) { in applyLimiter()
317 gain = fDivNorm(threshold, max)>>1; in applyLimiter()
491 TDLIMITER_ERROR setLimiterThreshold(TDLimiterPtr limiter, INT_PCM threshold) in setLimiterThreshold() argument
495 limiter->threshold = (FIXP_PCM)threshold; in setLimiterThreshold()

12345678910>>...22