• Home
  • Raw
  • Download

Lines Matching refs:trial_name

79   if (!WriteStringPair(pickle, *trial_state.trial_name,  in PickleFieldTrial()
87 *trial_state.trial_name, *trial_state.group_name, &params); in PickleFieldTrial()
145 StringPiece trial_name; member
178 entry.trial_name = in ParseFieldTrialsString()
261 StringPiece* trial_name, in GetTrialAndGroupName() argument
264 return ReadStringPair(&iter, trial_name, group_name); in GetTrialAndGroupName()
294 StringPiece* trial_name, in ReadStringPair() argument
296 if (!iter->ReadStringPiece(trial_name)) in ReadStringPair()
391 const std::string& trial_name, in CreateSimulatedFieldTrial() argument
395 return new FieldTrial(trial_name, total_probability, default_group_name, in CreateSimulatedFieldTrial()
399 FieldTrial::FieldTrial(const std::string& trial_name, in FieldTrial() argument
403 : trial_name_(trial_name), in FieldTrial()
459 active_group->trial_name = trial_name_; in GetActiveGroup()
468 field_trial_state->trial_name = &trial_name_; in GetState()
478 field_trial_state->trial_name = &trial_name_; in GetStateWhileLocked()
524 const std::string& trial_name, in FactoryGetFieldTrial() argument
533 trial_name, total_probability, default_group_name, year, month, in FactoryGetFieldTrial()
539 const std::string& trial_name, in FactoryGetFieldTrialWithRandomizationSeed() argument
552 FieldTrial* existing_trial = Find(trial_name); in FactoryGetFieldTrialWithRandomizationSeed()
587 entropy_value = entropy_provider->GetEntropyForTrial(trial_name, in FactoryGetFieldTrialWithRandomizationSeed()
595 FieldTrial* field_trial = new FieldTrial(trial_name, total_probability, in FactoryGetFieldTrialWithRandomizationSeed()
604 FieldTrial* FieldTrialList::Find(const std::string& trial_name) { in Find() argument
608 return global_->PreLockedFind(trial_name); in Find()
612 int FieldTrialList::FindValue(const std::string& trial_name) { in FindValue() argument
613 FieldTrial* field_trial = Find(trial_name); in FindValue()
620 std::string FieldTrialList::FindFullName(const std::string& trial_name) { in FindFullName() argument
621 FieldTrial* field_trial = Find(trial_name); in FindFullName()
628 bool FieldTrialList::TrialExists(const std::string& trial_name) { in TrialExists() argument
629 return Find(trial_name) != NULL; in TrialExists()
633 bool FieldTrialList::IsTrialActive(const std::string& trial_name) { in IsTrialActive() argument
634 FieldTrial* field_trial = Find(trial_name); in IsTrialActive()
646 it->trial_name.find(kPersistentStringSeparator)); in StatesToString()
649 output->append(it->trial_name); in StatesToString()
667 trial.trial_name->find(kPersistentStringSeparator)); in AllStatesToString()
672 output->append(*trial.trial_name); in AllStatesToString()
706 group.trial_name = entry.trial_name.as_string(); in GetActiveFieldTrialGroupsFromString()
731 StringPiece trial_name; in GetInitiallyActiveFieldTrials() local
734 entry->GetTrialAndGroupName(&trial_name, &group_name)) { in GetInitiallyActiveFieldTrials()
736 group.trial_name = trial_name.as_string(); in GetInitiallyActiveFieldTrials()
756 const std::string trial_name = entry.trial_name.as_string(); in CreateTrialsFromString() local
759 if (ContainsKey(ignored_trial_names, trial_name)) in CreateTrialsFromString()
762 FieldTrial* trial = CreateFieldTrial(trial_name, group_name); in CreateTrialsFromString()
991 tracker->RecordFieldTrial(field_trial->trial_name(), in NotifyFieldTrialGroupSelection()
997 field_trial->trial_name(), field_trial->group_name_internal()); in NotifyFieldTrialGroupSelection()
1070 StringPiece trial_name; in ClearParamsFromSharedMemoryForTesting() local
1072 if (!prev_entry->GetTrialAndGroupName(&trial_name, &group_name)) in ClearParamsFromSharedMemoryForTesting()
1077 pickle.WriteString(trial_name); in ClearParamsFromSharedMemoryForTesting()
1095 FieldTrial* trial = global_->PreLockedFind(trial_name.as_string()); in ClearParamsFromSharedMemoryForTesting()
1194 StringPiece trial_name; in CreateTrialsFromSharedMemory() local
1196 if (!entry->GetTrialAndGroupName(&trial_name, &group_name)) in CreateTrialsFromSharedMemory()
1202 CreateFieldTrial(trial_name.as_string(), group_name.as_string()); in CreateTrialsFromSharedMemory()
1361 CHECK(!global_->PreLockedFind(trial->trial_name())) << trial->trial_name(); in Register()
1364 global_->registered_[trial->trial_name()] = trial; in Register()