/external/chromium_org/chrome/browser/ |
H A D | chrome_browser_field_trials_desktop.cc | 38 // Create a 100% field trial based on the brand code. 53 scoped_refptr<base::FieldTrial> trial( 57 trial->AppendGroup("Yes", infinite_cache_probability); 58 trial->AppendGroup("Control", infinite_cache_probability); 62 // This trial is created by the VariationsService, but it needs to be disabled 64 base::FieldTrial* trial = base::FieldTrialList::Find("ShowProfileSwitcher"); local 65 if (trial && !profiles::IsMultipleProfilesEnabled()) 66 trial->Disable(); 79 // Initialize the field trial. We declare all of the groups here (so that 83 scoped_refptr<base::FieldTrial> trial( [all...] |
H A D | io_thread.cc | 129 // The SPDY trial composes two different trial plus control groups: 133 // trial runs continuously. 773 base::FieldTrial* trial = base::FieldTrialList::Find(kSpdyFieldTrialName); local 774 if (trial) 775 trial->Disable(); 802 // No SPDY command-line flags have been specified. Examine trial groups. 1121 // Always fetch the field trial group to ensure it is reported correctly. 1123 // so long as trial is actually queried.
|
/external/chromium_org/chrome/browser/predictors/ |
H A D | resource_prefetch_common.cc | 60 std::string trial = base::FieldTrialList::FindFullName( local 63 if (trial == "LearningHost") { 66 } else if (trial == "LearningURL") { 69 } else if (trial == "Learning") { 73 } else if (trial == "PrefetchingHost") { 77 } else if (trial == "PrefetchingURL") { 81 } else if (trial == "Prefetching") { 87 } else if (trial == "PrefetchingLowConfidence") { 97 } else if (trial == "PrefetchingHighConfidence") { 107 } else if (trial [all...] |
/external/chromium_org/components/omnibox/ |
H A D | omnibox_field_trial_unittest.cc | 36 // Creates and activates a field trial. 39 base::FieldTrial* trial = base::FieldTrialList::CreateFieldTrial( local 41 trial->group(); 42 return trial; 45 // Add a field trial disabling ZeroSuggest. 95 // Test if GetDisabledProviderTypes() properly parses various field trial 113 SCOPED_TRACE("Valid group name, unsupported trial name."); 130 // Test if InZeroSuggestFieldTrial() properly parses various field trial 149 SCOPED_TRACE("Bundled field trial parameters.");
|
/external/chromium_org/chrome/common/variations/ |
H A D | uniformity_field_trials.cc | 29 // A uniformity trial used to compare one-time-randomized and 33 // Set up a uniformity field trial. |one_time_randomized| indicates if the 34 // field trial is one-time randomized or session-randomized. |trial_name_string| 36 // the trial name. |num_trial_groups| must be a divisor of 100 (e.g. 5, 20) 55 scoped_refptr<base::FieldTrial> trial( 63 // Loop starts with group 1 because the field trial automatically creates a 69 trial->AppendGroup(group_name, kProbabilityPerGroup); 75 // Now that all groups have been appended, call group() on the trial to 76 // ensure that our trial is registered. This resolves an off-by-one issue 77 // where the default group never gets chosen if we don't "use" the trial 108 base::FieldTrial* trial = local [all...] |
/external/chromium_org/components/variations/ |
H A D | variations_associated_data_unittest.cc | 18 // Note that this will do the group assignment in |trial| if not already done. 19 VariationID GetIDForTrial(IDCollectionKey key, base::FieldTrial* trial) { argument 20 return GetGoogleVariationID(key, trial->trial_name(), trial->group_name()); 23 // Tests whether a field trial is active (i.e. group() has been called on it). 66 // Test that if the trial is immediately disabled, GetGoogleVariationID just 70 scoped_refptr<base::FieldTrial> trial( 71 CreateFieldTrial("trial", 100, "default", &default_group_number)); 73 ASSERT_EQ(default_group_number, trial->group()); 74 ASSERT_EQ(EMPTY_ID, GetIDForTrial(GOOGLE_WEB_PROPERTIES, trial [all...] |
/external/chromium_org/chrome/browser/chromeos/ |
H A D | external_metrics.cc | 51 // Establishes field trial for wifi scanning in chromeos. crbug.com/242733. 58 scoped_refptr<base::FieldTrial> trial = local 66 group_to_char[trial->AppendGroup("FullScan", 0)] = "c"; 67 group_to_char[trial->AppendGroup("33Percent_4MinMax", 0)] = "1"; 68 group_to_char[trial->AppendGroup("50Percent_4MinMax", 0)] = "2"; 69 group_to_char[trial->AppendGroup("50Percent_8MinMax", 0)] = "3"; 70 group_to_char[trial->AppendGroup("100Percent_8MinMax", 0)] = "4"; 71 group_to_char[trial->AppendGroup("100Percent_1MinSeen_A", 0)] = "5"; 72 group_to_char[trial->AppendGroup("100Percent_1MinSeen_B", 0)] = "6"; 73 group_to_char[trial [all...] |
/external/chromium_org/chrome/browser/extensions/ |
H A D | extension_install_prompt_experiment.cc | 177 base::FieldTrial* trial = base::FieldTrialList::Find(kExperimentName); local 180 if (trial) { 182 base::SplitString(trial->group_name().c_str(), '_', &tokens);
|
/external/chromium_org/chrome/browser/prefs/ |
H A D | chrome_pref_service_factory.cc | 261 // Use the strongest enforcement setting in the absence of a field trial 273 base::FieldTrial* trial = local 276 if (trial) { 277 const std::string& group_name = trial->group_name();
|
/external/chromium_org/chrome/renderer/ |
H A D | chrome_render_process_observer.cc | 366 base::FieldTrial* trial = local 369 CHECK(trial) << field_trial_name << ":" << group_name; 370 // Ensure the trial is marked as "used" by calling group() on it. This is 371 // needed to ensure the trial is properly reported in renderer crash reports. 372 trial->group();
|
/external/chromium_org/third_party/icu/source/common/ |
H A D | caniter.cpp | 566 UnicodeString trial; local 567 nfd.normalize(temp, trial, status); 568 if(U_FAILURE(status) || trial.compare(segment+segmentPos, segLen - segmentPos) != 0) {
|
/external/icu/icu4c/source/common/ |
H A D | caniter.cpp | 566 UnicodeString trial; local 567 nfd.normalize(temp, trial, status); 568 if(U_FAILURE(status) || trial.compare(segment+segmentPos, segLen - segmentPos) != 0) {
|
/external/chromium_org/base/metrics/ |
H A D | field_trial.cc | 83 // the trial to the default group. 101 // forced trial, it will not have the same value as the default group 203 DVLOG(1) << "Field trial: " << trial_name_ << " Group choice:" << group_name_; 291 // Check if the field trial has already been created in some other way. 295 // If the default group name differs between the existing forced trial 296 // and this trial, then use a different value for the default group number. 300 // chosen for the forced trial (which has been finalized when it was 429 FieldTrial* trial = CreateFieldTrial(name, group_name); local 430 if (!trial) 433 // Call |group()| to mark the trial a 530 Register(FieldTrial* trial) argument [all...] |
H A D | field_trial_unittest.cc | 51 virtual void OnFieldTrialGroupFinalized(const std::string& trial, 53 trial_name_ = trial; 142 scoped_refptr<FieldTrial> trial; local 146 std::string name = StringPrintf("trial%d", ++counter); 147 trial = CreateFieldTrial(name, 10, winner, &default_group_number); 148 trial->AppendGroup(loser, 5); // 50% chance of not being chosen. 150 } while (trial->group_ != FieldTrial::kNotFinalized); 153 EXPECT_EQ(default_group_number, trial->group()); 156 EXPECT_EQ(winner, trial->group_name()); 171 scoped_refptr<FieldTrial> trial local 195 scoped_refptr<FieldTrial> trial = local 219 scoped_refptr<FieldTrial> trial = local 251 FieldTrial* trial = FieldTrialList::FactoryGetFieldTrial( local 266 scoped_refptr<FieldTrial> trial = local 318 scoped_refptr<FieldTrial> trial = local 351 scoped_refptr<FieldTrial> trial = local 398 FieldTrial* trial = FieldTrialList::Find("Some_name"); local 399 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial); local 404 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial); local 414 FieldTrial* trial = FieldTrialList::Find("tname"); local 415 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial); local 433 scoped_refptr<FieldTrial> trial = local 554 FieldTrial* trial = FieldTrialList::Find("Foo"); local 555 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial); local 560 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial); local 570 FieldTrial* trial = FieldTrialList::Find("Some_name"); local 571 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial); local 588 scoped_refptr<FieldTrial> trial = local 603 scoped_refptr<FieldTrial> trial = local 611 scoped_refptr<FieldTrial> trial = local 698 scoped_refptr<FieldTrial> trial = local 712 scoped_refptr<FieldTrial> trial = local 827 scoped_refptr<FieldTrial> trial = local 846 scoped_refptr<FieldTrial> trial = local 870 scoped_refptr<FieldTrial> trial = local 894 scoped_refptr<FieldTrial> trial = local 916 scoped_refptr<FieldTrial> trial = local [all...] |
/external/chromium_org/third_party/libwebp/enc/ |
H A D | alpha.c | 240 FilterTrial trial; local 243 &trial); 244 if (ok && trial.score < best.score) { 246 best = trial; 248 VP8BitWriterWipeOut(&trial.bw);
|
/external/webp/src/enc/ |
H A D | alpha.c | 240 FilterTrial trial; local 243 &trial); 244 if (ok && trial.score < best.score) { 246 best = trial; 248 VP8BitWriterWipeOut(&trial.bw);
|
/external/aac/libAACdec/src/ |
H A D | aacdec_hcrs.cpp | 127 UINT trial; local 215 for ( trial = *pNumSegment; trial > 0; trial-- ) { 299 } /* end of trial loop */
|
/external/chromium_org/components/metrics/ |
H A D | metrics_service.cc | 269 SyntheticTrialGroup::SyntheticTrialGroup(uint32 trial, uint32 group) { argument 270 id.name = trial; 1133 const SyntheticTrialGroup& trial) { 1135 if (synthetic_trial_groups_[i].id.name == trial.id.name) { 1136 if (synthetic_trial_groups_[i].id.group != trial.id.group) { 1137 synthetic_trial_groups_[i].id.group = trial.id.group; 1144 SyntheticTrialGroup trial_group = trial; 1132 RegisterSyntheticFieldTrial( const SyntheticTrialGroup& trial) argument
|
/external/chromium_org/third_party/icu/source/test/perf/howExpensiveIs/ |
H A D | howExpensiveIs.cpp | 173 fprintf(stderr, "trial: %d/%d = %.9fs\n", i, ITERATIONS,times[i]); 299 double trial = unum_parseDouble(fFmt,fStr,fLen, NULL, &setupStatus); local 300 if(U_SUCCESS(setupStatus) && trial!=fExpect) { 303 fFile,fLine,getName(),trial,fExpect); 308 double trial=0.0; local 311 trial = unum_parse(fFmt,fStr,fLen, NULL, &setupStatus); 428 int32_t trial = unum_formatDouble(fFmt,fExpect, buf, 100, NULL, &setupStatus); local 430 || trial!=fLen 431 ||trial<=0 432 || u_strncmp(fStr,buf,trial) ) { 442 int32_t trial; local 505 int32_t trial = unum_formatInt64(fFmt,fExpect, buf, 100, NULL, &setupStatus); local 519 int32_t trial; local 600 int32_t trial; local [all...] |
/external/icu/icu4c/source/test/perf/howExpensiveIs/ |
H A D | howExpensiveIs.cpp | 177 fprintf(stderr, "trial: %d/%d = %.9fs\n", i, ITERATIONS,times[i]); 303 double trial = unum_parseDouble(fFmt,fStr,fLen, NULL, &setupStatus); local 304 if(U_SUCCESS(setupStatus) && trial!=fExpect) { 307 fFile,fLine,getName(),trial,fExpect); 312 double trial=0.0; local 315 trial = unum_parse(fFmt,fStr,fLen, NULL, &setupStatus); 432 int32_t trial = unum_formatDouble(fFmt,fExpect, buf, 100, NULL, &setupStatus); local 434 || trial!=fLen 435 ||trial<=0 436 || u_strncmp(fStr,buf,trial) ) { 446 int32_t trial; local 556 int32_t trial = unum_formatInt64(fFmt,fExpect, buf, 100, NULL, &setupStatus); local 570 int32_t trial; local 663 int32_t trial; local [all...] |
/external/chromium_org/chrome/browser/autocomplete/ |
H A D | search_provider_unittest.cc | 239 // Create a field trial, with ZeroSuggest activation based on |enabled|. 551 base::FieldTrial* trial = base::FieldTrialList::CreateFieldTrial( local 553 trial->group(); 2404 // A basic test that verifies the field trial triggered parsing logic. 2414 // Check for the match and field trial triggered bits. 3114 // Create field trial. 3133 // Not in field trial.
|
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | dtptngen.cpp | 1024 DateTimeMatcher trial = it.next(); local 1025 if (trial.equals(skipMatcher)) { 1028 int32_t distance=source.getDistance(trial, includeMask, tempInfo); 1031 bestPattern=patternMap->getPatternFromSkeleton(*trial.getSkeletonPtr(), &specifiedSkeleton); 1281 UnicodeString trial = getBestPattern(current.getPattern(), status); local 1282 if (trial == *pattern) {
|
/external/icu/icu4c/source/i18n/ |
H A D | dtptngen.cpp | 1025 DateTimeMatcher trial = it.next(); local 1026 if (trial.equals(skipMatcher)) { 1029 int32_t distance=source.getDistance(trial, includeMask, tempInfo); 1032 bestPattern=patternMap->getPatternFromSkeleton(*trial.getSkeletonPtr(), &specifiedSkeleton); 1282 UnicodeString trial = getBestPattern(current.getPattern(), status); local 1283 if (trial == *pattern) {
|
/external/chromium_org/chrome/browser/prerender/ |
H A D | prerender_browsertest.cc | 1100 base::FieldTrial* trial = base::FieldTrialList::CreateFieldTrial( local 1102 trial->group(); 1105 // Verifies, for the current field trial, whether
|
/external/clang/tools/c-index-test/ |
H A D | c-index-test.c | 1516 int trial; local 1560 for (trial = 0; trial < trials; ++trial) { 1562 if (parse_remapped_files_with_try(trial, argc, argv, 0, 1571 trial >= remap_after_trial ? num_unsaved_files : 0, 1572 trial >= remap_after_trial ? unsaved_files : 0,
|