Home
last modified time | relevance | path

Searched refs:napi_coerce_to_string (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/docs/zh-cn/application-dev/napi/
H A Duse-napi-about-primitive.md21 | napi_coerce_to_string | 用于将给定的ArkTS value强转成ArkTS string。 |
173 ### napi_coerce_to_string subsection
190 napi_coerce_to_string(env, args[0], &str);
212 hilog.info(0x0000, 'testTag', 'Test Node-API napi_coerce_to_string:%{public}s', value);
213 hilog.info(0x0000, 'testTag', 'Test Node-API napi_coerce_to_string:%{public}s', typeof res);
214 hilog.info(0x0000, 'testTag', 'Test Node-API napi_coerce_to_string:%{public}s', bool);
H A Dnapi-data-types-interfaces.md371 | napi_coerce_to_string | 将给定的JS value强转成JS String。 |
/ohos5.0/docs/en/application-dev/napi/
H A Duse-napi-about-primitive.md21 | napi_coerce_to_string | Forcibly converts an ArkTS value to an ArkTS string.|
173 ### napi_coerce_to_string subsection
175 Use **napi_coerce_to_string** to forcibly convert an ArkTS value to an ArkTS string.
190 napi_coerce_to_string(env, args[0], &str);
212 hilog.info(0x0000, 'testTag', 'Test Node-API napi_coerce_to_string:%{public}s', value);
213 hilog.info(0x0000, 'testTag', 'Test Node-API napi_coerce_to_string:%{public}s', typeof res);
214 hilog.info(0x0000, 'testTag', 'Test Node-API napi_coerce_to_string:%{public}s', bool);
H A Dnapi-data-types-interfaces.md371 | napi_coerce_to_string | Forcibly converts a JS value into a JS string.|
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/
H A Djs_console_log.cpp41 napi_coerce_to_string(env, value, &resultStr); in MakeLogContent()
/ohos5.0/commonlibrary/ets_utils/js_sys_module/console/
H A Dconsole.cpp136 napi_status status = napi_coerce_to_string(env, argv[i], &buffer); in MakeLogContent()
197 napi_status status = napi_coerce_to_string(env, argv[0], &buffer); in GetTimerOrCounterName()
314 napi_status status = napi_coerce_to_string(env, element, &string); in RenderHead()
336 napi_status status = napi_coerce_to_string(env, element, &string); in GetStringAndStringWidth()
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/common/helper/
H A Derror_helper.h195 napi_coerce_to_string(env, error, &msgValue); in TranslateErrorEvent()
H A Dnapi_helper.cpp370 if (napi_coerce_to_string(env, value, &strValue) != napi_ok) { in GetPrintString()
/ohos5.0/base/hiviewdfx/hilog/interfaces/js/kits/napi/src/hilog/src/
H A Dhilog_napi_base.cpp213 napi_status objectStatus = napi_coerce_to_string(env, element, &elmString); in parseNapiValue()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_arg.cpp765 status = napi_coerce_to_string(env, element, &result); in GetStringList()
/ohos5.0/docs/zh-cn/application-dev/reference/native-lib/
H A Dnapi.md93 |FUNC|napi_coerce_to_string|将给定的js value强转成js `String`。|10|
/ohos5.0/foundation/arkui/napi/test/unittest/
H A Dtest_napi.cpp3062 ASSERT_CHECK_CALL(napi_coerce_to_string(env, str, &result));
3089 ASSERT_CHECK_CALL(napi_coerce_to_string(env, argument, &result));
3119 ASSERT_CHECK_CALL(napi_coerce_to_string(env, argument, &result));
3149 ASSERT_CHECK_CALL(napi_coerce_to_string(env, argument, &result));
3180 ASSERT_CHECK_CALL(napi_coerce_to_string(env, argument, &result));
3220 ASSERT_CHECK_CALL(napi_coerce_to_string(env, argument, &result));
3259 ASSERT_CHECK_CALL(napi_coerce_to_string(env, symbolVal, &result));
3273 napi_status status = napi_coerce_to_string(env, nullptr, &result);
4743 napi_status status = napi_coerce_to_string(env, value, &result);
4753 status = napi_coerce_to_string(env, value, result);
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/router/
H A Djs_router.cpp517 napi_coerce_to_string(env, routeNApiNum, &result); in JSRouterGetLength()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/common/
H A Dcommon_func.cpp1348 napi_status objectStatus = napi_coerce_to_string(env, element, &elmString); in ParseNapiValue()
/ohos5.0/docs/en/application-dev/reference/native-lib/
H A Dnapi.md93 |FUNC|napi_coerce_to_string|Forcibly converts a JS value to a JS string.|10|
/ohos5.0/foundation/arkui/napi/native_engine/
H A Dnative_api.cpp817 NAPI_EXTERN napi_status napi_coerce_to_string(napi_env env, napi_value value, napi_value* result) in napi_coerce_to_string() function