Searched refs:js_string (Results 1 – 2 of 2) sorted by relevance
| /test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/jsvmtest/ |
| D | jsvm_utils.cpp | 207 JSVM_Value js_string; in ToString() local 208 JSVMTEST_CALL(OH_JSVM_CoerceToString(jsvm_env, val, &js_string)); in ToString() 210 JSVMTEST_CALL(OH_JSVM_GetValueStringUtf8(jsvm_env, js_string, NULL, 0, &length)); in ToString() 214 JSVMTEST_CALL(OH_JSVM_GetValueStringUtf8(jsvm_env, js_string, buffer, capacity, ©_length)); in ToString()
|
| /test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/napi/ |
| D | napi_test.cpp | 7334 JSVM_Value js_string; in CreateFunctionWithScript() local 7335 JSVM_CALL(env, OH_JSVM_CoerceToString(env, argv[0], &js_string)); in CreateFunctionWithScript() 7337 JSVM_CALL(env, OH_JSVM_GetValueStringUtf8(env, js_string, NULL, 0, &length)); in CreateFunctionWithScript() 7341 JSVM_CALL(env, OH_JSVM_GetValueStringUtf8(env, js_string, buffer, capacity, ©Length)); in CreateFunctionWithScript()
|