Home
last modified time | relevance | path

Searched refs:json (Results 1 – 25 of 65) sorted by relevance

123

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DSarifDiagnostics.cpp147 return json::Object{ in createTextRegion()
175 static json::Object createThreadFlowLocation(json::Object &&Location, in createThreadFlowLocation()
185 static json::Object createLocation(json::Object &&PhysicalLocation, in createLocation()
212 json::Array Locations; in createThreadFlow()
227 return json::Object{ in createCodeFlow()
238 static json::Object createResult(const PathDiagnostic &Diag, json::Array &Files, in createResult()
246 return json::Object{ in createResult()
281 json::Object Ret{ in createRule()
295 json::Array Rules; in createRules()
316 json::Array Results, Files; in createRun()
[all …]
/freebsd-12.1/contrib/llvm/tools/llvm-cov/
H A DCoverageExporterJson.cpp71 json::Array RegionArray; in renderRegions()
78 return json::Object( in renderExpansion()
87 return json::Object( in renderSummary()
93 json::Object( in renderSummary()
98 json::Object( in renderSummary()
104 json::Object( in renderSummary()
114 json::Array ExpansionArray; in renderFileExpansions()
122 json::Array SegmentArray; in renderFileSegments()
147 json::Array FileArray; in renderFiles()
154 json::Array renderFunctions( in renderFunctions()
[all …]
/freebsd-12.1/contrib/llvm/lib/TableGen/
H A DJSONBackend.cpp32 json::Value translateInit(const Init &I);
55 json::Array array; in translateInit()
66 json::Array array; in translateInit()
77 json::Object obj; in translateInit()
100 json::Array args; in translateInit()
102 json::Array arg; in translateInit()
124 json::Object root; in run()
145 json::Object obj; in run()
146 json::Array fields; in run()
159 json::Array superclasses; in run()
[all …]
/freebsd-12.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/json/
H A Dtst.usdt.d39 /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 Dtst.usdt.c48 char *odd, *even, *json, *action; in main() local
55 asprintf(&json, FMT, size, idx, odd, even, action); in main()
56 BUNYAN_FAKE_LOG_DEBUG(json); in main()
57 free(json); in main()
H A Dtst.strsize.d30 out = json(in, "a");
34 out = json(in, "a");
38 out = json(in, "b");
42 out = json(in, "b");
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DJSON.h56 namespace json {
141 json::Object *getObject(StringRef K);
142 const json::Array *getArray(StringRef K) const;
143 json::Array *getArray(StringRef K);
295 create<json::Array>(std::move(Elements)); in Value()
300 create<json::Object>(std::move(Properties)); in Value()
427 const json::Object *getAsObject() const { in getAsObject()
430 json::Object *getAsObject() { in getAsObject()
433 const json::Array *getAsArray() const { in getAsArray()
436 json::Array *getAsArray() { in getAsArray()
[all …]
/freebsd-12.1/contrib/llvm/lib/Support/
H A DJSON.cpp16 namespace json { namespace
66 json::Object *Object::getObject(StringRef K) { in getObject()
76 json::Array *Object::getArray(StringRef K) { in getArray()
101 : Value(json::Array(Elements)) {} in Value()
119 create<json::Object>(M.as<json::Object>()); in copyFrom()
122 create<json::Array>(M.as<json::Array>()); in copyFrom()
144 create<json::Object>(std::move(M.as<json::Object>())); in moveFrom()
148 create<json::Array>(std::move(M.as<json::Array>())); in moveFrom()
168 as<json::Object>().~Object(); in destroy()
171 as<json::Array>().~Array(); in destroy()
[all …]
/freebsd-12.1/contrib/wpa/src/utils/
H A Djson.c479 void json_free(struct json_token *json) in json_free() argument
481 if (!json) in json_free()
483 json_free(json->child); in json_free()
484 json_free(json->sibling); in json_free()
485 os_free(json->name); in json_free()
486 os_free(json->string); in json_free()
487 os_free(json); in json_free()
495 if (!json || json->type != JSON_OBJECT) in json_get_member()
498 for (token = json->child; token; token = token->sibling) { in json_get_member()
506 struct wpabuf * json_get_member_base64url(struct json_token *json, in json_get_member_base64url() argument
[all …]
H A Djson.h36 void json_free(struct json_token *json);
37 struct json_token * json_get_member(struct json_token *json, const char *name);
38 struct wpabuf * json_get_member_base64url(struct json_token *json,
/freebsd-12.1/contrib/libucl/
H A DREADME.md11 - [Improvements to the json notation](#improvements-to-the-json-notation)
65 ```json
85 ## Improvements to the json notation.
93 ```json
97 ```json
110 ```json
121 ```json
131 ```json
138 ```json
353 http://www.json-generator.com/). Then I checked jansson library that performs json
[all …]
/freebsd-12.1/usr.sbin/pmc/
H A Dcmd_pmc_filter.cc181 pmc_log_event(int fd, struct pmclog_ev *ev, bool json) in pmc_log_event() argument
186 if (json) { in pmc_log_event()
200 char *events, char *processes, char *threads, bool exclusive, bool json, int infd, in pmc_filter_handler() argument
256 pmc_log_event(outfd, &ev, json); in pmc_filter_handler()
296 pmc_log_event(outfd, &ev, json); in pmc_filter_handler()
308 bool exclusive, json; in cmd_pmc_filter() local
312 json = exclusive = false; in cmd_pmc_filter()
319 json = true; in cmd_pmc_filter()
360 processes, threads, exclusive, json, prelogfd, postlogfd); in cmd_pmc_filter()
/freebsd-12.1/
H A D.arclint21 "json": {
22 "type": "json",
23 "include": "(\\.arclint|\\.json$)"
/freebsd-12.1/lib/libpmc/pmu-events/
H A DREADME11 - Regular files with '.json' extension in the name are assumed to be
28 the topic. Eg: "Floating-point.json".
34 Cache.json Memory.json Virtual-Memory.json
35 Frontend.json Pipeline.json
46 is derived from JSON file name, 'power8.json').
128 File/path/name.json.
/freebsd-12.1/contrib/libucl/tests/
H A Dtest_basic.c41 int ret = 0, opt, json = 0, compact = 0, yaml = 0, in main() local
49 json = 1; in main()
193 if (json) { in main()
253 if (json) { in main()
/freebsd-12.1/release/
H A DMakefile.vagrant77 @(cd ${.OBJDIR}/${PROVIDER} && echo '{"provider":"${PROVIDER}"}' > metadata.json)
78 …@(cd ${.OBJDIR}/${PROVIDER} && tar -czf ../${VAGRANT_TARGET}.${PROVIDER}.box metadata.json box.ovf…
80 @(cd ${.OBJDIR}/${PROVIDER} && echo '{"provider":"${PROVIDER}_desktop"}' > metadata.json)
81 …@(cd ${.OBJDIR}/${PROVIDER} && tar -czf ../${VAGRANT_TARGET}.${PROVIDER}.box metadata.json vagrant…
/freebsd-12.1/contrib/libucl/doc/
H A Dlua_api.md18 local got = ucl.to_format(obj, 'json')
91 - `json` - fine printed json
92 - `json-compact` - compacted json
/freebsd-12.1/contrib/googletest/googletest/test/
H A Dgoogletest-json-outfiles-test.py33 import json
153 actual = json.load(f)
156 actual = json.load(f)
/freebsd-12.1/contrib/llvm/tools/clang/lib/Driver/
H A DDarwinSDKInfo.cpp29 Expected<llvm::json::Value> Result = in parseDarwinSDKInfo()
30 llvm::json::parse(File.get()->getBuffer()); in parseDarwinSDKInfo()
/freebsd-12.1/contrib/libucl/lua/
H A Dlibucl.rockspec.in9 summary = "UCL - json like configuration language",
14 to parse json files.
/freebsd-12.1/contrib/libucl/python/tests/
H A Dtest_validation.py3 import json
28 data = json.loads(json_remove_comments(f.read()))
/freebsd-12.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/privs/
H A Dtst.kpriv.ksh64 CANTREAD2(json, "doogle")
65 CANTREAD2ARG1(json, "doogle")
H A Dtst.func_access.ksh68 BEGIN { j = "{\"/sbin/init\":\"uh oh\"}"; trace(json(j, `initname)); }
69 BEGIN { trace(json(`initname, "x")); }
/freebsd-12.1/contrib/ntp/libjsmn/example/
H A Dsimple.c14 static int jsoneq(const char *json, jsmntok_t *tok, const char *s) { in jsoneq() argument
16 strncmp(json + tok->start, s, tok->end - tok->start) == 0) { in jsoneq()
/freebsd-12.1/contrib/llvm/tools/lld/docs/
H A Dmake.bat25 echo. json to make JSON files
79 if "%1" == "json" (
80 %SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json

123