Lines Matching refs:trials_string
152 bool ParseFieldTrialsString(const std::string& trials_string, in ParseFieldTrialsString() argument
154 const StringPiece trials_string_piece(trials_string); in ParseFieldTrialsString()
157 while (next_item < trials_string.length()) { in ParseFieldTrialsString()
158 size_t name_end = trials_string.find(kPersistentStringSeparator, next_item); in ParseFieldTrialsString()
159 if (name_end == trials_string.npos || next_item == name_end) in ParseFieldTrialsString()
162 trials_string.find(kPersistentStringSeparator, name_end + 1); in ParseFieldTrialsString()
165 if (group_name_end == trials_string.npos) in ParseFieldTrialsString()
166 group_name_end = trials_string.length(); in ParseFieldTrialsString()
170 if (trials_string[next_item] == kActivationMarker) { in ParseFieldTrialsString()
740 const std::string& trials_string, in GetActiveFieldTrialGroupsFromString() argument
743 if (!ParseFieldTrialsString(trials_string, &entries)) in GetActiveFieldTrialGroupsFromString()
789 const std::string& trials_string, in CreateTrialsFromString() argument
792 if (trials_string.empty() || !global_) in CreateTrialsFromString()
796 if (!ParseFieldTrialsString(trials_string, &entries)) in CreateTrialsFromString()