Lines Matching refs:json
32 static Error intFromJsonTemplate(const json::Value &V, T &Out) { in intFromJsonTemplate()
44 static Error fromJson(const json::Value &V, bool &Out) { in fromJson()
52 static Error fromJson(const json::Value &V, double &Out) { in fromJson()
60 static Error fromJson(const json::Value &V, std::string &Out) { in fromJson()
68 static Error fromJson(const json::Value &V, uint32_t &Out) { in fromJson()
72 static Error fromJson(const json::Value &V, int &Out) { in fromJson()
76 static Error fromJson(const json::Value &V, libc_benchmarks::Duration &D) { in fromJson()
77 if (V.kind() != json::Value::Kind::Number) in fromJson()
83 static Error fromJson(const json::Value &V, MaybeAlign &Out) { in fromJson()
101 static Error fromJson(const json::Value &V, in fromJson()
103 if (V.kind() != json::Value::Kind::String) in fromJson()
123 Error vectorFromJsonTemplate(const json::Value &V, C &Out) { in vectorFromJsonTemplate()
136 static Error fromJson(const json::Value &V, std::vector<T> &Out) { in fromJson()
142 const json::Object *O;
147 explicit JsonObjectMapper(const json::Value &V) in JsonObjectMapper()
167 if (const json::Value *Value = O->get(Key)) { in map()
174 static Error fromJson(const json::Value &V, in fromJson()
189 static Error fromJson(const json::Value &V, in fromJson()
202 static Error fromJson(const json::Value &V, libc_benchmarks::CacheInfo &Out) { in fromJson()
211 static Error fromJson(const json::Value &V, libc_benchmarks::HostState &Out) { in fromJson()
219 static Error fromJson(const json::Value &V, libc_benchmarks::Runtime &Out) { in fromJson()
228 static Error fromJson(const json::Value &V, libc_benchmarks::Study &Out) { in fromJson()
242 Expected<json::Value> EV = json::parse(Content); in parseJsonStudy()
263 static void serialize(const BenchmarkOptions &BO, json::OStream &JOS) { in serialize()
275 static void serialize(const CacheInfo &CI, json::OStream &JOS) { in serialize()
282 static void serialize(const StudyConfiguration &SC, json::OStream &JOS) { in serialize()
293 static void serialize(const HostState &HS, json::OStream &JOS) { in serialize()
302 static void serialize(const Runtime &RI, json::OStream &JOS) { in serialize()
310 void serializeToJson(const Study &S, json::OStream &JOS) { in serializeToJson()