Home
last modified time | relevance | path

Searched refs:numValue (Results 1 - 7 of 7) sorted by relevance

/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/
H A Dhiappevent_config.cpp131 uint64_t numValue = std::stoull(value, &numEndIndex, DECIMAL_UNIT); in SetMaxStorageSizeItem() local
133 SetMaxStorageSize(numValue); in SetMaxStorageSizeItem()
142 maxStoSize = numValue; in SetMaxStorageSizeItem()
145 maxStoSize = numValue * STORAGE_UNIT_KB; in SetMaxStorageSizeItem()
148 maxStoSize = numValue * STORAGE_UNIT_MB; in SetMaxStorageSizeItem()
151 maxStoSize = numValue * STORAGE_UNIT_GB; in SetMaxStorageSizeItem()
154 maxStoSize = numValue * STORAGE_UNIT_TB; in SetMaxStorageSizeItem()
/base/print/print_fwk/frameworks/helper/scan_helper/src/
H A Dscan_option_value.cpp72 void ScanOptionValue::SetNumValue(const int32_t &numValue) in SetNumValue() argument
74 numValue_ = numValue; in SetNumValue()
H A Dscan_option_value_helper.cpp24 static constexpr const char *PARAM_SCAN_OPTION_NUM_VALUE = "numValue";
75 int32_t numValue = NapiScanUtils::GetInt32Property(env, jsValue, PARAM_SCAN_OPTION_NUM_VALUE); in BuildFromJs() local
76 nativeObj->SetNumValue(numValue); in BuildFromJs()
/base/print/print_fwk/frameworks/helper/scan_helper/include/
H A Dscan_option_value.h39 void SetNumValue(const int32_t &numValue);
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
H A Dnapi_hisysevent_util.cpp164 double numValue = defaultValue; in ParseNumberValue() local
165 napi_status ret = napi_get_value_double(env, value, &numValue); in ParseNumberValue()
169 return numValue; in ParseNumberValue()
/base/print/print_fwk/test/fuzztest/scanhelper_fuzzer/
H A Dscanhelper_fuzzer.cpp172 int32_t numValue = dataProvider->ConsumeIntegralInRange<int32_t>(0, MAX_SET_NUMBER); in TestSetNumValue() local
173 scanOptVal.SetNumValue(numValue); in TestSetNumValue()
174 numValue = scanOptVal.GetNumValue(); in TestSetNumValue()
/base/print/print_fwk/services/scan_service/src/
H A Dscan_service_ability.cpp851 int32_t numValue = value.GetNumValue(); in ActionSetValueHelper() local
852 dpi = numValue > 0 && numValue < MAX_PICTURE_DPI ? numValue : 0; in ActionSetValueHelper()

Completed in 8 milliseconds