Home
last modified time | relevance | path

Searched refs:fPrecision (Results 1 – 10 of 10) sorted by relevance

/external/icu/icu4c/source/i18n/
Dnumber_rounding.cpp326 : fPrecision(precision), fRoundingMode(roundingMode), fPassThrough(false) { in RoundingImpl()
328 fPrecision = precision.withCurrency(currency, status); in RoundingImpl()
337 return fPrecision.fType == Precision::RND_SIGNIFICANT; in isSignificantDigits()
386 switch (fPrecision.fType) { in apply()
399 getRoundingMagnitudeFraction(fPrecision.fUnion.fracSig.fMaxFrac), in apply()
403 uprv_max(0, -getDisplayMagnitudeFraction(fPrecision.fUnion.fracSig.fMinFrac))); in apply()
408 getRoundingMagnitudeSignificant(value, fPrecision.fUnion.fracSig.fMaxSig), in apply()
412 … uprv_max(0, -getDisplayMagnitudeSignificant(value, fPrecision.fUnion.fracSig.fMinSig))); in apply()
414 if (value.isZeroish() && fPrecision.fUnion.fracSig.fMinSig > 0) { in apply()
420 int32_t displayMag = getDisplayMagnitudeFraction(fPrecision.fUnion.fracSig.fMinFrac); in apply()
[all …]
Dunits_router.cpp108 if (rounder != nullptr && rounder->fPrecision.isBogus()) { in route()
110 rounder->fPrecision = parseSkeletonToPrecision(converterPreference->precision, status); in route()
115 rounder->fPrecision = Precision::integer().withMinDigits(2); in route()
Dnumber_roundingutils.h191 Precision fPrecision;
/external/skqp/src/gpu/
DGrShaderVar.h54 , fPrecision(precision) in fType()
66 , fPrecision(precision) in fType()
78 , fPrecision(precision) in fType()
89 , fPrecision(precision) in fType()
99 , fPrecision(that.fPrecision) in GrShaderVar()
123 fPrecision = precision;
147 fPrecision = precision;
172 fPrecision = precision;
197 fPrecision = precision;
265 GrSLPrecision getPrecision() const { return fPrecision; } in getPrecision()
[all …]
DGrShaderVar.cpp56 SkASSERT(kDefault_GrSLPrecision == fPrecision || GrSLTypeTemporarilyAcceptsPrecision(fType)); in appendDecl()
69 out->appendf("%s ", glsl_precision_string(fPrecision)); in appendDecl()
/external/icu/icu4c/source/io/
Duprntf_p.cpp234 if (info->fPrecision != -1 && info->fPrecision < len) { in u_printf_string_handler()
235 len = info->fPrecision; in u_printf_string_handler()
312 if(info->fPrecision != -1) { in u_printf_double_handler()
314 unum_setAttribute(format, UNUM_FRACTION_DIGITS, info->fPrecision); in u_printf_double_handler()
387 if(info->fPrecision != -1) { in u_printf_integer_handler()
390 unum_setAttribute(format, UNUM_MIN_INTEGER_DIGITS, info->fPrecision); in u_printf_integer_handler()
441 (info->fPrecision == -1 && info->fZero) ? info->fWidth : info->fPrecision); in u_printf_hex_handler()
477 info->fPrecision == -1 && info->fZero ? info->fWidth : info->fPrecision); in u_printf_octal_handler()
520 if(info->fPrecision != -1) { in u_printf_uinteger_handler()
523 unum_setAttribute(format, UNUM_MIN_INTEGER_DIGITS, info->fPrecision); in u_printf_uinteger_handler()
[all …]
Duprintf.h36 int32_t fPrecision; /* Precision */ member
/external/skqp/src/sksl/ast/
DSkSLASTPrecision.h23 , fPrecision(precision) {} in ASTPrecision()
26 switch (fPrecision) { in description()
38 const Modifiers::Flag fPrecision; member
/external/icu/libicu/cts_headers/
Dnumber_roundingutils.h191 Precision fPrecision;
/external/skia/src/sksl/codegen/
DSkSLSPIRVCodeGenerator.cpp1824 , fPrecision(precision) {} in PointerLValue()
1835 SpvId result = fGen.nextId(fPrecision); in load()
1849 const SPIRVCodeGenerator::Precision fPrecision; member in SkSL::PointerLValue