Searched refs:napi_get_value_string_latin1 (Results 1 – 10 of 10) sorted by relevance
/ohos5.0/docs/zh-cn/application-dev/napi/ |
H A D | use-napi-about-string.md | 26 | napi_get_value_string_latin1 | 需要将ArkTS的字符类型的数据转换为ISO-8859-1编码的字符时使用这个函数。 | 215 ### napi_get_value_string_latin1 subsection 234 napi_status status = napi_get_value_string_latin1(env, args[0], buf, MAX_BUFFER_SIZE, &length);
|
H A D | napi-data-types-interfaces.md | 289 | napi_get_value_string_latin1 | 获取给定JS vaule对应的ISO-8859-1编码的字符串。 |
|
/ohos5.0/docs/en/application-dev/napi/ |
H A D | use-napi-about-string.md | 26 | napi_get_value_string_latin1 | Obtains an ISO-8859-1-encoded string from an ArkTS value.| 215 ### napi_get_value_string_latin1 subsection 217 Use **napi_get_value_string_latin1** to convert an ArkTS string into an ISO-8859-1-encoded string. 234 napi_status status = napi_get_value_string_latin1(env, args[0], buf, MAX_BUFFER_SIZE, &length);
|
H A D | napi-data-types-interfaces.md | 289 | napi_get_value_string_latin1 | Obtains the ISO-8859-1-encoded string corresponding to the given J…
|
/ohos5.0/foundation/arkui/napi/test/unittest/ |
H A D | test_napi.cpp | 399 napi_get_value_string_latin1(env, result, nullptr, 0, &strSize); 402 napi_get_value_string_latin1(env, result, str.data(), strSize + 1, &strSize); 2917 ASSERT_CHECK_CALL(napi_get_value_string_latin1(env, result, nullptr, 0, &bufferSize)); 2944 ASSERT_CHECK_CALL(napi_get_value_string_latin1(env, result, nullptr, 0, &bufferSize)); 2987 ASSERT_CHECK_CALL(napi_get_value_string_latin1(env, result, nullptr, 0, &bufferSize)); 3006 napi_status ret = napi_get_value_string_latin1(env, result, buffer, testStrLength, &copied); 3024 napi_status ret = napi_get_value_string_latin1(env, result, buffer, testStrLength, &copied); 8705 auto res = napi_get_value_string_latin1(env, nullptr, nullptr, 0, nullptr); 8721 auto res = napi_get_value_string_latin1(env, boolean, nullptr, 0, nullptr); 8737 auto res = napi_get_value_string_latin1(env, stringValue, nullptr, 0, nullptr); [all …]
|
/ohos5.0/commonlibrary/ets_utils/js_api_module/buffer/ |
H A D | native_module_buffer.cpp | 80 NAPI_CALL(env, napi_get_value_string_latin1(env, strValue, nullptr, 0, &strSize)); in GetStringASCII() 83 …NAPI_CALL(env, napi_get_value_string_latin1(env, strValue, const_cast<char *>(str.data()), strSize… in GetStringASCII()
|
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/recorder/ |
H A D | audio_recorder_napi.cpp | 360 status = napi_get_value_string_latin1(env, configItem, buffer, PATH_MAX - 1, &bytesToCopy); in GetAudioUriPath()
|
/ohos5.0/docs/zh-cn/application-dev/reference/native-lib/ |
H A D | napi.md | 82 |FUNC|napi_get_value_string_latin1|获取给定js value对应的ISO-8859-1编码的字符串。|10|
|
/ohos5.0/docs/en/application-dev/reference/native-lib/ |
H A D | napi.md | 82 |FUNC|napi_get_value_string_latin1|Obtains the ISO-8859-1-encoded string corresponding to the given…
|
/ohos5.0/foundation/arkui/napi/native_engine/ |
H A D | native_api.cpp | 676 NAPI_EXTERN napi_status napi_get_value_string_latin1(napi_env env, in napi_get_value_string_latin1() function
|