• Home
  • Raw
  • Download

Lines Matching refs:Experiment

28     Experiment::SINGLE_VALUE, command_line_switch, switch_value, NULL, 0
32 Experiment::MULTI_VALUE, "", "", choices, arraysize(choices)
75 const Experiment kExperiments[] = {
300 const Experiment* experiments = kExperiments;
362 std::string NameForChoice(const Experiment& e, int index) { in NameForChoice()
363 DCHECK_EQ(Experiment::MULTI_VALUE, e.type); in NameForChoice()
370 void AddInternalName(const Experiment& e, std::set<std::string>* names) { in AddInternalName()
371 if (e.type == Experiment::SINGLE_VALUE) { in AddInternalName()
374 DCHECK_EQ(Experiment::MULTI_VALUE, e.type); in AddInternalName()
382 bool ValidateExperiment(const Experiment& e) { in ValidateExperiment()
384 case Experiment::SINGLE_VALUE: in ValidateExperiment()
388 case Experiment::MULTI_VALUE: in ValidateExperiment()
454 Value* CreateChoiceData(const Experiment& experiment, in CreateChoiceData()
456 DCHECK_EQ(Experiment::MULTI_VALUE, experiment.type); in CreateChoiceData()
459 const Experiment::Choice& choice = experiment.choices[i]; in CreateChoiceData()
485 const Experiment& experiment = experiments[i]; in GetFlagsExperimentsData()
498 case Experiment::SINGLE_VALUE: in GetFlagsExperimentsData()
503 case Experiment::MULTI_VALUE: in GetFlagsExperimentsData()
577 const Experiment& e = experiments[i]; in ConvertFlagsToSwitches()
578 if (e.type == Experiment::SINGLE_VALUE) { in ConvertFlagsToSwitches()
649 const Experiment* e = NULL; in SetExperimentEnabled()
658 if (e->type == Experiment::SINGLE_VALUE) { in SetExperimentEnabled()
709 void SetExperiments(const Experiment* e, size_t count) { in SetExperiments()
719 const Experiment* GetExperiments(size_t* count) { in GetExperiments()