Searched refs:signBit (Results 1 - 9 of 9) sorted by relevance
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ |
H A D | interop_common.cpp | 49 int signBit; in GetBigInt() local 53 signBit = 0; in GetBigInt() 58 NAPI_ASSERT_OK(napi_get_value_bigint_words(env, jsVal, &signBit, &wordCount, words.data())); in GetBigInt() 61 return {words, signBit}; in GetBigInt() 126 std::vector<EtsInt> ConvertBigIntArrayFromJsToEts(SmallVector<uint64_t, 4U> &jsArray, int signBit) in ConvertBigIntArrayFromJsToEts() argument 149 if (signBit == 1) { in ConvertBigIntArrayFromJsToEts() 152 etsArray.back() = (signBit == 1) ? BIGINT_BITMASK_30 : 0; in ConvertBigIntArrayFromJsToEts()
|
H A D | js_value.cpp | 162 auto [words, signBit] = *GetBigInt(); in GetNapiValue() 163 NAPI_ASSERT_OK(napi_create_bigint_words(env, signBit, words.size(), words.data(), &jsValue)); in GetNapiValue()
|
H A D | interop_common.h | 41 std::vector<EtsInt> ConvertBigIntArrayFromJsToEts(SmallVector<uint64_t, 4U> &jsArray, int signBit);
|
H A D | js_convert.h | 333 auto [words, signBit] = GetBigInt(env, jsVal); in JSCONVERT_UNWRAP() 334 std::vector<EtsInt> array = ConvertBigIntArrayFromJsToEts(words, signBit); in JSCONVERT_UNWRAP()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | js_bigint_test.cpp | 517 void GetWordsArray(bool *signBit, size_t wordCount, uint64_t *words, JSHandle<BigInt> bigintVal) in GetWordsArray() argument 532 *signBit = bigintVal->GetSign(); in GetWordsArray()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/ |
H A D | encode_visitor.cpp | 818 auto signBit = GetTypeSize(type, arch) - 1; in VisitDeoptimizeCompareImm() local 821 encoder->EncodeBitTestAndBranch(slowPathLabel, src0, signBit, true); in VisitDeoptimizeCompareImm() 826 encoder->EncodeBitTestAndBranch(slowPathLabel, src0, signBit, false); in VisitDeoptimizeCompareImm()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
H A D | aarch64_cgfunc.cpp | 1181 ImmOperand &signBit = in GenerateCompareWithZeroInstruction() local 1188 GetCurBB()->AppendInsn(GetInsnBuilder()->BuildInsn(mOpCode, opnd0, signBit, targetOpnd)); in GenerateCompareWithZeroInstruction() 1195 ImmOperand &signBit = in GenerateCompareWithZeroInstruction() local 1202 GetCurBB()->AppendInsn(GetInsnBuilder()->BuildInsn(mOpCode, opnd0, signBit, targetOpnd)); in GenerateCompareWithZeroInstruction()
|
/arkcompiler/ets_runtime/ecmascript/napi/include/ |
H A D | jsnapi_expo.h | 1013 void GetWordsArray(const EcmaVM *vm, bool* signBit, size_t wordCount, uint64_t* words);
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
H A D | jsnapi_expo.cpp | 2312 void BigIntRef::GetWordsArray(const EcmaVM *vm, bool* signBit, size_t wordCount, uint64_t* words) in GetWordsArray() argument 2331 *signBit = bigintVal->GetSign(); in GetWordsArray()
|
Completed in 32 milliseconds