Home
last modified time | relevance | path

Searched refs:protoValue (Results 1 – 5 of 5) sorted by relevance

/arkcompiler/ets_frontend/merge_abc/src/
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.set_valuestr(std::get<std::string>(value)); in Serialize()
[all …]
DassemblyLiteralsProto.h26 static void Serialize(const LiteralValueType &value, protoPanda::VariantValue &protoValue);
27 static void Deserialize(const protoPanda::VariantValue &protoValue, LiteralValueType &value);
DmetaProto.cpp67 auto *protoValue = protoMeta.mutable_value(); in Serialize() local
68 ScalarValue::Serialize(val.value(), *protoValue); in Serialize()
DannotationProto.cpp266 for (const auto &protoValue : protoArray.values()) { in Deserialize() local
267 panda::pandasm::ScalarValue scalar = ScalarValue::Deserialize(protoValue, allocator); in Deserialize()
/arkcompiler/ets_runtime/ecmascript/
Dobject_factory.cpp1402 JSHandle<JSTaggedValue> protoValue(proto); in OrdinaryNewJSObjectCreate() local
1404 JSHandle<JSHClass> newClass = JSHClass::TransProtoWithoutLayout(thread_, hclass, protoValue); in OrdinaryNewJSObjectCreate()
2122 JSHandle<JSTaggedValue> protoValue = thread_->GlobalConstants()->GetHandledJSRealmClass(); in NewJSRealm() local
2123 JSHandle<JSHClass> hclassHandle = NewEcmaHClass(JSRealm::SIZE, JSType::JS_REALM, protoValue); in NewJSRealm()
2704 JSHandle<JSTaggedValue> protoValue = env->GetSetIteratorPrototype(); in NewJSSetIterator() local
2707 hclassHandle->SetPrototype(thread_, protoValue); in NewJSSetIterator()
2721 JSHandle<JSTaggedValue> protoValue = env->GetRegExpIteratorPrototype(); in NewJSRegExpIterator() local
2724 hclassHandle->SetPrototype(thread_, protoValue); in NewJSRegExpIterator()
2738 JSHandle<JSTaggedValue> protoValue = env->GetMapIteratorPrototype(); in NewJSMapIterator() local
2741 hclassHandle->SetPrototype(thread_, protoValue); in NewJSMapIterator()
[all …]