/external/apache-xml/src/main/java/org/apache/xpath/patterns/ |
H A D | StepPattern.java | 299 * Static calc of match score. 396 XObject score; 398 score = super.execute(xctxt, currentNode, dtm, expType); 400 if (score == NodeTest.SCORE_NONE) 413 return score; 669 XObject score = NodeTest.SCORE_NONE; 682 score = execute(xctxt); 684 if (score != NodeTest.SCORE_NONE) 693 return score; 879 * Get the match score o [all...] |
/external/chromium_org/chrome/browser/password_manager/ |
H A D | password_form_manager.cc | 278 // they don't score as high as others and aren't added to best_matches_. 303 // This new login has a better score than all those up to this point 323 // lower-scored empty-path match (if it had equal score it would already be 548 int score = 0; local 554 score += (1 << 6) + static_cast<int>(form_path_tokens_.size()); 566 score++; 569 score += (depth > 0) ? 1 << 5 : 0; 573 score += 1 << 4; 575 score += 1 << 3; 577 score [all...] |
/external/chromium_org/chrome/browser/predictors/ |
H A D | resource_prefetch_predictor_tables.cc | 68 score(0.0) { 80 score(other.score) { 102 // The score is calculated so that when the rows are sorted, the stylesheets 109 score = (2 * kMaxResourcesPerType) - average_position; 113 score = kMaxResourcesPerType - average_position; 117 score = kMaxResourcesPerType - average_position; 131 score == rhs.score; 136 return x.score > [all...] |
/external/chromium_org/chrome/browser/history/ |
H A D | visit_filter.cc | 126 // Decay score by half each week. 133 double score = 0; local 136 score = 1.0; // Let the staleness factor take care of it. 139 score = 1.0; // Every visit counts the same. 148 // Calculate score using the normal distribution density function. 149 score = exp(-(offset * offset) / (2 * sd * sd)); 156 score = 0; 158 score = 1 - offset.InMicroseconds() / static_cast<double>( 167 return staleness * score;
|
H A D | top_sites_cache.cc | 47 ThumbnailScore* score) { 51 *score = found->second.thumbnail_score; 46 GetPageThumbnailScore(const GURL& url, ThumbnailScore* score) argument
|
H A D | top_sites_cache.h | 40 // Fetches the thumbnail score for the specified url. Returns true if 41 // there is a thumbnail score for the specified url. 42 bool GetPageThumbnailScore(const GURL& url, ThumbnailScore* score);
|
H A D | top_sites_impl.cc | 200 const ThumbnailScore& score) { 229 AddTemporaryThumbnail(url, thumbnail_data.get(), score); 233 return SetPageThumbnailEncoded(url, thumbnail_data.get(), score); 239 const ThumbnailScore& score) { 264 AddTemporaryThumbnail(url, memory, score); 268 return SetPageThumbnailEncoded(url, memory, score); 315 ThumbnailScore* score) { 318 return thread_safe_cache_->GetPageThumbnailScore(url, score); 322 ThumbnailScore* score) { 326 *score 198 SetPageThumbnail(const GURL& url, const gfx::Image& thumbnail, const ThumbnailScore& score) argument 236 SetPageThumbnailToJPEGBytes( const GURL& url, const base::RefCountedMemory* memory, const ThumbnailScore& score) argument 314 GetPageThumbnailScore(const GURL& url, ThumbnailScore* score) argument 321 GetTemporaryPageThumbnailScore(const GURL& url, ThumbnailScore* score) argument 558 SetPageThumbnailNoDB( const GURL& url, const base::RefCountedMemory* thumbnail_data, const ThumbnailScore& score) argument 588 SetPageThumbnailEncoded( const GURL& url, const base::RefCountedMemory* thumbnail, const ThumbnailScore& score) argument 634 AddTemporaryThumbnail( const GURL& url, const base::RefCountedMemory* thumbnail, const ThumbnailScore& score) argument [all...] |
H A D | top_sites_likely_impl.cc | 200 const ThumbnailScore& score) { 229 AddTemporaryThumbnail(url, thumbnail_data.get(), score); 233 return SetPageThumbnailEncoded(url, thumbnail_data.get(), score); 239 const ThumbnailScore& score) { 264 AddTemporaryThumbnail(url, memory, score); 268 return SetPageThumbnailEncoded(url, memory, score); 315 ThumbnailScore* score) { 318 return thread_safe_cache_->GetPageThumbnailScore(url, score); 322 ThumbnailScore* score) { 326 *score 198 SetPageThumbnail(const GURL& url, const gfx::Image& thumbnail, const ThumbnailScore& score) argument 236 SetPageThumbnailToJPEGBytes( const GURL& url, const base::RefCountedMemory* memory, const ThumbnailScore& score) argument 314 GetPageThumbnailScore(const GURL& url, ThumbnailScore* score) argument 321 GetTemporaryPageThumbnailScore(const GURL& url, ThumbnailScore* score) argument 561 SetPageThumbnailNoDB( const GURL& url, const base::RefCountedMemory* thumbnail_data, const ThumbnailScore& score) argument 591 SetPageThumbnailEncoded( const GURL& url, const base::RefCountedMemory* thumbnail, const ThumbnailScore& score) argument 637 AddTemporaryThumbnail( const GURL& url, const base::RefCountedMemory* thumbnail, const ThumbnailScore& score) argument [all...] |
/external/chromium_org/third_party/libwebp/enc/ |
H A D | quant.c | 430 // Init/Copy the common fields in score. 436 rd->score = MAX_COST; 444 dst->score = src->score; 452 dst->score += src->score; 479 rd->score = rd->R * lambda + 256 * (rd->D + rd->SD); 520 // compute 'skip' score. This is the max score one can do. 576 score_t cost, base_cost, score; local 971 const score_t score = VP8SSE16x16(src, ref); local 997 const score_t score = VP8SSE4x4(src, ref); local [all...] |
/external/webp/src/enc/ |
H A D | quant.c | 430 // Init/Copy the common fields in score. 436 rd->score = MAX_COST; 444 dst->score = src->score; 452 dst->score += src->score; 479 rd->score = rd->R * lambda + 256 * (rd->D + rd->SD); 520 // compute 'skip' score. This is the max score one can do. 576 score_t cost, base_cost, score; local 971 const score_t score = VP8SSE16x16(src, ref); local 997 const score_t score = VP8SSE4x4(src, ref); local [all...] |
/external/chromium/chrome/browser/password_manager/ |
H A D | password_form_manager.cc | 231 // they don't score as high as others and aren't added to best_matches_. 256 // This new login has a better score than all those up to this point 276 // lower-scored empty-path match (if it had equal score it would already be 437 int score = 0; local 443 score += (1 << 5) + static_cast<int>(form_path_tokens_.size()); 455 score++; 458 score += (depth > 0) ? 1 << 4 : 0; 462 score += 1 << 3; 464 score += 1 << 2; 466 score [all...] |
/external/chromium/chrome/browser/autocomplete/ |
H A D | history_quick_provider.cc | 99 // Artificially reduce the score of high-scoring results which should not be 125 int score = CalculateRelevance(history_match.raw_score, local 129 // Discount a very high score when a) a match doesn't start at the beginning 134 if (score > kMaxDontInlineScore && 137 score = std::min(*next_dont_inline_score, score); 141 AutocompleteMatch match(this, score, !!info.visit_count(),
|
/external/chromium/chrome/browser/history/ |
H A D | visitsegment_database.cc | 256 float score = 0; local 261 pud->SetScore(score); 266 score = 0; 283 score += recency_boost * day_visits_score; 287 pud->SetScore(score);
|
H A D | thumbnail_database.h | 77 const ThumbnailScore& score, 87 // If there is a thumbnail score for the id provided, retrieves the 88 // current thumbnail score and places it in |score| and returns 90 bool ThumbnailScoreForId(URLID id, ThumbnailScore* score);
|
/external/chromium_org/chrome/browser/thumbnails/ |
H A D | content_based_thumbnailing_algorithm.cc | 78 context->score.boring_score = 80 context->score.good_clipping = 185 context->score.boring_score = 188 context->score.boring_score *= kScoreBoostFromSuccessfulRetargeting; 189 context->score.good_clipping =
|
H A D | thumbnail_service_impl.cc | 49 return local_ptr->SetPageThumbnail(context.url, thumbnail, context.score);
|
/external/chromium_org/third_party/cld/encodings/compact_lang_det/ |
H A D | tote.cc | 165 int score, int ireliability) { 174 score_[sub0] += score; 181 score_[sub1] += score; 188 score_[sub2] += score; 209 score_[alloc] = score; 164 Add(uint8 ikey, int ibytes, int score, int ireliability) argument
|
/external/chromium_org/chrome/browser/favicon/ |
H A D | favicon_handler.cc | 191 : score(0), 202 float score, 207 score(score), 258 float score, 261 bool exact_match = score == 1; 275 if (score > favicon_candidate_.score) 281 url, image_url, image, score, icon_type); 394 float score local 198 FaviconCandidate( const GURL& url, const GURL& image_url, const gfx::Image& image, float score, chrome::IconType icon_type) argument 255 UpdateFaviconCandidate(const GURL& url, const GURL& image_url, const gfx::Image& image, float score, chrome::IconType icon_type) argument [all...] |
H A D | favicon_handler.h | 182 float score, 188 float score; member in struct:FaviconHandler::FaviconCandidate 218 float score,
|
/external/chromium_org/chrome/renderer/safe_browsing/ |
H A D | phishing_classifier.cc | 184 // the score. 200 float score = static_cast<float>(scorer_->ComputeScore(hashed_features)); local 201 verdict.set_client_score(score); 202 verdict.set_is_phishing(score >= kPhishyThreshold);
|
/external/chromium/chrome/browser/safe_browsing/ |
H A D | client_side_detection_service_unittest.cc | 67 float score) { 70 request->set_client_score(score); 232 float score = 0.4f; // Some random client score. local 238 EXPECT_FALSE(SendClientReportPhishingRequest(url, score)); 245 EXPECT_TRUE(SendClientReportPhishingRequest(url, score)); 252 EXPECT_FALSE(SendClientReportPhishingRequest(second_url, score)); 66 SendClientReportPhishingRequest(const GURL& phishing_url, float score) argument
|
/external/chromium_org/third_party/sqlite/src/src/ |
H A D | callback.c | 346 int score = matchQuality(p, nArg, enc); local 347 if( score>bestScore ){ 349 bestScore = score; 371 int score = matchQuality(p, nArg, enc); local 372 if( score>bestScore ){ 374 bestScore = score;
|
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
H A D | MatchPatternIterator.java | 304 XObject score = m_pattern.execute(xctxt); 309 System.out.println("score: "+score); 310 System.out.println("skip: "+(score == NodeTest.SCORE_NONE)); 313 // System.out.println("\n::acceptNode - score: "+score.num()+"::"); 314 return (score == NodeTest.SCORE_NONE) ? DTMIterator.FILTER_SKIP
|
/external/chromium/net/http/ |
H A D | http_auth_handler.h | 95 int score() const { function in class:net::HttpAuthHandler 173 // The score for this challenge. Higher numbers are better.
|
/external/chromium_org/chrome/browser/autocomplete/ |
H A D | history_quick_provider.h | 59 // the score |score|. 62 int score);
|