Home
last modified time | relevance | path

Searched refs:trial (Results 1 – 25 of 71) sorted by relevance

123

/external/libchrome/base/metrics/
Dfield_trial_unittest.cc53 void OnFieldTrialGroupFinalized(const std::string& trial, in OnFieldTrialGroupFinalized() argument
55 trial_name_ = trial; in OnFieldTrialGroupFinalized()
147 scoped_refptr<FieldTrial> trial; in TEST_F() local
152 trial = CreateFieldTrial(name, 10, winner, &default_group_number); in TEST_F()
153 trial->AppendGroup(loser, 5); // 50% chance of not being chosen. in TEST_F()
155 } while (trial->group_ != FieldTrial::kNotFinalized); in TEST_F()
158 EXPECT_EQ(default_group_number, trial->group()); in TEST_F()
161 EXPECT_EQ(winner, trial->group_name()); in TEST_F()
176 scoped_refptr<FieldTrial> trial = in TEST_F() local
178 trial->AppendGroup("first", 1); // 50% chance of being chosen. in TEST_F()
[all …]
Dfield_trial.cc465 FieldTrial::State trial; in AllStatesToString() local
466 if (!registered.second->GetState(&trial)) in AllStatesToString()
469 trial.trial_name.find(kPersistentStringSeparator)); in AllStatesToString()
471 trial.group_name.find(kPersistentStringSeparator)); in AllStatesToString()
472 if (trial.activated) in AllStatesToString()
474 trial.trial_name.AppendToString(output); in AllStatesToString()
476 trial.group_name.AppendToString(output); in AllStatesToString()
535 FieldTrial* trial = CreateFieldTrial(trial_name, group_name); in CreateTrialsFromString() local
536 if (!trial) in CreateTrialsFromString()
542 trial->group(); in CreateTrialsFromString()
[all …]
/external/icu/icu4c/source/layout/
DLookupTables.cpp35 LEReferenceTo<LookupSegment> trial(entry, success, extra); in lookupSegment() local
39 if (SWAPW(trial->lastGlyph) <= ttGlyph) { in lookupSegment()
40 entry = trial; in lookupSegment()
45 trial = entry; // copy in lookupSegment()
46 trial.addOffset(probe, success); in lookupSegment()
48 if (SWAPW(trial->lastGlyph) <= ttGlyph) { in lookupSegment()
49 entry = trial; in lookupSegment()
67 LEReferenceTo<LookupSingle> trial(entry, success, extra); in lookupSingle() local
69 if (SWAPW(trial->glyph) <= ttGlyph) { in lookupSingle()
70 entry = trial; in lookupSingle()
[all …]
DPairPositioningSubtables.cpp153 const PairValueRecord *trial = (const PairValueRecord *) ((char *) record + extra); in findPairValueRecord()
155 if (SWAPW(trial->secondGlyph) <= glyphID) { in findPairValueRecord()
156 record = trial; in findPairValueRecord()
161 trial = (const PairValueRecord *) ((char *) record + probe); in findPairValueRecord()
163 if (SWAPW(trial->secondGlyph) <= glyphID) { in findPairValueRecord()
164 record = trial; in findPairValueRecord()
/external/fec/
Dsumsq_test.c29 int i,d,trial,trials=10000; local
77 for(trial=0;trial<trials;trial++){
81 for(trial=0;trial<trials;trial++){
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DTrialResult.java24 private final Trial trial; field in TrialResult
28 TrialResult(Trial trial, Experiment experiment, ImmutableList<String> trialMessages) { in TrialResult() argument
29 this.trial = trial; in TrialResult()
39 return trial; in getTrial()
DResultsUploader.java94 @Override public final void processTrial(Trial trial) { in processTrial() argument
103 resource.type(APPLICATION_JSON_TYPE).post(gson.toJson(ImmutableList.of(trial))); in processTrial()
105 runId = Optional.of(trial.run().id()); in processTrial()
108 logUploadFailure(trial, e); in processTrial()
110 logUploadFailure(trial, e); in processTrial()
118 private static void logUploadFailure(Trial trial, Exception e) { in logUploadFailure() argument
120 "Could not upload trial %s. Consider uploading it manually.", trial.id()), e); in logUploadFailure()
DConsoleOutput.java94 Trial trial = result.getTrial(); in processTrial() local
98 .putAll(Multimaps.index(trial.measurements(), new Function<Measurement, String>() { in processTrial()
131 instrumentSpecs.add(trial.instrumentSpec()); in processTrial()
132 Scenario scenario = trial.scenario(); in processTrial()
135 numMeasurements += trial.measurements().size(); in processTrial()
DOutputFileDumper.java96 @Override public void processTrial(Trial trial) { in processTrial() argument
107 "An error occured writing trial %s. Results in %s will be incomplete.", trial.id(), in processTrial()
112 gson.toJson(trial, Trial.class, writer.get()); in processTrial()
/external/icu/icu4c/source/test/perf/howExpensiveIs/
DhowExpensiveIs.cpp303 double trial = unum_parseDouble(fFmt,fStr,fLen, NULL, &setupStatus); in warmup() local
304 if(U_SUCCESS(setupStatus) && trial!=fExpect) { in warmup()
307 fFile,fLine,getName(),trial,fExpect); in warmup()
312 double trial=0.0; in run() local
315 trial = unum_parse(fFmt,fStr,fLen, NULL, &setupStatus); in run()
432 int32_t trial = unum_formatDouble(fFmt,fExpect, buf, 100, NULL, &setupStatus); in warmup() local
434 || trial!=fLen in warmup()
435 ||trial<=0 in warmup()
436 || u_strncmp(fStr,buf,trial) ) { in warmup()
438 u_strToUTF8(strBuf,200,NULL,buf,trial+1,&setupStatus); in warmup()
[all …]
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DResultProcessorCreatorTest.java56 public void processTrial(Trial trial) { in processTrial() argument
85 public void processTrial(Trial trial) { in processTrial() argument
103 public void processTrial(Trial trial) { in processTrial() argument
DInMemoryResultsUploader.java51 @Override public void processTrial(Trial trial) { in processTrial() argument
53 trials.add(trial); in processTrial()
DAllocationInstrumentTest.java73 Trial trial = Iterables.getOnlyElement(runner.trials()); in intrinsics() local
75 Measurement.indexByDescription(trial.measurements()); in intrinsics()
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
DDfpMath.java177 int trial = 1; in splitPow() local
181 prevtrial = trial; in splitPow()
182 trial = trial * 2; in splitPow()
183 if (trial > a) { in splitPow()
189 trial = prevtrial; in splitPow()
191 a -= trial; in splitPow()
231 int trial = 1; in pow() local
236 prevtrial = trial; in pow()
238 trial = trial * 2; in pow()
239 } while (a>trial); in pow()
[all …]
/external/clang/test/Modules/
Dignored_macros.m1 // First trial: pass -DIGNORED=1 to both. This should obviously work.
6 // Second trial: pass -DIGNORED=1 only to the second invocation. We
15 // Third trial: pass -DIGNORED=1 only to the second invocation, but
22 // Fourth trial: pass -DIGNORED=1 and -fmodules-ignore-macro=IGNORED
29 // Fifth trial: pass -DIGNORED=1 and -fmodules-ignore-macro=IGNORED=1
/external/cros/system_api/dbus/
Dfield_trial_list.proto9 // This protobuf is for serializing Finch experimental field trial data to
18 // All the active field trial groups for this device.
/external/autotest/client/cros/chameleon/
Dchameleon_bluetooth_audio.py129 for trial in xrange(retries):
134 elif trial == retries - 1:
/external/guava/guava-tests/test/com/google/common/base/
DUtf8Test.java67 for (int trial = 0; trial < 100; trial++) { in testEncodedLength_validStrings2()
/external/webp/src/enc/
Dalpha.c246 FilterTrial trial; in ApplyFiltersAndEncode() local
249 &trial); in ApplyFiltersAndEncode()
250 if (ok && trial.score < best.score) { in ApplyFiltersAndEncode()
252 best = trial; in ApplyFiltersAndEncode()
254 VP8BitWriterWipeOut(&trial.bw); in ApplyFiltersAndEncode()
/external/caliper/caliper/src/main/java/com/google/caliper/api/
DResultProcessor.java30 void processTrial(Trial trial); in processTrial() argument
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DRoundTripTest.java231 String trial = Normalizer.compose(sample, false); in getRepresentativeBoundaryHangul() local
232 if (trial.length() == 2) { in getRepresentativeBoundaryHangul()
233 resultToAddTo.add(trial); in getRepresentativeBoundaryHangul()
244 String trial = Normalizer.compose(sample, false); in getRepresentativeBoundaryHangul() local
245 if (trial.length() == 2) { in getRepresentativeBoundaryHangul()
246 resultToAddTo.add(trial); in getRepresentativeBoundaryHangul()
252 String trial = Normalizer.compose(sample, false); in getRepresentativeBoundaryHangul() local
253 if (trial.length() == 2) { in getRepresentativeBoundaryHangul()
254 resultToAddTo.add(trial); in getRepresentativeBoundaryHangul()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DRoundTripTest.java235 String trial = Normalizer.compose(sample, false); in getRepresentativeBoundaryHangul() local
236 if (trial.length() == 2) { in getRepresentativeBoundaryHangul()
237 resultToAddTo.add(trial); in getRepresentativeBoundaryHangul()
248 String trial = Normalizer.compose(sample, false); in getRepresentativeBoundaryHangul() local
249 if (trial.length() == 2) { in getRepresentativeBoundaryHangul()
250 resultToAddTo.add(trial); in getRepresentativeBoundaryHangul()
256 String trial = Normalizer.compose(sample, false); in getRepresentativeBoundaryHangul() local
257 if (trial.length() == 2) { in getRepresentativeBoundaryHangul()
258 resultToAddTo.add(trial); in getRepresentativeBoundaryHangul()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
DTransliterationChart.java124 String trial = (String)sit.next(); in main() local
125 if (!sets[i].containsAll(trial)) continue; in main()
126 item = trial; in main()
/external/icu/icu4c/source/common/
Dcaniter.cpp573 UnicodeString trial; in extract() local
574 nfd.normalize(temp, trial, status); in extract()
575 if(U_FAILURE(status) || trial.compare(segment+segmentPos, segLen - segmentPos) != 0) { in extract()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DRateLimiterTest.java398 for (int trial = 0; trial < 100; trial++) { in testTimeToWarmUpIsHonouredEvenWithWeights()

123