/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/utils/ |
H A D | napi_common.cpp | 70 napi_get_named_property(env, argValue, str.c_str(), &tempValue); in SetColorFromJS() 78 napi_get_named_property(env, tempValue, "alpha", &tempValueChild); in SetColorFromJS() 80 napi_get_named_property(env, tempValue, "red", &tempValueChild); in SetColorFromJS() 84 napi_get_named_property(env, tempValue, "blue", &tempValueChild); in SetColorFromJS() 100 napi_get_named_property(env, argValue, str.c_str(), &tempValue); in GetDecorationFromJS() 314 napi_get_named_property(env, argValue, "locale", &tempValue); in ParsePartTextStyle() 352 napi_get_named_property(env, argValue, "align", &tempValue); in GetParagraphStyleFromJS() 395 napi_get_named_property(env, argValue, "width", &tempValue); in GetPlaceholderSpanFromJS() 403 napi_get_named_property(env, argValue, "height", &tempValue); in GetPlaceholderSpanFromJS() 411 napi_get_named_property(env, argValue, "align", &tempValue); in GetPlaceholderSpanFromJS() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/measure/ |
H A D | js_measure.cpp | 204 napi_get_named_property(env, argv, "textContent", &textContentNApi); in JSMeasureText() 205 napi_get_named_property(env, argv, "fontSize", &fontSizeNApi); in JSMeasureText() 206 napi_get_named_property(env, argv, "fontStyle", &fontStyleNApi); in JSMeasureText() 207 napi_get_named_property(env, argv, "fontWeight", &fontWeightNApi); in JSMeasureText() 208 napi_get_named_property(env, argv, "fontFamily", &fontFamilyNApi); in JSMeasureText() 209 napi_get_named_property(env, argv, "letterSpacing", &letterSpacingNApi); in JSMeasureText() 278 napi_get_named_property(env, argv, "fontSize", &contextParamMap["fontSizeNApi"]); in SetMeasureTextNapiProperty() 279 napi_get_named_property(env, argv, "fontStyle", &contextParamMap["fontStyleNApi"]); in SetMeasureTextNapiProperty() 283 napi_get_named_property(env, argv, "textAlign", &contextParamMap["textAlignNApi"]); in SetMeasureTextNapiProperty() 285 napi_get_named_property(env, argv, "maxLines", &contextParamMap["maxLinesNApi"]); in SetMeasureTextNapiProperty() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/promptaction/ |
H A D | prompt_action.cpp | 189 napi_get_named_property(env, offsetApi, "dx", &dxApi); in GetToastOffset() 190 napi_get_named_property(env, offsetApi, "dy", &dyApi); in GetToastOffset() 280 napi_get_named_property(env, shadowNApi, "radius", &radiusApi); in GetToastObjectShadow() 281 napi_get_named_property(env, shadowNApi, "color", &colorApi); in GetToastObjectShadow() 282 napi_get_named_property(env, shadowNApi, "type", &typeApi); in GetToastObjectShadow() 283 napi_get_named_property(env, shadowNApi, "fill", &fillApi); in GetToastObjectShadow() 427 napi_get_named_property(env, argv, "message", &messageNApi); in GetToastParams() 429 napi_get_named_property(env, argv, "bottom", &bottomNApi); in GetToastParams() 432 napi_get_named_property(env, argv, "offset", &offsetApi); in GetToastParams() 436 napi_get_named_property(env, argv, "shadow", &shadowNApi); in GetToastParams() [all …]
|
/ohos5.0/base/location/frameworks/js/napi/notification/src/ |
H A D | notification_napi.cpp | 86 napi_get_named_property(env, value, "userId", &nUserId); in GetNotificationSubscriberInfo() 449 napi_get_named_property(env, value, "type", &nobj); in GetNotificationSlot() 500 napi_get_named_property(env, value, "desc", &nobj); in GetNotificationSlotByString() 517 napi_get_named_property(env, value, "sound", &nobj); in GetNotificationSlotByString() 601 napi_get_named_property(env, value, "level", &nobj); in GetNotificationSlotByNumber() 725 napi_get_named_property(env, value, "bundle", &result); in GetBundleOption() 738 napi_get_named_property(env, value, "uid", &result); in GetBundleOption() 822 napi_get_named_property(env, value, "id", &result); in GetNotificationKey() 835 napi_get_named_property(env, value, "label", &result); in GetNotificationKey() 933 napi_get_named_property(env, value, "name", &result); in GetNotificationTemplateInfo() [all …]
|
H A D | notification_napi_convert_liveview.cpp | 46 napi_get_named_property(env, result, "systemLiveView", &contentResult); in GetNotificationLocalLiveViewContent() 83 napi_get_named_property(env, contentResult, "capsule", &capsuleResult); in GetNotificationLocalLiveViewCapsule() 94 napi_get_named_property(env, capsuleResult, "title", &result); in GetNotificationLocalLiveViewCapsule() 120 napi_get_named_property(env, capsuleResult, "icon", &result); in GetNotificationLocalLiveViewCapsule() 156 napi_get_named_property(env, contentResult, "button", &buttonResult); in GetNotificationLocalLiveViewButton() 167 napi_get_named_property(env, buttonResult, "names", &result); in GetNotificationLocalLiveViewButton() 190 napi_get_named_property(env, buttonResult, "icons", &result); in GetNotificationLocalLiveViewButton() 300 napi_get_named_property(env, contentResult, "time", &timeResult); in GetNotificationLocalLiveViewTime() 338 napi_get_named_property(env, timeResult, "isPaused", &result); in GetNotificationLocalLiveViewTime() 351 napi_get_named_property(env, timeResult, "isInTitle", &result); in GetNotificationLocalLiveViewTime() [all …]
|
H A D | notification_napi_convert_content.cpp | 131 napi_get_named_property(env, result, "normal", &contentResult); in GetNotificationBasicContent() 217 napi_get_named_property(env, result, "longText", &contentResult); in GetNotificationLongTextContent() 329 napi_get_named_property(env, result, "picture", &contentResult); in GetNotificationPictureContent() 484 napi_get_named_property(env, contentResult, "user", &userResult); in GetNotificationConversationalContentByUser() 533 napi_get_named_property(env, result, "name", &nameResult); in GetMessageUserByString() 550 napi_get_named_property(env, result, "key", &keyResult); in GetMessageUserByString() 567 napi_get_named_property(env, result, "uri", &uriResult); in GetMessageUserByString() 595 napi_get_named_property(env, result, "isMachine", &machineResult); in GetMessageUserByBool() 638 napi_get_named_property(env, result, "icon", &iconResult); in GetMessageUserByCustom() 917 napi_get_named_property(env, result, "multiLine", &contentResult); in GetNotificationMultiLineContent() [all …]
|
H A D | notification_napi_convert_request.cpp | 231 napi_get_named_property(env, value, "smallIcon", &result); in GetNotificationSmallIcon() 260 napi_get_named_property(env, value, "largeIcon", &result); in GetNotificationLargeIcon() 410 napi_get_named_property(env, value, "id", &result); in GetNotificationId() 459 napi_get_named_property(env, value, "slotType", &result); in GetNotificationSlotType() 493 napi_get_named_property(env, value, "isOngoing", &result); in GetNotificationIsOngoing() 593 napi_get_named_property(env, value, "wantAgent", &result); in GetNotificationWantAgent() 623 napi_get_named_property(env, value, "extraInfo", &result); in GetNotificationExtraInfo() 653 napi_get_named_property(env, value, "groupName", &result); in GetNotificationGroupName() 815 napi_get_named_property(env, value, "color", &result); in GetNotificationColor() 970 napi_get_named_property(env, value, "label", &result); in GetNotificationLabel() [all …]
|
/ohos5.0/foundation/communication/nfc/frameworks/js/napi/tag/ |
H A D | nfc_napi_tag.cpp | 252 napi_get_named_property(env, extraValue, KITS::TagInfo::SAK, &extraKeyValue); in ParseTechAndExtraFromJsTagInfo() 257 napi_get_named_property(env, extraValue, KITS::TagInfo::ATQA, &extraKeyValue); in ParseTechAndExtraFromJsTagInfo() 743 napi_get_named_property(env, parameters, VAR_TECH.c_str(), &propValue); in BuildTagTechAndExtraData() 770 napi_get_named_property(env, parameters, KITS::TagInfo::SAK, &propValue); in BuildTagTechAndExtraData() 774 napi_get_named_property(env, parameters, KITS::TagInfo::ATQA, &propValue); in BuildTagTechAndExtraData() 792 napi_get_named_property(env, parameters, KITS::TagInfo::NFCF_SC, &propValue); in BuildTagTechAndExtraData() 801 napi_get_named_property(env, parameters, KITS::TagInfo::DSF_ID, &propValue); in BuildTagTechAndExtraData() 849 napi_get_named_property(env, parameters, VAR_UID.c_str(), &propValue); in BuildTagFromWantParams() 863 napi_get_named_property(env, parameters, VAR_RF_ID.c_str(), &propValue); in BuildTagFromWantParams() 872 napi_get_named_property(env, parameters, VAR_SERVICE.c_str(), &propValue); in BuildTagFromWantParams() [all …]
|
/ohos5.0/foundation/window/window_manager/window_scene/interfaces/kits/napi/screen_session_manager/ |
H A D | js_screen_utils.cpp | 170 napi_get_named_property(env, jsObject, "left", &jsLeft); in ConvertRRectFromJs() 171 napi_get_named_property(env, jsObject, "top", &jsTop); in ConvertRRectFromJs() 172 napi_get_named_property(env, jsObject, "width", &jsWidth); in ConvertRRectFromJs() 173 napi_get_named_property(env, jsObject, "height", &jsHeight); in ConvertRRectFromJs() 174 napi_get_named_property(env, jsObject, "radius", &jsRadius); in ConvertRRectFromJs() 224 napi_get_named_property(env, jsObject, "rotation", &jsRotation); in ConvertScreenDirectionInfoFromJs() 225 napi_get_named_property(env, jsObject, "phyRotation", &jsPhyRotation); in ConvertScreenDirectionInfoFromJs() 264 napi_get_named_property(env, jsObject, "posX", &jsPosX); in ConvertDMRectFromJs() 265 napi_get_named_property(env, jsObject, "posY", &jsPosY); in ConvertDMRectFromJs() 266 napi_get_named_property(env, jsObject, "width", &jsWidth); in ConvertDMRectFromJs() [all …]
|
/ohos5.0/docs/zh-cn/application-dev/napi/ |
H A D | use-napi-load-module-with-info.md | 88 // 2. 使用napi_get_named_property获取test函数 89 napi_get_named_property(env, result, "test", &testFn); 151 // 2. 使用napi_get_named_property获取test函数 152 napi_get_named_property(env, result, "test", &testFn); 256 // 3. 使用napi_get_named_property获取stringify函数 278 // 2. 使用napi_get_named_property获取info函数 280 napi_get_named_property(env, result, "info", &infoFn); 344 // 2. 使用napi_get_named_property获取add函数 345 napi_get_named_property(env, result, "add", &addFn); 407 // 2. 使用napi_get_named_property获取test函数 [all …]
|
H A D | use-napi-load-module.md | 5 …的功能是在主线程中进行模块的加载,当模块加载出来之后,可以使用函数napi_get_property获取模块导出的变量,也可以使用napi_get_named_property获取模块导出的函数,… 42 // 2. 使用napi_get_named_property获取info函数 44 napi_get_named_property(env, result, "info", &infoFn); 102 // 2. 使用napi_get_named_property获取test函数 103 napi_get_named_property(env, result, "test", &testFn);
|
/ohos5.0/foundation/communication/ipc/ipc/native/src/napi/src/ |
H A D | napi_ipc_skeleton.cpp | 62 napi_get_named_property(env, global, "activeStatus_", &napiActiveStatus); in NAPI_IPCSkeleton_getCallingTokenId() 83 napi_get_named_property(env, global, "activeStatus_", &napiActiveStatus); in NAPI_IPCSkeleton_getCallingDeviceID() 103 napi_get_named_property(env, global, "activeStatus_", &napiActiveStatus); in NAPI_IPCSkeleton_getLocalDeviceID() 109 napi_get_named_property(env, global, "localDeviceID_", &localDeviceID); in NAPI_IPCSkeleton_getLocalDeviceID() 123 napi_get_named_property(env, global, "activeStatus_", &napiActiveStatus); in NAPI_IPCSkeleton_isLocalCalling() 189 napi_get_named_property(env, global, "activeStatus_", &napiActiveStatus); in NAPI_IPCSkeleton_resetCallingIdentity() 198 napi_get_named_property(env, global, "callingPid_", &napiCallingPid); in NAPI_IPCSkeleton_resetCallingIdentity() 202 napi_get_named_property(env, global, "callingUid_", &napiCallingUid); in NAPI_IPCSkeleton_resetCallingIdentity() 206 napi_get_named_property(env, global, "isLocalCalling_", &napiIsLocalCalling); in NAPI_IPCSkeleton_resetCallingIdentity() 274 napi_get_named_property(env, global, "activeStatus_", &napiActiveStatus); in NAPI_IPCSkeleton_setCallingIdentity() [all …]
|
/ohos5.0/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/ |
H A D | js_scene_utils.cpp | 312 napi_get_named_property(env, jsObject, "appIndex", &jsAppIndex); in ConvertSessionInfoName() 462 napi_get_named_property(env, jsObject, "left", &jsLeftName); in ConvertRectInfoFromJs() 464 napi_get_named_property(env, jsObject, "top", &jsTopName); in ConvertRectInfoFromJs() 466 napi_get_named_property(env, jsObject, "right", &jsRightName); in ConvertRectInfoFromJs() 499 napi_get_named_property(env, jsObject, "width", &jsWidth); in ConvertHookInfoFromJs() 501 napi_get_named_property(env, jsObject, "height", &jsHeight); in ConvertHookInfoFromJs() 503 napi_get_named_property(env, jsObject, "density", &jsDensity); in ConvertHookInfoFromJs() 551 napi_get_named_property(env, touchObject, "id", &jsId); in ConvertPointerItemFromJs() 650 napi_get_named_property(env, jsObject, "touches", &jsTouches); in ConvertPointerEventFromJs() 675 napi_get_named_property(env, touchObject, "id", &jsId); in ConvertPointerEventFromJs() [all …]
|
/ohos5.0/foundation/communication/ipc/ipc/native/src/napi_common/source/ |
H A D | napi_process_skeleton.cpp | 26 napi_get_named_property(env, global, "activeStatus_", &napiActiveStatus); in NAPI_getCallingPid() 32 napi_get_named_property(env, global, "callingPid_", &callingPid); in NAPI_getCallingPid() 47 napi_get_named_property(env, global, "activeStatus_", &napiActiveStatus); in NAPI_getCallingUid() 53 napi_get_named_property(env, global, "callingUid_", &callingUid); in NAPI_getCallingUid()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | common.cpp | 336 napi_get_named_property(env, value, "userId", &nUserId); in GetNotificationSubscriberInfo() 720 napi_get_named_property(env, value, "type", &nobj); in GetNotificationSlot() 770 napi_get_named_property(env, value, "desc", &nobj); in GetNotificationSlotByString() 787 napi_get_named_property(env, value, "sound", &nobj); in GetNotificationSlotByString() 869 napi_get_named_property(env, value, "level", &nobj); in GetNotificationSlotByNumber() 991 napi_get_named_property(env, value, "bundle", &result); in GetBundleOption() 1004 napi_get_named_property(env, value, "uid", &result); in GetBundleOption() 1086 napi_get_named_property(env, value, "id", &result); in GetNotificationKey() 1099 napi_get_named_property(env, value, "label", &result); in GetNotificationKey() 1253 napi_get_named_property(env, value, "name", &result); in GetNotificationTemplateInfo() [all …]
|
H A D | common_convert_liveview.cpp | 450 napi_get_named_property(env, capsuleResult, "title", &result); in GetNotificationLocalLiveViewCapsule() 477 napi_get_named_property(env, capsuleResult, "content", &result); in GetNotificationLocalLiveViewCapsule() 490 napi_get_named_property(env, capsuleResult, "icon", &result); in GetNotificationLocalLiveViewCapsule() 539 napi_status status = napi_get_named_property(env, value, "id", &id); in GetResourceObject() 577 napi_get_named_property(env, contentResult, "button", &buttonResult); in GetNotificationLocalLiveViewButton() 588 napi_get_named_property(env, buttonResult, "names", &result); in GetNotificationLocalLiveViewButton() 611 napi_get_named_property(env, buttonResult, "icons", &result); in GetNotificationLocalLiveViewButton() 749 napi_get_named_property(env, contentResult, "time", &timeResult); in GetNotificationLocalLiveViewTime() 787 napi_get_named_property(env, timeResult, "isPaused", &result); in GetNotificationLocalLiveViewTime() 800 napi_get_named_property(env, timeResult, "isInTitle", &result); in GetNotificationLocalLiveViewTime() [all …]
|
H A D | common_convert_content.cpp | 519 napi_get_named_property(env, result, "normal", &contentResult); in GetNotificationBasicContent() 611 napi_get_named_property(env, result, "longText", &contentResult); in GetNotificationLongTextContent() 728 napi_get_named_property(env, result, "picture", &contentResult); in GetNotificationPictureContent() 892 napi_get_named_property(env, contentResult, "user", &userResult); in GetNotificationConversationalContentByUser() 940 napi_get_named_property(env, result, "name", &nameResult); in GetMessageUserByString() 957 napi_get_named_property(env, result, "key", &keyResult); in GetMessageUserByString() 974 napi_get_named_property(env, result, "uri", &uriResult); in GetMessageUserByString() 1001 napi_get_named_property(env, result, "isMachine", &machineResult); in GetMessageUserByBool() 1043 napi_get_named_property(env, result, "icon", &iconResult); in GetMessageUserByCustom() 1319 napi_get_named_property(env, result, "multiLine", &contentResult); in GetNotificationMultiLineContent() [all …]
|
H A D | common_convert_request.cpp | 755 napi_get_named_property(env, value, "smallIcon", &result); in GetNotificationSmallIcon() 783 napi_get_named_property(env, value, "largeIcon", &result); in GetNotificationLargeIcon() 932 napi_get_named_property(env, value, "id", &result); in GetNotificationId() 980 napi_get_named_property(env, value, "slotType", &result); in GetNotificationSlotType() 1013 napi_get_named_property(env, value, "isOngoing", &result); in GetNotificationIsOngoing() 1112 napi_get_named_property(env, value, "wantAgent", &result); in GetNotificationWantAgent() 1141 napi_get_named_property(env, value, "extraInfo", &result); in GetNotificationExtraInfo() 1170 napi_get_named_property(env, value, "groupName", &result); in GetNotificationGroupName() 1351 napi_get_named_property(env, value, "color", &result); in GetNotificationColor() 1505 napi_get_named_property(env, value, "label", &result); in GetNotificationLabel() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/ |
H A D | js_drawing_utils.cpp | 98 napi_get_named_property(env, jsValue, g_argbString[idx], &tempValue); in ConvertFromJsColor() 112 napi_get_named_property(env, jsValue, g_ltrbString[idx], &tempValue); in ConvertFromJsRect() 125 napi_get_named_property(env, jsValue, g_ltrbString[idx], &tempValue); in ConvertFromJsIRect() 158 napi_get_named_property(env, src, "x", &tempValue); in ConvertFromJsPoint3d() 160 napi_get_named_property(env, src, "y", &tempValue); in ConvertFromJsPoint3d() 162 napi_get_named_property(env, src, "z", &tempValue); in ConvertFromJsPoint3d() 176 napi_get_named_property(env, jsValue, g_pointString[idx], &tempValue); in ConvertFromJsPoint()
|
/ohos5.0/commonlibrary/ets_utils/js_api_module/convertxml/test/ |
H A D | test_convertxml.cpp | 114 napi_get_named_property(env, declarationProp, "version", &versionVal); 115 napi_get_named_property(env, declarationProp, "encoding", &encodingVal); 150 napi_get_named_property(env, jsObj, op.elements.c_str(), &elements); 152 napi_get_named_property(env, element, op.name.c_str(), &nameVal); 153 napi_get_named_property(env, element, op.type.c_str(), &typeVal); 190 napi_get_named_property(env, jsObj, op.elements.c_str(), &elements); 192 napi_get_named_property(env, element, op.attributes.c_str(), &attributes); 193 napi_get_named_property(env, attributes, "colour", &colour); 194 napi_get_named_property(env, attributes, "shape", &shape); 603 napi_get_named_property(env, exports, "ConvertXml", &convertXmlClass); [all …]
|
/ohos5.0/foundation/ability/ability_lite/interfaces/kits/js/napi/ |
H A D | js_aafwk.cpp | 99 napi_get_named_property(env, args, "want_param", &data); in GetWantFromNapiValue() 102 if (napi_get_named_property(env, args, "elementName", &elementName) != napi_ok) { in GetWantFromNapiValue() 107 napi_get_named_property(env, elementName, "deviceId", &napi_deviceId); in GetWantFromNapiValue() 115 napi_get_named_property(env, elementName, "bundleName", &napi_bundleName); in GetWantFromNapiValue() 123 napi_get_named_property(env, elementName, "abilityName", &napi_abilityName); in GetWantFromNapiValue()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/app_startup/ |
H A D | js_startup_config.cpp | 43 napi_get_named_property(env_, configEntry, "onConfig", &onConfig); in Init() 81 napi_get_named_property(env, config, "timeoutMs", &awaitTimeout); in InitAwaitTimeout() 102 napi_get_named_property(env, config, "startupListener", &listener); in InitListener() 113 napi_get_named_property(env, listener, "onCompleted", &onCompleted); in InitListener() 131 napi_get_named_property(env, listener, "onCompleted", &onCompleted); in InitListener()
|
/ohos5.0/base/location/frameworks/js/napi/source/ |
H A D | location_napi_system.cpp | 69 … NAPI_CALL_RETURN_VOID(env, napi_get_named_property(env, argv, "success", &nVsuccessCallback)); in GetAllCallback() 75 NAPI_CALL_RETURN_VOID(env, napi_get_named_property(env, argv, "fail", &nVfailCallback)); in GetAllCallback() 81 … NAPI_CALL_RETURN_VOID(env, napi_get_named_property(env, argv, "complete", &nVcompleteCallback)); in GetAllCallback() 107 NAPI_CALL(env, napi_get_named_property(env, argv[0], "timeout", &nVtimeout)); in GetLocation() 113 NAPI_CALL(env, napi_get_named_property(env, argv[0], "coordType", &nVcoordType)); in GetLocation() 170 NAPI_CALL(env, napi_get_named_property(env, argv[0], "success", &nVsuccessCallback)); in GetLocationType() 175 NAPI_CALL(env, napi_get_named_property(env, argv[0], "fail", &nVfailCallback)); in GetLocationType() 180 NAPI_CALL(env, napi_get_named_property(env, argv[0], "complete", &nVcompleteCallback)); in GetLocationType() 231 NAPI_CALL(env, napi_get_named_property(env, argv[0], "coordType", &nVcoordType)); in Subscribe()
|
/ohos5.0/foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/src/ |
H A D | js_file_access_ext_ability.cpp | 153 napi_get_named_property(env, value, name, &method); in CallObjectMethod() 602 napi_get_named_property(env, nativeValue, "code", &code); in ParserGetJsResult() 1321 napi_get_named_property(env, result, "code", &code); in Access() 1705 napi_get_named_property(env, obj, "uri", &uri); in GetFileInfoFromJs() 1726 napi_get_named_property(env, obj, "mode", &mode); in GetFileInfoFromJs() 1733 napi_get_named_property(env, obj, "size", &size); in GetFileInfoFromJs() 1740 napi_get_named_property(env, obj, "mtime", &mtime); in GetFileInfoFromJs() 1764 napi_get_named_property(env, result, "uri", &uri); in GetUriAndCodeFromJs() 1771 napi_get_named_property(env, result, "code", &code); in GetUriAndCodeFromJs() 1784 napi_get_named_property(env, result, "fd", &fd); in GetFdAndCodeFromJs() [all …]
|
/ohos5.0/base/global/resource_management/interfaces/js/kits/src/ |
H A D | sendable_resource_manager_napi.cpp | 67 if (napi_get_named_property(env, argv[0], "bundleName", &bundleName) != napi_ok || in GetResourceProp() 75 if (napi_get_named_property(env, argv[0], "moduleName", &moduleName) != napi_ok || in GetResourceProp() 83 if (napi_get_named_property(env, argv[0], "id", &id) != napi_ok || in GetResourceProp() 90 if (napi_get_named_property(env, argv[0], "params", ¶ms) != napi_ok) { in GetResourceProp() 96 if (napi_get_named_property(env, argv[0], "type", &type) != napi_ok) { in GetResourceProp() 123 napi_get_named_property(env, params, "length", &length) != napi_ok || in GetParams()
|