Home
last modified time | relevance | path

Searched refs:trials_string (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/webrtc/system_wrappers/source/
Dfield_trial_default.cc26 std::string trials_string(trials_init_string); in FindFullName() local
27 if (trials_string.empty()) in FindFullName()
32 while (next_item < trials_string.length()) { in FindFullName()
35 size_t field_name_end = trials_string.find( in FindFullName()
37 if (field_name_end == trials_string.npos || field_name_end == next_item) in FindFullName()
39 size_t field_value_end = trials_string.find( in FindFullName()
41 if (field_value_end == trials_string.npos || in FindFullName()
44 std::string field_name(trials_string, next_item, in FindFullName()
46 std::string field_value(trials_string, field_name_end + 1, in FindFullName()
57 void InitFieldTrialsFromString(const char* trials_string) { in InitFieldTrialsFromString() argument
[all …]
/external/webrtc/webrtc/test/
Dfield_trial.cc31 void InitFieldTrialsFromString(const std::string& trials_string) { in InitFieldTrialsFromString() argument
38 if (trials_string.empty()) in InitFieldTrialsFromString()
43 while (next_item < trials_string.length()) { in InitFieldTrialsFromString()
44 size_t name_end = trials_string.find(kPersistentStringSeparator, next_item); in InitFieldTrialsFromString()
45 if (name_end == trials_string.npos || next_item == name_end) in InitFieldTrialsFromString()
47 size_t group_name_end = trials_string.find(kPersistentStringSeparator, in InitFieldTrialsFromString()
49 if (group_name_end == trials_string.npos || name_end + 1 == group_name_end) in InitFieldTrialsFromString()
51 std::string name(trials_string, next_item, name_end - next_item); in InitFieldTrialsFromString()
52 std::string group_name(trials_string, name_end + 1, in InitFieldTrialsFromString()
65 if (next_item == trials_string.length()) { in InitFieldTrialsFromString()
[all …]
/external/libchrome/base/metrics/
Dfield_trial.cc152 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
[all …]
Dfield_trial.h537 const std::string& trials_string,
558 const std::string& trials_string,
/external/webrtc/webrtc/system_wrappers/include/
Dfield_trial_default.h21 void InitFieldTrialsFromString(const char* trials_string);