Home
last modified time | relevance | path

Searched refs:StringT (Results 1 – 17 of 17) sorted by relevance

/arkcompiler/runtime_core/libpandabase/tests/
Djson_parser_test.cpp40 ASSERT_EQ(obj.GetValue<JsonObject::StringT>("key_2"), nullptr);
64 ASSERT_NE(main_array[0].Get<JsonObject::StringT>(), nullptr);
65 ASSERT_EQ(*main_array[0].Get<JsonObject::StringT>(), "elem0");
71 ASSERT_NE(inner_array[0].Get<JsonObject::StringT>(), nullptr);
72 ASSERT_EQ(*inner_array[0].Get<JsonObject::StringT>(), "elem1.0");
74 ASSERT_NE(inner_array[1].Get<JsonObject::StringT>(), nullptr);
75 ASSERT_EQ(*inner_array[1].Get<JsonObject::StringT>(), "elem1.1");
78 ASSERT_NE(main_array[2].Get<JsonObject::StringT>(), nullptr);
79 ASSERT_EQ(*main_array[2].Get<JsonObject::StringT>(), "elem2");
109 ASSERT_NE(obj.GetValue<JsonObject::StringT>("key_0"), nullptr);
[all …]
/arkcompiler/runtime_core/static_core/libpandabase/tests/
Djson_parser_test.cpp63 ASSERT_NE(mainArray[0U].Get<JsonObject::StringT>(), nullptr); in TEST()
64 ASSERT_EQ(*mainArray[0U].Get<JsonObject::StringT>(), "elem0"); in TEST()
70 ASSERT_NE(innerArray[0U].Get<JsonObject::StringT>(), nullptr); in TEST()
71 ASSERT_EQ(*innerArray[0U].Get<JsonObject::StringT>(), "elem1.0"); in TEST()
73 ASSERT_NE(innerArray[1U].Get<JsonObject::StringT>(), nullptr); in TEST()
74 ASSERT_EQ(*innerArray[1U].Get<JsonObject::StringT>(), "elem1.1"); in TEST()
77 ASSERT_NE(mainArray[2U].Get<JsonObject::StringT>(), nullptr); in TEST()
78 ASSERT_EQ(*mainArray[2U].Get<JsonObject::StringT>(), "elem2"); in TEST()
109 ASSERT_NE(obj.GetValue<JsonObject::StringT>("key_0"), nullptr); in TEST()
110 ASSERT_EQ(*obj.GetValue<JsonObject::StringT>("key_0"), "key_0.value"); in TEST()
[all …]
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/tests/
Dobject_repository.cpp97 …return JsonProperties(JsonProperty<JsonObject::StringT> {"type", type}, JsonProperty<ValueT> {valu… in GetPrimitiveProperties()
103 return JsonProperties(JsonProperty<JsonObject::StringT> {"type", "object"}, in GetObjectProperties()
104 JsonProperty<JsonObject::StringT> {"className", className}, in GetObjectProperties()
105 JsonProperty<JsonObject::StringT> {"description", description}, in GetObjectProperties()
106 JsonProperty<JsonObject::StringT> {"objectId", objectId}); in GetObjectProperties()
112 return JsonProperties(JsonProperty<JsonObject::StringT> {"name", name}, in GetFrameObjectProperties()
128 … ASSERT_THAT(ToJson(nullObj), JsonProperties(JsonProperty<JsonObject::StringT> {"type", "object"}, in TEST_F()
129 … JsonProperty<JsonObject::StringT> {"subtype", "null"}, in TEST_F()
133 …ASSERT_THAT(ToJson(invObj), JsonProperties(JsonProperty<JsonObject::StringT> {"type", "undefined"}… in TEST_F()
146 … GetPrimitiveProperties<JsonObject::StringT>("bigint", "200000000000002", "unserializableValue")); in TEST_F()
Dinspector_server.cpp110 … JsonProperty<JsonObject::StringT> {"scriptId", std::to_string(scriptId)}, in TEST_F()
115 JsonProperty<JsonObject::StringT> {"hash", ""}, in TEST_F()
116 … JsonProperty<JsonObject::StringT> {"url", g_sourceFile.c_str()})); in TEST_F()
129 JsonProperties(JsonProperty<JsonObject::StringT> {"debuggerId", "debugger"})); in TEST_F()
251 …testing::Pointee(JsonProperties(JsonProperty<JsonObject::StringT> {"scriptId", std::to_string(scri… in __anon8a42feb10d02()
330 … JsonProperties(JsonProperty<JsonObject::StringT> {"scriptSource", g_sourceFile})); in TEST_F()
414 … JsonProperties(JsonProperty<JsonObject::StringT> {"breakpointId", std::to_string(start)}, in TEST_F()
418 … JsonProperty<JsonObject::StringT> {"scriptId", std::to_string(scriptId)}, in TEST_F()
471 … JsonProperties(JsonProperty<JsonObject::StringT> {"scriptId", std::to_string(scriptId)}, in TEST_F()
476 … JsonProperties(JsonProperty<JsonObject::StringT> {"breakpointId", std::to_string(start + 1)}, in TEST_F()
[all …]
Djson_object_matcher.cpp22 if (auto *string = value.Get<JsonObject::StringT>()) { in operator <<()
Djson_object_matcher.h64 constexpr const char *PropertyTypeName<JsonObject::StringT>()
/arkcompiler/runtime_core/static_core/libpandabase/utils/
Djson_parser.h35 using StringT = std::string; variable
39 using Key = StringT;
77 std::variant<std::monostate, StringT, NumT, BoolT, ArrayT, JsonObjPointer> value_;
115 StringT stringTemp_;
161 const StringT *GetValueSourceString(const Key &key) const in GetValueSourceString()
187 std::unordered_map<Key, StringT> stringMap_;
Djson_parser.cpp93 ASSERT(parsedTemp_.Get<StringT>() != nullptr); in InsertKeyValuePairIn()
94 Key key(std::move(*parsedTemp_.Get<StringT>())); in InsertKeyValuePairIn()
/arkcompiler/runtime_core/libpandabase/utils/
Djson_parser.h35 using StringT = std::string; variable
39 using Key = StringT;
76 std::variant<std::monostate, StringT, NumT, BoolT, ArrayT, JsonObjPointer> value_;
113 StringT string_temp_;
159 const StringT *GetValueSourceString(const Key &key) const in GetValueSourceString()
185 std::unordered_map<Key, StringT> string_map_;
Djson_parser.cpp92 ASSERT(parsed_temp_.Get<StringT>() != nullptr); in InsertKeyValuePairIn()
93 Key key(std::move(*parsed_temp_.Get<StringT>())); in InsertKeyValuePairIn()
/arkcompiler/runtime_core/static_core/assembler/
Dassembly-program.h34 using StringT = std::set<std::string>; member
42 StringT strings;
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/connection/
Dendpoint_base.cpp40 auto sessionId = request.GetValue<JsonObject::StringT>("sessionId"); in HandleMessage()
42 auto method = request.GetValue<JsonObject::StringT>("method"); in HandleMessage()
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/types/
Dnumeric_id.h38 auto property = object.GetValue<JsonObject::StringT>(propertyName); in ParseNumericId()
/arkcompiler/runtime_core/static_core/compiler/tools/paoc/
Dpaoc_clusters.h38 using StringT = JsonObject::StringT; variable
122 const auto *strIdx = idx.Get<StringT>(); in InitClustersMap()
/arkcompiler/ets_frontend/ets2panda/util/
Darktsconfig.cpp208 auto p = *v.Get<JsonObject::StringT>(); in ParsePaths()
238 auto langValue = data->get()->GetValue<JsonObject::StringT>(LANGUAGE); in ParseDynamicPaths()
281 out.emplace_back(constructor(*i.Get<JsonObject::StringT>())); in ParseCollection()
304 auto path = options->get()->GetValue<JsonObject::StringT>(key); in ParseRelDir()
340 auto extends = arktsConfig->GetValue<JsonObject::StringT>(EXTENDS); in Parse()
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/
Dinspector_server.cpp383 if (auto url = params.GetValue<JsonObject::StringT>("url")) { in OnCallDebuggerSetBreakpointByUrl()
386 } else if (auto urlRegex = params.GetValue<JsonObject::StringT>("urlRegex")) { in OnCallDebuggerSetBreakpointByUrl()
439 auto stateStr = params.GetValue<JsonObject::StringT>("state"); in OnCallDebuggerSetPauseOnExceptions()
/arkcompiler/runtime_core/static_core/assembler/tests/
Dparser_test.cpp1068 Program::StringT strings = {" abc123 ", "zxcvb"}; in TEST()
1221 Program::StringT strings = {"123\xaa\x65"}; in TEST()
1243 Program::StringT strings = {"123\1\02\00123"}; in TEST()