Home
last modified time | relevance | path

Searched refs:isTypedArray (Results 1 – 5 of 5) sorted by relevance

/base/usb/usb_manager/interfaces/kits/js/napi/src/
Dnapi_util.cpp148 bool isTypedArray = false; in JsUint8ArrayParse() local
149 if (napi_is_typedarray(env, object, &isTypedArray) != napi_ok || !isTypedArray) { in JsUint8ArrayParse()
150 …USB_ASSERT_RETURN_FALSE(env, isTypedArray, SYSPARAM_INVALID_INPUT, "The type of buffer must be Typ… in JsUint8ArrayParse()
/base/account/os_account/interfaces/kits/napi/common/src/
Dnapi_account_common.cpp281 bool isTypedArray = false; in ParseUint8TypedArray() local
282 napi_is_typedarray(env, value, &isTypedArray); in ParseUint8TypedArray()
283 if (!isTypedArray) { in ParseUint8TypedArray()
/base/customization/enterprise_device_management/interfaces/kits/common/src/
Dnapi_edm_common.cpp344 bool isTypedArray = false; in JsObjectToU8Vector() local
345 if (napi_is_typedarray(env, certEntry, &isTypedArray) != napi_ok || !isTypedArray) { in JsObjectToU8Vector()
/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/
Dreminder_common.cpp325 bool isTypedArray = false; in Convert2U8Vector() local
328 napi_is_typedarray(env, input_array, &isTypedArray); in Convert2U8Vector()
329 if (!isTypedArray) { in Convert2U8Vector()
340 if (isTypedArray) { in Convert2U8Vector()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dnapi_webview_controller.cpp3299 bool isTypedArray = false; in RestoreWebState() local
3305 NAPI_CALL(env, napi_is_typedarray(env, argv[0], &isTypedArray)); in RestoreWebState()
3306 if (!isTypedArray) { in RestoreWebState()