/base/hiviewdfx/hilog_lite/frameworks/featured/ |
D | hiview_log.c | 212 int precision; member 467 finalPrecision = (attr->precision == -1) ? SECUREC_INT_MAX : attr->precision; in SecDecodeTypeS() 620 formatAttr.precision = 0; in HiLogSecOutputS() 661 formatAttr.precision = -1; in HiLogSecOutputS() 710 formatAttr.precision = 0; in HiLogSecOutputS() 717 formatAttr.precision = (int)va_arg(arglist, int); in HiLogSecOutputS() 718 if (formatAttr.precision < 0) { in HiLogSecOutputS() 719 formatAttr.precision = -1; in HiLogSecOutputS() 724 if (SECUREC_MUL10_ADD_BEYOND_MAX(formatAttr.precision)) { in HiLogSecOutputS() 727 formatAttr.precision = in HiLogSecOutputS() [all …]
|
/base/global/i18n/frameworks/intl/src/ |
D | plural_rules.cpp | 149 … icu::number::Precision precision = icu::number::Precision::minMaxSignificantDigits(minSignificant, in InitNumberFormatter() local 151 numberFormatter = numberFormatter.precision(precision); in InitNumberFormatter() 153 …icu::number::Precision precision = icu::number::Precision::minMaxFraction(minFraction, maxFraction… in InitNumberFormatter() local 154 numberFormatter = numberFormatter.precision(precision); in InitNumberFormatter()
|
D | number_format.cpp | 120 …mat = numberFormat.unit(icu::NoUnit::percent()).scale(icu::number::Scale::powerOfTen(2)).precision( in InitProperties() 136 …numberFormat = numberFormat.precision(icu::number::Precision::maxFraction(DEFAULT_FRACTION_DIGITS)… in InitProperties() 157 …numberFormat = numberFormat.precision(icu::number::Precision::maxSignificantDigits(maxSignificantD… in InitDigitsProperties() 163 …numberFormat = numberFormat.precision(icu::number::Precision::minSignificantDigits(minSignificantD… in InitDigitsProperties() 176 numberFormat.precision(icu::number::Precision::minFraction(minFractionDigits)); in InitDigitsProperties() 183 numberFormat.precision(icu::number::Precision::maxFraction(maxFractionDigits)); in InitDigitsProperties()
|
/base/hiviewdfx/hilog/frameworks/libhilog/vsnprintf/ |
D | output_p.inl | 43 int precision; member 46 int dynPrecision; /* %.* 1 precision from variable parameter ;0 not */ 338 finalPrecision = (attr->precision == -1) ? SECUREC_INT_MAX : attr->precision; 385 /* precision NOT assigned */ 389 /* precision assigned */ 482 formatAttr.precision = 0; 525 formatAttr.precision = -1; 575 formatAttr.precision = 0; 579 /* update precision value */ 581 /* get precision from arg list */ [all …]
|
/base/sensors/sensor_lite/interfaces/kits/native/include/ |
D | sensor_agent_type.h | 116 float precision; /**< Sensor accuracy */ member
|
/base/sensors/medical_sensor/interfaces/native/include/ |
D | medical_native_type.h | 88 float precision; /**< Sensor accuracy */ member
|
/base/sensors/sensor_lite/frameworks/include/ |
D | sensor_agent_type.h | 120 float precision; /**< Sensor accuracy */ member
|
/base/update/updater/utils/include/ |
D | utils.h | 80 std::string DurationToString(std::chrono::duration<double> duration, int precision = 2);
|
/base/sensors/sensor/interfaces/native/include/ |
D | sensor_agent_type.h | 114 float precision; /**< Sensor accuracy */ member
|
/base/sensors/sensor/services/sensor/hdi_connection/adapter/src/ |
D | compatible_connection.cpp | 68 sensor.SetResolution(sensorInfos[i].precision); in GetSensorList()
|
/base/sensors/sensor_lite/interfaces/kits/native/test/performance/src/ |
D | sensor_lite_test_performance.cpp | 87 (sensorInfo + i)->maxRange, (sensorInfo + i)->precision,
|
/base/time/time_service/ |
D | README.md | 58 …ed as a wake-up timer; <br/>When the value is 4, it is represented as a precision timer; <br/>If t…
|
/base/update/updater/utils/ |
D | utils.cpp | 753 std::string DurationToString(std::chrono::duration<double> duration, int precision) in DurationToString() argument 756 oss << std::fixed << std::setprecision(precision) << duration.count(); in DurationToString()
|
/base/sensors/sensor_lite/interfaces/kits/native/test/unittest/src/ |
D | sensor_agent_interfaces_test.cpp | 68 (sensorInfo + i)->maxRange, (sensorInfo + i)->precision,
|
/base/sensors/sensor/frameworks/native/sensor/src/ |
D | sensor_agent_proxy.cpp | 297 sensorInfo->precision = sensorList[i].GetResolution(); in ConvertSensorInfos()
|
/base/sensors/sensor/interfaces/plugin/src/ |
D | sensor_napi_utils.cpp | 266 CHKNRF(env, napi_create_double(env, sensorInfo.precision, &value), "napi_create_double"); in ConvertToSensorInfo()
|