Home
last modified time | relevance | path

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

/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_common/
H A Dnapi_common_util.cpp559 bool UnwrapArrayComplexFromJSNumber(napi_env env, ComplexArrayData &value, bool isDouble, napi_valu… in UnwrapArrayComplexFromJSNumber() argument
563 if (isDouble) { in UnwrapArrayComplexFromJSNumber()
567 return isDouble; in UnwrapArrayComplexFromJSNumber()
574 isDouble = true; in UnwrapArrayComplexFromJSNumber()
588 isDouble = true; in UnwrapArrayComplexFromJSNumber()
597 return isDouble; in UnwrapArrayComplexFromJSNumber()
609 bool isDouble = false; in UnwrapArrayComplexFromJS() local
640 isDouble = UnwrapArrayComplexFromJSNumber(env, value, isDouble, jsValue); in UnwrapArrayComplexFromJS()
/ohos5.0/base/powermgr/battery_statistics/services/native/src/
H A Dbattery_stats_parser.cpp101 } else if (value.isDouble()) { in LoadAveragePowerFromFile()
112 if (value.isDouble()) { in ParsingArray()
H A Dbattery_stats_core.cpp928 if (!root["Power"][*iter].isDouble()) { in UpdateStatsEntity()
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/plugincomponent/
H A Djs_plugin_util.cpp627 void AceUnwrapNumberComplexFromJS(napi_env env, napi_value jsValue, bool& isDouble, ACEComplexArray… in AceUnwrapNumberComplexFromJS() argument
631 if (isDouble) { in AceUnwrapNumberComplexFromJS()
640 isDouble = true; in AceUnwrapNumberComplexFromJS()
649 isDouble = true; in AceUnwrapNumberComplexFromJS()
666 bool isDouble = false; in AceUnwrapArrayComplexFromJS() local
690 AceUnwrapNumberComplexFromJS(env, jsValue, isDouble, value); in AceUnwrapArrayComplexFromJS()
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/cj/ffi/src/
H A Dappevent_watcher_impl.cpp226 } else if (jsonValue[static_cast<int>(0)].isDouble()) { in CreatArr()
298 } else if (jsonValue.isDouble()) { in CreateValueByJson()
/ohos5.0/base/hiviewdfx/hisysevent/frameworks/native/
H A Dhisysevent_json_decorator.cpp238 return eventJson.isDouble(); in HiSysEventJsonDecorator()
/ohos5.0/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/
H A Dhisysevent_record.cpp412 return jsonVal_.isDouble(); in ParseJsonStr()
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
H A Dnapi_util.cpp552 if (jsonValue.isDouble()) { in CreateBaseValueByJson()
/ohos5.0/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dnapi_webview_controller.cpp119 napi_valuetype GetArrayValueType(napi_env env, napi_value array, bool& isDouble) in GetArrayValueType() argument
147 isDouble = abs(elementDouble - elementInt32 * 1.0) > MINIMAL_ERROR; in GetArrayValueType()
149 isDouble = true; in GetArrayValueType()
1776 bool isDouble = false; in SetArray() local
1777 napi_valuetype valueType = GetArrayValueType(env, argv[INTEGER_ZERO], isDouble); in SetArray()
1787 { napi_number, [isDouble](napi_env env, napi_value array, WebMessageExt* msgExt) { in SetArray()
1788 isDouble ? SetArrayHandlerDouble(env, array, msgExt) in SetArray()
/ohos5.0/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
H A Dnapi_hisysevent_util.cpp685 if (jsonValue.isDouble()) { in CreateParamItemTypeValue()