Home
last modified time | relevance | path

Searched refs:Apply (Results 1 – 25 of 226) sorted by relevance

12345678910

/external/chromium/chrome/browser/policy/
Dconfiguration_policy_store_interface_unittest.cc15 EXPECT_CALL(store, Apply(_, _)).Times(3); in TEST()
19 observer.Apply(kPolicyJavascriptEnabled, Value::CreateBooleanValue(true)); in TEST()
21 observer.Apply(kPolicyProxyMode, Value::CreateStringValue("direct")); in TEST()
23 observer.Apply(kPolicyIncognitoEnabled, Value::CreateBooleanValue(true)); in TEST()
34 EXPECT_CALL(store_pass, Apply(_, _)).Times(1); in TEST()
38 filter_pass.Apply(kPolicyJavascriptEnabled, Value::CreateBooleanValue(true)); in TEST()
40 filter_pass.Apply(kPolicyProxyMode, Value::CreateStringValue("direct")); in TEST()
47 EXPECT_CALL(store_block, Apply(_, _)).Times(0); in TEST()
51 filter_block.Apply(kPolicyJavascriptEnabled, Value::CreateBooleanValue(true)); in TEST()
53 filter_block.Apply(kPolicyProxyMode, Value::CreateStringValue("direct")); in TEST()
Dconfiguration_policy_store_interface.cc24 void ObservingPolicyStoreInterface::Apply(ConfigurationPolicyType policy, in Apply() function in policy::ObservingPolicyStoreInterface
26 next_->Apply(policy, value); in Apply()
32 void FilteringPolicyStoreInterface::Apply(ConfigurationPolicyType policy, in Apply() function in policy::FilteringPolicyStoreInterface
36 next_->Apply(policy, value); in Apply()
Dconfiguration_policy_store_interface.h44 virtual void Apply(ConfigurationPolicyType policy, Value* value) = 0;
63 virtual void Apply(ConfigurationPolicyType policy, Value* value) OVERRIDE;
86 virtual void Apply(ConfigurationPolicyType policy, Value* value) OVERRIDE;
Dprofile_policy_connector_unittest.cc27 EXPECT_CALL(store0, Apply(_, _)).Times(1); in TEST()
37 EXPECT_CALL(store1, Apply(_, _)).Times(2); in TEST()
49 EXPECT_CALL(store2, Apply(_, _)).Times(2); in TEST()
Dasynchronous_policy_provider_unittest.cc26 EXPECT_CALL(*store_, Apply(policy::kPolicySyncDisabled, _)).Times(1); in TEST_F()
53 EXPECT_CALL(*store_, Apply(policy::kPolicyJavascriptEnabled, _)).Times(1); in TEST_F()
Dconfiguration_policy_provider.cc33 store->Apply(i->policy_type, value->DeepCopy()); in ApplyPolicyValueTree()
48 store->Apply(i->policy_type, value->DeepCopy()); in ApplyPolicyMap()
Dfile_based_policy_provider_unittest.cc49 EXPECT_CALL(*store_, Apply(policy::kPolicySyncDisabled, _)).Times(1); in TEST_F()
78 EXPECT_CALL(*store_, Apply(policy::kPolicySyncDisabled, _)).Times(1); in TEST_F()
/external/chromium/chrome/browser/extensions/
Dextensions_quota_service_unittest.cc121 EXPECT_TRUE(lim->Apply(b, start_time + TimeDelta::FromSeconds(10 + m))); in DoMoreThan2PerMinuteFor5Minutes()
127 EXPECT_TRUE(lim->Apply(b, start_time + TimeDelta::FromSeconds(15 + m))); in DoMoreThan2PerMinuteFor5Minutes()
131 EXPECT_TRUE(lim->Apply(b, start_time + TimeDelta::FromSeconds(20 + m))); in DoMoreThan2PerMinuteFor5Minutes()
133 EXPECT_TRUE(lim->Apply(b, start_time + TimeDelta::FromSeconds(50 + m))); in DoMoreThan2PerMinuteFor5Minutes()
144 EXPECT_TRUE(lim.Apply(&b, kStartTime)); in TEST_F()
146 EXPECT_TRUE(lim.Apply(&b, kStartTime + TimeDelta::FromSeconds(30))); in TEST_F()
148 EXPECT_FALSE(lim.Apply(&b, k1MinuteAfterStart)); in TEST_F()
151 EXPECT_TRUE(lim.Apply(&b, k1MinuteAfterStart - TimeDelta::FromSeconds(1))); in TEST_F()
152 EXPECT_TRUE(lim.Apply(&b, k1MinuteAfterStart)); in TEST_F()
153 EXPECT_TRUE(lim.Apply(&b, k1MinuteAfterStart + TimeDelta::FromSeconds(1))); in TEST_F()
[all …]
Dextensions_quota_service.h159 virtual bool Apply(Bucket* bucket, const base::TimeTicks& event_time) = 0;
178 virtual bool Apply(Bucket* bucket, const base::TimeTicks& event_time);
189 virtual bool Apply(Bucket* bucket, const base::TimeTicks& event_time);
Dextensions_quota_service.cc100 if (!Apply(*i, event_time)) in ApplyToArgs()
114 bool ExtensionsQuotaService::TimedLimit::Apply(Bucket* bucket, in Apply() function in ExtensionsQuotaService::TimedLimit
122 bool ExtensionsQuotaService::SustainedLimit::Apply(Bucket* bucket, in Apply() function in ExtensionsQuotaService::SustainedLimit
/external/openfst/src/extensions/pdt/
Dpdtscript.cc51 Apply<Operation<PdtComposeArgs> >("PdtCompose", ifst1.ArcType(), &args); in PdtCompose()
59 Apply<Operation<PdtExpandArgs> >("PdtExpand", ifst.ArcType(), &args); in PdtExpand()
81 Apply<Operation<PdtReplaceArgs> >("PdtReplace", ofst->ArcType(), &args); in PdtReplace()
89 Apply<Operation<PdtReverseArgs> >("PdtReverse", ifst.ArcType(), &args); in PdtReverse()
98 Apply<Operation<PdtShortestPathArgs> >("PdtShortestPath", in PdtShortestPath()
105 Apply<Operation<PrintPdtInfoArgs> >("PrintPdtInfo", ifst.ArcType(), &args); in PrintPdtInfo()
/external/openfst/src/extensions/far/
Dfarscript.cc46 Apply<Operation<FarCompileStringsArgs> >("FarCompileStrings", arc_type, in FarCompileStrings()
61 Apply<Operation<FarCreateArgs> >("FarCreate", arc_type, &args); in FarCreate()
72 Apply<Operation<FarExtractArgs> >("FarExtract", arc_type, &args); in FarExtract()
82 Apply<Operation<FarInfoArgs> >("FarInfo", arc_type, &args); in FarInfo()
102 Apply<Operation<FarPrintStringsArgs> >("FarPrintStrings", arc_type, in FarPrintStrings()
/external/openfst/src/script/
Dprune.cc29 Apply<Operation<PruneArgs1> >("Prune", fst->ArcType(), &args); in Prune()
37 Apply<Operation<PruneArgs2> >("Prune", fst->ArcType(), &args); in Prune()
47 Apply<Operation<PruneArgs3> >("Prune", ifst.ArcType(), &args); in Prune()
55 Apply<Operation<PruneArgs4> >("Prune", fst->ArcType(), &args); in Prune()
Dshortest-distance.cc29 Apply<Operation<ShortestDistanceArgs1> >("ShortestDistance", fst.ArcType(), in ShortestDistance()
38 Apply<Operation<ShortestDistanceArgs2> >("ShortestDistance", ifst.ArcType(), in ShortestDistance()
46 Apply<Operation<ShortestDistanceArgs3> >("ShortestDistance", ifst.ArcType(), in ShortestDistance()
Drmepsilon.cc30 Apply<Operation<RmEpsilonArgs1> >("RmEpsilon", ifst.ArcType(), &args); in RmEpsilon()
38 Apply<Operation<RmEpsilonArgs2> >("RmEpsilon", fst->ArcType(), &args); in RmEpsilon()
45 Apply<Operation<RmEpsilonArgs3> >("RmEpsilon", fst->ArcType(), &args); in RmEpsilon()
Drelabel.cc32 Apply<Operation<RelabelArgs1> >("Relabel", ofst->ArcType(), &args); in Relabel()
41 Apply<Operation<RelabelArgs2> >("Relabel", ofst->ArcType(), &args); in Relabel()
49 Apply<Operation<RelabelArgs3> >("Relabel", fst->ArcType(), &args); in Relabel()
Dconcat.cc29 Apply<Operation<ConcatArgs1> >("Concat", ofst->ArcType(), &args); in Concat()
37 Apply<Operation<ConcatArgs2> >("Concat", ofst->ArcType(), &args); in Concat()
Dpush.cc28 Apply<Operation<PushArgs1> >("Push", ofst->ArcType(), &args); in Push()
37 Apply<Operation<PushArgs2> >("Push", ifst.ArcType(), &args); in Push()
Ddifference.cc30 Apply<Operation<DifferenceArgs1> >("Difference", ifst1.ArcType(), &args); in Difference()
39 Apply<Operation<DifferenceArgs2> >("Difference", ifst1.ArcType(), &args); in Difference()
Dcompose.cc31 Apply<Operation<ComposeArgs1> >("Compose", ifst1.ArcType(), &args); in Compose()
40 Apply<Operation<ComposeArgs2> >("Compose", ifst1.ArcType(), &args); in Compose()
Dintersect.cc30 Apply<Operation<IntersectArgs1> >("Intersect", ifst1.ArcType(), &args); in Intersect()
39 Apply<Operation<IntersectArgs2> >("Intersect", ifst1.ArcType(), &args); in Intersect()
Dshortest-path.cc30 Apply<Operation<ShortestPathArgs1> >("ShortestPath", ifst.ArcType(), &args); in ShortestPath()
40 Apply<Operation<ShortestPathArgs2> >("ShortestPath", ifst.ArcType(), &args); in ShortestPath()
Drandequivalent.cc33 Apply<Operation<RandEquivalentArgs1> >("RandEquivalent", fst1.ArcType(), in RandEquivalent()
47 Apply<Operation<RandEquivalentArgs2> >( in RandEquivalent()
/external/v8/src/
Dproxy.js55 return %Apply(construct, void 0, arguments, 0, %_ArgumentsLength());
77 var result = %Apply(callTrap, obj, arguments, 0, %_ArgumentsLength());
84 return %Apply(%_IsConstructCall() ? constructTrap : callTrap,
185 return %Apply(DerivedEnumerateTrap, handler, [], 0, 0)
/external/v8/test/mjsunit/harmony/
Dproxies-function.js117 assertEquals(42, %Apply(f, o, [11, 31], 0, 2))
120 assertEquals(42, %Apply(f, null, [11, 31], 0, 2))
147 assertEquals(24, %Apply(ff, {}, [12, 13], 0, 1))
150 assertEquals(24, %Apply(ff, {}, [12, 13], 0, 2))
177 assertEquals(42, %Apply(fff, {}, [], 0, 0))
180 assertEquals(42, %Apply(fff, {}, [12, 13], 0, 0))
183 assertEquals(42, %Apply(fff, {}, [12, 13], 0, 2))
219 assertEquals(27, %Apply(f, o, [12, 13, 14], 1, 2))
287 assertThrows(function(){ %Apply({}, f, [], 3, 0) }, "myexn")
288 assertThrows(function(){ %Apply({}, f, [3, 4], 0, 1) }, "myexn")
[all …]

12345678910