/foundation/arkui/napi/sample/native_module_systemtest/ |
D | js_test_bigint_napi.cpp | 106 int sign_bit = 0; in BigIntWords() local 110 NAPI_CALL(env, napi_get_value_bigint_words(env, args[0], &sign_bit, &word_count, words)); in BigIntWords() 114 NAPI_CALL(env, napi_create_bigint_words(env, sign_bit, word_count, words, &output)); in BigIntWords() 123 int sign_bit = 0; in CreateTooBigBigInt() local 127 NAPI_CALL(env, napi_create_bigint_words(env, sign_bit, word_count, words, &output)); in CreateTooBigBigInt()
|
D | test_napi.cpp | 1658 int sign_bit = INT_ZERO; variable 1662 ExpectCheckCall(napi_create_bigint_words(env, sign_bit, word_count, words, &result)); 1668 EXPECT_EQ(sign_bit, sign); 1692 int sign_bit = INT_ONE; variable 1696 ExpectCheckCall(napi_create_bigint_words(env, sign_bit, word_count, words, &result)); 1702 EXPECT_EQ(sign_bit, sign); 1723 int sign_bit = INT_ZERO; variable 1728 ret = napi_create_bigint_words(env, sign_bit, word_count, nullptr, &result); 1745 int sign_bit = INT_ONE; variable 1750 ret = napi_create_bigint_words(nullptr, sign_bit, word_count, words, &result); [all …]
|
/foundation/ability/ability_runtime/test/unittest/runtime_test/ |
D | mock_js_native_engine.h | 276 NativeValue* CreateBigWords(int sign_bit, size_t word_count, const uint64_t* words) override in CreateBigWords() argument
|
/foundation/ability/ability_runtime/test/unittest/ability_runtime_error_util_test/ |
D | mock_native_engine.h | 278 NativeValue* CreateBigWords(int sign_bit, size_t word_count, const uint64_t* words) override in CreateBigWords() argument
|
/foundation/arkui/napi/native_engine/impl/ark/ |
D | ark_native_engine.h | 192 NativeValue* CreateBigWords(int sign_bit, size_t word_count, const uint64_t* words) override;
|
D | ark_native_engine.cpp | 1113 NativeValue* ArkNativeEngine::CreateBigWords(int sign_bit, size_t word_count, const uint64_t* words) in CreateBigWords() argument 1117 if ((sign_bit % bigintMod) == 1) { in CreateBigWords()
|
/foundation/arkui/napi/native_engine/ |
D | native_engine.h | 313 virtual NativeValue* CreateBigWords(int sign_bit, size_t word_count, const uint64_t* words) = 0;
|
D | native_api.cpp | 2447 napi_env env, int sign_bit, size_t word_count, const uint64_t* words, napi_value* result) in napi_create_bigint_words() argument 2454 auto resultValue = engine->CreateBigWords(sign_bit, word_count, words); in napi_create_bigint_words() 2463 napi_env env, napi_value value, int* sign_bit, size_t* word_count, uint64_t* words) in napi_get_value_bigint_words() argument 2475 auto resultValue = nativeBigint->GetWordsArray(sign_bit, word_count, words); in napi_get_value_bigint_words()
|