Lines Matching refs:trials_string
79 bool ParseFieldTrialsString(const std::string& trials_string, in ParseFieldTrialsString() argument
81 const StringPiece trials_string_piece(trials_string); in ParseFieldTrialsString()
84 while (next_item < trials_string.length()) { in ParseFieldTrialsString()
85 size_t name_end = trials_string.find(kPersistentStringSeparator, next_item); in ParseFieldTrialsString()
86 if (name_end == trials_string.npos || next_item == name_end) in ParseFieldTrialsString()
89 trials_string.find(kPersistentStringSeparator, name_end + 1); in ParseFieldTrialsString()
92 if (group_name_end == trials_string.npos) in ParseFieldTrialsString()
93 group_name_end = trials_string.length(); in ParseFieldTrialsString()
97 if (trials_string[next_item] == kActivationMarker) { in ParseFieldTrialsString()
511 const std::string& trials_string, in GetActiveFieldTrialGroupsFromString() argument
514 if (!ParseFieldTrialsString(trials_string, &entries)) in GetActiveFieldTrialGroupsFromString()
529 const std::string& trials_string, in CreateTrialsFromString() argument
532 if (trials_string.empty() || !global_) in CreateTrialsFromString()
536 if (!ParseFieldTrialsString(trials_string, &entries)) in CreateTrialsFromString()