Lines Matching refs:json
25 static void EmplaceSafeString(llvm::json::Object &obj, llvm::StringRef key, in EmplaceSafeString()
29 if (LLVM_LIKELY(llvm::json::isUTF8(str))) in EmplaceSafeString()
32 obj.try_emplace(key, llvm::json::fixUTF8(str)); in EmplaceSafeString()
35 json::Value StatsSuccessFail::ToJSON() const { in ToJSON()
36 return json::Object{{"successes", successes}, {"failures", failures}}; in ToJSON()
51 json::Value ModuleStats::ToJSON() const { in ToJSON()
52 json::Object module; in ToJSON()
78 json::Array symfile_ids; in ToJSON()
85 json::Array type_systems; in ToJSON()
87 json::Object obj; in ToJSON()
97 llvm::json::Value ConstStringStats::ToJSON() const { in ToJSON()
98 json::Object obj; in ToJSON()
105 json::Value
108 json::Object target_metrics_json; in ToJSON()
115 json::Array json_module_uuid_array; in ToJSON()
138 json::Array breakpoints_array; in ToJSON()
225 llvm::json::Value DebuggerStats::ReportStatistics( in ReportStatistics()
235 json::Array json_targets; in ReportStatistics()
236 json::Array json_modules; in ReportStatistics()
335 json::Object global_stats{ in ReportStatistics()
365 json::Object json_memory{ in ReportStatistics()
370 json::Value cmd_stats = debugger.GetCommandInterpreter().GetStatistics(); in ReportStatistics()
401 json::OStream json_os(ss); in ReportStatistics()
403 if (auto json_transcript = llvm::json::parse(ss.str())) in ReportStatistics()