Home
last modified time | relevance | path

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

12345678910>>...15

/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()
223 FX_FLOAT threshold = 0; in ProcessObject() local
[all …]
Dfpdf_text_int.cpp37 FX_FLOAT _NormalizeThreshold(FX_FLOAT threshold) in _NormalizeThreshold() argument
39 if (threshold < 300) { in _NormalizeThreshold()
40 return threshold / 2.0f; in _NormalizeThreshold()
41 } else if (threshold < 500) { in _NormalizeThreshold()
42 return threshold / 4.0f; in _NormalizeThreshold()
43 } else if (threshold < 700) { in _NormalizeThreshold()
44 return threshold / 5.0f; in _NormalizeThreshold()
46 return threshold / 6.0f; in _NormalizeThreshold()
1398 FX_FLOAT threshold = prev_width > this_width ? prev_width / 4 : this_width / 4; in ProcessTextObject() local
1405 if (FXSYS_fabs(this_y - prev_y) > threshold * 2) { in ProcessTextObject()
[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()
486 …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/llvm/test/Transforms/LoopUnroll/
Dfull-unroll-heuristics.ll3 ; 1) -unroll-threshold
4 ; 2) -unroll-absolute-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 …-unroll-max-iteration-count-to-analyze=1000 -unroll-absolute-threshold=10 -unroll-threshold=10 -…
21 …-unroll-max-iteration-count-to-analyze=1000 -unroll-absolute-threshold=100 -unroll-threshold=10 -…
22 …-unroll-max-iteration-count-to-analyze=1000 -unroll-absolute-threshold=100 -unroll-threshold=10 -…
23 …-unroll-max-iteration-count-to-analyze=1000 -unroll-absolute-threshold=100 -unroll-threshold=100 -…
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/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/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/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/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/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/dexmaker/src/dx/java/com/android/dx/ssa/
DSsaConverter.java71 public static void updateSsaMethod(SsaMethod ssaMeth, int threshold) { in updateSsaMethod() argument
73 placePhiFunctions(ssaMeth, localInfo, threshold); in updateSsaMethod()
74 new SsaRenamer(ssaMeth, threshold).run(); in updateSsaMethod()
288 LocalVariableInfo localInfo, int threshold) { in placePhiFunctions() argument
295 regCount = ssaMeth.getRegCount() - threshold; in placePhiFunctions()
321 if (rs != null && rs.getReg() - threshold >= 0) { in placePhiFunctions()
322 defsites[rs.getReg() - threshold].set(bi); in placePhiFunctions()
362 int tReg = reg + threshold; in placePhiFunctions()
/external/iptables/extensions/
Dlibxt_NFLOG.c27 .flags = XTOPT_PUT, XTOPT_POINTER(s, threshold)},
45 info->threshold = XT_NFLOG_DEFAULT_THRESHOLD; in NFLOG_init()
70 if (info->threshold != XT_NFLOG_DEFAULT_THRESHOLD) in nflog_print()
71 printf(" %snflog-threshold %u", prefix, info->threshold); in nflog_print()
/external/valgrind/massif/
Dms_print.in45 my $threshold = 1.0;
75 --threshold=<m.n> significance threshold, in percent [$threshold]
119 } elsif ($arg =~ /^--threshold=([\d\.]+)%?$/) {
120 $threshold = $1;
181 return $is_top_node || 0 == $threshold ||
182 ( $total_szB != 0 && $xpt_szB * 100 / $total_szB >= $threshold );
242 $n_insig_children, $threshold);
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/
DVector3D.java310 double threshold = 0.6 * getNorm(); in orthogonal() local
311 if (threshold == 0) { in orthogonal()
315 if ((x >= -threshold) && (x <= threshold)) { in orthogonal()
318 } else if ((y >= -threshold) && (y <= threshold)) { in orthogonal()
346 double threshold = normProduct * 0.9999; in angle() local
347 if ((dot < -threshold) || (dot > threshold)) { in angle()
/external/deqp/modules/gles2/functional/
Des2fShaderFragDataTests.cpp64 …olor (tcu::TestLog& log, const tcu::Surface& surface, tcu::RGBA expectedColor, tcu::RGBA threshold) in compareSingleColor() argument
69 …log << TestLog::Message << "Expecting " << expectedColor << " with threshold " << threshold << Tes… in compareSingleColor()
76 const bool isOk = compareThreshold(resultColor, expectedColor, threshold); in compareSingleColor()
201 …const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tc… in iterate() local
207 isOk = compareSingleColor(m_testCtx.getLog(), result, tcu::RGBA::green, threshold); in iterate()
/external/skia/bin/
Dcompare29 for threshold, suffix in [(1e9, 's'), (1e6, 'ms'), (1e3, 'us'), (1e0, 'ns')]:
30 if ns > threshold:
31 return "%.3g%s" % (ns/threshold, suffix)
/external/deqp/modules/gles3/functional/
Des3fShaderFragDataTests.cpp64 …olor (tcu::TestLog& log, const tcu::Surface& surface, tcu::RGBA expectedColor, tcu::RGBA threshold) in compareSingleColor() argument
69 …log << TestLog::Message << "Expecting " << expectedColor << " with threshold " << threshold << Tes… in compareSingleColor()
76 const bool isOk = compareThreshold(resultColor, expectedColor, threshold); in compareSingleColor()
201 …const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tc… in iterate() local
207 isOk = compareSingleColor(m_testCtx.getLog(), result, tcu::RGBA::green, threshold); in iterate()
319 …const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tc… in iterate() local
330 …reSingleColor(m_testCtx.getLog(), result, ndx == 0 ? tcu::RGBA::green : tcu::RGBA::red, threshold)) in iterate()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCalendarCache.java29 threshold = (int)(arraySize * 0.75); in makeArrays()
45 if (size >= threshold) { in put()
117 private int threshold = (arraySize * 3) / 4; field in CalendarCache

12345678910>>...15