• Home
  • Raw
  • Download

Lines Matching refs:trials_string

73 bool FieldTrialsStringIsValid(const char* trials_string) {  in FieldTrialsStringIsValid()  argument
74 return FieldTrialsStringIsValidInternal(trials_string); in FieldTrialsStringIsValid()
79 const absl::string_view trials_string) { in InsertOrReplaceFieldTrialStringsInMap() argument
80 if (FieldTrialsStringIsValidInternal(trials_string)) { in InsertOrReplaceFieldTrialStringsInMap()
82 rtc::split(std::string(trials_string), '/', &tokens); in InsertOrReplaceFieldTrialStringsInMap()
88 RTC_DCHECK(false) << "Invalid field trials string:" << trials_string; in InsertOrReplaceFieldTrialStringsInMap()
109 std::string trials_string(trials_init_string); in FindFullName() local
110 if (trials_string.empty()) in FindFullName()
114 while (next_item < trials_string.length()) { in FindFullName()
117 trials_string.find(kPersistentStringSeparator, next_item); in FindFullName()
118 if (field_name_end == trials_string.npos || field_name_end == next_item) in FindFullName()
121 trials_string.find(kPersistentStringSeparator, field_name_end + 1); in FindFullName()
122 if (field_value_end == trials_string.npos || in FindFullName()
125 std::string field_name(trials_string, next_item, in FindFullName()
127 std::string field_value(trials_string, field_name_end + 1, in FindFullName()
139 void InitFieldTrialsFromString(const char* trials_string) { in InitFieldTrialsFromString() argument
140 RTC_LOG(LS_INFO) << "Setting field trial string:" << trials_string; in InitFieldTrialsFromString()
142 if (trials_string) { in InitFieldTrialsFromString()
143 RTC_DCHECK(FieldTrialsStringIsValidInternal(trials_string)) in InitFieldTrialsFromString()
144 << "Invalid field trials string:" << trials_string; in InitFieldTrialsFromString()
147 trials_init_string = trials_string; in InitFieldTrialsFromString()