| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | TraceGDBRemotePackets.h | 34 llvm::json::Path path); 55 llvm::json::Path path); 79 llvm::json::Path path); 81 llvm::json::Value toJSON(const TraceStopRequest &packet); 92 llvm::json::Path path); 104 llvm::json::Path path); 106 llvm::json::Value toJSON(const TraceBinaryData &packet); 115 llvm::json::Path path); 125 llvm::json::Path path); 145 bool fromJSON(const llvm::json::Value &value, [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | SarifDiagnostics.cpp | 183 json::Object Region{ in createTextRegion() 202 return json::Object{ in createPhysicalLocation() 221 static json::Object createThreadFlowLocation(json::Object &&Location, in createThreadFlowLocation() 231 static json::Object createLocation(json::Object &&PhysicalLocation, in createLocation() 260 json::Array Locations; in createThreadFlow() 277 return json::Object{ in createCodeFlow() 291 return json::Object{ in createResult() 327 json::Object Ret{ in createRule() 341 json::Array Rules; in createRules() 358 return json::Object{ in createTool() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-cov/ |
| H A D | CoverageExporterJson.cpp | 94 return json::Array( in renderBranch() 102 json::Array RegionArray; in renderRegions() 109 json::Array RegionArray; in renderBranchRegions() 141 return json::Object( in renderExpansion() 153 return json::Object( in renderSummary() 159 json::Object( in renderSummary() 164 json::Object( in renderSummary() 170 json::Object( in renderSummary() 177 json::Object( in renderSummary() 241 json::Array FileArray; in renderFiles() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Utility/ |
| H A D | TraceGDBRemotePackets.cpp | 12 using namespace llvm::json; 24 json::Value toJSON(const TraceSupportedResponse &packet) { in toJSON() 25 return json::Value( in toJSON() 39 json::Value toJSON(const TraceStartRequest &packet) { in toJSON() 61 json::Value toJSON(const TraceStopRequest &packet) { in toJSON() 74 json::Value toJSON(const TraceGetStateRequest &packet) { in toJSON() 75 return json::Value(Object{{"type", packet.type}}); in toJSON() 83 json::Value toJSON(const TraceBinaryData &packet) { in toJSON() 93 json::Value toJSON(const TraceThreadState &packet) { in toJSON() 94 return json::Value( in toJSON() [all …]
|
| H A D | StructuredData.cpp | 20 static StructuredData::ObjectSP ParseJSONValue(json::Value &value); 22 static StructuredData::ObjectSP ParseJSONArray(json::Array *array); 26 llvm::Expected<json::Value> value = json::parse(json_text); in ParseJSON() 45 llvm::Expected<json::Value> value = in ParseJSONFromFile() 46 json::parse(buffer_or_error.get()->getBuffer().str()); in ParseJSONFromFile() 54 if (json::Object *O = value.getAsObject()) in ParseJSONValue() 57 if (json::Array *A = value.getAsArray()) in ParseJSONValue() 79 json::Value value = KV.second; in ParseJSONObject() 88 for (json::Value &value : *array) { in ParseJSONArray() 130 json::OStream stream(llvm::outs(), pretty_print ? 2 : 0); in DumpToStdout() [all …]
|
| H A D | TraceIntelPTGDBRemotePackets.cpp | 12 using namespace llvm::json; 16 bool fromJSON(const json::Value &value, TraceIntelPTStartRequest &packet, in fromJSON() 36 json::Value toJSON(const TraceIntelPTStartRequest &packet) { in toJSON() 37 json::Value base = toJSON((const TraceStartRequest &)packet); in toJSON()
|
| /freebsd-13.1/contrib/wpa/src/utils/ |
| H A D | json.h | 36 void json_free(struct json_token *json); 38 struct wpabuf * json_get_member_base64url(struct json_token *json, 40 struct wpabuf * json_get_member_base64(struct json_token *json, 43 void json_add_int(struct wpabuf *json, const char *name, int val); 45 int json_add_string_escape(struct wpabuf *json, const char *name, 49 int json_add_base64(struct wpabuf *json, const char *name, const void *val, 51 void json_start_object(struct wpabuf *json, const char *name); 52 void json_end_object(struct wpabuf *json); 53 void json_start_array(struct wpabuf *json, const char *name); 54 void json_end_array(struct wpabuf *json); [all …]
|
| H A D | json.c | 483 if (!json) in json_free() 485 json_free(json->child); in json_free() 486 json_free(json->sibling); in json_free() 487 os_free(json->name); in json_free() 488 os_free(json->string); in json_free() 489 os_free(json); in json_free() 497 if (!json || json->type != JSON_OBJECT) in json_get_member() 663 wpabuf_put_u8(json, '{'); in json_start_object() 669 wpabuf_put_u8(json, '}'); in json_end_object() 677 wpabuf_put_u8(json, '['); in json_start_array() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/TableGen/ |
| H A D | JSONBackend.cpp | 31 json::Value translateInit(const Init &I); 53 json::Array array; in translateInit() 62 json::Array array; in translateInit() 73 json::Object obj; in translateInit() 96 json::Array args; in translateInit() 98 json::Array arg; in translateInit() 120 json::Object root; in run() 141 json::Object obj; in run() 142 json::Array fields; in run() 155 json::Array superclasses; in run() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/DumpTool/ |
| H A D | ASTSrcLocProcessor.cpp | 53 using llvm::json::toJSON; in toJSON() 55 llvm::json::Object JsonObj; in toJSON() 63 using llvm::json::toJSON; in toJSON() 65 llvm::json::Object JsonObj; in toJSON() 72 llvm::json::Object toJSON(ClassData const &Obj) { in toJSON() 73 llvm::json::Object JsonObj; in toJSON() 93 using llvm::json::toJSON; in toJSON() 95 llvm::json::Object JsonObj; in toJSON() 104 llvm::json::Object JsonObj; in WriteJSON() 106 using llvm::json::toJSON; in WriteJSON() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-mca/ |
| H A D | PipelinePrinter.cpp | 33 json::Object PipelinePrinter::getJSONReportRegion() const { in getJSONReportRegion() 34 json::Object JO; in getJSONReportRegion() 48 json::Object PipelinePrinter::getJSONSimulationParameters() const { in getJSONSimulationParameters() 49 json::Object SimParameters({{"-mcpu", STI.getCPU()}, in getJSONSimulationParameters() 81 json::Object PipelinePrinter::getJSONTargetInfo() const { in getJSONTargetInfo() 82 json::Array Resources; in getJSONTargetInfo() 103 return json::Object({{"CPUName", MCPU}, {"Resources", std::move(Resources)}}); in getJSONTargetInfo() 106 void PipelinePrinter::printReport(json::Object &JO) const { in printReport() 111 JO.try_emplace("CodeRegions", json::Array()); in printReport() 114 json::Array *Regions = JO.getArray("CodeRegions"); in printReport()
|
| H A D | PipelinePrinter.h | 49 json::Object getJSONReportRegion() const; 50 json::Object getJSONTargetInfo() const; 51 json::Object getJSONSimulationParameters() const; 64 void printReport(json::Object &JO) const;
|
| /freebsd-13.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/json/ |
| H A D | tst.usdt.d | 39 /json(this->j, "finished") == NULL && json(this->j, "action") != "ignore"/ 41 this->index = strtoll(json(this->j, "index")); 42 this->size = json(this->j, "sizes[2]"); 43 this->odd = json(this->j, "facts.odd"); 44 this->even = json(this->j, "facts.even"); 50 /json(this->j, "finished") != NULL/
|
| H A D | tst.usdt.c | 51 char *json; in main() local 58 asprintf(&json, FMT, size, idx, odd, even, action); in main() 59 BUNYAN_FAKE_LOG_DEBUG(json); in main() 60 free(json); in main()
|
| H A D | tst.strsize.d | 30 out = json(in, "a"); 34 out = json(in, "a"); 38 out = json(in, "b"); 42 out = json(in, "b");
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
| H A D | TraceIntelPTSessionFileParser.h | 38 const llvm::json::Value &trace_session_file, in TraceIntelPTSessionFileParser() 62 const llvm::json::Value &m_trace_session_file; 69 namespace json { 76 bool fromJSON(const llvm::json::Value &value, 79 llvm::json::Path path); 81 llvm::json::Value
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Support/ |
| H A D | JSON.cpp | 18 namespace json { namespace 103 : Value(json::Array(Elements)) {} in Value() 121 create<json::Object>(M.as<json::Object>()); in copyFrom() 124 create<json::Array>(M.as<json::Array>()); in copyFrom() 146 create<json::Object>(std::move(M.as<json::Object>())); in moveFrom() 150 create<json::Array>(std::move(M.as<json::Array>())); in moveFrom() 170 as<json::Object>().~Object(); in destroy() 173 as<json::Array>().~Array(); in destroy() 816 void llvm::json::OStream::newline() { in newline() 831 void llvm::json::OStream::arrayEnd() { in arrayEnd() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-mca/Views/ |
| H A D | InstructionInfoView.cpp | 124 json::Object 126 json::Object JO({{"NumMicroOpcodes", IIVD.NumMicroOpcodes}, in toJSON() 135 json::Value InstructionInfoView::toJSON() const { in toJSON() 138 return json::Value(0); in toJSON() 143 json::Array InstInfo; in toJSON() 146 json::Object JO = toJSON(IIVDEntry); in toJSON() 150 return json::Object({{"InstructionList", json::Value(std::move(InstInfo))}}); in toJSON()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Target/ |
| H A D | Trace.cpp | 38 namespace json { namespace 42 json::ObjectMapper o(value, path); in fromJSON() 47 json::ObjectMapper o(value, path); in fromJSON() 63 const json::Value &trace_session_file, in FindPluginForPostMortemProcess() 66 json::Path::Root root("traceSession"); in FindPluginForPostMortemProcess() 67 if (!json::fromJSON(trace_session_file, json_session, root)) in FindPluginForPostMortemProcess() 100 Error Trace::Start(const llvm::json::Value &request) { in Start() 200 json::parse<TraceGetStateResponse>(*json_string, "TraceGetStateResponse"); in RefreshLiveProcessState()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/ |
| H A D | DIPrinter.cpp | 281 json::Object Json({{"ModuleName", Request.ModuleName.str()}}); in toJSON() 296 json::Array Array; in print() 299 json::Object Object( in print() 323 json::Object Json = toJSON(Request); in print() 332 json::Object Data( in print() 336 json::Object Json = toJSON(Request); in print() 346 json::Array Frame; in print() 348 json::Object FrameObject( in print() 359 json::Object Json = toJSON(Request); in print() 378 json::Object Json = toJSON(Request, ErrorInfo.message()); in printError() [all …]
|
| /freebsd-13.1/contrib/libucl/ |
| H A D | README.md | 11 - [Improvements to the json notation](#improvements-to-the-json-notation) 66 ```json 92 ## Improvements to the json notation. 100 ```json 104 ```json 117 ```json 128 ```json 138 ```json 145 ```json 387 http://www.json-generator.com/). Then I checked jansson library that performs json [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | JSON.h | 58 namespace json { 145 json::Object *getObject(StringRef K); 146 const json::Array *getArray(StringRef K) const; 147 json::Array *getArray(StringRef K); 307 create<json::Array>(std::move(Elements)); in Value() 312 create<json::Object>(std::move(Properties)); in Value() 435 const json::Object *getAsObject() const { in getAsObject() 438 json::Object *getAsObject() { in getAsObject() 441 const json::Array *getAsArray() const { in getAsArray() 444 json::Array *getAsArray() { in getAsArray() [all …]
|
| /freebsd-13.1/usr.sbin/pmc/ |
| H A D | cmd_pmc_filter.cc | 181 pmc_log_event(int fd, struct pmclog_ev *ev, bool json) in pmc_log_event() argument 187 if (json) { in pmc_log_event() 201 char *events, char *processes, char *threads, bool exclusive, bool json, int infd, in pmc_filter_handler() argument 257 pmc_log_event(outfd, &ev, json); in pmc_filter_handler() 297 pmc_log_event(outfd, &ev, json); in pmc_filter_handler() 309 bool exclusive, json; in cmd_pmc_filter() local 313 json = exclusive = false; in cmd_pmc_filter() 320 json = true; in cmd_pmc_filter() 361 processes, threads, exclusive, json, prelogfd, postlogfd); in cmd_pmc_filter()
|
| /freebsd-13.1/contrib/libucl/python/tests/ |
| H A D | test_example.py | 2 import json 57 uj = json.loads(json.dumps(u))
|
| /freebsd-13.1/ |
| H A D | .arclint | 21 "json": { 22 "type": "json", 23 "include": "(\\.arclint|\\.json$)"
|