Home
last modified time | relevance | path

Searched refs:taggedValue (Results 1 – 14 of 14) sorted by relevance

/arkcompiler/runtime_core/static_core/runtime/mem/gc/dynamic/
Dgc_marker_dynamic-inl.h46 TaggedValue taggedValue(fieldAddr->load(std::memory_order_relaxed)); in HandleObject()
47 if (!taggedValue.IsHeapObject()) { in HandleObject()
51 ObjectHeader *objectHeader = taggedValue.GetHeapObject(); in HandleObject()
72 coretypes::TaggedValue taggedValue(addr->load(std::memory_order_relaxed)); in HandleClass()
73 if (!taggedValue.IsHeapObject()) { in HandleClass()
76 ObjectHeader *objectHeader = taggedValue.GetHeapObject(); in HandleClass()
/arkcompiler/runtime_core/static_core/runtime/mem/
Dobject_helpers-inl.h172 auto taggedValue = ObjectAccessor::GetDynValue<TaggedValue>(dynClass, fieldOffset); in TraverseClass() local
173 if (taggedValue.IsHeapObject()) { in TraverseClass()
174 … [[maybe_unused]] bool res = handler(dynClass, taggedValue.GetHeapObject(), fieldOffset, false); in TraverseClass()
200 auto taggedValue = ObjectAccessor::GetDynValue<TaggedValue>(object, fieldOffset); in TraverseObject() local
201 if (taggedValue.IsHeapObject()) { in TraverseObject()
202 … [[maybe_unused]] bool res = handler(object, taggedValue.GetHeapObject(), fieldOffset, false); in TraverseObject()
/arkcompiler/runtime_core/static_core/runtime/tooling/
Ddefault_inspector_extension.cpp214 auto taggedValue = ObjectAccessor::GetDynValue<TaggedValue>(object, fieldOffset); in EnumerateProperties() local
215 handler(std::to_string(i), TypedValue::Tagged(taggedValue), false, false, false); in EnumerateProperties()
227 auto taggedValue = ObjectAccessor::GetDynValue<TaggedValue>(object, fieldOffset); in EnumerateProperties() local
228 handler(std::to_string(i), TypedValue::Tagged(taggedValue), false, false, false); in EnumerateProperties()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_api_plain_array_test.cpp250 JSTaggedValue taggedValue = in HWTEST_F_L0() local
252 EXPECT_TRUE(JSTaggedValue::Equal(thread, value, JSHandle<JSTaggedValue>(thread, taggedValue))); in HWTEST_F_L0()
259 taggedValue = in HWTEST_F_L0()
261 EXPECT_TRUE(JSTaggedValue::Equal(thread, value, JSHandle<JSTaggedValue>(thread, taggedValue))); in HWTEST_F_L0()
271 taggedValue = array->GetValueAt(thread, lvalue); in HWTEST_F_L0()
272 EXPECT_TRUE(JSTaggedValue::Equal(thread, value, JSHandle<JSTaggedValue>(thread, taggedValue))); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_hashmap.cpp46 JSTaggedValue taggedValue = value.GetTaggedValue(); in HasValue() local
53 if (HasValueLinkedNode(node, taggedValue)) { in HasValue()
57 if (HasValueRBTreeNode(node, taggedValue)) { in HasValue()
/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/aarch64/
Doptimized_call.cpp392 Register taggedValue(X2); in JSCallInternal() local
395 JSCallCheck(assembler, jsfunc, taggedValue, &nonCallable, &notJSFunction); in JSCallInternal()
538 void OptimizedCall::JSCallCheck(ExtendedAssembler *assembler, Register jsfunc, Register taggedValue, in JSCallCheck() argument
541 __ Mov(taggedValue, JSTaggedValue::TAG_MARK); in JSCallCheck()
542 __ Cmp(jsfunc, taggedValue); in JSCallCheck()
545 __ Mov(taggedValue, JSTaggedValue::TAG_SPECIAL); in JSCallCheck()
546 __ And(taggedValue, jsfunc, taggedValue); in JSCallCheck()
547 __ Cbnz(taggedValue, nonCallable); in JSCallCheck()
Dcommon_call.h98 static void JSCallCheck(ExtendedAssembler *assembler, Register jsfunc, Register taggedValue,
/arkcompiler/ets_runtime/ecmascript/
Djs_relative_time_format.cpp391 JSHandle<JSTaggedValue> taggedValue(thread, JSTaggedValue(value)); in FormatToArray() local
438 … JSLocale::GetNumberFieldType(thread, taggedValue.GetTaggedValue(), fieldId).GetTaggedValue()); in FormatToArray()
446 typeString.Update(JSLocale::GetNumberFieldType(thread, taggedValue.GetTaggedValue(), in FormatToArray()
458 …typeString.Update(JSLocale::GetNumberFieldType(thread, taggedValue.GetTaggedValue(), fieldId).GetT… in FormatToArray()
Djs_tagged_value.cpp533 JSHandle<BigInt> taggedValue(tagged); in ToString() local
534 return BigInt::ToString(thread, taggedValue); in ToString()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_promise_job.cpp78 JSTaggedValue taggedValue = JSFunction::Call(info); in PromiseReactionJob() local
88 runtimeInfo->SetCallArg(taggedValue); in PromiseReactionJob()
Dbuiltins_promise.cpp80 JSTaggedValue taggedValue = JSFunction::Call(info); in PromiseConstructor() local
81 JSHandle<JSTaggedValue> completionValue(thread, taggedValue); in PromiseConstructor()
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot_processor.cpp1611 JSTaggedValue taggedValue(*tagged); in SerializeTaggedField() local
1612 if (taggedValue.IsWeak()) { in SerializeTaggedField()
1613 taggedValue.RemoveWeakTag(); in SerializeTaggedField()
1614 if (taggedValue.IsJSHClass()) { in SerializeTaggedField()
1615 EncodeBit encodeBit = GetObjectEncode(taggedValue, queue, data); in SerializeTaggedField()
1624 if (taggedValue.IsSpecial()) { in SerializeTaggedField()
1625 EncodeBit special(taggedValue.GetRawData()); in SerializeTaggedField()
1630 if (!taggedValue.IsHeapObject()) { in SerializeTaggedField()
1631 return taggedValue.GetRawData(); // not object in SerializeTaggedField()
1634 EncodeBit encodeBit = GetObjectEncode(taggedValue, queue, data); in SerializeTaggedField()
[all …]
/arkcompiler/toolchain/tooling/agent/
Ddebugger_impl.cpp1770 Local<JSValueRef> taggedValue; in ConvertToLocal() local
1772 taggedValue = JSValueRef::False(vm_); in ConvertToLocal()
1774 taggedValue = JSValueRef::True(vm_); in ConvertToLocal()
1776 taggedValue = JSValueRef::Undefined(vm_); in ConvertToLocal()
1779taggedValue = StringRef::NewFromUtf8(vm_, varValue.substr(1, varValue.length() - 2).c_str()); in ConvertToLocal()
1785 taggedValue = NumberRef::New(vm_, d); in ConvertToLocal()
1788 return taggedValue; in ConvertToLocal()
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dts_manager.cpp1106 JSTaggedValue taggedValue = classType->GetName(); in GetClassTypeStr() local
1107 EcmaStringAccessor accessor(taggedValue); in GetClassTypeStr()