/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sources/ |
D | FilePathScoreFunction.js | 70 score: function(data, matchIndexes) method in WebInspector.FilePathScoreFunction 80 var score = this._score; 86 var skipCharScore = j === 0 ? 0 : score[i * m + j - 1]; 87 var prevCharScore = i === 0 || j === 0 ? 0 : score[(i - 1) * m + j - 1]; 92 score[i * m + j] = (prevCharScore + pickCharScore); 95 score[i * m + j] = skipCharScore; 101 return score[n * m - 1]; 153 var score = 10; 155 score += 4; 157 score += 2; [all …]
|
/external/chromium_org/components/history/core/common/ |
D | thumbnail_score_unittest.cc | 57 ThumbnailScore score; in TEST() local 59 EXPECT_TRUE(score.ShouldConsiderUpdating()); in TEST() 62 score.boring_score = 0.0; in TEST() 63 EXPECT_TRUE(score.ShouldConsiderUpdating()); in TEST() 66 score.good_clipping = true; in TEST() 67 EXPECT_TRUE(score.ShouldConsiderUpdating()); in TEST() 70 score.at_top = true; in TEST() 71 EXPECT_TRUE(score.ShouldConsiderUpdating()); in TEST() 75 score.load_completed = true; in TEST() 76 EXPECT_FALSE(score.ShouldConsiderUpdating()); in TEST() [all …]
|
D | thumbnail_score.cc | 22 static int GetThumbnailType(const ThumbnailScore& score) { in GetThumbnailType() argument 24 if (!score.at_top) in GetThumbnailType() 26 if (!score.good_clipping) in GetThumbnailType() 28 if (!score.load_completed) in GetThumbnailType() 42 ThumbnailScore::ThumbnailScore(double score, bool clipping, bool top) in ThumbnailScore() argument 43 : boring_score(score), in ThumbnailScore() 51 ThumbnailScore::ThumbnailScore(double score, in ThumbnailScore() argument 55 : boring_score(score), in ThumbnailScore()
|
/external/apache-xml/src/main/java/org/apache/xpath/patterns/ |
D | FunctionPattern.java | 107 XNumber score = SCORE_NONE; in execute() local 115 score = (n == context) ? SCORE_OTHER : SCORE_NONE; in execute() 117 if (score == SCORE_OTHER) in execute() 129 return score; in execute() 151 XNumber score = SCORE_NONE; in execute() local 159 score = (n == context) ? SCORE_OTHER : SCORE_NONE; in execute() 161 if (score == SCORE_OTHER) in execute() 172 return score; in execute() 194 XNumber score = SCORE_NONE; in execute() local 202 score = (n == context) ? SCORE_OTHER : SCORE_NONE; in execute() [all …]
|
D | ContextMatchStepPattern.java | 90 XObject score = NodeTest.SCORE_NONE; in executeRelativePathPattern() local 119 score = execute(xctxt); in executeRelativePathPattern() 121 if (score != NodeTest.SCORE_NONE) in executeRelativePathPattern() 126 return score; in executeRelativePathPattern() 128 score = NodeTest.SCORE_NONE; in executeRelativePathPattern() 147 score = execute(xctxt); in executeRelativePathPattern() 149 if (score != NodeTest.SCORE_NONE) in executeRelativePathPattern() 154 if (score != NodeTest.SCORE_NONE) in executeRelativePathPattern() 155 return score; in executeRelativePathPattern() 176 return score; in executeRelativePathPattern()
|
D | UnionPattern.java | 125 XObject score = m_patterns[i].execute(xctxt); in execute() local 127 if (score != NodeTest.SCORE_NONE) in execute() 130 bestScore = score; in execute() 131 else if (score.num() > bestScore.num()) in execute() 132 bestScore = score; in execute()
|
/external/chromium_org/sandbox/linux/suid/ |
D | process_util_linux.c | 32 bool AdjustOOMScore(pid_t process, int score) { in AdjustOOMScore() argument 33 if (score < 0 || score > kMaxOomScore) in AdjustOOMScore() 66 score = score * kMaxOldOomScore / kMaxOomScore; in AdjustOOMScore() 72 snprintf(buf, sizeof(buf), "%d", score); in AdjustOOMScore()
|
/external/chromium_org/third_party/skia/src/fonts/ |
D | SkFontMgr_indirect.cpp | 56 int score; in matchStyle() member 93 currentScore.score += 10 - pattern.width() + current.width(); in matchStyle() 95 currentScore.score += 10 - current.width(); in matchStyle() 99 currentScore.score += 10 + pattern.width() - current.width(); in matchStyle() 101 currentScore.score += current.width(); in matchStyle() 104 currentScore.score *= 1002; in matchStyle() 110 currentScore.score += 1001; in matchStyle() 118 currentScore.score += 1000; in matchStyle() 124 currentScore.score += 500; in matchStyle() 128 currentScore.score += 1000 - pattern.weight() + current.weight(); in matchStyle() [all …]
|
/external/skia/src/fonts/ |
D | SkFontMgr_indirect.cpp | 56 int score; in matchStyle() member 93 currentScore.score += 10 - pattern.width() + current.width(); in matchStyle() 95 currentScore.score += 10 - current.width(); in matchStyle() 99 currentScore.score += 10 + pattern.width() - current.width(); in matchStyle() 101 currentScore.score += current.width(); in matchStyle() 104 currentScore.score *= 1002; in matchStyle() 110 currentScore.score += 1001; in matchStyle() 118 currentScore.score += 1000; in matchStyle() 124 currentScore.score += 500; in matchStyle() 128 currentScore.score += 1000 - pattern.weight() + current.weight(); in matchStyle() [all …]
|
/external/chromium_org/components/favicon_base/ |
D | select_favicon_frames.cc | 54 float* score) { in GetCandidateIndexWithBestScore() argument 61 *score = 1; in GetCandidateIndexWithBestScore() 80 float score = 0; in GetCandidateIndexWithBestScore() local 83 score = std::min(1.0f, desired_size / average_edge) * 0.01f; in GetCandidateIndexWithBestScore() 86 score = desired_size / average_edge * 0.01f + 0.15f; in GetCandidateIndexWithBestScore() 88 score = std::min(1.0f, average_edge / desired_size) * 0.01f + 0.1f; in GetCandidateIndexWithBestScore() 92 score > candidate_score) { in GetCandidateIndexWithBestScore() 94 candidate_score = score; in GetCandidateIndexWithBestScore() 97 *score = candidate_score; in GetCandidateIndexWithBestScore() 138 float score; in GetCandidateIndicesWithBestScores() local [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
D | TouchDisambiguation.cpp | 75 float score = 1; in scoreTouchTarget() local 78 score *= std::max((padding - abs(distance.width())) * reciprocalPadding, 0.f); in scoreTouchTarget() 79 score *= std::max((padding - abs(distance.height())) * reciprocalPadding, 0.f); in scoreTouchTarget() 81 return score; in scoreTouchTarget() 86 float score; member 132 … targetData.score = scoreTouchTarget(touchPoint, touchPointPadding, targetData.windowBoundingBox); in findGoodTouchTargets() 133 bestScore = std::max(bestScore, targetData.score); in findGoodTouchTargets() 142 if (it->value.score < bestScore * 0.5) in findGoodTouchTargets()
|
/external/chromium_org/third_party/skia/third_party/etc1/ |
D | etc1.cpp | 244 etc1_uint32 score; // Lower is more accurate member 249 if (a->score > b->score) { in take_best() 320 etc1_uint32 score = (etc1_uint32) (6 * square(decodedG - pixelG)); in chooseModifier() local 321 if (score >= bestScore) { in chooseModifier() 325 score += (etc1_uint32) (3 * square(decodedR - pixelR)); in chooseModifier() 326 if (score >= bestScore) { in chooseModifier() 330 score += (etc1_uint32) square(decodedB - pixelB); in chooseModifier() 331 if (score < bestScore) { in chooseModifier() 332 bestScore = score; in chooseModifier() 346 int score = pCompressed->score; in etc_encode_subblock_helper() local [all …]
|
/external/skia/third_party/etc1/ |
D | etc1.cpp | 244 etc1_uint32 score; // Lower is more accurate member 249 if (a->score > b->score) { in take_best() 320 etc1_uint32 score = (etc1_uint32) (6 * square(decodedG - pixelG)); in chooseModifier() local 321 if (score >= bestScore) { in chooseModifier() 325 score += (etc1_uint32) (3 * square(decodedR - pixelR)); in chooseModifier() 326 if (score >= bestScore) { in chooseModifier() 330 score += (etc1_uint32) square(decodedB - pixelB); in chooseModifier() 331 if (score < bestScore) { in chooseModifier() 332 bestScore = score; in chooseModifier() 346 int score = pCompressed->score; in etc_encode_subblock_helper() local [all …]
|
/external/chromium_org/chrome/browser/thumbnails/ |
D | thumbnail_service_unittest.cc | 34 ThumbnailScore* score) OVERRIDE { in GetPageThumbnailScore() argument 40 *score = iter->second; in GetPageThumbnailScore() 46 void AddKnownURL(const GURL& url, const ThumbnailScore& score) { in AddKnownURL() argument 47 known_url_map_[url.spec()] = score; in AddKnownURL() 69 void AddKnownURL(const GURL& url, const ThumbnailScore& score) { in AddKnownURL() argument 70 mock_top_sites_->AddKnownURL(url, score); in AddKnownURL()
|
/external/harfbuzz_ng/util/ |
D | ansi-print.cc | 225 block_best (const biimage_t &bi, unsigned int *score, bool *inverse) in block_best() argument 265 if (total < *score) { in block_best() 266 *score = total; in block_best() 271 if (total_i < *score) { in block_best() 272 *score = total_i; in block_best() 298 if (best_s < *score) { in block_best() 302 *score = best_s; in block_best() 330 if (best_s < *score) { in block_best() 334 *score = best_s; in block_best() 352 if (qs < *score) { in block_best() [all …]
|
/external/chromium_org/third_party/brotli/src/brotli/enc/ |
D | hash.h | 248 const double score = BackwardReferenceScoreUsingLastDistance( in FindLongestMatch() local 254 if (best_score < score) { in FindLongestMatch() 255 best_score = score; in FindLongestMatch() 283 const double score = start_cost2 - 2.3 * Log2Floor(backward); in FindLongestMatch() local 285 if (best_score < score) { in FindLongestMatch() 286 best_score = score; in FindLongestMatch() 319 const double score = BackwardReferenceScore(average_cost_, in FindLongestMatch() local 324 if (best_score < score) { in FindLongestMatch() 325 best_score = score; in FindLongestMatch() 349 const double score = BackwardReferenceScore(average_cost_, in FindLongestMatch() local [all …]
|
/external/chromium_org/third_party/WebKit/PerformanceTests/Dromaeo/resources/ |
D | dromaeorunner.js | 41 var score = message.status.score; 42 if (score) 43 DRT.log(score.name + ': [' + score.times.join(', ') + ']');
|
/external/chromium_org/third_party/android_opengl/etc1/ |
D | etc1.cpp | 257 etc1_uint32 score; // Lower is more accurate member 262 if (a->score > b->score) { in take_best() 333 etc1_uint32 score = (etc1_uint32) (6 * square(decodedG - pixelG)); in chooseModifier() local 334 if (score >= bestScore) { in chooseModifier() 338 score += (etc1_uint32) (3 * square(decodedR - pixelR)); in chooseModifier() 339 if (score >= bestScore) { in chooseModifier() 343 score += (etc1_uint32) square(decodedB - pixelB); in chooseModifier() 344 if (score < bestScore) { in chooseModifier() 345 bestScore = score; in chooseModifier() 359 int score = pCompressed->score; in etc_encode_subblock_helper() local [all …]
|
/external/webp/src/enc/ |
D | quant.c | 71 (int)rd->score); in PrintBlockInfo() 494 rd->score = MAX_COST; in InitScore() 503 dst->score = src->score; in CopyScore() 512 dst->score += src->score; in AddScore() 527 score_t score; // partial RD score member 542 rd->score = (rd->R + rd->H) * lambda + 256 * (rd->D + rd->SD); in SetRDScore() 592 ss_cur[m].score = RDScoreTrellis(lambda, rate, 0); in TrellisQuantizeBlock() 626 ss_cur[m].score = MAX_COST; in TrellisQuantizeBlock() 655 const score_t score = in TrellisQuantizeBlock() local 656 base_score + ss_prev[p].score + RDScoreTrellis(lambda, cost, 0); in TrellisQuantizeBlock() [all …]
|
/external/chromium_org/third_party/libwebp/enc/ |
D | quant.c | 71 (int)rd->score); in PrintBlockInfo() 494 rd->score = MAX_COST; in InitScore() 503 dst->score = src->score; in CopyScore() 512 dst->score += src->score; in AddScore() 527 score_t score; // partial RD score member 542 rd->score = (rd->R + rd->H) * lambda + 256 * (rd->D + rd->SD); in SetRDScore() 592 ss_cur[m].score = RDScoreTrellis(lambda, rate, 0); in TrellisQuantizeBlock() 626 ss_cur[m].score = MAX_COST; in TrellisQuantizeBlock() 655 const score_t score = in TrellisQuantizeBlock() local 656 base_score + ss_prev[p].score + RDScoreTrellis(lambda, cost, 0); in TrellisQuantizeBlock() [all …]
|
/external/chromium_org/chrome/browser/history/ |
D | top_sites_impl.h | 58 const ThumbnailScore& score) OVERRIDE; 62 const ThumbnailScore& score) OVERRIDE; 71 ThumbnailScore* score) OVERRIDE; 73 ThumbnailScore* score) OVERRIDE; 126 const ThumbnailScore& score); 132 const ThumbnailScore& score); 146 const ThumbnailScore& score);
|
/external/valgrind/main/coregrind/ |
D | m_sbprofile.c | 85 if (tops[r].score == 0) in show_SB_profile() 90 score_here = tops[r].score; in show_SB_profile() 117 if (tops[r].score == 0) in show_SB_profile() 122 score_here = tops[r].score; in show_SB_profile() 146 if (tops[r].score == 0) in show_SB_profile() 151 score_here = tops[r].score; in show_SB_profile()
|
/external/chromium_org/courgette/third_party/ |
D | bsdiff_create.cc | 335 int score = 0, Sb = 0; in CreateBinaryPatch() local 337 if (old[pos - i] == newbuf[scan - i]) score++; in CreateBinaryPatch() 338 if (score*2 - i > Sb*2 - lenb) { Sb = score; lenb = i; } in CreateBinaryPatch() 350 int score = 0, Sf = 0; in CreateBinaryPatch() local 352 if (old[lastpos + i] == newbuf[lastscan + i]) score++; in CreateBinaryPatch() 354 if (score*2 - i > Sf*2 - lenf) { Sf = score; lenf = i; } in CreateBinaryPatch() 362 int score = 0; in CreateBinaryPatch() local 366 old[lastpos + lenf - overlap + i]) score++; in CreateBinaryPatch() 367 if (newbuf[scan - lenb + i] == old[pos - lenb + i]) score--; in CreateBinaryPatch() 368 if (score > Ss) { Ss = score; lens = i + 1; } in CreateBinaryPatch()
|
/external/chromium_org/base/process/ |
D | memory_linux.cc | 167 bool AdjustOOMScore(ProcessId process, int score) { in AdjustOOMScore() argument 168 if (score < 0 || score > kMaxOomScore) in AdjustOOMScore() 176 std::string score_str = IntToString(score); in AdjustOOMScore() 191 int converted_score = score * kMaxOldOomScore / kMaxOomScore; in AdjustOOMScore()
|
/external/eigen/Eigen/src/OrderingMethods/ |
D | Eigen_Colamd.h | 153 Index score ; /* the score used to maintain heap, if col is alive */ member 530 Col [col].shared2.score = 0 ; in init_rows_cols() 730 Index score ; /* current column score */ in init_scoring() local 827 score = 0 ; in init_scoring() 843 score += Row [row].shared1.degree - 1 ; in init_scoring() 845 score = COLAMD_MIN (score, n_col) ; in init_scoring() 860 COLAMD_ASSERT (score >= 0) ; in init_scoring() 861 COLAMD_ASSERT (score <= n_col) ; in init_scoring() 863 Col [c].shared2.score = score ; in init_scoring() 891 c, Col [c].shared2.score, min_score, n_col)) ; in init_scoring() [all …]
|