Home
last modified time | relevance | path

Searched refs:precision (Results 1 – 16 of 16) sorted by relevance

/base/hiviewdfx/hilog_lite/frameworks/featured/
Dhiview_log.c212 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/
Dplural_rules.cpp149 … 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()
Dnumber_format.cpp120 …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/
Doutput_p.inl43 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/
Dsensor_agent_type.h116 float precision; /**< Sensor accuracy */ member
/base/sensors/medical_sensor/interfaces/native/include/
Dmedical_native_type.h88 float precision; /**< Sensor accuracy */ member
/base/sensors/sensor_lite/frameworks/include/
Dsensor_agent_type.h120 float precision; /**< Sensor accuracy */ member
/base/update/updater/utils/include/
Dutils.h80 std::string DurationToString(std::chrono::duration<double> duration, int precision = 2);
/base/sensors/sensor/interfaces/native/include/
Dsensor_agent_type.h114 float precision; /**< Sensor accuracy */ member
/base/sensors/sensor/services/sensor/hdi_connection/adapter/src/
Dcompatible_connection.cpp68 sensor.SetResolution(sensorInfos[i].precision); in GetSensorList()
/base/sensors/sensor_lite/interfaces/kits/native/test/performance/src/
Dsensor_lite_test_performance.cpp87 (sensorInfo + i)->maxRange, (sensorInfo + i)->precision,
/base/time/time_service/
DREADME.md58 …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/
Dutils.cpp753 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/
Dsensor_agent_interfaces_test.cpp68 (sensorInfo + i)->maxRange, (sensorInfo + i)->precision,
/base/sensors/sensor/frameworks/native/sensor/src/
Dsensor_agent_proxy.cpp297 sensorInfo->precision = sensorList[i].GetResolution(); in ConvertSensorInfos()
/base/sensors/sensor/interfaces/plugin/src/
Dsensor_napi_utils.cpp266 CHKNRF(env, napi_create_double(env, sensorInfo.precision, &value), "napi_create_double"); in ConvertToSensorInfo()