/frameworks/wilhelm/tools/hashgen/ |
part8.c | 5 SLInterfaceID trial = &SL_IID_array[MPH]; variable 6 if (!memcmp(iid, trial, sizeof(struct SLInterfaceID_)))
|
/frameworks/wilhelm/src/autogen/ |
IID_to_MPH.c | 254 SLInterfaceID trial = &SL_IID_array[MPH]; local 255 if (!memcmp(iid, trial, sizeof(struct SLInterfaceID_)))
|
/external/icu4c/layout/ |
LookupTables.cpp | 34 const LookupSegment *trial = (const LookupSegment *) ((char *) entry + extra); local 36 if (SWAPW(trial->lastGlyph) <= ttGlyph) { 37 entry = trial; 42 trial = (const LookupSegment *) ((char *) entry + probe); 44 if (SWAPW(trial->lastGlyph) <= ttGlyph) { 45 entry = trial; 63 const LookupSingle *trial = (const LookupSingle *) ((char *) entry + extra); local 65 if (SWAPW(trial->glyph) <= ttGlyph) { 66 entry = trial; 71 trial = (const LookupSingle *) ((char *) entry + probe) [all...] |
/external/chromium_org/chrome/browser/chromeos/login/ |
default_pinned_apps_field_trial_unittest.cc | 62 base::FieldTrial* trial = base::FieldTrialList::Find("DefaultPinnedApps"); local 63 ASSERT_TRUE(trial != NULL); 64 EXPECT_EQ("Existing", trial->group_name()); 73 base::FieldTrial* trial = base::FieldTrialList::Find("DefaultPinnedApps"); local 74 ASSERT_TRUE(trial != NULL); 75 const std::string allocated_group = trial->group_name(); 86 // But he/she should still be included in the trial and in the same group. 87 trial = base::FieldTrialList::Find("DefaultPinnedApps"); 88 EXPECT_EQ(allocated_group, trial->group_name());
|
default_pinned_apps_field_trial.cc | 47 // Global state of trial setup. 103 // is the case, kick the user out of the trial and returns true. 127 // No trial if multiple profiles are enabled. 135 scoped_refptr<base::FieldTrial> trial = local 141 // Existing users already have their default pinned apps and have the trial 143 trial->AppendGroup("Control", 50); 144 alternate_group = trial->AppendGroup("Alternate", 50); 148 base::FieldTrial* trial = base::FieldTrialList::Find(kExperimentName); local 149 if (!trial) 160 trial->Disable() [all...] |
/external/chromium_org/chrome/browser/gpu/ |
chrome_gpu_util.cc | 31 base::FieldTrial* trial = local 33 if (trial) 34 trial->Disable(); 38 // Enable the field trial only on desktop OS's. 50 // Don't run the trial on Windows XP. 69 // Don't activate the field trial if force-compositing-mode has been 80 // Note 1: The compositing field trial may be created at startup time via the 82 // set before this function is called and any Field Trial setup calls 90 // trial must call DisableCompositingFieldTrial() before returning. 93 // field trial [all...] |
/external/chromium_org/chrome/browser/omnibox/ |
omnibox_field_trial_unittest.cc | 35 // Creates and activates a field trial. 38 base::FieldTrial* trial = base::FieldTrialList::CreateFieldTrial( local 40 trial->group(); 41 return trial; 84 // Test if GetDisabledProviderTypes() properly parses various field trial 102 SCOPED_TRACE("Valid group name, unsupported trial name."); 119 // Test if InZeroSuggestFieldTrial() properly parses various field trial 125 SCOPED_TRACE("Valid group name, unsupported trial name."); 140 SCOPED_TRACE("Valid trial name, unsupported group name.");
|
/external/chromium_org/chrome/browser/ |
chrome_browser_field_trials_desktop.cc | 49 // Create a 100% field trial based on the brand code. 64 scoped_refptr<base::FieldTrial> trial( 68 trial->AppendGroup("Yes", infinite_cache_probability); 69 trial->AppendGroup("Control", infinite_cache_probability); 73 // This trial is created by the VariationsService, but it needs to be disabled 80 base::FieldTrial* trial = base::FieldTrialList::Find("ShowProfileSwitcher"); local 81 if (trial && (!profiles::IsMultipleProfilesEnabled() || 83 trial->Disable(); 108 scoped_refptr<base::FieldTrial> trial( 112 trial->AppendGroup("ControlA", sensitivity_analysis_probability) [all...] |
/external/chromium_org/chrome/browser/predictors/ |
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 == "PrefetchingMoreResources") [all...] |
/external/chromium_org/chrome/common/metrics/variations/ |
uniformity_field_trials.cc | 16 // Set up a uniformity field trial. |one_time_randomized| indicates if the 17 // field trial is one-time randomized or session-randomized. |trial_name_string| 19 // the trial name. |num_trial_groups| must be a divisor of 100 (e.g. 5, 20) 36 DVLOG(1) << "Trial name = " << trial_name; 38 scoped_refptr<base::FieldTrial> trial( 45 // Loop starts with group 1 because the field trial automatically creates a 51 trial->AppendGroup(group_name, kProbabilityPerGroup); 57 // Now that all groups have been appended, call group() on the trial to 58 // ensure that our trial is registered. This resolves an off-by-one issue 59 // where the default group never gets chosen if we don't "use" the trial 90 base::FieldTrial* trial = local [all...] |
/external/chromium/base/metrics/ |
field_trial_unittest.cc | 104 scoped_refptr<FieldTrial> trial; local 107 std::string name = StringPrintf("trial%d", ++counter); 108 trial = new FieldTrial(name, 10, winner, next_year_, 12, 31); 109 trial->AppendGroup(loser, 5); // 50% chance of not being chosen. 111 } while (trial->group_ != FieldTrial::kNotFinalized); 114 EXPECT_EQ(FieldTrial::kDefaultGroupNumber, trial->group()); 117 EXPECT_EQ(winner, trial->group_name()); 132 scoped_refptr<FieldTrial> trial( 134 trial->AppendGroup("first", 1); // 50% chance of being chosen. 136 if (trial->group_ != FieldTrial::kNotFinalized) 156 FieldTrial* trial = local 179 FieldTrial* trial = local 208 scoped_refptr<FieldTrial> trial; local 223 FieldTrial* trial = local 254 FieldTrial* trial = FieldTrialList::Find("Some_name"); local 255 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial); local 260 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial); local 275 FieldTrial* trial = local 291 FieldTrial* trial = local [all...] |
/external/chromium_org/base/metrics/ |
field_trial.cc | 83 // the trial to the default group. 101 // forced trial, it will not have the same value as the default group 174 DVLOG(1) << "Field trial: " << trial_name_ << " Group choice:" << group_name_; 262 // Check if the field trial has already been created in some other way. 266 // If the default group name differs between the existing forced trial 267 // and this trial, then use a different value for the default group number. 271 // chosen for the forced trial (which has been finalized when it was 393 FieldTrial* trial = CreateFieldTrial(name, group_name); local 394 if (!trial) 397 // Call |group()| to mark the trial as "used" and notify observers, i [all...] |
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 = CreateFieldTrial(name, 2, default_group_name, NULL) 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 390 FieldTrial* trial = FieldTrialList::Find("Some_name"); local 391 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial); local 396 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial); local 413 FieldTrial* trial = CreateFieldTrial("Some name", 10, "Default", NULL); local 502 FieldTrial* trial = FieldTrialList::Find("Some_name"); local 503 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial); local 520 FieldTrial* trial = CreateFieldTrial("Some_name", 10, "Default", NULL); local 533 FieldTrial* trial = CreateFieldTrial("Field Trial", 10, "Winner", NULL); local 541 FieldTrial* trial = local 549 FieldTrial* trial = CreateFieldTrial("trial", 100, "default", NULL); local 635 FieldTrial* trial = local 649 FieldTrial* trial = local 764 FieldTrial* trial = local 783 FieldTrial* trial = local 807 FieldTrial* trial = local 831 FieldTrial* trial = local 853 FieldTrial* trial = local [all...] |
/external/chromium_org/chrome/browser/chromeos/ |
external_metrics.cc | 60 // Establishes field trial for wifi scanning in chromeos. crbug.com/242733. 66 scoped_refptr<base::FieldTrial> trial = local 74 group_to_char[trial->AppendGroup("FullScan", 0)] = "c"; 75 group_to_char[trial->AppendGroup("33Percent_4MinMax", 0)] = "1"; 76 group_to_char[trial->AppendGroup("50Percent_4MinMax", 0)] = "2"; 77 group_to_char[trial->AppendGroup("50Percent_8MinMax", 0)] = "3"; 78 group_to_char[trial->AppendGroup("100Percent_8MinMax", 0)] = "4"; 82 const int group_num = trial->group(); 92 LOG(INFO) << "Configured in group '" << trial->group_name() 94 << name_of_experiment << " field trial"; 136 scoped_refptr<base::FieldTrial> trial = local [all...] |
/external/chromium_org/chrome/renderer/ |
chrome_render_process_observer.cc | 388 base::FieldTrial* trial = local 390 // Ensure the trial is marked as "used" by calling group() on it. This is 391 // needed to ensure the trial is properly reported in renderer crash reports. 392 trial->group();
|
/external/chromium_org/third_party/icu/source/common/ |
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/icu4c/common/ |
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/aac/libAACdec/src/ |
aacdec_hcrs.cpp | 127 UINT trial; local 215 for ( trial = *pNumSegment; trial > 0; trial-- ) { 299 } /* end of trial loop */ [all...] |
/external/chromium_org/chrome/browser/net/ |
http_pipelining_compatibility_client.cc | 462 base::FieldTrial* trial = base::FieldTrialList::Find(kTrialName); local 463 if (trial) { 466 // After May 4, 2012, the trial will disable itself. 467 trial = base::FieldTrialList::FactoryGetFieldTrial( 478 int collect_stats_group = trial->AppendGroup("enable_test", 480 if (trial->group() != collect_stats_group) {
|
/external/chromium_org/chrome/browser/autocomplete/ |
search_provider_unittest.cc | 360 base::FieldTrial* trial = base::FieldTrialList::CreateFieldTrial( local 362 trial->group(); [all...] |
/external/icu4c/test/perf/howExpensiveIs/ |
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/chromium/net/spdy/ |
spdy_session.cc | 1447 base::FieldTrial* trial = base::FieldTrialList::Find("SpdyCwnd"); local [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
dtptngen.cpp | 971 DateTimeMatcher trial = it.next(); local 1228 UnicodeString trial = getBestPattern(current.getPattern(), status); local [all...] |
/external/icu4c/i18n/ |
dtptngen.cpp | 997 DateTimeMatcher trial = it.next(); local 1251 UnicodeString trial = getBestPattern(current.getPattern(), status); local [all...] |
/external/clang/tools/c-index-test/ |
c-index-test.c | 1414 int trial; local [all...] |