/external/chromium_org/chrome/browser/ |
H A D | chrome_browser_field_trials_desktop.cc | 43 // Create a 100% field trial based on the brand code. 58 scoped_refptr<base::FieldTrial> trial( 62 trial->AppendGroup("Yes", infinite_cache_probability); 63 trial->AppendGroup("Control", infinite_cache_probability); 67 // This trial is created by the VariationsService, but it needs to be disabled 69 base::FieldTrial* trial = base::FieldTrialList::Find("ShowProfileSwitcher"); local 70 if (trial && !profiles::IsMultipleProfilesEnabled()) 71 trial->Disable(); 84 // Initialize the field trial. We declare all of the groups here (so that 88 scoped_refptr<base::FieldTrial> trial( [all...] |
H A D | io_thread.cc | 755 base::FieldTrial* trial = base::FieldTrialList::Find(kSpdyFieldTrialName); local 756 if (trial) 757 trial->Disable(); 1062 // Always fetch the field trial group to ensure it is reported correctly. 1064 // so long as trial is actually queried.
|
/external/chromium_org/chrome/browser/omnibox/ |
H A D | omnibox_field_trial_unittest.cc | 37 // Creates and activates a field trial. 40 base::FieldTrial* trial = base::FieldTrialList::CreateFieldTrial( local 42 trial->group(); 43 return trial; 86 // Test if GetDisabledProviderTypes() properly parses various field trial 104 SCOPED_TRACE("Valid group name, unsupported trial name."); 121 // Test if InZeroSuggestFieldTrial() properly parses various field trial 127 SCOPED_TRACE("Valid group name, unsupported trial name."); 142 SCOPED_TRACE("Valid trial name, unsupported group name."); 164 SCOPED_TRACE("Bundled field trial parameter [all...] |
/external/chromium_org/chrome/common/variations/ |
H A D | uniformity_field_trials.cc | 19 // Set up a uniformity field trial. |one_time_randomized| indicates if the 20 // field trial is one-time randomized or session-randomized. |trial_name_string| 22 // the trial name. |num_trial_groups| must be a divisor of 100 (e.g. 5, 20) 41 scoped_refptr<base::FieldTrial> trial( 48 // Loop starts with group 1 because the field trial automatically creates a 54 trial->AppendGroup(group_name, kProbabilityPerGroup); 60 // Now that all groups have been appended, call group() on the trial to 61 // ensure that our trial is registered. This resolves an off-by-one issue 62 // where the default group never gets chosen if we don't "use" the trial. 63 const int chosen_group = trial 93 base::FieldTrial* trial = local [all...] |
/external/chromium_org/components/variations/ |
H A D | variations_associated_data_unittest.cc | 18 // FieldTrial. Note that this will do the group assignment in |trial| if not 20 VariationID GetIDForTrial(IDCollectionKey key, base::FieldTrial* trial) { argument 21 return GetGoogleVariationID(key, trial->trial_name(), trial->group_name()); 24 // Tests whether a field trial is active (i.e. group() has been called on it). 67 // Test that if the trial is immediately disabled, GetGoogleVariationID just 71 scoped_refptr<base::FieldTrial> trial( 72 CreateFieldTrial("trial", 100, "default", &default_group_number)); 74 ASSERT_EQ(default_group_number, trial->group()); 75 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 | 240 // Use the strongest enforcement setting in the absence of a field trial 251 base::FieldTrial* trial = local 254 if (trial) { 255 const std::string& group_name = trial->group_name();
|
/external/chromium_org/third_party/icu/source/common/ |
H A D | caniter.cpp | 565 UnicodeString trial; local 566 nfd.normalize(temp, trial, status); 567 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 427 FieldTrial* trial = CreateFieldTrial(name, group_name); local 428 if (!trial) 431 // Call |group()| to mark the trial a 528 Register(FieldTrial* trial) argument [all...] |
H A D | field_trial_unittest.cc | 51 virtual void OnFieldTrialGroupFinalized(const std::string& trial, 53 trial_name_ = trial; 140 scoped_refptr<FieldTrial> trial; local 144 std::string name = StringPrintf("trial%d", ++counter); 145 trial = CreateFieldTrial(name, 10, winner, &default_group_number); 146 trial->AppendGroup(loser, 5); // 50% chance of not being chosen. 148 } while (trial->group_ != FieldTrial::kNotFinalized); 151 EXPECT_EQ(default_group_number, trial->group()); 154 EXPECT_EQ(winner, trial->group_name()); 169 FieldTrial* trial local 192 FieldTrial* trial = CreateFieldTrial(name, 10, default_group_name, NULL); local 215 FieldTrial* trial = local 247 FieldTrial* trial = FieldTrialList::FactoryGetFieldTrial( local 262 FieldTrial* trial = CreateFieldTrial(no_group, 10, "Default", NULL); local 313 FieldTrial* trial = local 346 FieldTrial* trial = local 391 FieldTrial* trial = FieldTrialList::Find("Some_name"); local 392 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial); local 397 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial); local 418 FieldTrial* trial = CreateFieldTrial("Some name", 10, "Default", NULL); local 538 FieldTrial* trial = FieldTrialList::Find("Foo"); local 539 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial); local 544 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial); local 554 FieldTrial* trial = FieldTrialList::Find("Some_name"); local 555 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial); local 572 FieldTrial* trial = CreateFieldTrial("Some_name", 10, "Default", NULL); local 586 FieldTrial* trial = local 594 FieldTrial* trial = CreateFieldTrial("trial", 100, "default", NULL); local 680 FieldTrial* trial = local 694 FieldTrial* trial = local 809 FieldTrial* trial = local 828 FieldTrial* trial = local 852 FieldTrial* trial = local 876 FieldTrial* trial = local 898 FieldTrial* trial = local [all...] |
/external/chromium_org/chrome/renderer/ |
H A D | chrome_render_process_observer.cc | 392 base::FieldTrial* trial = local 395 CHECK(trial) << field_trial_name << ":" << group_name; 396 // Ensure the trial is marked as "used" by calling group() on it. This is 397 // needed to ensure the trial is properly reported in renderer crash reports. 398 trial->group();
|
/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/chrome/browser/autocomplete/ |
H A D | search_provider_unittest.cc | 465 base::FieldTrial* trial = base::FieldTrialList::CreateFieldTrial( local 467 trial->group(); 2128 // A basic test that verifies the field trial triggered parsing logic. 2150 // Check for the match and field trial triggered bits. 2902 // Create field trial. 2921 // Not in field trial.
|
/external/chromium_org/components/metrics/ |
H A D | metrics_service.cc | 268 SyntheticTrialGroup::SyntheticTrialGroup(uint32 trial, uint32 group) { argument 269 id.name = trial; 1115 const SyntheticTrialGroup& trial) { 1117 if (synthetic_trial_groups_[i].id.name == trial.id.name) { 1118 if (synthetic_trial_groups_[i].id.group != trial.id.group) { 1119 synthetic_trial_groups_[i].id.group = trial.id.group; 1126 SyntheticTrialGroup trial_group = trial; 1114 RegisterSyntheticFieldTrial( const SyntheticTrialGroup& trial) argument
|
/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/third_party/icu/source/i18n/ |
H A D | dtptngen.cpp | 971 DateTimeMatcher trial = it.next(); local 972 if (trial.equals(skipMatcher)) { 975 int32_t distance=source.getDistance(trial, includeMask, tempInfo); 978 bestPattern=patternMap->getPatternFromSkeleton(*trial.getSkeletonPtr(), &specifiedSkeleton); 1228 UnicodeString trial = getBestPattern(current.getPattern(), status); local 1229 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/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,
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
H A D | com.ibm.icu_4.2.1.v20100412.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |