threshold 110 base/nix/mime_util_xdg.cc size_t threshold; // Maximum difference from desired size. 2 by default. threshold 307 base/nix/mime_util_xdg.cc current_info->threshold = atoi(value.c_str()); threshold 336 base/nix/mime_util_xdg.cc if (size + info->threshold < info->size) threshold 337 base/nix/mime_util_xdg.cc return info->size - size - info->threshold; threshold 338 base/nix/mime_util_xdg.cc if (size > info->size + info->threshold) threshold 339 base/nix/mime_util_xdg.cc return size - info->size - info->threshold; threshold 126 chrome/app/client_util.cc double threshold = (channel == installer::kChromeChannelStable) ? 0.01 : 0.10; threshold 132 chrome/app/client_util.cc if (PreReadExperimentIsActive() && (population <= threshold)) { threshold 991 chrome/browser/autocomplete/history_url_provider.cc const base::Time& threshold(history::AutocompleteAgeThreshold()); threshold 994 chrome/browser/autocomplete/history_url_provider.cc if (RowQualifiesAsSignificant(i->url_info, threshold) && threshold 220 chrome/browser/chromeos/attestation/attestation_policy_observer.cc const base::TimeDelta threshold = threshold 222 chrome/browser/chromeos/attestation/attestation_policy_observer.cc if ((base::Time::Now() + threshold) > x509->valid_expiry()) { threshold 19 chrome/browser/extensions/api/idle/idle_api.cc int ClampThreshold(int threshold) { threshold 20 chrome/browser/extensions/api/idle/idle_api.cc if (threshold < kMinThreshold) { threshold 21 chrome/browser/extensions/api/idle/idle_api.cc threshold = kMinThreshold; threshold 22 chrome/browser/extensions/api/idle/idle_api.cc } else if (threshold > kMaxThreshold) { threshold 23 chrome/browser/extensions/api/idle/idle_api.cc threshold = kMaxThreshold; threshold 26 chrome/browser/extensions/api/idle/idle_api.cc return threshold; threshold 34 chrome/browser/extensions/api/idle/idle_api.cc int threshold; threshold 35 chrome/browser/extensions/api/idle/idle_api.cc EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &threshold)); threshold 36 chrome/browser/extensions/api/idle/idle_api.cc threshold = ClampThreshold(threshold); threshold 39 chrome/browser/extensions/api/idle/idle_api.cc threshold, base::Bind(&IdleQueryStateFunction::IdleStateCallback, this)); threshold 51 chrome/browser/extensions/api/idle/idle_api.cc int threshold; threshold 52 chrome/browser/extensions/api/idle/idle_api.cc EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &threshold)); threshold 53 chrome/browser/extensions/api/idle/idle_api.cc threshold = ClampThreshold(threshold); threshold 56 chrome/browser/extensions/api/idle/idle_api.cc ->SetThreshold(extension_id(), threshold); threshold 225 chrome/browser/extensions/api/idle/idle_api_unittest.cc for (int threshold = 0; threshold < 20; ++threshold) { threshold 227 chrome/browser/extensions/api/idle/idle_api_unittest.cc SCOPED_TRACE(threshold); threshold 231 chrome/browser/extensions/api/idle/idle_api_unittest.cc std::string args = "[" + base::IntToString(threshold) + "]"; threshold 238 chrome/browser/extensions/api/idle/idle_api_unittest.cc int real_threshold = (threshold < 15) ? 15 : threshold; threshold 252 chrome/browser/extensions/api/idle/idle_api_unittest.cc for (int threshold = kFourHoursInSeconds - 20; threshold 253 chrome/browser/extensions/api/idle/idle_api_unittest.cc threshold < (kFourHoursInSeconds + 20); ++threshold) { threshold 256 chrome/browser/extensions/api/idle/idle_api_unittest.cc SCOPED_TRACE(threshold); threshold 260 chrome/browser/extensions/api/idle/idle_api_unittest.cc std::string args = "[" + base::IntToString(threshold) + "]"; threshold 267 chrome/browser/extensions/api/idle/idle_api_unittest.cc int real_threshold = (threshold > kFourHoursInSeconds) ? threshold 268 chrome/browser/extensions/api/idle/idle_api_unittest.cc kFourHoursInSeconds : threshold; threshold 180 chrome/browser/extensions/api/idle/idle_manager.cc void IdleManager::QueryState(int threshold, QueryStateCallback notify) { threshold 182 chrome/browser/extensions/api/idle/idle_manager.cc idle_time_provider_->CalculateIdleState(threshold, notify); threshold 186 chrome/browser/extensions/api/idle/idle_manager.cc int threshold) { threshold 188 chrome/browser/extensions/api/idle/idle_manager.cc GetMonitor(extension_id)->threshold = threshold; threshold 271 chrome/browser/extensions/api/idle/idle_manager.cc it->second.threshold); threshold 37 chrome/browser/extensions/api/idle/idle_manager.h int threshold; threshold 87 chrome/browser/extensions/api/idle/idle_manager.h void QueryState(int threshold, QueryStateCallback notify); threshold 88 chrome/browser/extensions/api/idle/idle_manager.h void SetThreshold(const std::string& extension_id, int threshold); threshold 272 chrome/browser/history/history_database.cc int64 threshold; threshold 273 chrome/browser/history/history_database.cc if (!meta_table_.GetValue(kEarlyExpirationThresholdKey, &threshold)) { threshold 276 chrome/browser/history/history_database.cc threshold = 1L; threshold 279 chrome/browser/history/history_database.cc cached_early_expiration_threshold_ = base::Time::FromInternalValue(threshold); threshold 283 chrome/browser/history/history_database.cc void HistoryDatabase::UpdateEarlyExpirationThreshold(base::Time threshold) { threshold 285 chrome/browser/history/history_database.cc threshold.ToInternalValue()); threshold 286 chrome/browser/history/history_database.cc cached_early_expiration_threshold_ = threshold; threshold 165 chrome/browser/history/history_database.h virtual void UpdateEarlyExpirationThreshold(base::Time threshold); threshold 384 chrome/browser/history/history_types.cc const base::Time& threshold) { threshold 386 chrome/browser/history/history_types.cc threshold.is_null() ? AutocompleteAgeThreshold() : threshold; threshold 671 chrome/browser/history/history_types.h bool RowQualifiesAsSignificant(const URLRow& row, const base::Time& threshold); threshold 119 chrome/browser/history/history_types_unittest.cc const base::Time& threshold(AutocompleteAgeThreshold()); threshold 123 chrome/browser/history/history_types_unittest.cc EXPECT_FALSE(RowQualifiesAsSignificant(url_row, threshold)); threshold 126 chrome/browser/history/history_types_unittest.cc EXPECT_TRUE(RowQualifiesAsSignificant(url_row, threshold)); threshold 129 chrome/browser/history/history_types_unittest.cc EXPECT_FALSE(RowQualifiesAsSignificant(url_row, threshold)); threshold 132 chrome/browser/history/history_types_unittest.cc EXPECT_TRUE(RowQualifiesAsSignificant(url_row, threshold)); threshold 135 chrome/browser/history/history_types_unittest.cc EXPECT_FALSE(RowQualifiesAsSignificant(url_row, threshold)); threshold 138 chrome/browser/history/history_types_unittest.cc EXPECT_TRUE(RowQualifiesAsSignificant(url_row, threshold)); threshold 142 chrome/browser/history/history_types_unittest.cc EXPECT_FALSE(RowQualifiesAsSignificant(url_row, threshold)); threshold 106 chrome/browser/net/referrer.cc bool Referrer::Trim(double reduce_rate, double threshold) { threshold 109 chrome/browser/net/referrer.cc if (!it->second.Trim(reduce_rate, threshold)) threshold 117 chrome/browser/net/referrer.cc bool ReferrerValue::Trim(double reduce_rate, double threshold) { threshold 119 chrome/browser/net/referrer.cc return subresource_use_rate_ > threshold; threshold 65 chrome/browser/net/referrer.h bool Trim(double reduce_rate, double threshold); threshold 115 chrome/browser/net/referrer.h bool Trim(double reduce_rate, double threshold); threshold 361 chrome/browser/safe_browsing/browser_feature_extractor.cc base::Time threshold = base::Time::Now() - base::TimeDelta::FromDays(1); threshold 370 chrome/browser/safe_browsing/browser_feature_extractor.cc if (it->visit_time < threshold) { threshold 444 chrome/browser/thumbnails/content_analysis_unittest.cc float threshold = AutoSegmentPeaks(profile_info); threshold 445 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_GT(threshold, 0); // Not much to expect. threshold 452 chrome/browser/thumbnails/content_analysis_unittest.cc std::bind2nd(std::greater<float>(), threshold)); threshold 460 chrome/browser/thumbnails/content_analysis_unittest.cc threshold = AutoSegmentPeaks(profile_info); threshold 465 chrome/browser/thumbnails/content_analysis_unittest.cc std::bind2nd(std::greater<float>(), threshold)); threshold 473 chrome/browser/thumbnails/content_analysis_unittest.cc std::bind2nd(std::greater<float>(), threshold)); threshold 331 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc int threshold = static_cast<int>(ratio * kHorizontalMoveThreshold); threshold 337 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc if (abs(screen_point.x() - last_move_screen_x_) > threshold || threshold 778 chrome/browser/ui/views/tabs/tab_drag_controller.cc int threshold = kHorizontalMoveThreshold; threshold 783 chrome/browser/ui/views/tabs/tab_drag_controller.cc threshold = static_cast<int>(ratio * kHorizontalMoveThreshold); threshold 795 chrome/browser/ui/views/tabs/tab_drag_controller.cc if ((abs(point_in_screen.x() - last_move_screen_loc_) > threshold || threshold 190 content/browser/renderer_host/overscroll_controller.cc float ratio, threshold; threshold 194 content/browser/renderer_host/overscroll_controller.cc threshold = GetOverscrollConfig(OVERSCROLL_CONFIG_HORIZ_THRESHOLD_COMPLETE); threshold 197 content/browser/renderer_host/overscroll_controller.cc threshold = GetOverscrollConfig(OVERSCROLL_CONFIG_VERT_THRESHOLD_COMPLETE); threshold 200 content/browser/renderer_host/overscroll_controller.cc return ratio >= threshold; threshold 718 content/browser/renderer_host/render_message_filter.cc const base::TimeDelta threshold = base::TimeDelta::FromSeconds( threshold 721 content/browser/renderer_host/render_message_filter.cc if (now - last_plugin_refresh_time_ >= threshold) { threshold 31 content/test/image_decoder_test.cc const int64 threshold) { threshold 37 content/test/image_decoder_test.cc return (file_selection == TEST_SMALLER) == (image_size > threshold); threshold 152 content/test/image_decoder_test.cc const int64 threshold) { threshold 158 content/test/image_decoder_test.cc if (!ShouldSkipFile(*i, file_selection, threshold)) threshold 64 content/test/image_decoder_test.h const int64 threshold); threshold 61 media/base/audio_timestamp_helper.cc double threshold = microseconds_per_frame_ / 2; threshold 63 media/base/audio_timestamp_helper.cc (delta_from_base.InMicroseconds() + threshold) / microseconds_per_frame_; threshold 192 net/quic/reliable_quic_stream.cc size_t threshold = (max_flow_control_receive_window_bytes_ / 2); threshold 193 net/quic/reliable_quic_stream.cc if (consumed_window < threshold) { threshold 203 net/quic/reliable_quic_stream.cc << ", and threshold: " << threshold threshold 142 ppapi/c/private/ppb_testing_private.h uint32_t threshold); threshold 3747 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static void Pnacl_M33_PPB_Testing_Private_SetMinimumArrayBufferSizeForShmem(PP_Instance instance, uint32_t threshold) { threshold 3749 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c iface->SetMinimumArrayBufferSizeForShmem(instance, threshold); threshold 5274 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .SetMinimumArrayBufferSizeForShmem = (void (*)(PP_Instance instance, uint32_t threshold))&Pnacl_M33_PPB_Testing_Private_SetMinimumArrayBufferSizeForShmem threshold 119 ppapi/proxy/ppb_testing_proxy.cc uint32_t threshold) { threshold 121 ppapi/proxy/ppb_testing_proxy.cc RawVarDataGraph::SetMinimumArrayBufferSizeForShmemForTest(threshold); threshold 127 ppapi/proxy/ppb_testing_proxy.cc API_ID_PPB_TESTING, threshold)); threshold 213 ppapi/proxy/ppb_testing_proxy.cc uint32_t threshold) { threshold 214 ppapi/proxy/ppb_testing_proxy.cc RawVarDataGraph::SetMinimumArrayBufferSizeForShmemForTest(threshold); threshold 44 ppapi/proxy/ppb_testing_proxy.h void OnMsgSetMinimumArrayBufferSizeForShmem(uint32_t threshold); threshold 217 ppapi/proxy/raw_var_data.cc uint32 threshold) { threshold 218 ppapi/proxy/raw_var_data.cc if (threshold == 0) threshold 221 ppapi/proxy/raw_var_data.cc g_minimum_array_buffer_size_for_shmem = threshold; threshold 81 ppapi/proxy/raw_var_data.h static void SetMinimumArrayBufferSizeForShmemForTest(uint32 threshold); threshold 137 ppapi/tests/test_post_message.cc uint32_t threshold) threshold 140 ppapi/tests/test_post_message.cc interface_->SetMinimumArrayBufferSizeForShmem(instance_, threshold); threshold 20 remoting/host/audio_silence_detector.cc AudioSilenceDetector::AudioSilenceDetector(int threshold) threshold 21 remoting/host/audio_silence_detector.cc : threshold_(threshold), threshold 18 remoting/host/audio_silence_detector.h AudioSilenceDetector(int threshold); threshold 602 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp Value::LargestUInt threshold = maxIntegerValue / 10; threshold 610 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp if ( value >= threshold ) threshold 616 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp if (value > threshold || threshold 1046 third_party/tcmalloc/chromium/src/tcmalloc.cc const int64 threshold = large_alloc_threshold; threshold 1047 third_party/tcmalloc/chromium/src/tcmalloc.cc if (threshold > 0 && num_pages >= (threshold >> kPageShift)) { threshold 1050 third_party/tcmalloc/chromium/src/tcmalloc.cc large_alloc_threshold = (threshold + threshold/8 < 8ll<<30 threshold 1051 third_party/tcmalloc/chromium/src/tcmalloc.cc ? threshold + threshold/8 : 8ll<<30); threshold 1038 third_party/tcmalloc/vendor/src/tcmalloc.cc const int64 threshold = large_alloc_threshold; threshold 1039 third_party/tcmalloc/vendor/src/tcmalloc.cc if (threshold > 0 && num_pages >= (threshold >> kPageShift)) { threshold 1042 third_party/tcmalloc/vendor/src/tcmalloc.cc large_alloc_threshold = (threshold + threshold/8 < 8ll<<30 threshold 1043 third_party/tcmalloc/vendor/src/tcmalloc.cc ? threshold + threshold/8 : 8ll<<30);