Home
last modified time | relevance | path

Searched refs:strLength (Results 1 - 2 of 2) sorted by relevance

/commonlibrary/ets_utils/js_concurrent_module/common/helper/
H A Dnapi_helper.cpp183 size_t strLength = 0; in GetChars() local
189 napi_get_value_string_utf8(env, value, buffer, bufferSize + 1, &strLength); in GetChars()
/commonlibrary/ets_utils/js_api_module/uri/test/
H A Dtest_napi.cpp762 size_t strLength = 0; in GetArray() local
766 if (napi_get_value_string_utf8(env, napiStr, nullptr, 0, &strLength) != napi_ok) { in GetArray()
770 if (strLength > 0) { in GetArray()
772 itemStr.resize(strLength); in GetArray()
773 if (napi_get_value_string_utf8(env, napiStr, itemStr.data(), strLength + 1, &strLength) != napi_ok) { in GetArray()

Completed in 3 milliseconds