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

1 2

  /src/external/mpl/bind/dist/doc/arm/_ext/
mergegrammar.py 18 import json namespace
64 print(json.dumps(full_grammar))
  /src/external/gpl3/gdb/dist/gdb/python/lib/gdb/dap/
io.py 16 import json namespace
22 """Read a JSON-RPC message from STREAM.
50 return json.loads(data)
59 """Start the JSON writer thread.
61 following the JSON-RPC protocol."""
74 encoded = json.dumps(obj)
82 return start_thread("JSON writer", _json_writer)
server.py 19 import json namespace
245 # This queue accepts JSON objects that are then sent to the
303 # Treat PARAMS as a JSON-RPC request and perform its action.
304 # PARAMS is just a dictionary from the JSON.
339 log("WROTE: <<<" + json.dumps(obj) + ">>>")
351 log("READ: <<<" + json.dumps(cmd) + ">>>")
382 # Before looping, start the thread that writes JSON to the
386 start_thread("JSON reader", self._reader_thread)
397 # JSON-writing thread, so that we can ensure that all
  /src/external/mpl/bind/dist/doc/misc/
parsegrammar.py 16 transform it into JSON, and print it to stdout.
64 import json namespace
191 print(json.dumps(grammar, indent=4))
  /src/external/mit/libcbor/dist/examples/
cjson2cbor.c 11 * JSON to CBOR. Please note that cbor_builder_* APIs are internal and thus
114 printf("Usage: cjson [input JSON file]\n");
130 /* Convert between JSON and CBOR */
131 cJSON *json = cJSON_Parse(json_buffer); local
132 cbor_item_t *cbor = cjson_cbor_load(json, cjson_cbor_stream_decode);
143 cJSON_Delete(json);
  /src/external/gpl3/gcc/dist/gcc/
json.h 0 /* JSON trees
24 /* Implementation of JSON, a lightweight data-interchange format.
26 See http://www.json.org/
30 Supports creating a DOM-like tree of json::value *, and then dumping
31 json::value * to text. */
33 /* TODO: `libcpp/mkdeps.cc` wants JSON writing support for p1689r5 output;
36 namespace json namespace
39 /* Forward decls of json::value and its subclasses (using indentation
50 /* An enum for discriminating the subclasses of json::value. */
54 /* class json::object. *
    [all...]
timevar.h 24 namespace json { class value; } namespace
123 json::value *make_json () const;
145 json::value *make_json () const;
diagnostic.h 68 /* JSON-based output, to stderr. */
71 /* JSON-based output, to a file. */
193 namespace json { class value; } namespace
708 json::value *(*m_make_json_for_path) (diagnostic_context *,
767 /* How to output diagnostics (text vs a structured format such as JSON).
1096 extern json::value *json_from_expanded_location (diagnostic_context *context,
  /src/external/gpl3/gcc.old/dist/gcc/
json.h 0 /* JSON trees
24 /* Implementation of JSON, a lightweight data-interchange format.
26 See http://www.json.org/
30 Supports creating a DOM-like tree of json::value *, and then dumping
31 json::value * to text. */
33 namespace json namespace
36 /* Forward decls of json::value and its subclasses (using indentation
47 /* An enum for discriminating the subclasses of json::value. */
51 /* class json::object. */
54 /* class json::array. *
    [all...]
diagnostic.h 62 /* JSON-based output. */
161 namespace json { class value; } namespace
300 json::value *(*make_json_for_path) (diagnostic_context *, const diagnostic_path *);
585 extern json::value *json_from_expanded_location (diagnostic_context *context,
  /src/external/mpl/dhcp/dist/keama/
keama.c 66 isc_boolean_t json = ISC_FALSE; variable
91 json = ISC_TRUE;
119 if (!json && (local_family == 0))
162 if (json) {
  /src/common/lib/libprop/
prop_number.c 203 const bool json = ctx->poec_format == PROP_FORMAT_JSON; local
209 * For unsigned numbers, we output in hex for XML, decimal for JSON.
214 json ? "%" PRIu64 : "0x%" PRIx64,
686 /* JSON numbers are always base-10. */
706 /* No hex numbers in JSON. */
716 /* No end tag to advance over in JSON. */
  /src/crypto/external/bsd/netpgp/dist/src/netpgpkeys/
netpgpkeys.c 171 /* match keys, decoding from json if we do find any */
175 char *json; local
179 if (!netpgp_list_keys_json(netpgp, &json, psigs)) {
183 if (netpgp_match_keys_json(netpgp, &json, f,
188 idc = netpgp_format_json(fp, json, psigs);
190 free(json);
  /src/external/gpl3/gdb.old/dist/gdb/python/lib/gdb/dap/
server.py 19 import json namespace
234 # This queue accepts JSON objects that are then sent to the
292 # Treat PARAMS as a JSON-RPC request and perform its action.
293 # PARAMS is just a dictionary from the JSON.
329 log("WROTE: <<<" + json.dumps(obj) + ">>>")
341 log("READ: <<<" + json.dumps(cmd) + ">>>")
361 # Before looping, start the thread that writes JSON to the
365 start_thread("JSON reader", self._reader_thread)
382 # JSON-writing thread, so that we can ensure that all
  /src/crypto/external/apache2/openssl/dist/ssl/quic/
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/external/apache2/llvm/dist/llvm/lib/Support/
JSON.cpp 1 //=== JSON.cpp - JSON value, parsing and serialization - C++ -----------*-===//
9 #include "llvm/Support/JSON.h"
18 namespace json { namespace in namespace:llvm
63 const json::Object *Object::getObject(StringRef K) const {
68 json::Object *Object::getObject(StringRef K) {
73 const json::Array *Object::getArray(StringRef K) const {
78 json::Array *Object::getArray(StringRef K) {
103 : Value(json::Array(Elements)) {}
121 create<json::Object>(M.as<json::Object>())
    [all...]
  /src/external/bsd/wpa/dist/src/utils/
utils_module_tests.c 20 #include "utils/json.h"
847 const char *json; member in struct:json_test_data
895 wpa_printf(MSG_INFO, "JSON tests");
901 root = json_parse(test->json, os_strlen(test->json));
903 wpa_printf(MSG_INFO, "JSON test %u failed", i);
909 "JSON test %u tree mismatch: %s %s",
  /src/crypto/external/bsd/heimdal/dist/lib/base/
db.c 350 } else if (strstr(dbtype, "json")) {
1214 *error = heim_error_create(ret, N_("Could not open JSON file %s: %s", ""),
1234 *error = heim_error_create(ret, N_("Could not open JSON file %s: %s", ""),
1249 (errno, N_("Could not lock JSON file %s: %s", ""),
1277 (ret, N_("Could not stat JSON DB %s: %s", ""),
1299 (ret, N_("Could not read JSON DB %s: %s", ""),
1332 if (dbtype && *dbtype && strcmp(dbtype, "json"))
1340 if (ext == NULL || strcmp(ext, ".json") != 0)
1342 (EINVAL, N_("JSON DB files must end in .json",
1504 heim_string_t json; local
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
JSON.h 1 //===--- JSON.h - JSON values, parsing and serialization -------*- C++ -*-===//
10 /// This file supports working with JSON data.
14 /// - classes which hold dynamically-typed parsed JSON structures
16 /// See json::Value, and the related types json::Object and json::Array.
18 /// - functions to parse JSON text into Values, and to serialize Values to text.
21 /// - a convention and helpers for mapping between json::Value and user-defined
24 /// - an output API json::OStream which can emit JSON without materializin
58 namespace json { namespace in namespace:llvm
    [all...]
  /src/external/gpl3/binutils/dist/ld/
ldelf.c 1530 const char *json; local
1538 json = t->o->package_metadata.json;
1568 memcpy (json_bits, json, strlen(json));
1604 json_t *json = json_loads (ldelf_emit_note_fdo_package_metadata, local
1606 if (!json)
1609 "JSON, ignoring: %s\n"),
1614 json_decref (json);
1630 t->o->package_metadata.json = ldelf_emit_note_fdo_package_metadata
    [all...]
  /src/external/gpl3/binutils.old/dist/ld/
ldelf.c 1531 const char *json; local
1539 json = t->o->package_metadata.json;
1569 memcpy (json_bits, json, strlen(json));
1605 json_t *json = json_loads (ldelf_emit_note_fdo_package_metadata, local
1607 if (!json)
1610 "JSON, ignoring: %s\n"),
1615 json_decref (json);
1631 t->o->package_metadata.json = ldelf_emit_note_fdo_package_metadata
    [all...]
  /src/external/bsd/wpa/dist/src/common/
dpp.c 15 #include "utils/json.h"
784 const char *json)
803 json_len = os_strlen(json);
804 wpa_hexdump_ascii(MSG_DEBUG, "DPP: configRequest JSON", json, json_len);
879 wpabuf_put_data(clear, json, json_len);
943 const char *json)
947 conf_req = dpp_build_conf_req_attr(auth, json);
979 struct wpabuf *buf = NULL, *json = NULL; local
1010 json = wpabuf_alloc(len)
3784 struct wpabuf *json; local
3815 struct wpabuf *msg = NULL, *clear = NULL, *json; local
    [all...]
  /src/external/cddl/osnet/dist/uts/common/dtrace/
dtrace.c 3913 * This function possesses just enough knowledge about JSON to extract a single
3914 * value from a JSON string and store it in the scratch buffer. It is able
3917 * elemlist is a list of JSON keys, stored as packed NUL-terminated strings, to
3934 * The set of states for the state machine closely matches the JSON
3935 * specification (http://json.org/). Briefly:
3963 * Processes a Number literal from the JSON, including any exponent
3968 * Processes a "true", "false" or "null" literal in the JSON.
3972 * Processes a String literal from the JSON, whether the String denotes
3990 dtrace_json(uint64_t size, uintptr_t json, char *elemlist, int nelems,
4006 for (cur = json; cur < json + size; cur++)
5272 uintptr_t json = tupregs[0].dttk_value; local
    [all...]
  /src/external/gpl3/binutils/dist/bfd/
elf-bfd.h 2071 const char *json;
2069 const char *json; member in struct:output_elf_obj_tdata::__anon9684
  /src/external/gpl3/binutils.old/dist/bfd/
elf-bfd.h 2021 const char *json;
2019 const char *json; member in struct:output_elf_obj_tdata::__anon11168

Completed in 31 milliseconds

1 2