Home
last modified time | relevance | path

Searched refs:SampleType (Results 1 – 25 of 28) sorted by relevance

12

/external/deqp/modules/gles3/performance/
Des3pBufferDataUploadTests.cpp203 typedef SampleT SampleType; typedef
208 SampleType duration;
214 typedef SampleT SampleType; typedef
668 …calculateSingleOperationStatistics (const std::vector<T>& samples, deUint64 T::SampleType::*target) in calculateSingleOperationStatistics()
687 template <typename StatisticsType, typename SampleType>
688 …onst LineParametersWithConfidence& fit, const std::vector<SampleType>& samples, int SampleType::*p… in calculateBasicStatistics()
762 template <typename StatisticsType, typename SampleType>
763 …isticsType& stats, const LineParametersWithConfidence& fit, const std::vector<SampleType>& samples) in calculateBasicTransferStatistics()
765 calculateBasicStatistics(stats, fit, samples, &SampleType::writtenSize); in calculateBasicTransferStatistics()
768 template <typename StatisticsType, typename SampleType>
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DPluralRules.java364 public boolean isLimited(SampleType sampleType) {
987 public enum SampleType { enum in PluralRules
1056 public final SampleType sampleType;
1074 …private FixedDecimalSamples(SampleType sampleType, Set<FixedDecimalRange> samples, boolean bounded… in FixedDecimalSamples()
1084 SampleType sampleType2; in parse()
1090 sampleType2 = SampleType.INTEGER; in parse()
1092 sampleType2 = SampleType.DECIMAL; in parse()
1127 private static void checkDecimal(SampleType sampleType2, FixedDecimal sample) { in checkDecimal()
1128 … if ((sampleType2 == SampleType.INTEGER) != (sample.getVisibleDecimalDigitCount() == 0)) { in checkDecimal()
1210 boolean isLimited(SampleType sampleType); in isLimited()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DPluralRules.java364 public boolean isLimited(SampleType sampleType) {
1040 public enum SampleType { enum in PluralRules
1118 public final SampleType sampleType;
1138 …private FixedDecimalSamples(SampleType sampleType, Set<FixedDecimalRange> samples, boolean bounded… in FixedDecimalSamples()
1148 SampleType sampleType2; in parse()
1154 sampleType2 = SampleType.INTEGER; in parse()
1156 sampleType2 = SampleType.DECIMAL; in parse()
1191 private static void checkDecimal(SampleType sampleType2, FixedDecimal sample) { in checkDecimal()
1192 … if ((sampleType2 == SampleType.INTEGER) != (sample.getVisibleDecimalDigitCount() == 0)) { in checkDecimal()
1278 boolean isLimited(SampleType sampleType); in isLimited()
[all …]
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestPluralRuleGeneration.java13 import com.ibm.icu.text.PluralRules.SampleType;
29 boolean i = rules.computeLimited("one", SampleType.INTEGER); in TestGeneration()
30 boolean d = rules.computeLimited("one", SampleType.DECIMAL); in TestGeneration()
77 SampleType.INTEGER); in TestAtoms()
79 SampleType.DECIMAL); in TestAtoms()
DTestSupplementalInfo.java83 import com.ibm.icu.text.PluralRules.SampleType;
114 for (SampleType s : SampleType.values()) { in TestPluralSampleOrder()
122 if (s == SampleType.DECIMAL) { in TestPluralSampleOrder()
286 …ples exampleList = pluralRules.getDecimalSamples(count.toString(), PluralRules.SampleType.INTEGER); in getRangeLine()
288 … exampleList = pluralRules.getDecimalSamples(count.toString(), PluralRules.SampleType.DECIMAL); in getRangeLine()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DPluralRulesTest.java52 import android.icu.text.PluralRules.SampleType;
175 … checkNewSamples(description, test, "one", PluralRules.SampleType.INTEGER, "@integer 3, 19", true,
177 …checkNewSamples(description, test, "one", PluralRules.SampleType.DECIMAL, "@decimal 3.50~3.53, …",…
179 checkOldSamples(description, test, "one", SampleType.INTEGER, 3d, 19d);
180 checkOldSamples(description, test, "one", SampleType.DECIMAL, 3.5d, 3.51d, 3.52d, 3.53d);
182 checkNewSamples(description, test, "other", PluralRules.SampleType.INTEGER, "", true, null);
183 …checkNewSamples(description, test, "other", PluralRules.SampleType.DECIMAL, "@decimal 99.0~99.2, 9…
185 checkOldSamples(description, test, "other", SampleType.INTEGER);
186 checkOldSamples(description, test, "other", SampleType.DECIMAL, 99d, 99.1, 99.2d, 999d);
189 …public void checkOldSamples(String description, PluralRules rules, String keyword, SampleType samp…
[all …]
DPluralFormatUnitTest.java34 import android.icu.text.PluralRules.SampleType;
237 list = rules.getSamples(keyword, SampleType.DECIMAL); in TestSamples()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralRulesTest.java51 import com.ibm.icu.text.PluralRules.SampleType;
172 … checkNewSamples(description, test, "one", PluralRules.SampleType.INTEGER, "@integer 3, 19", true,
174 …checkNewSamples(description, test, "one", PluralRules.SampleType.DECIMAL, "@decimal 3.50~3.53, …",…
176 checkOldSamples(description, test, "one", SampleType.INTEGER, 3d, 19d);
177 checkOldSamples(description, test, "one", SampleType.DECIMAL, 3.5d, 3.51d, 3.52d, 3.53d);
179 checkNewSamples(description, test, "other", PluralRules.SampleType.INTEGER, "", true, null);
180 …checkNewSamples(description, test, "other", PluralRules.SampleType.DECIMAL, "@decimal 99.0~99.2, 9…
182 checkOldSamples(description, test, "other", SampleType.INTEGER);
183 checkOldSamples(description, test, "other", SampleType.DECIMAL, 99d, 99.1, 99.2d, 999d);
186 …public void checkOldSamples(String description, PluralRules rules, String keyword, SampleType samp…
[all …]
DPluralFormatUnitTest.java33 import com.ibm.icu.text.PluralRules.SampleType;
234 list = rules.getSamples(keyword, SampleType.DECIMAL); in TestSamples()
/external/cldr/tools/java/org/unicode/cldr/tool/
DWritePluralRulesSpreadsheets.java32 import com.ibm.icu.text.PluralRules.SampleType;
127 … HashSet<Double> items = new HashSet<>(rules.getSamples(keyword, SampleType.INTEGER)); in writePluralChecklist()
219 FixedDecimal result = getSample(rules, start, SampleType.INTEGER, minimum); in getSample()
220 FixedDecimal result2 = getSample(rules, start, SampleType.DECIMAL, minimum); in getSample()
227 …private static FixedDecimal getSample(PluralRules rules, String start, SampleType sampleType, Fixe… in getSample()
DGeneratePluralConfirmation.java137 samples = rules.getDecimalSamples(keyword, PluralRules.SampleType.DECIMAL); in mainOld()
139 samples = rules.getDecimalSamples(keyword, PluralRules.SampleType.INTEGER); in mainOld()
DGeneratedPluralSamples.java258 final PluralRules.SampleType sampleType;
261 public DataSample(PluralRules.SampleType sampleType) {
351 private final DataSample integers = new DataSample(PluralRules.SampleType.INTEGER);
352 private final DataSample decimals = new DataSample(PluralRules.SampleType.DECIMAL);
DShowPlurals.java150 …mples exampleList = pluralRules.getDecimalSamples(keyword, PluralRules.SampleType.INTEGER); // plu… in printPluralTable()
151 …cimalSamples exampleList2 = pluralRules.getDecimalSamples(keyword, PluralRules.SampleType.DECIMAL); in printPluralTable()
/external/libchrome/base/files/
Dimportant_file_writer.cc56 template <typename SampleType>
59 SampleType add_sample, in UmaHistogramExactLinearWithSuffix()
60 SampleType max_sample) { in UmaHistogramExactLinearWithSuffix()
61 static_assert(std::is_convertible<SampleType, int>::value, in UmaHistogramExactLinearWithSuffix()
/external/cldr/tools/java/org/unicode/cldr/util/
DSupplementalDataInfo.java65 import com.ibm.icu.text.PluralRules.SampleType;
3369 if (pluralRules.getDecimalSamples(s, SampleType.DECIMAL) != null) {
3374 if (pluralRules.getDecimalSamples(s, SampleType.INTEGER) != null) {
3509 public Set<Count> getCounts(SampleType sampleType) {
3510 return sampleType == SampleType.DECIMAL ? decimalKeywords : integerKeywords;
3579 … minSample.value = getLeastIn(s, SampleType.INTEGER, NEGATIVE_INFINITY, POSITIVE_INFINITY);
3580 temp = getLeastIn(s, SampleType.DECIMAL, NEGATIVE_INFINITY, POSITIVE_INFINITY);
3584 … maxSample.value = getGreatestIn(e, SampleType.INTEGER, NEGATIVE_INFINITY, POSITIVE_INFINITY);
3585 temp = getGreatestIn(e, SampleType.DECIMAL, NEGATIVE_INFINITY, POSITIVE_INFINITY);
3596SampleType bestType = getCounts(SampleType.INTEGER).contains(e) ? SampleType.INTEGER : SampleType.…
[all …]
/external/cldr/tools/java/org/unicode/cldr/test/
DExampleGenerator.java63 import com.ibm.icu.text.PluralRules.SampleType;
622 …lSamples samples = pluralInfo.getPluralRules().getDecimalSamples(count.name(), SampleType.DECIMAL); in getBest()
624 … samples = pluralInfo.getPluralRules().getDecimalSamples(count.name(), SampleType.INTEGER); in getBest()
984 … getStartEndSamples(pluralRules.getDecimalSamples(countString, SampleType.INTEGER), exampleCount); in formatCountValue()
985 … getStartEndSamples(pluralRules.getDecimalSamples(countString, SampleType.DECIMAL), exampleCount); in formatCountValue()
/external/icu/icu4j/
Dcoverage-exclusion.txt921 com/ibm/icu/text/PluralRules$SampleType#valueOf:(Ljava/lang/String;)Lcom/ibm/icu/text/PluralRules$S…
/external/icu/icu4j/tools/build/
Dicu4j56.api3.gz12;ICU4J 56.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j54.api3.gz
Dicu4j57.api3.gz12;ICU4J 57.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j55.api3.gz12;ICU4J 55.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j60.api3.gz12;ICU4J 60.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j59.api3.gz12;ICU4J 59.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j61.api3.gz12;ICU4J 61.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j62.api3.gz

12