/external/opencensus-java/contrib/grpc_metrics/src/main/java/io/opencensus/contrib/grpc/metrics/ |
D | RpcMeasureConstants.java | 19 import io.opencensus.stats.Measure; 20 import io.opencensus.stats.Measure.MeasureDouble; 21 import io.opencensus.stats.Measure.MeasureLong; 124 Measure.MeasureLong.create("grpc.io/client/error_count", "RPC Errors", COUNT); 134 Measure.MeasureDouble.create("grpc.io/client/request_bytes", "Request bytes", BYTE); 144 Measure.MeasureDouble.create("grpc.io/client/response_bytes", "Response bytes", BYTE); 154 Measure.MeasureDouble.create( 165 Measure.MeasureDouble.create( 176 Measure.MeasureDouble.create( 187 Measure.MeasureDouble.create( [all …]
|
/external/icu/icu4c/source/i18n/ |
D | measure.cpp | 24 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(Measure) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument 26 Measure::Measure() {} in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 28 Measure::Measure(const Formattable& _number, MeasureUnit* adoptedUnit, in Measure() function in Measure 37 Measure::Measure(const Measure& other) : in Measure() function in Measure 42 Measure& Measure::operator=(const Measure& other) { in operator =() 51 UObject *Measure::clone() const { in clone() 52 return new Measure(*this); in clone() 55 Measure::~Measure() { in ~Measure() 59 UBool Measure::operator==(const UObject& other) const { in operator ==() 66 const Measure &m = static_cast<const Measure&>(other); in operator ==()
|
D | tmutamt.cpp | 22 : Measure(number, TimeUnit::createInstance(timeUnitField, status), status) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 29 : Measure(Formattable(amount), in TimeUnitAmount() 36 : Measure(other) in TimeUnitAmount() 43 Measure::operator=(other); in operator =() 50 return Measure::operator==(other); in operator ==()
|
D | curramt.cpp | 24 Measure(amount, new CurrencyUnit(isoCode, ec), ec) { in CurrencyAmount() 29 Measure(Formattable(amount), new CurrencyUnit(isoCode, ec), ec) { in CurrencyAmount() 33 Measure(other) { in CurrencyAmount() 37 Measure::operator=(other); in operator =()
|
/external/opencensus-java/api/src/test/java/io/opencensus/stats/ |
D | MeasureTest.java | 25 import io.opencensus.stats.Measure.MeasureDouble; 26 import io.opencensus.stats.Measure.MeasureLong; 43 assertThat(Measure.NAME_MAX_LENGTH).isEqualTo(255); in testConstants() 48 char[] chars = new char[Measure.NAME_MAX_LENGTH + 1]; in preventTooLongMeasureName() 52 Measure.MeasureDouble.create(longName, "description", "1"); in preventTooLongMeasureName() 58 Measure.MeasureDouble.create("\2", "description", "1"); in preventNonPrintableMeasureName() 63 Measure measurement = Measure.MeasureDouble.create("Foo", "The description of Foo", "Mbit/s"); in testMeasureDoubleComponents() 71 Measure measurement = Measure.MeasureLong.create("Bar", "The description of Bar", "1"); in testMeasureLongComponents() 81 Measure.MeasureDouble.create("name", "description", "bit/s"), in testMeasureDoubleEquals() 82 Measure.MeasureDouble.create("name", "description", "bit/s")) in testMeasureDoubleEquals() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | CheckWidths.java | 30 private enum Measure { enum in CheckWidths 48 final Measure measure; 54 …public Limit(double warningReference, double errorReference, Measure measure, LimitType limit, Spe… in Limit() 98 … public Limit(double d, double e, Measure displayWidth, LimitType maximum, Special placeholders) { in Limit() 124 … double valueMeasure = measure == Measure.DISPLAY_WIDTH ? ApproximateWidth.getWidth(value) in hasProblem() 143 … if (cause.getPhase() == Phase.SUBMISSION && measure.equals(Measure.SET_ELEMENTS)) { in hasProblem() 194 new Limit(1, 1, Measure.CODE_POINTS, LimitType.MAXIMUM, Special.NONE) 200 new Limit(1, 1, Measure.CODE_POINTS, LimitType.MAXIMUM, Special.NUMBERSYMBOLS) 207 … new Limit(2 * EM, 5 * EM, Measure.DISPLAY_WIDTH, LimitType.MAXIMUM, Special.PLACEHOLDERS) 211 … new Limit(2 * EM, 3 * EM, Measure.DISPLAY_WIDTH, LimitType.MAXIMUM, Special.PLACEHOLDERS) [all …]
|
/external/icu/icu4c/source/i18n/unicode/ |
D | measure.h | 43 class U_I18N_API Measure: public UObject { 55 Measure(const Formattable& number, MeasureUnit* adoptedUnit, 62 Measure(const Measure& other); 68 Measure& operator=(const Measure& other); 81 virtual ~Measure(); 135 Measure(); 150 inline const Formattable& Measure::getNumber() const { in getNumber() 154 inline const MeasureUnit& Measure::getUnit() const { in getUnit()
|
/external/opencensus-java/contrib/http_util/src/main/java/io/opencensus/contrib/http/util/ |
D | HttpMeasureConstants.java | 19 import io.opencensus.stats.Measure; 20 import io.opencensus.stats.Measure.MeasureDouble; 21 import io.opencensus.stats.Measure.MeasureLong; 47 Measure.MeasureLong.create( 61 Measure.MeasureLong.create( 73 Measure.MeasureDouble.create( 86 Measure.MeasureLong.create( 100 Measure.MeasureLong.create( 112 Measure.MeasureDouble.create(
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | MeasureUnitThreadTest.java | 15 import android.icu.util.Measure; 42 final Measure[] arg; 47 NumericMeasureThread(Measure[] arg, String expected) { in NumericMeasureThread() 73 NumericMeasureThread t1 = new NumericMeasureThread(new Measure[] { in NumericRaceTest() 74 new Measure(3, MeasureUnit.MINUTE), in NumericRaceTest() 75 new Measure(4, MeasureUnit.SECOND) in NumericRaceTest() 77 NumericMeasureThread t2 = new NumericMeasureThread(new Measure[] { in NumericRaceTest() 78 new Measure(5, MeasureUnit.MINUTE), in NumericRaceTest() 79 new Measure(6, MeasureUnit.SECOND) in NumericRaceTest()
|
D | MeasureUnitTest.java | 49 import android.icu.util.Measure; 1295 Measure measure = new Measure(23, MeasureUnit.CELSIUS); in TestExamplesInDocs() 1297 Measure measureF = new Measure(70, MeasureUnit.FAHRENHEIT); in TestExamplesInDocs() 1305 new Measure(70, MeasureUnit.FOOT), in TestExamplesInDocs() 1306 new Measure(5.3, MeasureUnit.INCH))); in TestExamplesInDocs() 1311 new Measure(1, MeasureUnit.FOOT), in TestExamplesInDocs() 1312 new Measure(1, MeasureUnit.INCH))); in TestExamplesInDocs() 1319 new Measure(1, MeasureUnit.FOOT), in TestExamplesInDocs() 1320 new Measure(1, MeasureUnit.INCH))); in TestExamplesInDocs() 1326 new Measure(1, MeasureUnit.INCH), in TestExamplesInDocs() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | MeasureUnitThreadTest.java | 14 import com.ibm.icu.util.Measure; 39 final Measure[] arg; 44 NumericMeasureThread(Measure[] arg, String expected) { in NumericMeasureThread() 70 NumericMeasureThread t1 = new NumericMeasureThread(new Measure[] { in NumericRaceTest() 71 new Measure(3, MeasureUnit.MINUTE), in NumericRaceTest() 72 new Measure(4, MeasureUnit.SECOND) in NumericRaceTest() 74 NumericMeasureThread t2 = new NumericMeasureThread(new Measure[] { in NumericRaceTest() 75 new Measure(5, MeasureUnit.MINUTE), in NumericRaceTest() 76 new Measure(6, MeasureUnit.SECOND) in NumericRaceTest()
|
D | MeasureUnitTest.java | 48 import com.ibm.icu.util.Measure; 1292 Measure measure = new Measure(23, MeasureUnit.CELSIUS); in TestExamplesInDocs() 1294 Measure measureF = new Measure(70, MeasureUnit.FAHRENHEIT); in TestExamplesInDocs() 1302 new Measure(70, MeasureUnit.FOOT), in TestExamplesInDocs() 1303 new Measure(5.3, MeasureUnit.INCH))); in TestExamplesInDocs() 1308 new Measure(1, MeasureUnit.FOOT), in TestExamplesInDocs() 1309 new Measure(1, MeasureUnit.INCH))); in TestExamplesInDocs() 1316 new Measure(1, MeasureUnit.FOOT), in TestExamplesInDocs() 1317 new Measure(1, MeasureUnit.INCH))); in TestExamplesInDocs() 1323 new Measure(1, MeasureUnit.INCH), in TestExamplesInDocs() [all …]
|
/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_draw.cpp | 23 {XFA_Attribute::H, XFA_AttributeType::Measure, (void*)L"0in"}, 24 {XFA_Attribute::W, XFA_AttributeType::Measure, (void*)L"0in"}, 25 {XFA_Attribute::X, XFA_AttributeType::Measure, (void*)L"0in"}, 26 {XFA_Attribute::Y, XFA_AttributeType::Measure, (void*)L"0in"}, 37 {XFA_Attribute::MaxH, XFA_AttributeType::Measure, (void*)L"0in"}, 38 {XFA_Attribute::MaxW, XFA_AttributeType::Measure, (void*)L"0in"}, 39 {XFA_Attribute::MinH, XFA_AttributeType::Measure, (void*)L"0in"}, 40 {XFA_Attribute::MinW, XFA_AttributeType::Measure, (void*)L"0in"},
|
D | cxfa_exclgroup.cpp | 22 {XFA_Attribute::H, XFA_AttributeType::Measure, (void*)L"0in"}, 23 {XFA_Attribute::W, XFA_AttributeType::Measure, (void*)L"0in"}, 24 {XFA_Attribute::X, XFA_AttributeType::Measure, (void*)L"0in"}, 25 {XFA_Attribute::Y, XFA_AttributeType::Measure, (void*)L"0in"}, 37 {XFA_Attribute::MaxH, XFA_AttributeType::Measure, (void*)L"0in"}, 38 {XFA_Attribute::MaxW, XFA_AttributeType::Measure, (void*)L"0in"}, 39 {XFA_Attribute::MinH, XFA_AttributeType::Measure, (void*)L"0in"}, 40 {XFA_Attribute::MinW, XFA_AttributeType::Measure, (void*)L"0in"},
|
D | cxfa_field.cpp | 25 {XFA_Attribute::H, XFA_AttributeType::Measure, (void*)L"0in"}, 26 {XFA_Attribute::W, XFA_AttributeType::Measure, (void*)L"0in"}, 27 {XFA_Attribute::X, XFA_AttributeType::Measure, (void*)L"0in"}, 28 {XFA_Attribute::Y, XFA_AttributeType::Measure, (void*)L"0in"}, 41 {XFA_Attribute::MaxH, XFA_AttributeType::Measure, (void*)L"0in"}, 42 {XFA_Attribute::MaxW, XFA_AttributeType::Measure, (void*)L"0in"}, 43 {XFA_Attribute::MinH, XFA_AttributeType::Measure, (void*)L"0in"}, 44 {XFA_Attribute::MinW, XFA_AttributeType::Measure, (void*)L"0in"},
|
D | cxfa_subform.cpp | 25 {XFA_Attribute::H, XFA_AttributeType::Measure, (void*)L"0in"}, 26 {XFA_Attribute::W, XFA_AttributeType::Measure, (void*)L"0in"}, 27 {XFA_Attribute::X, XFA_AttributeType::Measure, (void*)L"0in"}, 28 {XFA_Attribute::Y, XFA_AttributeType::Measure, (void*)L"0in"}, 42 {XFA_Attribute::MaxH, XFA_AttributeType::Measure, (void*)L"0in"}, 43 {XFA_Attribute::MaxW, XFA_AttributeType::Measure, (void*)L"0in"}, 44 {XFA_Attribute::MinH, XFA_AttributeType::Measure, (void*)L"0in"}, 45 {XFA_Attribute::MinW, XFA_AttributeType::Measure, (void*)L"0in"},
|
D | cxfa_para.cpp | 22 {XFA_Attribute::TextIndent, XFA_AttributeType::Measure, (void*)L"0in"}, 25 {XFA_Attribute::MarginRight, XFA_AttributeType::Measure, (void*)L"0in"}, 26 {XFA_Attribute::MarginLeft, XFA_AttributeType::Measure, (void*)L"0in"}, 27 {XFA_Attribute::RadixOffset, XFA_AttributeType::Measure, (void*)L"0in"}, 29 {XFA_Attribute::SpaceBelow, XFA_AttributeType::Measure, (void*)L"0in"}, 36 {XFA_Attribute::LineHeight, XFA_AttributeType::Measure, (void*)L"0pt"}, 37 {XFA_Attribute::SpaceAbove, XFA_AttributeType::Measure, (void*)L"0in"},
|
D | cxfa_contentarea.cpp | 18 {XFA_Attribute::H, XFA_AttributeType::Measure, (void*)L"0in"}, 19 {XFA_Attribute::W, XFA_AttributeType::Measure, (void*)L"0in"}, 20 {XFA_Attribute::X, XFA_AttributeType::Measure, (void*)L"0in"}, 21 {XFA_Attribute::Y, XFA_AttributeType::Measure, (void*)L"0in"},
|
/external/opencensus-java/api/src/main/java/io/opencensus/stats/ |
D | Measure.java | 32 public abstract class Measure { class 47 Function<? super Measure, T> defaultFunction); in match() argument 86 private Measure() {} in Measure() method in Measure 95 public abstract static class MeasureDouble extends Measure { 119 Function<? super Measure, T> defaultFunction) { in match() argument 140 public abstract static class MeasureLong extends Measure { 164 Function<? super Measure, T> defaultFunction) { in match() argument
|
/external/icu/icu4c/source/test/intltest/ |
D | measfmttest.cpp | 33 const Measure *measures; 79 const Measure *measures, 86 const Measure *measures, 118 const Measure *measures, 130 const Measure *measures, 1297 Measure measureC((double)23, MeasureUnit::createCelsius(status), status); in TestExamplesInDocs() 1298 Measure measureF((double)70, MeasureUnit::createFahrenheit(status), status); in TestExamplesInDocs() 1299 Measure feetAndInches[] = { in TestExamplesInDocs() 1300 Measure((double)70, MeasureUnit::createFoot(status), status), in TestExamplesInDocs() 1301 Measure((double)5.3, MeasureUnit::createInch(status), status)}; in TestExamplesInDocs() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | Measure.java | 33 public class Measure { class 43 public Measure(Number number, MeasureUnit unit) { in Measure() method in Measure 60 if (!(obj instanceof Measure)) { in equals() 63 Measure m = (Measure) obj; in equals()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | Measure.java | 33 public class Measure { class 44 public Measure(Number number, MeasureUnit unit) { in Measure() method in Measure 62 if (!(obj instanceof Measure)) { in equals() 65 Measure m = (Measure) obj; in equals()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | MeasureFormat.java | 47 import com.ibm.icu.util.Measure; 310 Measure[] measures = new Measure[coll.size()]; in format() 313 if (!(o instanceof Measure)) { in format() 316 measures[idx++] = (Measure) o; in format() 319 } else if (obj instanceof Measure[]) { in format() 320 formatMeasuresInternal(toAppendTo, fpos, (Measure[]) obj); in format() 321 } else if (obj instanceof Measure) { in format() 322 FormattedNumber result = formatMeasure((Measure) obj); in format() 345 public Measure parseObject(String source, ParsePosition pos) { in parseObject() 361 public final String formatMeasures(Measure... measures) { in formatMeasures() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | MeasureFormat.java | 48 import android.icu.util.Measure; 288 Measure[] measures = new Measure[coll.size()]; in format() 291 if (!(o instanceof Measure)) { in format() 294 measures[idx++] = (Measure) o; in format() 297 } else if (obj instanceof Measure[]) { in format() 298 formatMeasuresInternal(toAppendTo, fpos, (Measure[]) obj); in format() 299 } else if (obj instanceof Measure) { in format() 300 FormattedNumber result = formatMeasure((Measure) obj); in format() 322 public Measure parseObject(String source, ParsePosition pos) { in parseObject() 337 public final String formatMeasures(Measure... measures) { in formatMeasures() [all …]
|
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/ |
D | StatsTestUtils.java | 27 import io.opencensus.stats.Measure; 68 public final ImmutableMap<Measure, Number> metrics; 71 ImmutableMap<TagKey, TagValue> tags, ImmutableMap<Measure, Number> metrics) { in MetricsRecord() argument 80 public Double getMetric(Measure measure) { in getMetric() 81 for (Map.Entry<Measure, Number> m : metrics.entrySet()) { in getMetric() 98 public long getMetricAsLongOrFail(Measure measure) { in getMetricAsLongOrFail() 225 public final Map<Measure, Number> metrics = Maps.newHashMap(); 232 public MeasureMap put(Measure.MeasureDouble measure, double value) { in put() 238 public MeasureMap put(Measure.MeasureLong measure, long value) { in put()
|