Home
last modified time | relevance | path

Searched refs:protoValue (Results 1 - 6 of 6) sorted by relevance

/arkcompiler/ets_frontend/merge_abc/src/
H A DassemblyLiteralsProto.cpp19 void VariantValue::Serialize(const LiteralValueType &value, protoPanda::VariantValue &protoValue) in Serialize() argument
22 protoValue.set_type(type); in Serialize()
25 protoValue.set_valueint(static_cast<uint64_t>(std::get<bool>(value))); in Serialize()
29 protoValue.set_valueint(static_cast<uint64_t>(std::get<uint8_t>(value))); in Serialize()
33 protoValue.set_valueint(static_cast<uint64_t>(std::get<uint16_t>(value))); in Serialize()
37 protoValue.set_valueint(static_cast<uint64_t>(std::get<uint32_t>(value))); in Serialize()
41 protoValue.set_valueint(std::get<uint64_t>(value)); in Serialize()
45 protoValue.set_valuefloat(std::get<float>(value)); in Serialize()
49 protoValue.set_valuedouble(std::get<double>(value)); in Serialize()
53 protoValue in Serialize()
61 Deserialize(const protoPanda::VariantValue &protoValue, LiteralValueType &value) Deserialize() argument
[all...]
H A DassemblyLiteralsProto.h26 static void Serialize(const LiteralValueType &value, protoPanda::VariantValue &protoValue);
27 static void Deserialize(const protoPanda::VariantValue &protoValue, LiteralValueType &value);
H A DmetaProto.cpp67 auto *protoValue = protoMeta.mutable_value(); in Serialize() local
68 ScalarValue::Serialize(val.value(), *protoValue); in Serialize()
H A DannotationProto.cpp269 for (const auto &protoValue : protoArray.values()) { in Deserialize()
270 panda::pandasm::ScalarValue scalar = ScalarValue::Deserialize(protoValue, allocator); in Deserialize()
/arkcompiler/ets_runtime/ecmascript/
H A Dobject_factory.cpp1746 JSHandle<JSTaggedValue> protoValue(proto); in OrdinaryNewJSObjectCreate()
1748 JSHandle<JSHClass> newClass = JSHClass::TransProtoWithoutLayout(thread_, hclass, protoValue); in OrdinaryNewJSObjectCreate()
2557 JSHandle<JSTaggedValue> protoValue = thread_->GlobalConstants()->GetHandledJSRealmClass(); in NewJSRealm() local
2558 JSHandle<JSHClass> hclassHandle = NewEcmaHClass(JSRealm::SIZE, JSType::JS_REALM, protoValue); in NewJSRealm()
3410 JSHandle<JSTaggedValue> protoValue = env->GetSharedSetIteratorPrototype(); in NewJSSetIterator() local
3413 hclassHandle->SetPrototype(thread_, protoValue); in NewJSSetIterator()
3426 JSHandle<JSTaggedValue> protoValue = env->GetSetIteratorPrototype(); in NewJSSetIterator() local
3429 hclassHandle->SetPrototype(thread_, protoValue); in NewJSSetIterator()
3443 JSHandle<JSTaggedValue> protoValue = env->GetRegExpIteratorPrototype(); in NewJSRegExpIterator() local
3446 hclassHandle->SetPrototype(thread_, protoValue); in NewJSRegExpIterator()
3460 JSHandle<JSTaggedValue> protoValue = env->GetMapIteratorPrototype(); NewJSMapIterator() local
3475 JSHandle<JSTaggedValue> protoValue = env->GetSharedMapIteratorPrototype(); NewJSMapIterator() local
3534 JSHandle<JSTaggedValue> protoValue = env->GetArrayIteratorPrototype(); NewJSArrayIterator() local
3550 JSHandle<JSTaggedValue> protoValue = env->GetSharedArrayIteratorPrototype(); NewJSSharedArrayIterator() local
[all...]
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins.cpp1934 JSHandle<JSTaggedValue> protoValue = env->GetSetIteratorPrototype(); in InitializeSetIterator() local
1937 hclassHandle->SetPrototype(thread_, protoValue); in InitializeSetIterator()
1949 JSHandle<JSTaggedValue> protoValue = env->GetSharedSetIteratorPrototype(); in InitializeSSetIterator() local
1952 hclassHandle->SetPrototype(thread_, protoValue); in InitializeSSetIterator()
1966 JSHandle<JSTaggedValue> protoValue = env->GetMapIteratorPrototype(); in InitializeMapIterator() local
1969 hclassHandle->SetPrototype(thread_, protoValue); in InitializeMapIterator()
1982 JSHandle<JSTaggedValue> protoValue = env->GetSharedMapIteratorPrototype(); in InitializeSMapIterator() local
1985 hclassHandle->SetPrototype(thread_, protoValue); in InitializeSMapIterator()

Completed in 18 milliseconds