Home
last modified time | relevance | path

Searched refs:fromJSON (Results 1 – 23 of 23) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DProtocol.h136 bool fromJSON(const llvm::json::Value &, TextDocumentIdentifier &,
322 bool fromJSON(const llvm::json::Value &, CompletionItemKind &,
500 bool fromJSON(const llvm::json::Value &, ClientCapabilities &,
510 bool fromJSON(const llvm::json::Value &, ClangdCompileCommand &,
521 bool fromJSON(const llvm::json::Value &, ConfigurationSettings &,
540 bool fromJSON(const llvm::json::Value &, InitializationOptions &,
748 bool fromJSON(const llvm::json::Value &E, FileChangeType &Out,
814 bool fromJSON(const llvm::json::Value &, DocumentSymbolParams &,
1440 bool fromJSON(const TypeHierarchyItem::ResolveParams &);
1743 bool fromJSON(const llvm::json::Value &, DocumentLinkParams &,
[all …]
H A DProtocol.cpp39 return fromJSON(*V, Out, P.field(Prop)); in mapOptOrNull()
113 bool fromJSON(const llvm::json::Value &Params, in fromJSON() function
224 if (fromJSON((*A)[I], KindOut, P.index(I))) in fromJSON()
554 bool fromJSON(const llvm::json::Value &Params, in fromJSON() function
567 bool fromJSON(const llvm::json::Value &Params, in fromJSON() function
974 if (fromJSON((*A)[I], KindOut, P.index(I))) in fromJSON()
1156 bool fromJSON(const llvm::json::Value &Params, in fromJSON() function
1222 bool fromJSON(const llvm::json::Value &Params, in fromJSON() function
1256 bool fromJSON(const llvm::json::Value &Params, in fromJSON() function
1309 bool fromJSON(const llvm::json::Value &Params, in fromJSON() function
[all …]
H A DLSPBinder.h115 if (!fromJSON(Raw, Result, Root)) { in parse()
/llvm-project-15.0.7/mlir/lib/Tools/lsp-server-support/
H A DProtocol.h137 bool fromJSON(const llvm::json::Value &value, URIForFile &result,
170 bool fromJSON(const llvm::json::Value &value, TraceLevel &result,
244 bool fromJSON(const llvm::json::Value &value,
293 bool fromJSON(const llvm::json::Value &value, Position &result,
346 bool fromJSON(const llvm::json::Value &value, Range &result,
381 bool fromJSON(const llvm::json::Value &value, Location &result,
399 bool fromJSON(const llvm::json::Value &value,
446 bool fromJSON(const llvm::json::Value &value,
471 bool fromJSON(const llvm::json::Value &value,
483 bool fromJSON(const llvm::json::Value &value,
[all …]
H A DProtocol.cpp42 return fromJSON(*v, out, path.field(prop)); in mapOptOrNull()
256 bool mlir::lsp::fromJSON(const llvm::json::Value &value, in fromJSON() function in mlir::lsp
301 bool mlir::lsp::fromJSON(const llvm::json::Value &value, in fromJSON() function in mlir::lsp
316 bool mlir::lsp::fromJSON(const llvm::json::Value &value, in fromJSON() function in mlir::lsp
332 bool mlir::lsp::fromJSON(const llvm::json::Value &value, in fromJSON() function in mlir::lsp
351 bool mlir::lsp::fromJSON(const llvm::json::Value &value, in fromJSON() function in mlir::lsp
426 bool mlir::lsp::fromJSON(const llvm::json::Value &value, in fromJSON() function in mlir::lsp
438 bool mlir::lsp::fromJSON(const llvm::json::Value &value, in fromJSON() function in mlir::lsp
444 bool mlir::lsp::fromJSON(const llvm::json::Value &value, in fromJSON() function in mlir::lsp
448 return fromJSON(value, base, path) && o && in fromJSON()
[all …]
H A DTransport.h117 if (fromJSON(raw, result, root)) in parse()
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DTraceGDBRemotePackets.h35 bool fromJSON(const llvm::json::Value &value, TraceSupportedResponse &info,
56 bool fromJSON(const llvm::json::Value &value, TraceStartRequest &packet,
80 bool fromJSON(const llvm::json::Value &value, TraceStopRequest &packet,
93 bool fromJSON(const llvm::json::Value &value, TraceGetStateRequest &packet,
105 bool fromJSON(const llvm::json::Value &value, TraceBinaryData &packet,
116 bool fromJSON(const llvm::json::Value &value, TraceThreadState &packet,
127 bool fromJSON(const llvm::json::Value &value, TraceCpuState &packet,
141 bool fromJSON(const llvm::json::Value &value, TraceGetStateResponse &packet,
160 bool fromJSON(const llvm::json::Value &value,
H A DTraceIntelPTGDBRemotePackets.h60 bool fromJSON(const llvm::json::Value &value, TraceIntelPTStartRequest &packet,
77 bool fromJSON(const llvm::json::Value &value, JSONUINT64 &uint64,
117 bool fromJSON(const llvm::json::Value &value,
122 bool fromJSON(const llvm::json::Value &value,
/llvm-project-15.0.7/lldb/source/Utility/
H A DTraceGDBRemotePackets.cpp17 bool fromJSON(const json::Value &value, TraceSupportedResponse &packet, in fromJSON() function
34 bool fromJSON(const json::Value &value, TraceStartRequest &packet, Path path) { in fromJSON() function
56 bool fromJSON(const json::Value &value, TraceStopRequest &packet, Path path) { in fromJSON() function
68 bool fromJSON(const json::Value &value, TraceGetStateRequest &packet, in fromJSON() function
78 bool fromJSON(const json::Value &value, TraceBinaryData &packet, Path path) { in fromJSON() function
87 bool fromJSON(const json::Value &value, TraceThreadState &packet, Path path) { in fromJSON() function
98 bool fromJSON(const json::Value &value, TraceGetStateResponse &packet, in fromJSON() function
119 bool fromJSON(const json::Value &value, TraceCpuState &packet, in fromJSON() function
144 bool fromJSON(const json::Value &value, TraceGetBinaryDataRequest &packet, in fromJSON() function
H A DTraceIntelPTGDBRemotePackets.cpp32 bool fromJSON(const json::Value &value, JSONUINT64 &uint64, Path path) { in fromJSON() function
45 bool fromJSON(const json::Value &value, TraceIntelPTStartRequest &packet, in fromJSON() function
48 if (!(o && fromJSON(value, (TraceStartRequest &)packet, path) && in fromJSON()
97 bool fromJSON(const json::Value &value, LinuxPerfZeroTscConversion &packet, in fromJSON() function
109 bool fromJSON(const json::Value &value, TraceIntelPTGetStateResponse &packet, in fromJSON() function
112 return o && fromJSON(value, (TraceGetStateResponse &)packet, path) && in fromJSON()
/llvm-project-15.0.7/lldb/source/Plugins/Trace/intel-pt/
H A DTraceIntelPTJSONStructs.h72 bool fromJSON(const llvm::json::Value &value, JSONModule &module,
75 bool fromJSON(const llvm::json::Value &value, JSONThread &thread,
78 bool fromJSON(const llvm::json::Value &value, JSONProcess &process,
81 bool fromJSON(const llvm::json::Value &value, JSONCpu &cpu,
84 bool fromJSON(const llvm::json::Value &value, pt_cpu &cpu_info,
87 bool fromJSON(const llvm::json::Value &value, JSONTraceBundleDescription &bundle_description,
H A DTraceIntelPTJSONStructs.cpp43 bool fromJSON(const json::Value &value, JSONModule &module, Path path) { in fromJSON() function
58 bool fromJSON(const json::Value &value, JSONThread &thread, Path path) { in fromJSON() function
72 bool fromJSON(const json::Value &value, JSONProcess &process, Path path) { in fromJSON() function
86 bool fromJSON(const json::Value &value, JSONCpu &cpu, Path path) { in fromJSON() function
105 bool fromJSON(const json::Value &value, pt_cpu &cpu_info, Path path) { in fromJSON() function
129 bool fromJSON(const json::Value &value, JSONTraceBundleDescription &bundle_description, Path path) { in fromJSON() function
142 if (!fromJSON(*value.getAsObject()->get("cpuInfo"), bundle_description.cpu_info, in fromJSON()
H A DTraceIntelPTBundleLoader.cpp320 if (!fromJSON(m_bundle_description, bundle_description, root)) in Load()
/llvm-project-15.0.7/mlir/lib/Tools/mlir-pdll-lsp-server/
H A DProtocol.cpp39 return fromJSON(*v, out, path.field(prop)); in mapOptOrNull()
46 bool mlir::lsp::fromJSON(const llvm::json::Value &value, in fromJSON() function in mlir::lsp
65 bool mlir::lsp::fromJSON(const llvm::json::Value &value, in fromJSON() function in mlir::lsp
H A DProtocol.h48 bool fromJSON(const llvm::json::Value &value, PDLLViewOutputKind &result,
50 bool fromJSON(const llvm::json::Value &value, PDLLViewOutputParams &result,
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DJSON.h715 inline bool fromJSON(const Value &E, int &Out, Path P) { in fromJSON() function
723 inline bool fromJSON(const Value &E, int64_t &Out, Path P) { in fromJSON() function
731 inline bool fromJSON(const Value &E, double &Out, Path P) { in fromJSON() function
739 inline bool fromJSON(const Value &E, bool &Out, Path P) { in fromJSON() function
770 if (!fromJSON(E, Result, P)) in fromJSON()
776 bool fromJSON(const Value &E, std::vector<T> &Out, Path P) { in fromJSON() function
781 if (!fromJSON((*A)[I], Out[I], P.index(I))) in fromJSON()
835 return fromJSON(*E, Out, P.field(Prop)); in map()
846 return fromJSON(*E, Out, P.field(Prop)); in map()
857 return fromJSON(*E, Out, P.field(Prop)); in mapOptional()
[all …]
/llvm-project-15.0.7/llvm/unittests/Support/
H A DJSONTest.cpp458 bool fromJSON(const Value &E, CustomStruct &R, Path P) { in fromJSON() function
489 ASSERT_TRUE(fromJSON(J, R, Root)); in TEST()
493 ASSERT_FALSE(fromJSON(J, R, Root)); in TEST()
506 EXPECT_FALSE(fromJSON(nullptr, V, Root)); in TEST()
510 EXPECT_FALSE(fromJSON(Object{}, V, Root)); in TEST()
513 EXPECT_FALSE(fromJSON(Object{{"str", 1}}, V, Root)); in TEST()
517 EXPECT_FALSE(fromJSON(Object{{"str", "1"}, {"int", "string"}}, V, Root)); in TEST()
521 EXPECT_FALSE(fromJSON(Object{{"str", "1"}, {"bool", "string"}}, V, Root)); in TEST()
/llvm-project-15.0.7/libc/benchmarks/automemcpy/lib/
H A DResultAnalyzerMain.cpp62 bool fromJSON(const json::Value &V, Sample &Out, json::Path P) { in fromJSON() function
88 bool fromJSON(const json::Value &V, JsonFile &JF, json::Path P) { in fromJSON() function
106 if (!fromJSON(JsonValue, JF, Root)) in parseJsonResultFile()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DLSPBinderTests.cpp28 bool fromJSON(const llvm::json::Value &V, Foo &F, llvm::json::Path P) { in fromJSON() function
29 return fromJSON(V, F.X, P.field("X")); in fromJSON()
/llvm-project-15.0.7/clang-tools-extra/clangd/benchmarks/
H A DIndexBenchmark.cpp66 if (!fromJSON(Item, Request, Root)) { in extractQueriesFromLogs()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DIndex.cpp30 bool fromJSON(const llvm::json::Value &Parameters, FuzzyFindRequest &Request, in fromJSON() function
H A DIndex.h60 bool fromJSON(const llvm::json::Value &Value, FuzzyFindRequest &Request,
/llvm-project-15.0.7/lldb/source/Target/
H A DTrace.cpp37 bool fromJSON(const Value &value, JSONSimpleTraceBundleDescription &bundle, in fromJSON() function
122 if (!json::fromJSON(trace_bundle_description, json_bundle, root)) in FindPluginForPostMortemProcess()