/external/deqp/modules/gles31/stress/ |
es31sTessellationGeometryInteractionTests.cpp | 391 const int threshold = 8; local 395 if (color.getGreen() < 255 - threshold || color.getBlue() > threshold)
|
/external/e2fsprogs/e2fsck/ |
dirinfo.c | 42 unsigned int threshold; local 50 "numdirs_threshold", 0, 0, &threshold); 55 (threshold && num_dirs <= threshold))
|
/external/freetype/src/pshinter/ |
pshglob.c | 411 /* The blue threshold is the font units distance under */ 420 FT_Int threshold = blues->blue_shift; local 423 while ( threshold > 0 && FT_MulFix( threshold, scale ) > 32 ) 424 threshold--; 426 blues->blue_threshold = threshold;
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
UDPMessageProcessor.java | 213 float threshold = ((float)(messageQueue.size() - LOWAT))/ ((float)(HIGHWAT - LOWAT)); local 214 boolean decision = Math.random() > 1.0 - threshold; 217 sipStack.getStackLogger().logDebug("Dropping message with probability " + (1.0 - threshold));
|
/external/opencv/cvaux/src/ |
cvfindhandregion.cpp | 69 int low_count; // low threshold 74 float threshold, threshold2; local 83 threshold = (float) (size.height * 3 / 5.); 84 threshold2 = threshold * threshold; 291 int low_count; // low threshold 297 float threshold, threshold2; local 307 threshold = (float) (size.height * 3 / 5.); 308 threshold2 = threshold * threshold; [all...] |
/external/pdfium/core/src/fpdftext/ |
fpdf_text_search.cpp | 107 FX_FLOAT threshold = last_width > this_width ? last_width / 4 : this_width / 4;
local 113 if (FXSYS_fabs(y) > threshold * 2) {
116 threshold = (FX_FLOAT)(nLastWidth > nThisWidth ? nLastWidth : nThisWidth);
117 threshold = threshold > 400 ? (threshold < 700 ? threshold / 4 : threshold / 5) : (threshold / 2);
118 threshold *= nLastWidth > nThisWidth ? FXSYS_fabs(pPrevObj->GetFontSize()) : FXSYS_fabs(pObj->GetFontSize()) (…) 227 FX_FLOAT threshold = 0; local [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/pshinter/ |
pshglob.c | 419 /* The blue threshold is the font units distance under */ 428 FT_Int threshold = blues->blue_shift; local 431 while ( threshold > 0 && FT_MulFix( threshold, scale ) > 32 ) 432 threshold--; 434 blues->blue_threshold = threshold;
|
/external/qemu/audio/ |
paaudio.c | 91 int threshold; local 93 threshold = conf.divisor ? hw->samples / conf.divisor : 0; 107 if (pa->live > threshold) { 186 int threshold; local 188 threshold = conf.divisor ? hw->samples / conf.divisor : 0; 202 if (pa->dead > threshold) { 568 .descr = "threshold divisor"
|
/external/srec/portable/src/ |
phashtable.c | 62 unsigned int threshold; member in struct:PHashTable_t 121 tmp->threshold = (unsigned int)(tmp->args.capacity * tmp->args.maxLoadFactor); 291 table->threshold = (unsigned int)(newCapacity * table->args.maxLoadFactor); 361 if (table->size >= table->threshold)
|
/frameworks/av/media/common_time/ |
ICommonTimeConfig.cpp | 246 virtual status_t getPanicThreshold(int *threshold) { 255 *threshold = reply.readInt32(); 262 virtual status_t setPanicThreshold(int threshold) { 265 data.writeInt32(threshold); 462 int threshold; local 463 status_t status = getPanicThreshold(&threshold); 466 reply->writeInt32(threshold); 473 int threshold = data.readInt32(); local 474 status_t status = setPanicThreshold(threshold);
|
/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
tns.h | 71 Word16 threshold; /* min. prediction gain for using tns TABUL * 100 */ member in struct:__anon38778
|
/libcore/luni/src/main/java/java/util/ |
IdentityHashMap.java | 61 transient int threshold; field in class:IdentityHashMap 64 * default threshold value that an IdentityHashMap created using the default 268 threshold = getThreshold(maxSize); 273 // assign the threshold to maxSize initially, this will change to a 279 int arraySize = (int) (((long) threshold * 10000) / loadFactor) * 2; 281 // leads to overflow and negative arraySize if threshold is too big 474 if (++size > threshold) { 526 threshold = (int) ((long) (elementData.length / 2) * loadFactor / 10000); 810 threshold = getThreshold(DEFAULT_MAX_SIZE);
|
WeakHashMap.java | 46 private int threshold; field in class:WeakHashMap 268 threshold = (int) ((long) elementData.length * loadFactor / 10000); 606 if (++elementCount > threshold) {
|
/packages/apps/Camera2/src/com/android/camera/app/ |
MemoryQuery.java | 43 public static final String KEY_THRESHOLD = "threshold"; 73 long threshold = memoryInfo.threshold / BYTES_IN_MEGABYTE; local 117 outputData.put(KEY_THRESHOLD, new Long(threshold)); 122 "threshold=%d, lowMemory=%s", timestamp, availMem, totalMem, totalPSS, 124 threshold, lowMemory));
|
/dalvik/dx/src/com/android/dx/ssa/ |
SsaRenamer.java | 75 private int threshold; field in class:SsaRenamer 110 threshold = 0; 146 * Constructs an instance of the renamer with threshold set 154 threshold = thresh; 238 * Returns true if this SSA register is below the specified threshold. 240 * for registers above a certain threshold. 243 * @return {@code true} if its register number is below the threshold 246 return ssaReg < threshold; 540 threshold == 0) { 549 threshold == 0) [all...] |
/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/fixed/ |
pitch_analysis_core_FIX.c | 88 const opus_int32 search_thres1_Q16, /* I First stage threshold for lag candidates 0 - 1 */ 89 const opus_int search_thres2_Q13, /* I Final threshold for lag candidates 0 - 1 */ 107 opus_int32 sum, threshold, lag_counter; local 261 threshold = silk_SMULWB( search_thres1_Q16, Cmax ); 263 /* Convert to 8 kHz indices for the sorted correlation that exceeds the threshold */ 264 if( C[ i ] > threshold ) { [all...] |
/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/chromium_org/third_party/webrtc/modules/audio_processing/utility/ |
delay_estimator.c | 584 // i) an adaptive threshold |minimum_probability|, or 591 // The "hard" threshold can't be lower than 17 (in Q9). 595 int32_t threshold = value_best_candidate + kProbabilityOffset; local 596 if (threshold < kProbabilityLowerLimit) { 597 threshold = kProbabilityLowerLimit; 599 if (self->minimum_probability > threshold) { 600 self->minimum_probability = threshold;
|
/external/chromium_org/v8/src/heap/ |
store-buffer.cc | 165 int threshold; member in struct:v8::internal::Samples 173 ExemptPopularPages(samples[i].prime_sample_step, samples[i].threshold); 184 void StoreBuffer::ExemptPopularPages(int prime_sample_step, int threshold) { 201 if (old_counter >= threshold) {
|
/external/deqp/modules/egl/ |
teglMemoryStressTests.cpp | 420 float threshold = 50.0f; local 437 if (change > threshold) 439 log << TestLog::Message << "Allocated objects max: " << max << ", min: " << min << ", difference: " << change << "% threshold: " << threshold << "%" << TestLog::EndMessage;
|
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;
|
/external/deqp/modules/gles2/functional/ |
es2fDepthStencilClearTests.cpp | 206 tcu::RGBA threshold = renderTarget.getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); local 218 bool isOk = tcu::pixelThresholdCompare(m_testCtx.getLog(), "Result", "Image comparison result", reference, result, threshold, isLastIter ? tcu::COMPARE_LOG_RESULT : tcu::COMPARE_LOG_ON_ERROR);
|
es2fShaderBuiltinVarTests.cpp | 276 const tcu::RGBA threshold = tcu::RGBA(1,1,1,1) + m_context.getRenderTarget().getPixelFormat().getColorThreshold(); local 342 bool isOk = tcu::pixelThresholdCompare(log, "Result", "Image comparison result", refImg, testImg, threshold, tcu::COMPARE_LOG_RESULT); 370 const tcu::RGBA threshold = tcu::RGBA(1,1,1,1) + m_context.getRenderTarget().getPixelFormat().getColorThreshold(); local 434 bool isOk = tcu::pixelThresholdCompare(log, "Result", "Image comparison result", refImg, testImg, threshold, tcu::COMPARE_LOG_RESULT); 457 const float threshold = 0.02f; local 551 bool isOk = tcu::fuzzyCompare(log, "Result", "Image comparison result", refImg, testImg, threshold, tcu::COMPARE_LOG_RESULT); 581 const tcu::RGBA threshold = tcu::RGBA(1,1,1,1) + m_context.getRenderTarget().getPixelFormat().getColorThreshold(); local 646 bool isOk = tcu::pixelThresholdCompare(log, "Result", "Image comparison result", refImg, testImg, threshold, tcu::COMPARE_LOG_RESULT);
|
es2fStencilTests.cpp | 364 const float threshold = 0.02f; local 365 bool imagesOk = tcu::fuzzyCompare(log, "ComparisonResult", "Image comparison result", refFrame, gles2Frame, threshold, tcu::COMPARE_LOG_RESULT);
|