Lines Matching refs:json
12 using namespace llvm::json;
25 json::Value toJSON(const JSONUINT64 &uint64, bool hex) { in toJSON()
27 return json::Value(formatv("{0:x+}", uint64.value)); in toJSON()
29 return json::Value(formatv("{0}", uint64.value)); in toJSON()
32 bool fromJSON(const json::Value &value, JSONUINT64 &uint64, Path path) { in fromJSON()
45 bool fromJSON(const json::Value &value, TraceIntelPTStartRequest &packet, in fromJSON()
63 json::Value toJSON(const TraceIntelPTStartRequest &packet) { in toJSON()
64 json::Value base = toJSON((const TraceStartRequest &)packet); in toJSON()
65 json::Object &obj = *base.getAsObject(); in toJSON()
89 json::Value toJSON(const LinuxPerfZeroTscConversion &packet) { in toJSON()
90 return json::Value(json::Object{ in toJSON()
97 bool fromJSON(const json::Value &value, LinuxPerfZeroTscConversion &packet, in fromJSON()
98 json::Path path) { in fromJSON()
109 bool fromJSON(const json::Value &value, TraceIntelPTGetStateResponse &packet, in fromJSON()
110 json::Path path) { in fromJSON()
117 json::Value toJSON(const TraceIntelPTGetStateResponse &packet) { in toJSON()
118 json::Value base = toJSON((const TraceGetStateResponse &)packet); in toJSON()
119 json::Object &obj = *base.getAsObject(); in toJSON()