Searched refs:strategy (Results 26 - 50 of 155) sorted by path

1234567

/external/chromium_org/components/policy/core/browser/
H A Dconfiguration_policy_handler_unittest.cc35 SchemaOnErrorStrategy strategy)
36 : SchemaValidatingPolicyHandler("PolicyForTesting", schema, strategy) {}
34 TestSchemaValidatingPolicyHandler(const Schema& schema, SchemaOnErrorStrategy strategy) argument
/external/chromium_org/components/policy/core/common/
H A Dschema.cc88 bool StrategyAllowInvalidOnTopLevel(SchemaOnErrorStrategy strategy) { argument
89 return strategy == SCHEMA_ALLOW_INVALID ||
90 strategy == SCHEMA_ALLOW_INVALID_TOPLEVEL ||
91 strategy == SCHEMA_ALLOW_INVALID_TOPLEVEL_AND_ALLOW_UNKNOWN;
94 bool StrategyAllowUnknownOnTopLevel(SchemaOnErrorStrategy strategy) { argument
95 return strategy != SCHEMA_STRICT;
98 SchemaOnErrorStrategy StrategyForNextLevel(SchemaOnErrorStrategy strategy) { argument
107 return next_level_strategy[(int)strategy];
773 SchemaOnErrorStrategy strategy,
805 if (!StrategyAllowUnknownOnTopLevel(strategy))
772 Validate(const base::Value& value, SchemaOnErrorStrategy strategy, std::string* error_path, std::string* error) const argument
853 Normalize(base::Value* value, SchemaOnErrorStrategy strategy, std::string* error_path, std::string* error, bool* changed) const argument
[all...]
H A Dschema.h27 // the strategy to handle unknown properties or invalid values for dict type.
91 // Validate |value| against current schema, |strategy| is the strategy to
96 // |strategy|, false will be returned and |error_path| and |error| will
100 SchemaOnErrorStrategy strategy,
112 SchemaOnErrorStrategy strategy,
H A Dschema_unittest.cc143 SchemaOnErrorStrategy strategy,
150 bool returned = schema.Validate(value, strategy, NULL, &error);
159 schema.Normalize(cloned_value.get(), strategy, NULL, &error, &touched);
140 TestSchemaValidationHelper(const std::string& source, Schema schema, const base::Value& value, SchemaOnErrorStrategy strategy, bool expected_return_value) argument
/external/chromium_org/components/web_cache/browser/
H A Dweb_cache_manager.cc90 // Revise our allocation strategy to account for this new renderer.
233 AllocationStrategy* strategy) {
234 DCHECK(strategy);
262 AddToStrategy(active_renderers_, active_tactic, active_extra, strategy);
263 AddToStrategy(inactive_renderers_, inactive_tactic, inactive_extra, strategy);
265 // We succeeded in computing an allocation strategy.
272 AllocationStrategy* strategy) {
273 DCHECK(strategy);
292 // Record the allocation in our strategy.
293 strategy
228 AttemptTactic( AllocationTactic active_tactic, const WebCache::UsageStats& active_stats, AllocationTactic inactive_tactic, const WebCache::UsageStats& inactive_stats, AllocationStrategy* strategy) argument
269 AddToStrategy(const std::set<int>& renderers, AllocationTactic tactic, size_t extra_bytes_to_allocate, AllocationStrategy* strategy) argument
298 EnactStrategy(const AllocationStrategy& strategy) argument
380 AllocationStrategy strategy; local
[all...]
H A Dweb_cache_manager.h118 // An allocation strategy is a list of allocations specifying the resources
135 // The various tactics used as part of an allocation strategy. To decide
140 // Determining a resource allocation strategy amounts to picking a tactic
164 // Helper functions for devising an allocation strategy
177 // Attempt to use the specified tactics to compute an allocation strategy
178 // and place the result in |strategy|. |active_stats| and |inactive_stats|
183 // |strategy| on failure.
188 AllocationStrategy* strategy);
191 // |tactic| and add the result to |strategy|. Any |extra_bytes_to_allocate|
196 AllocationStrategy* strategy);
[all...]
H A Dweb_cache_manager_unittest.cc67 std::list< std::pair<int,size_t> >* strategy) {
73 strategy);
79 std::list< std::pair<int,size_t> >* strategy) {
83 strategy);
236 AllocationStrategy strategy; local
243 &strategy));
244 EXPECT_TRUE(strategy.empty());
251 &strategy));
252 EXPECT_EQ(2U, strategy.size());
254 AllocationStrategy::iterator iter = strategy
62 AttemptTactic(WebCacheManager* h, int active_tactic, const WebCache::UsageStats& active_stats, int inactive_tactic, const WebCache::UsageStats& inactive_stats, std::list< std::pair<int,size_t> >* strategy) argument
75 AddToStrategy(WebCacheManager* h, std::set<int> renderers, int tactic, size_t extra_bytes_to_allocate, std::list< std::pair<int,size_t> >* strategy) argument
282 AllocationStrategy strategy; local
287 &strategy); local
[all...]
/external/chromium_org/content/public/renderer/
H A Dv8_value_converter.h101 virtual void SetStrategy(Strategy* strategy) = 0;
/external/chromium_org/content/renderer/
H A Dv8_value_converter_impl.cc148 void V8ValueConverterImpl::SetStrategy(Strategy* strategy) { argument
149 strategy_ = strategy;
H A Dv8_value_converter_impl.h33 virtual void SetStrategy(Strategy* strategy) OVERRIDE;
H A Dv8_value_converter_impl_unittest.cc753 return new base::StringValue("strategy");
765 V8ValueConverterOverridingStrategyForTesting strategy; local
766 converter.SetStrategy(&strategy);
772 base::Value::Equals(strategy.reference_value(), object_value.get()));
778 base::Value::Equals(strategy.reference_value(), array_value.get()));
784 EXPECT_TRUE(base::Value::Equals(strategy.reference_value(),
792 EXPECT_TRUE(base::Value::Equals(strategy.reference_value(),
799 base::Value::Equals(strategy.reference_value(), number_value.get()));
806 base::Value::Equals(strategy.reference_value(), undefined_value.get()));
839 // Verify that having a strategy tha
848 V8ValueConverterBypassStrategyForTesting strategy; local
[all...]
/external/chromium_org/extensions/browser/api/declarative_webrequest/
H A Dwebrequest_action.cc560 HostPermissionsStrategy strategy)
564 host_permissions_strategy_(strategy) {}
557 WebRequestAction(int stages, Type type, int minimum_priority, HostPermissionsStrategy strategy) argument
H A Dwebrequest_action.h120 // strategy is STRATEGY_DEFAULT.
162 HostPermissionsStrategy strategy);
/external/chromium_org/extensions/renderer/
H A Dapi_activity_logger.cc58 ActivityLogConverterStrategy strategy; local
60 converter->SetStrategy(&strategy);
H A Ddom_activity_logger.cc30 ActivityLogConverterStrategy strategy; local
32 converter->SetStrategy(&strategy);
/external/chromium_org/media/blink/
H A Dbuffered_data_source.cc117 BufferedResourceLoader::DeferStrategy strategy = preload_ == METADATA ? local
125 strategy,
530 // too far ahead of the read head, use threshold strategy to enable/disable
H A Dbuffered_resource_loader.cc102 DeferStrategy strategy,
108 defer_strategy_(strategy),
566 void BufferedResourceLoader::UpdateDeferStrategy(DeferStrategy strategy) { argument
567 if (!might_be_reused_from_cache_in_future_ && strategy == kNeverDefer)
568 strategy = kCapacityDefer;
569 defer_strategy_ = strategy;
97 BufferedResourceLoader( const GURL& url, CORSMode cors_mode, int64 first_byte_position, int64 last_byte_position, DeferStrategy strategy, int bitrate, float playback_rate, MediaLog* media_log) argument
H A Dbuffered_resource_loader.h79 // |strategy| is the initial loading strategy to use.
87 DeferStrategy strategy,
175 // Sets the defer strategy to the given value unless it seems unwise.
179 void UpdateDeferStrategy(DeferStrategy strategy);
/external/chromium_org/sdch/open-vcdiff/src/zlib/
H A Dzlib.h194 /* compression strategy; see deflateInit2() below for details */
485 int strategy));
517 The strategy parameter is used to tune the compression algorithm. Use the
526 Z_HUFFMAN_ONLY, but give better compression for PNG image data. The strategy
586 compression state which can be quite large, so this strategy is slow and
608 int strategy));
610 Dynamically update the compression level and compression strategy. The
611 interpretation of level and strategy is as in deflateInit2. This can be
614 strategy. If the compression level is changed, the input available so far
1072 ("wb9") or a strategy
[all...]
/external/chromium_org/third_party/WebKit/Source/core/frame/
H A DFrameView.cpp527 void FrameView::calculateScrollbarModesForLayoutAndSetViewportRenderer(ScrollbarMode& hMode, ScrollbarMode& vMode, ScrollbarModesCalculationStrategy strategy) argument
539 if (m_canHaveScrollbars || strategy == RulesFromWebContentOnly) {
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLContentElement.cpp121 ShadowDOMSiblingTraversalStrategy strategy(siblings, nth);
122 return selectorChecker.match(context, strategy) == SelectorChecker::SelectorMatches;
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/
H A Dcss.js417 "line-stacking-shift", "line-stacking-strategy", "list-style",
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/closure/
H A Dcompiler.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/javascript/ com/google/javascript/jscomp/ ...
/external/chromium_org/third_party/android_platform/webview/
H A Dframeworks.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/location/ android/location/Address$1.class ...
/external/chromium_org/third_party/angle/src/common/
H A Dblocklayout.cpp110 HLSLBlockEncoder::HLSLBlockEncoder(HLSLBlockEncoderStrategy strategy) argument
111 : mEncoderStrategy(strategy)

Completed in 638 milliseconds

1234567