Home
last modified time | relevance | path

Searched refs:ValueIsString (Results 1 - 4 of 4) sorted by relevance

/foundation/communication/netstack/frameworks/js/builtin/fetch/src/
H A Dfetch_module.cpp107 if (key == nullptr || JSI::ValueIsUndefined(key.get()) || !JSI::ValueIsString(key.get())) { in GetNameValue()
136 if (JSI::ValueIsString(body.get())) { in GetRequestBody()
181 if (JSI::ValueIsString(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(args[0])) { in StringToArrayBuffer()
255 if (value == nullptr || JSI::ValueIsUndefined(value.get()) || !JSI::ValueIsString(value.get())) { in GetResponseTypeFromOptions()
/foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin/jsi/
H A Djsi.h226 static bool ValueIsString(JSIValue value);
/foundation/arkui/ace_engine_lite/frameworks/native_engine/jsi/test/unittest/common/
H A Djsi_interface_tdd_test.cpp267 * @tc.steps: step2. call JSI ValueIsString with String object in JSIInterfaceTest007()
269 bool res1 = JSI::ValueIsString(str); in JSIInterfaceTest007()
273 * @tc.steps: step3. call JSI ValueIsString with Undefined object in JSIInterfaceTest007()
275 bool res2 = JSI::ValueIsString(undefined); in JSIInterfaceTest007()
883 * @tc.steps: step2. call JSI ValueIsString with String object in JSIInterfaceTest024()
885 bool res1 = JSI::ValueIsString(str); in JSIInterfaceTest024()
889 * @tc.steps: step3. call JSI ValueIsString with Undefined object in JSIInterfaceTest024()
891 bool res2 = JSI::ValueIsString(undefined); in JSIInterfaceTest024()
/foundation/arkui/ace_engine_lite/frameworks/native_engine/jsi/
H A Djsi.cpp246 bool JSI::ValueIsString(JSIValue value) in ValueIsString() function in OHOS::ACELite::JSI
251 HILOG_ERROR(HILOG_MODULE_ACE, "JSI:ValueIsString has not been implemented in this js engine!"); in ValueIsString()

Completed in 6 milliseconds