Searched refs:numberValue (Results 1 - 6 of 6) sorted by relevance
/base/telephony/core_service/utils/common/src/ |
H A D | telephony_common_utils.cpp | 50 int64_t numberValue = std::stoll(inputValue); in IsValidDecValue() local 51 if ((numberValue >= INT32_MIN) && (numberValue <= INT32_MAX)) { in IsValidDecValue() 67 int64_t numberValue = std::stoll(inputValue, nullptr, HEX_TYPE); in IsValidHexValue() local 68 if ((numberValue >= INT32_MIN) && (numberValue <= INT32_MAX)) { in IsValidHexValue()
|
/base/telephony/call_manager/services/spam_call/src/ |
H A D | spam_call_adapter.cpp | 156 int32_t numberValue = 0; in ParseDetectResult() local 158 if (!JsonGetNumberValue(root, DETECT_RESULT, numberValue)) { in ParseDetectResult() 162 isBlock = numberValue == 1; in ParseDetectResult() 164 if (!JsonGetNumberValue(root, DECISION_REASON, numberValue)) { in ParseDetectResult() 168 blockReason = numberValue; in ParseDetectResult() 170 if (JsonGetNumberValue(root, MARK_TYPE, numberValue)) { in ParseDetectResult() 171 info.markType = static_cast<MarkType>(numberValue); in ParseDetectResult() 174 if (JsonGetNumberValue(root, MARK_COUNT, numberValue)) { in ParseDetectResult() 175 info.markCount = numberValue; in ParseDetectResult()
|
/base/hiviewdfx/hitrace/interfaces/js/kits/napi/src/ |
H A D | napi_hitrace_util.cpp | 178 int32_t numberValue = 0;
in GetPropertyInt32() local 179 status = napi_get_value_int32(env, propertyValue, &numberValue);
in GetPropertyInt32() 181 return numberValue;
in GetPropertyInt32() 202 int64_t numberValue = 0;
in GetPropertyInt64() local 203 status = napi_get_value_int64(env, propertyValue, &numberValue);
in GetPropertyInt64() 205 return numberValue;
in GetPropertyInt64()
|
/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/ |
H A D | input_method_utils.h | 268 auto numberValue = std::get_if<int32_t>(&it->second); in IsSystemPrivateCommand() local 269 if (numberValue == nullptr) { in IsSystemPrivateCommand() 273 return *numberValue == 1; in IsSystemPrivateCommand()
|
/base/inputmethod/imf/common/src/ |
H A D | itypes_util.cpp | 438 auto numberValue = std::get_if<int32_t>(&input); in Marshalling() local 439 if (numberValue != nullptr) { in Marshalling() 440 return data.WriteInt32(*numberValue); in Marshalling()
|
/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/ |
H A D | js_utils.cpp | 428 auto numberValue = std::get_if<int32_t>(&iter.second); in GetJsPrivateCommand() local 429 if (numberValue != nullptr) { in GetJsPrivateCommand() 430 NAPI_CALL(env, napi_create_int32(env, *numberValue, &value)); in GetJsPrivateCommand()
|
Completed in 7 milliseconds