Home
last modified time | relevance | path

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

12345678910>>...19

/external/chromium_org/chrome/browser/extensions/api/idle/
Didle_api.cc19 int ClampThreshold(int threshold) { in ClampThreshold() argument
20 if (threshold < kMinThreshold) { in ClampThreshold()
21 threshold = kMinThreshold; in ClampThreshold()
22 } else if (threshold > kMaxThreshold) { in ClampThreshold()
23 threshold = kMaxThreshold; in ClampThreshold()
26 return threshold; in ClampThreshold()
34 int threshold; in RunAsync() local
35 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &threshold)); in RunAsync()
36 threshold = ClampThreshold(threshold); in RunAsync()
39 threshold, base::Bind(&IdleQueryStateFunction::IdleStateCallback, this)); in RunAsync()
[all …]
Didle_api_unittest.cc226 for (int threshold = 0; threshold < 20; ++threshold) { in TEST_F() local
228 SCOPED_TRACE(threshold); in TEST_F()
232 std::string args = "[" + base::IntToString(threshold) + "]"; in TEST_F()
239 int real_threshold = (threshold < 15) ? 15 : threshold; in TEST_F()
253 for (int threshold = kFourHoursInSeconds - 20; in TEST_F() local
254 threshold < (kFourHoursInSeconds + 20); ++threshold) { in TEST_F()
257 SCOPED_TRACE(threshold); in TEST_F()
261 std::string args = "[" + base::IntToString(threshold) + "]"; in TEST_F()
268 int real_threshold = (threshold > kFourHoursInSeconds) ? in TEST_F()
269 kFourHoursInSeconds : threshold; in TEST_F()
/external/pdfium/core/src/fpdftext/
Dfpdf_text_search.cpp107 FX_FLOAT threshold = last_width > this_width ? last_width / 4 : this_width / 4; in FPDFText_ProcessInterObj() local
113 if (FXSYS_fabs(y) > threshold * 2) { in FPDFText_ProcessInterObj()
116 threshold = (FX_FLOAT)(nLastWidth > nThisWidth ? nLastWidth : nThisWidth); in FPDFText_ProcessInterObj()
117threshold = threshold > 400 ? (threshold < 700 ? threshold / 4 : threshold / 5) : (threshold / 2); in FPDFText_ProcessInterObj()
118threshold *= nLastWidth > nThisWidth ? FXSYS_fabs(pPrevObj->GetFontSize()) : FXSYS_fabs(pObj->GetF… in FPDFText_ProcessInterObj()
119 threshold /= 1000; in FPDFText_ProcessInterObj()
120 if (FXSYS_fabs(last_pos + last_width - x) > threshold && curChar != L' ' && preChar != L' ') in FPDFText_ProcessInterObj()
122 if((x - last_pos - last_width) > threshold || (last_pos - x - last_width) > threshold) { in FPDFText_ProcessInterObj()
125 if(x < 0 && (last_pos - x - last_width) > threshold) { in FPDFText_ProcessInterObj()
227 FX_FLOAT threshold = 0; in ProcessObject() local
[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.cpp106 …lBufferAccess& reference, const ConstPixelBufferAccess& result, const RGBA threshold, int x, int y) in comparePixelRGBA8() argument
119 if (compareThreshold(resPix, readRGBA8(reference, x1, y1), threshold) || in comparePixelRGBA8()
120 compareThreshold(resPix, readRGBA8(reference, x0, y1), threshold) || in comparePixelRGBA8()
121 compareThreshold(resPix, readRGBA8(reference, x2, y1), threshold) || in comparePixelRGBA8()
122 compareThreshold(resPix, readRGBA8(reference, x0, y0), threshold) || in comparePixelRGBA8()
123 compareThreshold(resPix, readRGBA8(reference, x1, y0), threshold) || in comparePixelRGBA8()
124 compareThreshold(resPix, readRGBA8(reference, x2, y0), threshold) || in comparePixelRGBA8()
125 compareThreshold(resPix, readRGBA8(reference, x0, y2), threshold) || in comparePixelRGBA8()
126 compareThreshold(resPix, readRGBA8(reference, x1, y2), threshold) || in comparePixelRGBA8()
127 compareThreshold(resPix, readRGBA8(reference, x2, y2), threshold)) in comparePixelRGBA8()
[all …]
DtcuImageCompare.cpp90 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, const tcu::IVec… in findNumPositionDeviationFailingPixels() argument
111 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in findNumPositionDeviationFailingPixels()
145 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in findNumPositionDeviationFailingPixels()
158 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in findNumPositionDeviationFailingPixels()
209 …xelBufferAccess& reference, const ConstPixelBufferAccess& result, float threshold, CompareLogMode … in fuzzyCompare() argument
214 bool isOk = difference <= threshold; in fuzzyCompare()
228 … comparison failed: difference = " << difference << ", threshold = " << threshold << TestLog::EndM… in fuzzyCompare()
278 …r* imageSetDesc, const Surface& reference, const Surface& result, float threshold, CompareLogMode … in fuzzyCompare() argument
280 …re(log, imageSetName, imageSetDesc, reference.getAccess(), result.getAccess(), threshold, logMode); in fuzzyCompare()
410 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, CompareLogMode … in floatUlpThresholdCompare() argument
[all …]
/external/robolectric/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/chromium_org/third_party/flot/
Djquery.flot.threshold.min.js43threshold=null,h.originSeries=n,h.data=[];var p=r.points,d=n.lines.show,v=[],m=[],g;for(u=0;u<p.le… property
/external/chromium_org/third_party/libvpx/source/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/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/srec/srec/Semproc/include/
DSR_SemprocDefinitions.h207 #define MEMCHK(rc, val, threshold) \ argument
209 if(val > threshold) \
212 PLogError(L("%s: %d > %d\n"), ESR_rc2str(rc), (val), (threshold)); \
216 #define LENCHK(rc, val, threshold) \ argument
218 if(LSTRLEN(val) > threshold) \
221 PLogError(L("%s: %s > %d\n"), ESR_rc2str(rc), (val), (threshold)); \
/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/chromium_org/chrome/browser/history/
Dhistory_types_unittest.cc119 const base::Time& threshold(AutocompleteAgeThreshold()); in TEST() local
123 EXPECT_FALSE(RowQualifiesAsSignificant(url_row, threshold)); in TEST()
126 EXPECT_TRUE(RowQualifiesAsSignificant(url_row, threshold)); in TEST()
129 EXPECT_FALSE(RowQualifiesAsSignificant(url_row, threshold)); in TEST()
132 EXPECT_TRUE(RowQualifiesAsSignificant(url_row, threshold)); in TEST()
135 EXPECT_FALSE(RowQualifiesAsSignificant(url_row, threshold)); in TEST()
138 EXPECT_TRUE(RowQualifiesAsSignificant(url_row, threshold)); in TEST()
142 EXPECT_FALSE(RowQualifiesAsSignificant(url_row, threshold)); in TEST()
/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 don'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).
/external/chromium_org/tools/python/google/
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/valgrind/main/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 …]
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 …]
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 …]
/external/srec/srec/clib/
Dvoicing.c60 int threshold; in voicing_analysis() local
96 threshold = (chan->b1 + (SHIFT_DOWN( in voicing_analysis()
101 if (enval > (threshold + chan->margin)) in voicing_analysis()
108 if (enval > (threshold + chan->fast_margin)) in voicing_analysis()
113 if (enval <= (threshold + chan->quiet_margin)) in voicing_analysis()
/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()
/external/chromium_org/content/test/data/media/
Dwebrtc_test_audio.js47 var threshold = MAX_AUDIO_OUTPUT_ENERGY * 0.7;
49 threshold = MAX_AUDIO_OUTPUT_ENERGY * 0.6;
55 if (currentlyOverThreshold && samples[i] < threshold)
57 currentlyOverThreshold = samples[i] >= threshold;
/external/llvm/test/Instrumentation/AddressSanitizer/
Dinstrumentation-with-call-threshold.ll2 ; -asan-instrumentation-with-call-threshold
5 ; RUN: opt < %s -asan -asan-module -asan-instrumentation-with-call-threshold=1 -S | FileCheck %s --…
6 ; RUN: opt < %s -asan -asan-module -asan-instrumentation-with-call-threshold=0 -S | FileCheck %s --…
7 ; RUN: opt < %s -asan -asan-module -asan-instrumentation-with-call-threshold=0 -asan-memory-access-…
8 ; RUN: opt < %s -asan -asan-module -asan-instrumentation-with-call-threshold=5 -S | FileCheck %s --…
/external/oprofile/pp/
Dcommon_option.cpp30 double threshold = 0.0; variable
55 double handle_threshold(string threshold) in handle_threshold() argument
59 if (threshold.length()) { in handle_threshold()
60 istringstream ss(threshold); in handle_threshold()
62 cerr << "illegal threshold value: " << threshold in handle_threshold()
68 cerr << "illegal threshold value: " << threshold in handle_threshold()
176 options::threshold = handle_threshold(options::threshold_opt); in get_options()

12345678910>>...19