/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/module_manager/test/unittest/common/ |
H A D | require_module_tdd_test.cpp | 50 EXPECT_FALSE(JSI::ValueIsUndefined(moduleRequired)); in RequireModuleTest001() 66 EXPECT_TRUE(JSI::ValueIsUndefined(moduleRequired)); in RequireModuleTest002() 82 EXPECT_TRUE(JSI::ValueIsUndefined(moduleRequired)); in RequireModuleTest003() 98 EXPECT_TRUE(JSI::ValueIsUndefined(moduleRequired)); in RequireModuleTest004() 114 EXPECT_FALSE(JSI::ValueIsUndefined(moduleRequired)); in RequireModuleTest005() 123 EXPECT_FALSE(JSI::ValueIsUndefined(jFunc)); in RequireModuleTest005() 132 EXPECT_TRUE(JSI::ValueIsUndefined(result)); in RequireModuleTest005() 157 EXPECT_FALSE(JSI::ValueIsUndefined(jFunc)); in RequireModuleTest006() 166 EXPECT_TRUE(JSI::ValueIsUndefined(result)); in RequireModuleTest006() 191 EXPECT_FALSE(JSI::ValueIsUndefined(jFunc)); in RequireModuleTest007() [all …]
|
/ohos5.0/commonlibrary/utils_lite/js/builtin/common/src/ |
H A D | nativeapi_common.cpp | 24 if (JSI::ValueIsUndefined(args)) { in FailCallBack() 48 if (!JSI::ValueIsUndefined(fail)) { in FailCallBack() 51 if (!JSI::ValueIsUndefined(complete)) { in FailCallBack() 59 if (JSI::ValueIsUndefined(args)) { in SuccessCallBack() 64 if (!JSI::ValueIsUndefined(success)) { in SuccessCallBack() 65 if (JSI::ValueIsUndefined(jsiValue)) { in SuccessCallBack() 71 if (!JSI::ValueIsUndefined(complete)) { in SuccessCallBack() 79 if ((args == nullptr) || (argsNum == 0) || JSI::ValueIsUndefined(args[0])) { in IsValidJSIValue()
|
/ohos5.0/base/powermgr/battery_lite/frameworks/js/builtin/src/ |
H A D | battery_module.cpp | 25 if (JSI::ValueIsUndefined(args)) { in SuccessCallBack() 30 if (!JSI::ValueIsUndefined(success)) { in SuccessCallBack() 31 if (JSI::ValueIsUndefined(jsiValue)) { in SuccessCallBack() 37 if (!JSI::ValueIsUndefined(complete)) { in SuccessCallBack() 48 if ((args == nullptr) || (argsNum == 0) || JSI::ValueIsUndefined(args[0])) { in GetBatterySOC() 64 if ((args == nullptr) || (argsNum == 0) || JSI::ValueIsUndefined(args[0])) { in GetChargingStatus() 80 if ((args == nullptr) || (argsNum == 0) || JSI::ValueIsUndefined(args[0])) { in GetHealthStatus() 96 if ((args == nullptr) || (argsNum == 0) || JSI::ValueIsUndefined(args[0])) { in GetPluggedType() 113 if ((args == nullptr) || (argsNum == 0) || JSI::ValueIsUndefined(args[0])) { in GetVoltage() 129 if ((args == nullptr) || (argsNum == 0) || JSI::ValueIsUndefined(args[0])) { in GetTechnology() [all …]
|
/ohos5.0/base/powermgr/powermgr_lite/interfaces/kits/battery/js/builtin/src/ |
H A D | battery_module.cpp | 24 if (JSI::ValueIsUndefined(args)) { in SuccessCallBack() 29 if (!JSI::ValueIsUndefined(success)) { in SuccessCallBack() 30 if (JSI::ValueIsUndefined(jsiValue)) { in SuccessCallBack() 36 if (!JSI::ValueIsUndefined(complete)) { in SuccessCallBack() 45 if ((args == nullptr) || (argsNum == 0) || JSI::ValueIsUndefined(args[0])) { in GetStatus()
|
/ohos5.0/foundation/communication/netstack/frameworks/js/builtin/fetch/src/ |
H A D | fetch_module.cpp | 67 if (options == nullptr || JSI::ValueIsUndefined(options) || !JSI::ValueIsObject(options)) { in JsObjectToRequestData() 86 …if (jsHeaders != nullptr && !JSI::ValueIsUndefined(jsHeaders.get()) && JSI::ValueIsObject(jsHeader… in JsObjectToRequestData() 98 if (keys == nullptr || JSI::ValueIsUndefined(keys.get()) || !JSI::ValueIsArray(keys.get())) { in GetNameValue() 107 if (key == nullptr || JSI::ValueIsUndefined(key.get()) || !JSI::ValueIsString(key.get())) { in GetNameValue() 131 if (body == nullptr || JSI::ValueIsUndefined(body.get())) { in GetRequestBody() 169 if (extraData == nullptr || JSI::ValueIsUndefined(extraData.get())) { in ParseExtraData() 219 … if (value == nullptr || JSI::ValueIsUndefined(value.get()) || !JSI::ValueIsString(value.get())) { in GetMethodFromOptions() 231 …if (argsNum < 1 || args[0] == nullptr || JSI::ValueIsUndefined(args[0]) || !JSI::ValueIsString(arg… in StringToArrayBuffer() 255 … if (value == nullptr || JSI::ValueIsUndefined(value.get()) || !JSI::ValueIsString(value.get())) { in GetResponseTypeFromOptions()
|
H A D | http_async_callback.cpp | 79 …if (jsonObj != nullptr && !JSI::ValueIsUndefined(jsonObj.get()) && JSI::ValueIsObject(jsonObj.get(… in ResponseDataToJsValue() 103 if (success == nullptr || JSI::ValueIsUndefined(success) || !JSI::ValueIsFunction(success)) { in OnSuccess() 108 if (obj == nullptr || JSI::ValueIsUndefined(obj.get()) || !JSI::ValueIsObject(obj.get())) { in OnSuccess() 119 if (fail == nullptr || JSI::ValueIsUndefined(fail) || !JSI::ValueIsFunction(fail)) { in OnFail() 132 if (complete == nullptr || JSI::ValueIsUndefined(complete) || !JSI::ValueIsFunction(complete)) { in OnComplete()
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/ |
H A D | app_module.cpp | 135 if ((args == nullptr) || (argsNum == 0) || (JSI::ValueIsUndefined(args[0]))) { in ScreenOnVisible() 142 if (!JSI::ValueIsUndefined(visibleInput)) { in ScreenOnVisible() 161 if ((!JSI::ValueIsUndefined(callback)) && JSI::ValueIsFunction(callback)) { in OnSetActionSuccess() 171 if ((!JSI::ValueIsUndefined(fail)) && JSI::ValueIsFunction(fail)) { in OnSetActionFail() 184 if ((!JSI::ValueIsUndefined(callback)) && JSI::ValueIsFunction(callback)) { in OnSetActionComplete()
|
H A D | sample_module.cpp | 33 if ((args == nullptr) || (argsNum == 0) || JSI::ValueIsUndefined(args[0])) { in TestCallback() 50 if ((args == nullptr) || (argsNum == 0) || JSI::ValueIsUndefined(args[0])) { in TestStandardCallback() 92 if ((args == nullptr) || (argsNum == 0) || JSI::ValueIsUndefined(args[0])) { in TestCallbackWithArgs() 130 if ((args == nullptr) || (argsNum == 0) || JSI::ValueIsUndefined(args[0])) { in TestStandardCallbackWithArgs() 184 if ((args == nullptr) || (argsNum == 0) || JSI::ValueIsUndefined(args[0])) { in Setter()
|
H A D | dfx_module.cpp | 193 if (JSI::ValueIsUndefined(point)) { in DumpDomTree()
|
/ohos5.0/base/hiviewdfx/hilog_lite/frameworks/js/builtin/src/ |
H A D | hilog_module.cpp | 178 if ((args == nullptr) || (argsNum < MIN_NUMBER) || JSI::ValueIsUndefined(args[FIRST]) || in IsLoggable() 179 JSI::ValueIsUndefined(args[SECOND]) || JSI::ValueIsUndefined(args[THIRD])) { in IsLoggable() 243 JSI::ValueIsUndefined(args[FIRST]) || JSI::ValueIsUndefined(args[SECOND]) || in HilogImpl() 244 JSI::ValueIsUndefined(args[THIRD]) || JSI::ValueIsNull(args[FIRST]) || in HilogImpl() 296 …if (argsNum > MIN_NUMBER && !JSI::ValueIsUndefined(args[FOURTH]) && !JSI::ValueIsNull(args[FOURTH]… in HilogImplParseValue()
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/module_manager/ |
H A D | module_manager.cpp | 44 if ((JSI::ValueIsUndefined(moduleObj)) && (productModulesGetter_ != nullptr)) { in RequireModule() 51 if ((JSI::ValueIsUndefined(moduleObj)) && (privateModulesGetter_ != nullptr)) { in RequireModule() 184 if (JSI::ValueIsUndefined(moduleObj)) { in InitModuleObject()
|
/ohos5.0/base/security/permission_lite/services/js_api/src/ |
H A D | perm_module.cpp | 26 if ((args == nullptr) || argsNum == 0 || JSI::ValueIsUndefined(args[0])) { in CheckSelfPerm()
|
/ohos5.0/base/security/huks/frameworks/crypto_lite/js/builtin/src/ |
H A D | cipher_module.cpp | 26 if ((args == nullptr) || argsNum == 0 || JSI::ValueIsUndefined(args[0])) { in Rsa() 100 if ((args == nullptr) || argsNum == 0 || JSI::ValueIsUndefined(args[0])) { in Aes()
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/native_engine/jsi/test/unittest/common/ |
H A D | jsi_interface_tdd_test.cpp | 116 if (JSI::ValueIsUndefined(global)) { in JSIInterfaceTest002() 121 EXPECT_FALSE(JSI::ValueIsUndefined(global)); in JSIInterfaceTest002() 342 bool res1 = JSI::ValueIsUndefined(undef); in JSIInterfaceTest009() 348 bool res2 = JSI::ValueIsUndefined(obj); in JSIInterfaceTest009() 1330 dataCheckRes = JSI::ValueIsUndefined(dataPropertyValue); in JSIInterfaceTest038()
|
/ohos5.0/foundation/multimedia/media_lite/interfaces/kits/player_lite/js/builtin/src/ |
H A D | audio_module.cpp | 75 if (!JSI::ValueIsUndefined(successCallback)) { in GetPlayState() 91 if (!JSI::ValueIsUndefined(completeCallback)) { in GetPlayState()
|
H A D | audio_player.cpp | 60 if (!JSI::ValueIsUndefined(callback_)) { in ~AudioEventListener()
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/native_engine/jsi/ |
H A D | jsi.cpp | 226 bool JSI::ValueIsUndefined(JSIValue value) in ValueIsUndefined() function in OHOS::ACELite::JSI 1147 if (ValueIsUndefined(args)) { in FailCallback() 1163 if (ValueIsUndefined(args)) { in SuccessCallback()
|
/ohos5.0/foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin/jsi/ |
H A D | jsi.h | 208 static bool ValueIsUndefined(JSIValue value);
|