/frameworks/wilhelm/tools/hashgen/ |
part8.c | 5 SLInterfaceID trial = &SL_IID_array[MPH]; variable 6 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...] |
PairPositioningSubtables.cpp | 148 const PairValueRecord *trial = (const PairValueRecord *) ((char *) record + extra); 150 if (SWAPW(trial->secondGlyph) <= glyphID) { 151 record = trial; 156 trial = (const PairValueRecord *) ((char *) record + probe); 158 if (SWAPW(trial->secondGlyph) <= glyphID) { 159 record = trial;
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
FieldTrialHelper.java | 8 * Helper to get field trial information. 15 * @param trialName The name of the trial to get the group for. 16 * @return The group name chosen for the named trial, or the empty string if the trial does
|
/external/chromium_org/chrome/browser/ |
chrome_browser_field_trials_desktop.cc | 39 // Create a 100% field trial based on the brand code. 54 scoped_refptr<base::FieldTrial> trial( 58 trial->AppendGroup("Yes", infinite_cache_probability); 59 trial->AppendGroup("Control", infinite_cache_probability); 63 // This trial is created by the VariationsService, but it needs to be disabled 65 base::FieldTrial* trial = base::FieldTrialList::Find("ShowProfileSwitcher"); local 66 if (trial && !profiles::IsMultipleProfilesEnabled()) 67 trial->Disable(); 80 // Initialize the field trial. We declare all of the groups here (so that 84 scoped_refptr<base::FieldTrial> trial( [all...] |
auto_launch_trial.h | 10 // Strings used with the "auto launching Chrome at computer startup" trial. If 11 // the field trial is running then... 14 // The field trial consists of two groups of users: those that auto-launch 16 // trial object is used to determine the group that the user belongs to. 18 // The field trial is setup in ChromeBrowserMainParts::AutoLaunchFieldTrial()
|
chrome_browser_field_trials_mobile.cc | 19 // Base function used by all data reduction proxy field trials. A trial is 36 scoped_refptr<base::FieldTrial> trial( 43 const int kEnabledGroup = trial->AppendGroup( 47 const int v = trial->group(); 63 // server. When this trial is "Enabled," users get a promo, whereas
|
chrome_browser_field_trials_mobile.h | 17 // Add an invocation of your field trial init function to this method, or to
|
/external/chromium_org/chrome/common/metrics/variations/ |
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) 39 DVLOG(1) << "Trial name = " << trial_name; 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 93 base::FieldTrial* trial = local [all...] |
variation_ids.h | 23 // // Name: Instant-Field-Trial 24 // // The Omnibox Instant Trial. 33 // // Name: UMA-Uniformity-Trial-5-Percent 35 // // The 5% Uniformity Trial. This is a reserved range. 48 // Name: UMA-Uniformity-Trial-1-Percent 52 // Name: UMA-Uniformity-Trial-5-Percent 56 // Name: UMA-Uniformity-Trial-10-Percent 60 // Name: UMA-Uniformity-Trial-20-Percent 64 // Name: UMA-Uniformity-Trial-50-Percent 69 // Name: UMA-Dynamic-Binary-Uniformity-Trial [all...] |
uniformity_field_trials.h | 15 // intended to test the uniformity and correctness of the field trial control,
|
/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...] |
field_trial.h | 36 // // Note: This field trial will run in Chrome instances compiled through 38 // scoped_refptr<FieldTrial> trial = new FieldTrial("MemoryExperiment", 1000, 41 // trial->AppendGroup("HighMem", 20); // 2% in HighMem group. 43 // trial->AppendGroup("LowMem", 20); // 2% in LowMem group. 45 // if (trial->group() == kHighMemGroup) 47 // else if (trial->group() == kLowMemGroup) 51 // slightly different names depending on what group the trial instance happened 93 typedef int Probability; // Probability type for being selected in a trial. 96 // assignment (and hence is not yet participating in the trial). 104 // and can be used to find the trial (only one trial can be present for eac [all...] |
/external/chromium_org/base/metrics/ |
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 534 FieldTrial* trial = local 542 FieldTrial* trial = CreateFieldTrial("trial", 100, "default", NULL); local 628 FieldTrial* trial = local 642 FieldTrial* trial = local 757 FieldTrial* trial = local 776 FieldTrial* trial = local 800 FieldTrial* trial = local 824 FieldTrial* trial = local 846 FieldTrial* trial = local [all...] |
field_trial.h | 17 // the client for a field trial or not, for every run of the program on a 35 // // Note: This field trial will run in Chrome instances compiled through 37 // scoped_refptr<base::FieldTrial> trial( 43 // trial->AppendGroup("HighMem", 20); // 2% in HighMem group. 45 // trial->AppendGroup("LowMem", 20); // 2% in LowMem group. 47 // if (trial->group() == high_mem_group) 49 // else if (trial->group() == low_mem_group) 74 typedef int Probability; // Probability type for being selected in a trial. 76 // Specifies the persistence of the field trial group choice. 94 // the specified field trial. If |randomization_seed| is not 0, it will b [all...] |
/external/chromium_org/components/variations/ |
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) { 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.get())) [all...] |
variations_associated_data.h | 30 // if (GetVariationParams("trial", ¶ms)) { 34 // std::string value = GetVariationParamValue("trial", "param_x"); 37 // VariationID id = GetGoogleVariationID(GOOGLE_WEB_PROPERTIES, "trial", 49 // The Unique ID of a trial and its active group, where the name and group 50 // identifiers are hashes of the trial and group name strings. 56 // Returns an ActiveGroupId struct for the given trial and group names. 90 // the trial and append groups) and needs to have a 116 // specified variation already has params associated with it or the field trial 123 // the specified field trial, based on its selected group. If the field trial [all...] |
/external/chromium_org/chrome/browser/net/ |
async_dns_field_trial.cc | 15 // There is no DnsConfigService on those platforms so disable the field trial. 25 // Configure the AsyncDns field trial as follows: 28 // otherwise (trial absent): return default.
|
/external/chromium/chrome/browser/prerender/ |
prerender_field_trial.cc | 65 scoped_refptr<base::FieldTrial> trial( 69 const int kNoPrefetchGroup = trial->kDefaultGroupNumber; 71 trial->AppendGroup("ContentPrefetchEnabled", kYesPrefetchProbability); 73 trial->AppendGroup("ContentPrefetchPrerender1", 76 trial->AppendGroup("ContentPrefetchPrerenderControl1", 79 trial->AppendGroup("ContentPrefetchPrerender2", 82 trial->AppendGroup("ContentPrefetchPrerenderControl2", 84 const int trial_group = trial->group();
|
prerender_field_trial.h | 14 // is assigned to a field trial.
|
/external/chromium_org/content/browser/gpu/ |
compositor_util.h | 13 // Returns true if the threaded compositor is on (via flags or field trial). 16 // Returns true if force-compositing-mode is on (via flags or field trial).
|
/external/chromium_org/chrome/browser/ui/app_list/ |
app_list_util.h | 12 // Does initializiation for the ShowAppLauncherPromo field trial.
|
app_list_util.cc | 17 // The field trial group name that enables showing the promo. 20 // The field trial group name that resets the pref to show the app launcher 24 // The name of the field trial that controls showing the app launcher promo.
|
/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/third_party/tlslite/tlslite/ |
messages.py | 69 def preWrite(self, trial): 70 if trial: 77 def postWrite(self, w, trial): 78 if trial: 109 def preWrite(self, handshakeType, trial): 110 if trial: 205 def write(self, trial=False): 206 w = HandshakeMsg.preWrite(self, HandshakeType.client_hello, trial) 233 return HandshakeMsg.postWrite(self, w, trial) 280 def write(self, trial=False) [all...] |