Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/serializer/tests/
Dserializer_test.cpp82 BaseDeserializer deserializer(thread, data); in JSSpecialValueTest() local
83 JSHandle<JSTaggedValue> retTrue = deserializer.ReadValue(); in JSSpecialValueTest()
85 JSHandle<JSTaggedValue> retFalse = deserializer.ReadValue(); in JSSpecialValueTest()
87 JSHandle<JSTaggedValue> retUndefined = deserializer.ReadValue(); in JSSpecialValueTest()
88 JSHandle<JSTaggedValue> retNull = deserializer.ReadValue(); in JSSpecialValueTest()
89 JSHandle<JSTaggedValue> retHole = deserializer.ReadValue(); in JSSpecialValueTest()
100 BaseDeserializer deserializer(thread, data); in LineStringTest() local
101 JSHandle<JSTaggedValue> res = deserializer.ReadValue(); in LineStringTest()
114 BaseDeserializer deserializer(thread, data); in TreeStringTest() local
115 JSHandle<JSTaggedValue> res = deserializer.ReadValue(); in TreeStringTest()
[all …]
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_serializer_test.cpp77 JSDeserializer deserializer(thread, data.first, data.second); in JSSpecialValueTest() local
78 JSHandle<JSTaggedValue> retTrue = deserializer.Deserialize(); in JSSpecialValueTest()
80 JSHandle<JSTaggedValue> retFalse = deserializer.Deserialize(); in JSSpecialValueTest()
82 JSHandle<JSTaggedValue> retUndefined = deserializer.Deserialize(); in JSSpecialValueTest()
83 JSHandle<JSTaggedValue> retNull = deserializer.Deserialize(); in JSSpecialValueTest()
84 JSHandle<JSTaggedValue> retHole = deserializer.Deserialize(); in JSSpecialValueTest()
95 JSDeserializer deserializer(thread, data.first, data.second); in JSPlainObjectTest1() local
96 JSHandle<JSTaggedValue> objValue1 = deserializer.Deserialize(); in JSPlainObjectTest1()
97 JSHandle<JSTaggedValue> objValue2 = deserializer.Deserialize(); in JSPlainObjectTest1()
132 JSDeserializer deserializer(thread, data.first, data.second); in JSPlainObjectTest2() local
[all …]
/arkcompiler/runtime_core/libpandabase/serializer/
Dserializer.h298 internal::Deserializer deserializer(data, size); in RawBufferToStruct()
299 internal::ForEachTuple(tuple, deserializer); in RawBufferToStruct()
300 if (deserializer.IsError()) { in RawBufferToStruct()
301 return Unexpected(deserializer.GetError()); in RawBufferToStruct()
305 return deserializer.GetEndPosition(); in RawBufferToStruct()
/arkcompiler/runtime_core/static_core/libpandabase/serializer/
Dserializer.h298 internal::Deserializer deserializer(data, size); in RawBufferToStruct()
299 internal::ForEachTuple(tuple, deserializer); in RawBufferToStruct()
300 if (deserializer.IsError()) { in RawBufferToStruct()
301 return Unexpected(deserializer.GetError()); in RawBufferToStruct()
305 return deserializer.GetEndPosition(); in RawBufferToStruct()
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi_expo.cpp3630 ecmascript::BaseDeserializer deserializer(thread, data.release(), hint); in DeserializeValue() local
3631 JSHandle<JSTaggedValue> result = deserializer.ReadValue(); in DeserializeValue()
3635 ecmascript::Deserializer deserializer(thread, data.release(), hint); in DeserializeValue() local
3636 JSHandle<JSTaggedValue> result = deserializer.ReadValue(); in DeserializeValue()