Home
last modified time | relevance | path

Searched refs:empty_obj (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/runtime_core/libpandabase/utils/
Djson_parser.cpp50 bool JsonObject::Parser::GetJsonObject(JsonObject *empty_obj) in GetJsonObject() argument
54 ASSERT(empty_obj != nullptr); in GetJsonObject()
55 ASSERT(empty_obj->values_map_.empty()); in GetJsonObject()
61 empty_obj->is_valid_ = true; in GetJsonObject()
66 if (!InsertKeyValuePairIn(empty_obj)) { in GetJsonObject()
77 return (empty_obj->is_valid_ = TryGetSymbol('}')); in GetJsonObject()
Djson_parser.h95 bool GetJsonObject(JsonObject *empty_obj);
/arkcompiler/runtime_core/libpandabase/tests/
Djson_parser_test.cpp140 const auto *empty_obj = obj.GetValue<JsonObject::JsonObjPointer>("key_2")->get(); variable
141 ASSERT_NE(empty_obj, nullptr);
142 ASSERT_TRUE(empty_obj->IsValid());
143 ASSERT_EQ(empty_obj->GetSize(), 0U);