Lines Matching refs:group_name
84 WriteStringPair(pickle, *trial_state.trial_name, *trial_state.group_name); in PickleFieldTrial()
89 *trial_state.trial_name, *trial_state.group_name, ¶ms); in PickleFieldTrial()
145 StringPiece group_name; member
179 entry.group_name = in ParseFieldTrialsString()
269 StringPiece* group_name) const { in GetTrialAndGroupName()
271 return ReadStringPair(&iter, trial_name, group_name); in GetTrialAndGroupName()
302 StringPiece* group_name) const { in ReadStringPair()
305 if (!iter->ReadStringPiece(group_name)) in ReadStringPair()
367 const std::string& FieldTrial::group_name() { in group_name() function in base::FieldTrial
436 void FieldTrial::SetGroupChoice(const std::string& group_name, int number) { in SetGroupChoice() argument
438 if (group_name.empty()) in SetGroupChoice()
441 group_name_ = group_name; in SetGroupChoice()
468 active_group->group_name = group_name_; in GetActiveGroup()
478 field_trial_state->group_name = &group_name_; in GetStateWhileLocked()
621 return field_trial->group_name(); in FindFullName()
646 it->group_name.find(kPersistentStringSeparator)); in StatesToString()
649 output->append(it->group_name); in StatesToString()
668 trial.group_name->find(kPersistentStringSeparator)); in AllStatesToString()
673 output->append(*trial.group_name); in AllStatesToString()
691 trial.group_name->find(kPersistentStringSeparator)); in AllParamsToString()
694 *trial.trial_name, *trial.group_name, ¶ms)) { in AllParamsToString()
702 output.append(encode_data_func(*trial.group_name)); in AllParamsToString()
750 group.group_name = entry.group_name.as_string(); in GetActiveFieldTrialGroupsFromString()
776 StringPiece group_name; in GetInitiallyActiveFieldTrials() local
778 entry->GetTrialAndGroupName(&trial_name, &group_name)) { in GetInitiallyActiveFieldTrials()
781 group.group_name = group_name.as_string(); in GetInitiallyActiveFieldTrials()
801 const std::string group_name = entry.group_name.as_string(); in CreateTrialsFromString() local
811 FieldTrial* trial = CreateFieldTrial(trial_name, group_name); in CreateTrialsFromString()
960 const std::string& group_name) { in CreateFieldTrial() argument
963 DCHECK_GE(group_name.size(), 0u); in CreateFieldTrial()
964 if (name.empty() || group_name.empty() || !global_) in CreateFieldTrial()
971 if (field_trial->group_name_internal() != group_name) in CreateFieldTrial()
976 field_trial = new FieldTrial(name, kTotalProbability, group_name, 0); in CreateFieldTrial()
1132 StringPiece group_name; in ClearParamsFromSharedMemoryForTesting() local
1133 if (!prev_entry->GetTrialAndGroupName(&trial_name, &group_name)) in ClearParamsFromSharedMemoryForTesting()
1139 pickle.WriteString(group_name); in ClearParamsFromSharedMemoryForTesting()
1346 StringPiece group_name; in CreateTrialsFromSharedMemory() local
1347 if (!entry->GetTrialAndGroupName(&trial_name, &group_name)) in CreateTrialsFromSharedMemory()
1353 CreateFieldTrial(trial_name.as_string(), group_name.as_string()); in CreateTrialsFromSharedMemory()