/ohos5.0/docs/zh-cn/application-dev/napi/ |
H A D | use-napi-about-bigint.md | 24 | napi_get_value_bigint_words | 用于从BigInt对象中获取底层的64位无符号(uint64)字节数据。 | 249 ### napi_get_value_bigint_words subsection 267 // 调用napi_get_value_bigint_words接口获取wordCount 268 napi_status status = napi_get_value_bigint_words(env, args[0], nullptr, &wordCount, nullptr); 270 // 调用napi_get_value_bigint_words接口获取传入bigInt相关信息,如:signBit传入bigInt正负信息 271 status = napi_get_value_bigint_words(env, args[0], &signBit, &wordCount, &words); 300 …hilog.info(0x0000, 'testTag', 'Test Node-API napi_get_value_bigint_words signBit is: %{public}d', … 301 …hilog.info(0x0000, 'testTag', 'Test Node-API napi_get_value_bigint_words signBit is: %{public}d', …
|
H A D | napi-data-types-interfaces.md | 423 | napi_get_value_bigint_words | 获取给定JS BigInt对应的信息,包括符号位、64位小端序数组和数组中的元素个数。 |
|
/ohos5.0/docs/en/application-dev/napi/ |
H A D | use-napi-about-bigint.md | 24 | napi_get_value_bigint_words | Obtains the underlying 64-bit unsigned (uint64) byte data from an A… 249 ### napi_get_value_bigint_words subsection 251 Use **napi_get_value_bigint_words** to obtain the underlying unsigned 64-bit (uint64) binary byte d… 267 // Call napi_get_value_bigint_words to obtain wordCount. 268 napi_status status = napi_get_value_bigint_words(env, args[0], nullptr, &wordCount, nullptr); 270 …// Call napi_get_value_bigint_words to obtain BigInt information, such as whether the value passed… 271 status = napi_get_value_bigint_words(env, args[0], &signBit, &wordCount, &words); 300 …hilog.info(0x0000, 'testTag', 'Test Node-API napi_get_value_bigint_words signBit is: %{public}d', … 301 …hilog.info(0x0000, 'testTag', 'Test Node-API napi_get_value_bigint_words signBit is: %{public}d', …
|
H A D | napi-data-types-interfaces.md | 406 | napi_get_value_bigint_words | Obtains information from a JS BigInt, including the sign bit, 64-bi…
|
/ohos5.0/foundation/arkui/napi/sample/native_module_systemtest/ |
H A D | js_test_bigint_napi.cpp | 104 … NAPI_CALL(env, napi_get_value_bigint_words(env, args[0], nullptr, &expected_word_count, nullptr)); in BigIntWords() 110 NAPI_CALL(env, napi_get_value_bigint_words(env, args[0], &sign_bit, &word_count, words)); in BigIntWords()
|
H A D | test_napi.cpp | 1666 ExpectCheckCall(napi_get_value_bigint_words(env, result, &sign, &word_count, wordsOut)); 1700 ExpectCheckCall(napi_get_value_bigint_words(env, result, &sign, &word_count, wordsOut)); 1785 ExpectCheckCall(napi_get_value_bigint_words(env, result, &sign, &word_count, wordsOut)); 1824 ExpectCheckCall(napi_get_value_bigint_words(env, result, &sign, &word_count, wordsOut)); 1858 ExpectCheckCall(napi_get_value_bigint_words(env, result, &sign, &word_count, wordsOut)); 1892 ExpectCheckCall(napi_get_value_bigint_words(env, result, &sign, &word_count, wordsOut)); 1951 ExpectCheckCall(napi_get_value_bigint_words(env, result, &sign, &word_count, wordsOut)); 1985 ExpectCheckCall(napi_get_value_bigint_words(env, result, &sign, &word_count, wordsOut)); 2019 ret = napi_get_value_bigint_words(env, result, &sign, &word_count, wordsOut); 2050 ret = napi_get_value_bigint_words(nullptr, result, &sign, &word_count, wordsOut); [all …]
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/src/ |
H A D | napi_rdb_js_utils.cpp | 105 status = napi_get_value_bigint_words(env, jsValue, nullptr, &count, nullptr); in Convert2Value() 110 status = napi_get_value_bigint_words(env, jsValue, &sign, &count, words.data()); in Convert2Value()
|
/ohos5.0/foundation/arkui/napi/test/unittest/ |
H A D | test_napi_ext.cpp | 288 ASSERT_CHECK_CALL(napi_get_value_bigint_words(env, result, &signBit, &wordCount, wordsOut)); 308 ASSERT_CHECK_CALL(napi_get_value_bigint_words(env, result, &signBit, &wordCount, wordsOut)); 327 ASSERT_CHECK_CALL(napi_get_value_bigint_words(env, result, &signBit, &wordCount, wordsOut)); 347 ASSERT_CHECK_CALL(napi_get_value_bigint_words(env, result, &signBit, &wordCount, wordsOut));
|
H A D | test_napi.cpp | 6514 …napi_status status = napi_get_value_bigint_words(env, value, &retSignBit, &retWordCount, wordsOut); 6531 status = napi_get_value_bigint_words(env, value, &retSignBit, retWordCount, wordsOut);
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/src/ |
H A D | js_common_utils.cpp | 151 napi_status status = napi_get_value_bigint_words(env, jsValue, nullptr, &wordCount, nullptr); in Convert2NativeValue() 157 …status = napi_get_value_bigint_words(env, jsValue, &output.sign_, &wordCount, output.words_.data()… in Convert2NativeValue()
|
/ohos5.0/base/security/certificate_framework/frameworks/js/napi/certificate/src/ |
H A D | napi_cert_utils.cpp | 763 napi_get_value_bigint_words(env, arg, nullptr, &wordCount, nullptr); in CertGetBlobFromBigIntJSParams() 774 …if (napi_get_value_bigint_words(env, arg, &signBit, &wordCount, reinterpret_cast<uint64_t *>(retAr… in CertGetBlobFromBigIntJSParams() 800 if (napi_get_value_bigint_words(env, arg, nullptr, &wordCount, nullptr) != napi_ok) { in CertGetSerialNumberFromBigIntJSParams() 815 …if (napi_get_value_bigint_words(env, arg, &sign, &wordCount, reinterpret_cast<uint64_t *>(serialBu… in CertGetSerialNumberFromBigIntJSParams()
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/ |
H A D | napi_rdb_js_utils.cpp | 266 status = napi_get_value_bigint_words(env, jsValue, nullptr, &count, nullptr); in Convert2Value() 271 status = napi_get_value_bigint_words(env, jsValue, &sign, &count, words.data()); in Convert2Value()
|
/ohos5.0/docs/zh-cn/application-dev/reference/native-lib/ |
H A D | napi.md | 157 |FUNC|napi_get_value_bigint_words|获取给定js `BigInt`对应的信息,包括符号位、64位小端序数组和数组中的元素个数。|10| 574 ### napi_get_value_bigint_words subsection
|
/ohos5.0/base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
H A D | napi_utils.cpp | 268 napi_get_value_bigint_words(env, arg, nullptr, &wordCount, nullptr); in GetBigIntFromNapiValue() 279 …if (napi_get_value_bigint_words(env, arg, &signBit, &wordCount, reinterpret_cast<uint64_t *>(retAr… in GetBigIntFromNapiValue()
|
/ohos5.0/docs/en/application-dev/reference/native-lib/ |
H A D | napi.md | 157 |FUNC|napi_get_value_bigint_words|Obtains information from the given JS BigInt, including the sign … 572 ### napi_get_value_bigint_words subsection
|
/ohos5.0/foundation/arkui/napi/native_engine/ |
H A D | native_api.cpp | 3714 NAPI_EXTERN napi_status napi_get_value_bigint_words(napi_env env, in napi_get_value_bigint_words() function
|