/external/oprofile/pp/ |
opgprof.cpp | 189 choice.threshold = options::threshold;
|
/external/chromium_org/chrome/browser/thumbnails/ |
content_analysis_unittest.cc | 440 float threshold = AutoSegmentPeaks(profile_info); local 441 EXPECT_GT(threshold, 0); // Not much to expect. 443 // There should be roughly 50% above and below the threshold. 448 std::bind2nd(std::greater<float>(), threshold)); 456 threshold = AutoSegmentPeaks(profile_info); 461 std::bind2nd(std::greater<float>(), threshold)); 462 EXPECT_LT(above_count, 500); // Negative y expected to fall below threshold. 469 std::bind2nd(std::greater<float>(), threshold)); 520 // Make sure that threshold falls somewhere reasonable.
|
/external/eigen/Eigen/src/SVD/ |
JacobiSVD.h | 680 * For that, it uses the threshold value that you can control by calling 688 RealScalar premultiplied_threshold = m_singularValues.coeff(0) * threshold(); 694 /** Allows to prescribe a threshold to be used by certain methods, such as rank() and solve(), 698 * When it needs to get the threshold value, Eigen calls threshold(). 701 * \param threshold The new value to use as the threshold. 704 * \f$ \vert singular value \vert \leqslant threshold \times \vert max singular value \vert \f$. 708 JacobiSVD& setThreshold(const RealScalar& threshold) 711 m_prescribedThreshold = threshold; 733 RealScalar threshold() const function in class:Eigen::JacobiSVD [all...] |
/external/opencv/cv/src/ |
_cvipp.h | 628 CvSize size, uchar threshold, uchar value )) 632 CvSize size, float threshold, float value )) 636 CvSize size, uchar threshold, uchar value )) 640 CvSize size, float threshold, float value )) [all...] |
mycvHaarDetectObjects.cpp | 69 int threshold; member in struct:MyCvHidHaarTreeNode 89 float threshold; member in struct:MyCvHidHaarStageClassifier 270 hid_stage_classifier->threshold = stage_classifier->threshold - icv_stage_threshold_bias; 300 node->threshold = (int)((classifier->threshold[l]) * 65536.0); 351 ipp_thresholds[j] = classifier->threshold[0]; 411 double t = node->threshold * variance_norm_factor; 534 // if( stage_sum >= ptr->threshold ) 562 int t = node->threshold * variance_norm_factor [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
tcmalloc.cc | 185 // infinite loop. So by default we set the threshold to a huge number 198 "trace to be dumped to stderr. The threshold for " 200 "every time we print a message so that the threshold " 1038 const int64 threshold = large_alloc_threshold; local [all...] |
/external/deqp/modules/gles2/functional/ |
es2fTextureUnitTests.cpp | 430 const float threshold = 0.1f; local 439 if (de::abs(lodMax) < threshold || (lodMax > 0.0f && de::abs(deFloatFrac(lodMax) - 0.5f) < threshold) || 440 de::abs(lodMin) < threshold || (lodMin > 0.0f && de::abs(deFloatFrac(lodMin) - 0.5f) < threshold) || 812 const float threshold = 0.001f; local 813 bool isOk = tcu::fuzzyCompare(log, "ComparisonResult", "Image comparison result", refFrame, gles2Frame, threshold, tcu::COMPARE_LOG_RESULT); [all...] |
es2fTextureWrapTests.cpp | 171 tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() local 217 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold);
|
/development/perftests/panorama/feature_stab/db_vlvm/ |
db_feature_detection.cpp | 1631 float max_val,threshold; local 1730 float max_val,threshold; local [all...] |
/external/chromium_org/third_party/flot/ |
jquery.flot.pie.min.js | 41 threshold: 0-1 for the percentage value at which to hide labels (if they're too small) 44 threshold: 0-1 for the percentage value at which to combine slices (if they're too small) 56 */(function(e){function r(r){function p(t,n,r){l||(l=!0,s=t.getCanvas(),o=e(s).parent(),i=t.getOptions(),t.setData(d(t.getData())))}function d(t){var n=0,r=0,s=0,o=i.series.pie.combine.color,u=[];for(var a=0;a<t.length;++a){var f=t[a].data;e.isArray(f)&&f.length==1&&(f=f[0]),e.isArray(f)?!isNaN(parseFloat(f[1]))&&isFinite(f[1])?f[1]=+f[1]:f[1]=0:!isNaN(parseFloat(f))&&isFinite(f)?f=[1,+f]:f=[1,0],t[a].data=[f]}for(var a=0;a<t.length;++a)n+=t[a].data[0][1];for(var a=0;a<t.length;++a){var f=t[a].data[0][1];f/n<=i.series.pie.combine.threshold&&(r+=f,s++,o||(o=t[a].color))}for(var a=0;a<t.length;++a){var f=t[a].data[0][1];(s<2||f/n>i.series.pie.combine.threshold)&&u.push({data:[[1,f]],color:t[a].color,label:t[a].label,angle:f*Math.PI*2/n,percent:f/(n/100)})}return s>1&&u.push({data:[[1,r]],color:o,label:i.series.pie.combine.label,angle:r*Math.PI*2/n,percent:r/(n/100)}),u}function v(r,s){function y(){c.clearRect(0,0,h,p),o.children().filter(".pieLabel, .pieLabelBackground").remove()}function b(){var e=i.series.pie.shadow.left,t=i.series.pie.shadow.top,n=10,r=i.series.pie.shadow.alpha,s=i.series.pie.radius>1?i.series.pie.radius:u*i.series.pie.radius;if(s>=h/2-e||s*i.series.pie.tilt>=p/2-t||s<=n)return;c.save(),c.translate(e,t),c.globalAlpha=r,c.fillStyle="#000",c.translate(a,f),c.scale(1,i.series.pie.tilt);for(var o=1;o<=n;o++)c.beginPath(),c.arc(0,0,s,0,Math.PI*2,!1),c.fill(),s-=o;c.restore()}function w(){function l(e,t,i){if(e<=0||isNaN(e))return;i?c.fillStyle=t:(c.strokeStyle=t,c.lineJoin="round"),c.beginPath(),Math.abs(e-Math.PI*2)>1e-9&&c.moveTo(0,0),c.arc(0,0,n,r,r+e/2,!1),c.arc(0,0,n,r+e/2,r+e,!1),c.closePath(),r+=e,i?c.fill():c.stroke()}function d(){function l(t,n,s){if(t.data[0][1]==0)return!0;var u=i.legend.labelFormatter,l,c=i.series.pie.label.formatter;u?l=u(t.label,t):l=t.label,c&&(l=c(l,t));var d=(n+t.angle+n)/2,v=a+Math.round(Math.cos(d)*r),m=f+Math.round(Math.sin(d)*r)*i.series.pie.tilt,g="<span class='pieLabel' id='pieLabel"+s+"' style='position:absolute;top:"+m+"px;left:"+v+"px;'>"+l+"</span>";o.append(g);var y=o.children("#pieLabel"+s),b=m-y.height()/2,w=v-y.width()/2;y.css("top",b),y.css("left",w);if(0-b>0||0-w>0||p-(b+y.height())<0||h-(w+y.width())<0)return!1;if(i.series.pie.label.background.opacity!=0){var E=i.series.pie.label.background.color;E==null&&(E=t.color);var S="top:"+b+"px;left:"+w+"px;";e("<div class='pieLabelBackground' style='position:absolute;width:"+y.width()+"px;height:"+y.height()+"px;"+S+"background-color:"+E+";'></div>").css("opacity",i.series.pie.label.background.opacity).insertBefore(y)}return!0}var n=t,r=i.series.pie.label.radius>1?i.series.pie.label.radius:u*i.series.pie.label.radius;for(var s=0;s<v.length;++s){if(v[s].percent>=i.series.pie.label.threshold*100&&!l(v[s],n,s))return!1;n+=v[s].angle}return!0}var t=Math.PI*i.series.pie.startAngle,n=i.series.pie.radius>1?i.series.pie.radius:u*i.series.pie.radius;c.save(),c.translate(a,f),c.scale(1,i.series.pie.tilt),c.save();var r=t;for(var s=0;s<v.length;++s)v[s].startAngle=r,l(v[s].angle,v[s].color,!0);c.restore();if(i.series.pie.stroke.width>0){c.save(),c.lineWidth=i.series.pie.stroke.width,r=t;for(var s=0;s<v.length;++s)l(v[s].angle,i.series.pie.stroke.color,!1);c.restore()}return m(c),c.restore(),i.series.pie.label.show?d():!0}if(!o)return;var h=r.getPlaceholder().width(),p=r.getPlaceholder().height(),d=o.children().filter(".legend").children().width()||0;c=s,l=!1,u=Math.min(h,p/i.series.pie.tilt)/2,f=p/2+i.series.pie.offset.top,a=h/2,i.series.pie.offset.left=="auto"?i.legend.position.match("w")?a+=d/2:a-=d/2:a+=i.series.pie.offset.left,a<u?a=u:a>h-u&&(a=h-u);var v=r.getData(),g=0;do g>0&&(u*=n),g+=1,y(),i.series.pie.tilt<=.8&&b();while(!w()&&g<t);g>=t&&(y(),o.prepend("<div class='error'>Could not draw pie with labels contained inside canvas</div>")),r.setSeries&&r.insertLegend&&(r.setSeries(v),r.insertLegend())}function m(e){if(i.series.pie.innerRadius>0){e.save();var t=i.series.pie.innerRadius>1?i.series.pie.innerRadius:u*i.series.pie.innerRadius;e.globalCompositeOperation="destination-out",e.beginPath(),e.fillStyle=i.series.pie.stroke.color,e.arc(0,0,t,0,Math.PI*2,!1),e.fill(),e.closePath(),e.restore(),e.save(),e.beginPath(),e.strokeStyle=i.series.pie.stroke.color,e.arc(0,0,t,0,Math.PI*2,!1),e.stroke(),e.closePath(),e.restore()}}function g(e,t){for(var n=!1,r=-1,i=e.length,s=i-1;++r<i;s=r)(e[r][1]<=t[1]&&t[1]<e[s][1]||e[s][1]<=t[1]&&t[1]<e[r][1])&&t[0]<(e[s][0]-e[r][0])*(t[1]-e[r][1])/(e[s][1]-e[r][1])+e[r][0]&&(n=!n);return n}function y(e,t){var n=r.getData(),i=r.getOptions(),s=i.series.pie.radius>1?i.series.pie.radius:u*i.series.pie.radius,o,l;for(var h=0;h<n.length;++h){var p=n[h];if(p.pie.show){c.save(),c.beginPath(),c.moveTo(0,0),c.arc(0,0,s,p.startAngle,p.startAngle+p.angle/2,!1),c.arc(0,0,s,p.startAngle+p.angle/2,p.startAngle+p.angle,!1),c.closePath(),o=e-a,l=t-f;if(c.isPointInPath){if(c.isPointInPath(e-a,t-f))return c.restore(),{datapoint:[p.percent,p.data],dataIndex:0,series:p,seriesIndex:h}}else{var d=s*Math.cos(p.startAngle),v=s*Math.sin(p.startAngle),m=s*Math.cos(p.startAngle+p.angle/4),y=s*Math.sin(p.startAngle+p.angle/4),b=s*Math.cos(p.startAngle+p.angle/2),w=s*Math.sin(p.startAngle+p.angle/2),E=s*Math.cos(p.startAngle+p.angle/1.5),S=s*Math.sin(p.startAngle+p.angle/1.5),x=s*Math.cos(p.startAngle+p.angle),T=s*Math.sin(p.startAngle+p.angle),N=[[0,0],[d,v],[m,y],[b,w],[E,S],[x,T]],C=[o,l];if(g(N,C))return c.restore(),{datapoint:[p.percent,p.data],dataIndex:0,series:p,seriesIndex:h}}c.restore()}}return null}function b(e){E("plothover",e)}function w(e){E("plotclick",e)}function E(e,t){var n=r.offset(),s=parseInt(t.pageX-n.left),u=parseInt(t.pageY-n.top),a=y(s,u);if(i.grid.autoHighlight)for(var f=0;f<h.length;++f){var l=h[f];l.auto==e&&(!a||l.series!=a.series)&&x(l.series)}a&&S(a.series,e);var c={pageX:t.pageX,pageY:t.pageY};o.trigger(e,[c,a])}function S(e,t){var n=T(e);n==-1?(h.push({series:e,auto:t}),r.triggerRedrawOverlay()):t||(h[n].auto=!1)}function x(e){e==null&&(h=[],r.triggerRedrawOverlay());var t=T(e);t!=-1&&(h.splice(t,1),r.triggerRedrawOverlay())}function T(e){for(var t=0;t<h.length;++t){var n=h[t];if(n.series==e)return t}return-1}function N(e,t){function s(e){if(e.angle<=0||isNaN(e.angle))return;t.fillStyle="rgba(255, 255, 255, "+n.series.pie.highlight.opacity+")",t.beginPath(),Math.abs(e.angle-Math.PI*2)>1e-9&&t.moveTo(0,0),t.arc(0,0,r,e.startAngle,e.startAngle+e.angle/2,!1),t.arc(0,0,r,e.startAngle+e.angle/2,e.startAngle+e.angle,!1),t.closePath(),t.fill()}var n=e.getOptions(),r=n.series.pie.radius>1?n.series.pie.radius:u*n.series.pie.radius;t.save(),t.translate(a,f),t.scale(1,n.series.pie.tilt);for(var i=0;i<h.length;++i)s(h[i].series);m(t),t.restore()}var s=null,o=null,u=null,a=null,f=null,l=!1,c=null,h=[];r.hooks.processOptions.push(function(e,t){t.series.pie.show&&(t.grid.show=!1,t.series.pie.label.show=="auto"&&(t.legend.show?t.series.pie.label.show=!1:t.series.pie.label.show=!0),t.series.pie.radius=="auto"&&(t.series.pie.label.show?t.series.pie.radius=.75:t.series.pie.radius=1),t.series.pie.tilt>1?t.series.pie.tilt=1:t.series.pie.tilt<0&&(t.series.pie.tilt=0))}),r.hooks.bindEvents.push(function(e,t){var n=e.getOptions();n.series.pie.show&&(n.grid.hoverable&&t.unbind("mousemove").mousemove(b),n.grid.clickable&&t.unbind("click").click(w))}),r.hooks.processDatapoints.push(function(e,t,n,r){var i=e.getOptions();i.series.pie.show&&p(e,t,n,r)}),r.hooks.drawOverlay.push(function(e,t){var n=e.getOptions();n.series.pie.show&&N(e,t)}),r.hooks.draw.push(function(e,t){var n=e.getOptions();n.series.pie.show&&v(e,t)})}var t=10,n=.95,i={series:{pie:{show:!1,radius:"auto",innerRadius:0,startAngle:1.5,tilt:1,shadow:{left:5,top:15,alpha:.02},offset:{top:0,left:"auto"},stroke:{color:"#fff",width:1},label:{show:"auto",formatter:function(e,t){return"<div style='font-size:x-small;text-align:center;padding:2px;color:"+t.color+";'>"+e+"<br/>"+Math.round(t.percent)+"%</div>"},radius:1,background:{color:null,opacity:0},threshold:0},combine:{threshold:-1,color:null,label:"Other"},highlight:{opacity:.5}}}};e.plot.plugins.push({init:r,options:i,name: (…)
|
/external/deqp/modules/egl/ |
teglNativeCoordMappingTests.cpp | 252 const float threshold = 0.005f; local 254 return deFloatAbs(a.x() - b.x()) < threshold && deFloatAbs(a.y() - b.y()) < threshold && deFloatAbs(a.z() - b.z()) < threshold && deFloatAbs(a.w() - b.w()) < threshold;
|
teglSwapBuffersTests.cpp | 244 const tcu::Vec4 threshold(0.01f, 0.01f, 0.01f, 1.00f); 253 if (!boolAll(lessThanEqual(diff, threshold)))
|
/external/chromium_org/components/history/core/browser/ |
url_database.cc | 628 const base::Time& threshold) { 630 threshold.is_null() ? AutocompleteAgeThreshold() : threshold;
|
/external/chromium_org/third_party/jsoncpp/overrides/src/lib_json/ |
json_reader.cpp | 594 Value::LargestUInt threshold = maxIntegerValue / 10; local 602 if ( value >= threshold ) 608 if (value > threshold ||
|
/external/chromium_org/third_party/opus/src/silk/float/ |
pitch_analysis_core_FLP.c | 74 const silk_float search_thres1, /* I First stage threshold for lag candidates 0 - 1 */ 75 const silk_float search_thres2, /* I Final threshold for lag candidates 0 - 1 */ 88 silk_float threshold, contour_bias; local 231 threshold = search_thres1 * Cmax; 233 /* Convert to 8 kHz indices for the sorted correlation that exceeds the threshold */ 234 if( C[ 0 ][ min_lag_4kHz + i ] > threshold ) {
|
/external/deqp/modules/glshared/ |
glsMemoryStressCase.cpp | 908 float threshold = 50.0f; local 924 if (change > threshold) 926 log << TestLog::Message << "Allocated objects max: " << max << ", min: " << min << ", difference: " << change << "% threshold: " << threshold << "%" << TestLog::EndMessage;
|
/external/jsoncpp/src/lib_json/ |
json_reader.cpp | 592 Value::LargestUInt threshold = maxIntegerValue / 10; local 600 if ( value >= threshold ) 606 if (value > threshold ||
|
/external/libopus/silk/float/ |
pitch_analysis_core_FLP.c | 74 const silk_float search_thres1, /* I First stage threshold for lag candidates 0 - 1 */ 75 const silk_float search_thres2, /* I Final threshold for lag candidates 0 - 1 */ 88 silk_float threshold, contour_bias; local 231 threshold = search_thres1 * Cmax; 233 /* Convert to 8 kHz indices for the sorted correlation that exceeds the threshold */ 234 if( C[ 0 ][ min_lag_4kHz + i ] > threshold ) {
|
/external/chromium_org/ui/file_manager/file_manager/foreground/js/ |
file_grid.js | 266 * @param {number} threshold Threshold that determines whether 1 offset is added 272 FileGrid.prototype.getHitIndex_ = function(coordinate, step, threshold) { 274 return (coordinate % step >= threshold) ? index + 1 : index;
|
/external/opencv/cv/include/ |
cv.h | 764 double threshold ); [all...] |
cvcompat.h | 504 double theta, int threshold, 509 rho, theta, threshold, 0, 0 ); 516 double theta, int threshold, 522 rho, theta, threshold, lineLength, lineGap ); 529 double theta, int stn, int threshold, 534 rho, theta, threshold, srn, stn ); [all...] |
/external/chromium_org/chrome/browser/safe_browsing/ |
browser_feature_extractor.cc | 341 base::Time threshold = base::Time::Now() - base::TimeDelta::FromDays(1); local 351 if (it->visit_time < threshold) {
|
/external/chromium_org/net/http/ |
http_server_properties_impl.cc | 460 double threshold) { 461 alternate_protocol_probability_threshold_ = threshold;
|
/external/chromium_org/third_party/mesa/src/docs/OLD/ |
MESA_sprite_point.spec | 93 point parameter's threshold size?
|
/external/deqp/modules/gles3/functional/ |
es3fTextureSwizzleTests.cpp | 151 tcu::RGBA threshold = m_context.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); local 216 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold);
|