/external/libchrome/sandbox/linux/suid/ |
H A D | process_util_linux.c | 27 // flavors of OOM score. 33 bool AdjustOOMScore(pid_t process, int score) { argument 34 if (score < 0 || score > kMaxOomScore) 65 // [0, kMaxOldOomScore], so we scale the score. This may result in some 67 score = score * kMaxOldOomScore / kMaxOomScore; 72 char buf[11]; // 0 <= |score| <= kMaxOomScore; using log_10(2**32) + 1 size 73 snprintf(buf, sizeof(buf), "%d", score);
|
H A D | sandbox.c | 442 long score; local 450 score = strtol(argv[3], &endptr, 10); 451 if (score == LONG_MAX || score == LONG_MIN || !endptr || *endptr || 455 return AdjustOOMScore(pid, score);
|
/external/valgrind/coregrind/ |
H A D | pub_core_transtab.h | 136 ULong score; member in struct:_SBProfEntry
|
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/ragdoll/ |
H A D | RagdollPreset.java | 40 int score = lexicon.get(key).getScore(boneName); 41 if (score > resultScore) { 42 resultScore = score; 51 logger.log(Level.INFO, "Found matching joint for bone {0} : {1} with score {2}", new Object[]{boneName, resultName, resultScore}); 56 logger.log(Level.INFO, "Best match found is {0} with score {1}", new Object[]{resultName, resultScore}); 91 public void addSynonym(String word, int score) { argument 92 put(word.toLowerCase(), score); 96 int score = 0; 100 score += get(key); 103 return score; [all...] |
/external/skia/src/ports/ |
H A D | SkFontMgr_custom.cpp | 150 int score = 0; 151 score += (pattern.width() - candidate.width()) * 100; 152 score += (pattern.isItalic() == candidate.isItalic()) ? 0 : 1000; 153 score += pattern.weight() - candidate.weight(); 154 return score; 173 int score = match_score(pattern, style); variable 174 if (score < minScore) { 176 minScore = score;
|
H A D | SkFontMgr_android.cpp | 244 int score = match_score(pattern, style); variable 245 if (score < minScore) { 247 minScore = score; 258 int score = 0; local 259 score += SkTAbs((pattern.width() - candidate.width()) * 100); 260 score += SkTAbs((pattern.isItalic() == candidate.isItalic()) ? 0 : 1000); 261 score += SkTAbs(pattern.weight() - candidate.weight()); 262 return score;
|
/external/webp/src/utils/ |
H A D | filters.c | 58 int score = 0; local 61 score += i; 64 if (score < best_score) { 65 best_score = score;
|
/external/mesa3d/src/gallium/state_trackers/wgl/ |
H A D | stw_ext_pixelformat.c | 329 /* Find out if a given attribute should be considered for score calculation. 341 * score points. 351 * the score is set to 0 points, effectively removing the pixelformat 359 * value, the pixelformat is rejected (score set to 0). However, if the actual 388 /* Allocate and initialize pixelformat score table -- better matches 389 * have higher scores. Start with a high score and take out penalty 391 * Set a score to 0 if there is a mismatch for an exact match criteria. 402 /* Given the attribute list calculate a score for each pixelformat. 434 struct stw_pixelformat_score score = scores[i - 1]; local 437 scores[i] = score; [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/patterns/ |
H A D | NodeTest.java | 144 * Statically calculated score for this test. One of 155 * The match score if the pattern consists of just a NodeTest. 162 * The match score if the pattern pattern has the form NCName:*. 169 * The match score if the pattern has the form 177 * The match score if the pattern consists of something 185 * The match score if no match is made. 261 * calculating the score that this test will return if a test succeeds. 277 * calculating the score that this test will return if a test succeeds. 301 * Get the static score for this node test. 310 * Set the static score fo 313 setStaticScore(XNumber score) argument [all...] |
/external/freetype/src/autofit/ |
H A D | afwarp.c | 68 /* the new best score is equal to the old one, prefer the */ 128 /* score the length of the segments for the given range */ 133 /* find best score */ 140 AF_WarpScore score = scores[idx]; local 144 if ( score > warper->best_score || 145 ( score == warper->best_score && 148 warper->best_score = score;
|
H A D | afhints.h | 273 FT_Pos score; /* used during stem matching */ member in struct:AF_SegmentRec_ 295 FT_Int score; /* used during stem matching */ member in struct:AF_EdgeRec_
|
/external/pdfium/xfa/src/fxbarcode/common/ |
H A D | BC_GlobalHistogramBinarizer.cpp | 142 int32_t score = buckets[x] * distanceToBiggest * distanceToBiggest;
local 143 if (score > secondPeakScore) {
145 secondPeakScore = score;
161 int32_t score = fromFirst * fromFirst * (secondPeak - x) *
local 163 if (score > bestValleyScore) {
165 bestValleyScore = score;
|
/external/webp/src/enc/ |
H A D | alpha.c | 96 size_t score; member in struct:__anon19874 167 result->score = VP8BitWriterSize(&result->bw); 223 static void InitFilterTrial(FilterTrial* const score) { argument 224 score->score = (size_t)~0U; 225 VP8BitWriterInit(&score->bw, 0); 250 if (ok && trial.score < best.score) {
|
/external/ImageMagick/MagickCore/ |
H A D | opencl-private.h | 309 score; member in struct:_MagickCLDevice
|
H A D | type.c | 382 score; 468 score=0; 470 score+=32; 474 score+=25; 475 score+=(16*(800-((ssize_t) MagickMax(MagickMin(font_weight,900),p->weight)- 478 score+=8; 482 score+=(8*(range-((ssize_t) MagickMax(stretch,p->stretch)- 485 if (score > max_score) 487 max_score=score; 374 score; local
|
/external/deqp/framework/common/ |
H A D | tcuImageCompare.cpp | 340 int score = deClamp32(deFloorFloatToInt32(100.0f - (de::max(sum-(float)bestScoreDiff, 0.0f) / (float)(worstScoreDiff-bestScoreDiff))*100.0f), 0, 100); local 345 if (logMode == COMPARE_LOG_EVERYTHING || score <= failThreshold) 366 if (logMode != COMPARE_LOG_ON_ERROR || score <= failThreshold) 368 << TestLog::Integer("Score", "Score", "", QP_KEY_TAG_QUALITY, score); 370 return score;
|
/external/deqp/modules/gles2/accuracy/ |
H A D | es2aVaryingInterpolationTests.cpp | 270 int score = tcu::measurePixelDiffAccuracy(log, "Result", "Image comparison result", reference, rendered, bestScoreDiff, worstScoreDiff, tcu::COMPARE_LOG_EVERYTHING); local 272 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, de::toString(score).c_str());
|
H A D | es2aTextureFilteringTests.cpp | 307 int score = measureAccuracy(log, referenceFrame, renderedFrame, bestScoreDiff, worstScoreDiff); local 308 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, de::toString(score).c_str()); 619 int score = measureAccuracy(log, referenceFrame, renderedFrame, bestScoreDiff, worstScoreDiff); local 620 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, de::toString(score).c_str());
|
H A D | es2aTextureMipmapTests.cpp | 364 int score = measureAccuracy(log, idealFrame, renderedFrame, bestScoreDiff, worstScoreDiff); local 365 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, de::toString(score).c_str()); 631 int score = measureAccuracy(log, idealFrame, renderedFrame, bestScoreDiff, worstScoreDiff); local 632 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, de::toString(score).c_str());
|
/external/deqp/modules/gles3/accuracy/ |
H A D | es3aVaryingInterpolationTests.cpp | 277 int score = tcu::measurePixelDiffAccuracy(log, "Result", "Image comparison result", reference, rendered, bestScoreDiff, worstScoreDiff, tcu::COMPARE_LOG_EVERYTHING); local 279 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, de::toString(score).c_str());
|
H A D | es3aTextureFilteringTests.cpp | 296 int score = measureAccuracy(log, referenceFrame, renderedFrame, bestScoreDiff, worstScoreDiff); local 297 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, de::toString(score).c_str()); 627 int score = measureAccuracy(log, referenceFrame, renderedFrame, bestScoreDiff, worstScoreDiff); local 628 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, de::toString(score).c_str());
|
H A D | es3aTextureMipmapTests.cpp | 357 int score = measureAccuracy(log, idealFrame, renderedFrame, bestScoreDiff, worstScoreDiff); local 358 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, de::toString(score).c_str()); 620 int score = measureAccuracy(log, idealFrame, renderedFrame, bestScoreDiff, worstScoreDiff); local 621 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, de::toString(score).c_str());
|
/external/eigen/Eigen/src/OrderingMethods/ |
H A D | Eigen_Colamd.h | 153 Index score ; /* the score used to maintain heap, if col is alive */ member in union:internal::colamd_col::__anon5403 530 Col [col].shared2.score = 0 ; 701 Kills dense or empty columns and rows, calculates an initial score for 730 Index score ; /* current column score */ local 735 Index min_score ; /* smallest column score */ 819 /* now find the initial matlab score for each column */ 827 score = 0 ; 843 score [all...] |
/external/libusb/libusb/os/ |
H A D | darwin_usb.c | 156 SInt32 score; local 165 &score); 805 SInt32 score; local 872 kIOCFPlugInInterfaceID, &plugInInterface, &score);
|
/external/skia/third_party/etc1/ |
H A D | etc1.cpp | 244 etc1_uint32 score; // Lower is more accurate member in struct:__anon16310 249 if (a->score > b->score) { 320 etc1_uint32 score = (etc1_uint32) (6 * square(decodedG - pixelG)); local 321 if (score >= bestScore) { 325 score += (etc1_uint32) (3 * square(decodedR - pixelR)); 326 if (score >= bestScore) { 330 score += (etc1_uint32) square(decodedB - pixelB); 331 if (score < bestScore) { 332 bestScore = score; 346 int score = pCompressed->score; local [all...] |