Searched refs:study (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/chrome/browser/metrics/variations/
H A Dvariations_seed_processor.cc64 // studies have been added (and do not add an expired study if a corresponding
65 // non-expired study got added). This way, if there's both an expired and a
66 // non-expired study that applies, the non-expired study takes priority.
71 const Study& study = seed.study(i); local
72 if (!ShouldAddStudy(study, locale, reference_date, version, channel))
75 if (IsStudyExpired(study, reference_date)) {
76 expired_studies.push_back(&study);
78 CreateTrialFromStudy(study, fals
158 CreateTrialFromStudy(const Study& study, bool is_expired) argument
239 IsStudyExpired(const Study& study, const base::Time& date_time) argument
250 ShouldAddStudy( const Study& study, const std::string& locale, const base::Time& reference_date, const base::Version& version, Study_Channel channel) argument
288 ValidateStudyAndComputeTotalProbability( const Study& study, base::FieldTrial::Probability* total_probability) argument
[all...]
H A Dvariations_seed_processor_unittest.cc31 // Adds an experiment to |study| with the specified |name| and |probability|.
33 Study* study) {
34 Study_Experiment* experiment = study->add_experiment();
40 // Populates |study| with test data used for testing associating command line
41 // flags with trials groups. The study will contain three groups, a default
50 Study study; local
51 study.set_name(kFlagStudyName);
52 study.set_default_experiment_name(kNonFlagGroupName);
54 AddExperiment(kNonFlagGroupName, default_group_probability, &study);
55 AddExperiment(kFlagGroup1Name, flag_group1_probability, &study)
32 AddExperiment(const std::string& name, int probability, Study* study) argument
320 Study study = CreateStudyWithFlagGroups(100, 0, 0); local
333 Study study = CreateStudyWithFlagGroups(100, 0, 0); local
347 Study study = CreateStudyWithFlagGroups(100, 0, 0); local
360 Study study = CreateStudyWithFlagGroups(1, 999, 999); local
380 Study study; local
439 Study study; local
510 Study study; local
[all...]
H A Dvariations_seed_processor.h15 #include "chrome/browser/metrics/proto/study.pb.h"
52 // Checks whether a study is applicable for the given |channel| per |filter|.
55 // Checks whether a study is applicable for the given |locale| per |filter|.
58 // Checks whether a study is applicable for the given |platform| per |filter|.
61 // Checks whether a study is applicable for the given date/time per |filter|.
65 // Checks whether a study is applicable for the given version per |filter|.
69 // Creates and registers a field trial from the |study| data. Disables the
71 void CreateTrialFromStudy(const Study& study, bool is_expired);
73 // Checks whether |study| is expired using the given date/time.
74 bool IsStudyExpired(const Study& study, cons
[all...]
H A Dvariations_service_unittest.cc14 #include "chrome/browser/metrics/proto/study.pb.h"
63 // study called "test", which contains one experiment called "abc" with
64 // probability weight 100. |seed|'s study field will be cleared before adding
65 // the new study.
68 Study* study = seed.add_study(); local
69 study->set_name("test");
70 study->set_default_experiment_name("abc");
71 Study_Experiment* experiment = study->add_experiment();
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/
H A Dgrammar.rb71 study
260 def study method in class:ANTLR3.Test.Grammar
282 study
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Dtask.rb263 study
402 def study method in class:ANTLR3
433 study
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/
H A DRuby.stg1270 # main rule used to study the input at the current position,

Completed in 139 milliseconds