HomeSort by: relevance | last modified time | path
    Searched refs:json (Results 1 - 25 of 306) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/crypto/external/apache2/openssl/dist/ssl/quic/
json_enc.c 116 static int json_ensure_stack_size(OSSL_JSON_ENC *json, size_t num_bytes)
120 if (json->stack_bytes >= num_bytes)
123 if (num_bytes <= OSSL_NELEM(json->stack_small)) {
124 stack = json->stack_small;
126 if (json->stack == json->stack_small)
127 json->stack = NULL;
129 stack = OPENSSL_realloc(json->stack, num_bytes);
134 json->stack = stack;
135 json->stack_bytes = num_bytes
    [all...]
qlog.c 42 OSSL_JSON_ENC json; member in struct:qlog_st
86 if (!ossl_json_init(&qlog->json, NULL,
166 ossl_json_flush_cleanup(&qlog->json);
187 ossl_json_set0_sink(&qlog->json, bio);
222 * We supply our own text encoding as JSON requires UTF-8, so disable any
242 return ossl_json_flush(&qlog->json);
272 ossl_json_key(&qlog->json, key);
273 ossl_json_str(&qlog->json, *p);
284 ossl_json_object_begin(&qlog->json);
286 ossl_json_key(&qlog->json, "qlog_version")
    [all...]
  /src/crypto/external/apache2/openssl/dist/include/internal/
json_enc.h 16 * JSON Encoder
19 * This JSON encoder is used for qlog. It supports ordinary JSON (RFC 7159),
20 * JSON-SEQ (RFC 7464) and I-JSON (RFC 7493). It supports only basic ASCII.
46 * Initialises a JSON encoder.
48 * If the flag OSSL_JSON_FLAG_SEQ is passed, the output is in JSON-SEQ. The
49 * caller should use the encoder as though it is encoding members of a JSON
51 * Each top-level JSON item (e.g. JSON object) encoded will be separate
    [all...]
  /src/external/gpl3/gcc/dist/gcc/
optinfo-emit-json.h 1 /* Emit optimization information as JSON files.
24 #include "json.h"
28 /* A class for writing out optimization records in JSON format. */
39 void add_record (json::object *obj);
40 json::object *impl_location_to_json (dump_impl_location_t loc);
41 json::object *location_to_json (location_t loc);
42 json::object *profile_count_to_json (profile_count count);
43 json::string *get_id_value_for_pass (opt_pass *pass);
44 json::object *pass_to_json (opt_pass *pass);
45 json::value *inlining_chain_to_json (location_t loc)
    [all...]
diagnostic-format-sarif.h 24 #include "json.h"
28 /* Concrete subclass of json::object for SARIF property bags
31 class sarif_property_bag : public json::object
35 /* Concrete subclass of json::object for SARIF objects that can
41 class sarif_object : public json::object
47 extern json::object *
diagnostic-format-sarif.cc 29 #include "json.h"
39 /* Subclass of json::object for SARIF invocation objects
46 : m_notifications_arr (new json::array ()),
56 json::array *m_notifications_arr;
78 void add_related_location (json::object *location_obj);
80 json::array *m_related_locations_arr;
105 void add_location (json::object *thread_flow_loc_obj)
111 json::array *m_locations_arr;
117 As diagnostics occur, we build "result" JSON objects, and
172 json::array *make_locations_arr (const diagnostic_info &diagnostic)
    [all...]
optinfo-emit-json.cc 1 /* Emit optimization information as JSON files.
35 #include "optinfo-emit-json.h"
36 #include "json.h"
51 in-memory JSON representation. */
56 m_root_tuple = new json::array ();
59 json::object *metadata = new json::object ();
62 json::object *generator = new json::object ();
75 json::array *passes = new json::array ()
    [all...]
diagnostic-format-json.cc 0 /* JSON output for diagnostics
28 #include "json.h"
31 /* Subclass of diagnostic_output_format for JSON output. */
62 m_toplevel_array (new json::array ()),
80 /* The top-level JSON array of pending diagnostics. */
81 json::array *m_toplevel_array;
83 /* The JSON object for the current diagnostic group. */
84 json::object *m_cur_group;
86 /* The JSON array for the "children" array within the current diagnostic
88 json::array *m_cur_children_array
    [all...]
  /src/external/gpl3/gcc.old/dist/gcc/
optinfo-emit-json.h 1 /* Emit optimization information as JSON files.
24 #include "json.h"
28 /* A class for writing out optimization records in JSON format. */
39 void add_record (json::object *obj);
40 json::object *impl_location_to_json (dump_impl_location_t loc);
41 json::object *location_to_json (location_t loc);
42 json::object *profile_count_to_json (profile_count count);
43 json::string *get_id_value_for_pass (opt_pass *pass);
44 json::object *pass_to_json (opt_pass *pass);
45 json::value *inlining_chain_to_json (location_t loc)
    [all...]
optinfo-emit-json.cc 1 /* Emit optimization information as JSON files.
35 #include "optinfo-emit-json.h"
36 #include "json.h"
51 in-memory JSON representation. */
56 m_root_tuple = new json::array ();
59 json::object *metadata = new json::object ();
61 metadata->set ("format", new json::string ("1"));
62 json::object *generator = new json::object ()
    [all...]
diagnostic-format-json.cc 0 /* JSON output for diagnostics
28 #include "json.h"
31 /* The top-level JSON array of pending diagnostics. */
33 static json::array *toplevel_array;
35 /* The JSON object for the current diagnostic group. */
37 static json::object *cur_group;
39 /* The JSON array for the "children" array within the current diagnostic
42 static json::array *cur_children_array;
44 /* Generate a JSON object for LOC. */
46 json::value
    [all...]
  /src/external/gpl3/gdb/dist/gdb/testsuite/lib/
ton.tcl 47 # serialization format with a direct mapping to JSON.
49 # In its essence, a JSON parser is provided, which can convert a JSON
50 # string into a Tcllib json style dictionary (dicts and arrays mixed),
54 # Finally, TON can be converted into (unformatted) JSON.
62 proc ton::json2ton json {
63 # Parse JSON string json
67 set i [trr $json [string length $json]]
    [all...]
  /src/external/gpl3/gdb.old/dist/gdb/testsuite/lib/
ton.tcl 47 # serialization format with a direct mapping to JSON.
49 # In its essence, a JSON parser is provided, which can convert a JSON
50 # string into a Tcllib json style dictionary (dicts and arrays mixed),
54 # Finally, TON can be converted into (unformatted) JSON.
62 proc ton::json2ton json {
63 # Parse JSON string json
67 set i [trr $json [string length $json]]
    [all...]
  /src/external/bsd/wpa/dist/src/utils/
json.h 2 * JavaScript Object Notation (JSON) parser (RFC7159)
36 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,
40 struct wpabuf * json_get_member_base64(struct json_token *json,
43 void json_add_int(struct wpabuf *json, const char *name, int val);
44 void json_add_string(struct wpabuf *json, const char *name, const char *val);
45 int json_add_string_escape(struct wpabuf *json, const char *name,
47 int json_add_base64url(struct wpabuf *json, const char *name, const void *val,
49 int json_add_base64(struct wpabuf *json, const char *name, const void *val
    [all...]
  /src/crypto/external/apache2/openssl/dist/test/recipes/95-test_external_tlsfuzzer_data/
tls-fuzzer-cert.sh 5 sed -e "s|@SERVER@|$SERV|g" -e "s/@PORT@/$PORT/g" -e "s/@PRIORITY@/$PRIORITY/g" ${TESTDATADIR}/cert.json.in >${TMPFILE}
  /src/external/apache2/llvm/dist/llvm/tools/llvm-cov/
CoverageExporterJson.cpp 9 // This file implements export of code coverage data to JSON.
15 // The json code coverage export follows the following format
18 // -- Export: dict => Json representation of one CoverageMapping
53 #include "llvm/Support/JSON.h"
64 /// Unique type identifier for JSON coverage export.
65 #define LLVM_COVERAGE_EXPORT_JSON_TYPE_STR "llvm.coverage.json.export"
71 // The JSON library accepts int64_t, but profiling counts are stored as uint64_t.
80 json::Array renderSegment(const coverage::CoverageSegment &Segment) {
81 return json::Array({Segment.Line, Segment.Col,
86 json::Array renderRegion(const coverage::CountedRegion &Region)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
SarifDiagnostics.cpp 22 #include "llvm/Support/JSON.h"
120 static json::Object createArtifactLocation(const FileEntry &FE) {
121 return json::Object{{"uri", fileNameToURI(getFileName(FE))}};
124 static json::Object createArtifact(const FileEntry &FE) {
125 return json::Object{{"location", createArtifactLocation(FE)},
126 {"roles", json::Array{"resultFile"}},
131 static json::Object createArtifactLocation(const FileEntry &FE,
132 json::Array &Artifacts) {
137 auto I = llvm::find_if(Artifacts, [&](const json::Value &File) {
138 if (const json::Object *Obj = File.getAsObject())
    [all...]
  /src/external/apache2/llvm/dist/llvm/utils/
merge-stats.py 12 import json
22 data = json.loads(text)
32 out = json.dumps(result, indent=2)
  /src/external/mpl/bind/dist/bin/tests/system/statschannel/
prereq.sh 26 if ! $FEATURETEST --have-libxml2 && ! $FEATURETEST --have-json-c; then
27 echo_i "skip: one or both of --with-libxml2 and --with-json-c required"
  /src/external/gpl3/gcc/dist/contrib/
mark_spam.py 27 import json
37 response = json.loads(r.text)
63 r = requests.put(u, json = data)
70 response = json.loads(r.text)
76 r = requests.put(u2, json = {'comment_id': comment_id, 'add': ['spam'], 'api_key': api_key})
83 response = json.loads(r.text)
88 r = requests.put(url, json = {'ids': [attachment_id],
  /src/external/gpl3/gcc.old/dist/contrib/
mark_spam.py 25 import json
35 response = json.loads(r.text)
61 r = requests.put(u, json = data)
68 response = json.loads(r.text)
74 r = requests.put(u2, json = {'comment_id': comment_id, 'add': ['spam'], 'api_key': api_key})
81 response = json.loads(r.text)
86 r = requests.put(url, json = {'ids': [attachment_id],
  /src/external/apache2/llvm/dist/clang/utils/
module-deps-to-rsp.py 10 # clang-scan-deps -compilation-database compile_commands.json ... > deps.json
11 # module-deps-to-rsp.py deps.json --module-name=ModuleName > module_name.cc1.rsp
12 # module-deps-to-rsp.py deps.json --tu-index=0 > tu.rsp
17 import json
35 def parseFullDeps(json):
37 for m in json['modules']:
39 ret.translation_units = json['translation-units']
47 parser.add_argument("full_deps_file", help="Path to the full dependencies json file",
56 full_deps = parseFullDeps(json.load(open(args.full_deps_file, 'r'))
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-mca/Views/
InstructionView.cpp 30 json::Value InstructionView::toJSON() const {
31 json::Object JO;
32 json::Array SourceInfo;
39 json::Array Resources;
55 JO.try_emplace("Resources", json::Object({{"CPUName", MCPU}, {"Resources", std::move(Resources)}}));
View.h 21 #include "llvm/Support/JSON.h"
39 json::Object JO;
41 OS << formatv("{0:2}", json::Value(std::move(JO))) << "\n";
45 virtual json::Value toJSON() const { return "not implemented"; }
  /src/external/gpl3/gcc/dist/gcc/analyzer/
sm.cc 77 /* Return a new json::string describing the state. */
79 json::value *
85 return new json::string (pp_formatted_text (&pp));
149 /* Return a new json::object of the form
153 json::object *
156 json::object *sm_obj = new json::object ();
158 sm_obj->set ("name", new json::string (m_name));
160 json::array *states_arr = new json::array ()
    [all...]

Completed in 23 milliseconds

1 2 3 4 5 6 7 8 91011>>