Home
last modified time | relevance | path

Searched refs:sign_bit (Results 1 – 8 of 8) sorted by relevance

/foundation/arkui/napi/sample/native_module_systemtest/
Djs_test_bigint_napi.cpp106 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()
Dtest_napi.cpp1658 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/
Dmock_js_native_engine.h276 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/
Dmock_native_engine.h278 NativeValue* CreateBigWords(int sign_bit, size_t word_count, const uint64_t* words) override in CreateBigWords() argument
/foundation/arkui/napi/native_engine/impl/ark/
Dark_native_engine.h192 NativeValue* CreateBigWords(int sign_bit, size_t word_count, const uint64_t* words) override;
Dark_native_engine.cpp1113 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/
Dnative_engine.h313 virtual NativeValue* CreateBigWords(int sign_bit, size_t word_count, const uint64_t* words) = 0;
Dnative_api.cpp2447 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()