Home
last modified time | relevance | path

Searched +full:json +full:- +full:schema (Results 1 – 25 of 32) sorted by relevance

12

/freebsd-src/sys/contrib/device-tree/Bindings/
H A Dwriting-schema.rst1 .. SPDX-License-Identifier: GPL-2.0
3 Writing Devicetree Bindings in json-schema
6 Devicetree bindings are written using json-schema vocabulary. Schema file
[all...]
H A Dexample-schema.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 # All the top-level keys are standard json-schema keywords except for
10 $id: http://devicetree.org/schemas/example-schema.yaml#
11 # $schema is the meta-schema this schema should be validated with.
12 $schema: http://devicetree.org/meta-schemas/core.yaml#
17 - Rob Herring <robh@kernel.org>
20 A more detailed multi-line description of the binding.
29 # 'select' is a schema applied to a DT node to determine if this binding
30 # schema should be applied to the node. It is optional and by default the
[all …]
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
2 DT_DOC_CHECKER ?= dt-doc-validate
3 DT_EXTRACT_EX ?= dt-extract-example
4 DT_MK_SCHEMA ?= dt-mk-schema
[all...]
H A D.gitignore1 # SPDX-License-Identifier: GPL-2.0-only
3 /processed-schema*.yaml
4 /processed-schema*.json
7 # We don't want to ignore the following even if they are dot-files
H A Dsubmitting-patches.rst1 .. SPDX-License-Identifier: GPL-2.0
11 Documentation/process/submitting-patches.rst applies.
13 1) The Documentation/ and include/dt-bindings/ portion of the patch should
16 "dt-bindings: <binding dir>: ..."
21 "<binding dir>: dt-bindings: ..."
27 2) DT binding files are written in DT schema format using json-schem
[all...]
/freebsd-src/contrib/libucl/tests/schema/
H A DrefRemote.json4 "schema": {"$ref": "http://highsecure.ru/ucl-schema/remotes/integer.json"}, object
20 "schema": {"$ref": "http://highsecure.ru/ucl-schema/remotes/subSchemas.json#/integer"}, object
36 "schema": { object
37 "$ref": "http://highsecure.ru/ucl-schema/remotes/subSchemas.json#/refToInteger"
55 "schema": {
56 "id": "http://highsecure.ru/ucl-schema/remotes/",
59 "items": {"$ref": "folderInteger.json"}
H A DrefRemote.json.disabled4 "schema": {"$ref": "http://highsecure.ru/ucl-schema/remotes/integer.json"},
20 "schema": {"$ref": "http://highsecure.ru/ucl-schema/remotes/subSchemas.json#/integer"},
36 "schema": {
37 "$ref": "http://highsecure.ru/ucl-schema/remotes/subSchemas.json#/refToInteger"
55 "schema": {
56 "id": "http://highsecure.ru/ucl-schema/remotes/",
59 "items": {"$ref": "folderInteger.json"}
/freebsd-src/contrib/libucl/
H A DREADME.md9 - [Introduction](#introduction)
10 - [Basic structure](#basic-structure)
11 - [Improvements to the json notation](#improvements-to-the-json-notation)
12 - [General syntax sugar](#general-syntax-sugar)
13 - [Automatic arrays creation](#automatic-arrays-creation)
14 - [Named keys hierarchy](#named-keys-hierarchy)
15 - [Convenient numbers and booleans](#convenient-numbers-and-booleans)
16 - [General improvements](#general-improvements)
17 - [Comments](#comments)
18 - [Macros support](#macros-support)
[all …]
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/
H A DTraceIntelPTBundleLoader.h1 //===-- TraceIntelPTBundleLoader.h ----------------------------*- C++ //-*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
32 /// The JSON description of a trace bundle that follows the schema of the
33 /// intel pt trace plug-in.
38 const llvm::json::Value &bundle_description, in TraceIntelPTBundleLoader()
44 /// The JSON schema for the bundle description.
56 /// Resolve non-absolute paths relative to the bundle folder.
59 /// Create a post-mortem thread associated with the given \p process
74 /// Create the corresponding Threads and Process objects given the JSON
[all …]
H A DTraceIntelPTBundleLoader.cpp1 //===-- TraceIntelPTBundleLoader.cpp --------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
36 auto do_parse = [&]() -> Error { in ParseModule()
57 module_sp->SetLoadAddress(target, module.load_address.value, false, in ParseModule()
68 Error TraceIntelPTBundleLoader::CreateJSONError(json::Path::Root &root, in CreateJSONError()
69 const json::Value &value) { in CreateJSONError()
108 ProcessSP process_sp = target_sp->CreateProcess( in CreateEmptyProcess()
113 process_sp->SetID(static_cast<lldb::pid_t>(pid)); in CreateEmptyProcess()
126 ProcessSP process_sp = parsed_process->target_sp->GetProcessSP(); in ParseProcess()
[all …]
/freebsd-src/contrib/libucl/doc/
H A Dlibucl.39 \f[B]ucl_parser_set_filevars\f[] \- universal configuration library
13 UCL library (libucl, \-lucl)
35 \f[C]JSON\f[] \- valid json format (can possibly lose some original
38 \f[C]Config\f[] \- human\-readable configuration format (lossless)
40 \f[C]YAML\f[] \- embedded yaml format (has the same limitations as
41 \f[C]json\f[] output)
60 json\-schema compatible object \f[C]schema\f[].
61 Both input and schema must be UCL objects to perform validation.
79 \f[C]UCL_PARSER_KEY_LOWERCASE\f[] \- lowercase keys parsed
81 \f[C]UCL_PARSER_ZEROCOPY\f[] \- try to use zero\-copy mode when reading
[all …]
H A Dapi.md5 - [Synopsis](#synopsis)
6 - [Description](#description)
7 - [Parser functions](#parser-functions)
8 - [Emitting functions](#emitting-functions)
9 - [Conversion functions](#conversion-functions)
10 - [Generation functions](#generation-functions)
11 - [Iteration functions](#iteration-functions)
12 - [Validation functions](#validation-functions)
13 - [Utility functions](#utility-functions)
14 - [Parser functions](#parser-functions-1)
[all …]
/freebsd-src/contrib/libucl/lua/
H A Dlua_ucl.c47 local got = ucl.to_format(obj, 'json')
60 -- Output:
61 --[[
66 --]]
104 lua_settable (L, -3); in ucl_object_lua_push_element()
112 luaL_unref (fd->L, LUA_REGISTRYINDEX, fd->idx); in lua_ucl_userdata_dtor()
113 if (fd->ret != NULL) { in lua_ucl_userdata_dtor()
114 free (fd->ret); in lua_ucl_userdata_dtor()
125 lua_rawgeti (fd->L, LUA_REGISTRYINDEX, fd->idx); in lua_ucl_userdata_emitter()
127 lua_pcall (fd->L, 0, 1, 0); in lua_ucl_userdata_emitter()
[all …]
/freebsd-src/contrib/libucl/utils/
H A Ducl-tool.c26 fprintf(out, "Usage: %s [--help] [-i|--in file] [-o|--out file]\n", name); in usage()
27 fprintf(out, " [-s|--schema file] [-f|--format format]\n\n"); in usage()
28 fprintf(out, " --help - print this message and exit\n"); in usage()
29 fprintf(out, " --in - specify input filename " in usage()
31 fprintf(out, " --out - specify output filename " in usage()
33 fprintf(out, " --schema - specify schema file for validation\n"); in usage()
34 fprintf(out, " --format - output format. Options: ucl (default), " in usage()
35 "json, compact_json, yaml, msgpack\n"); in usage()
42 const char *schema = NULL, *parm, *val; in main() local
53 if ((strcmp(parm, "--help") == 0) || (strcmp(parm, "-h") == 0)) { in main()
[all …]
/freebsd-src/contrib/libucl/include/
H A Ducl.h1 /* Copyright (c) 2013-2015, Vsevolod Stakhov
47 * - @ref structures
48 * - @ref utils
49 * - @ref parser
50 * - @ref emitter
58 * JSON with less strict rules that make it more comfortable for
66 * UCL_ALLOC(size) - allocate memory for UCL
67 * UCL_FREE(size, ptr) - free memory of specified size at ptr
122 UCL_OBJECT = 0, /**< UCL object - key/value pairs */
137 UCL_EMIT_JSON = 0, /**< Emit fine formatted JSON */
[all …]
/freebsd-src/contrib/llvm-project/lldb/source/Target/
H A DTrace.cpp1 //===-- Trace.cpp ---------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
28 // Helper structs used to extract the type of a JSON trace bundle description
36 namespace json { namespace
40 json::ObjectMapper o(value, path); in fromJSON()
44 } // namespace json
57 return it->second; in Lookup()
65 return &it->second; in LookupAsPtr()
75 return Lookup(it->second, k2); in Lookup()
[all …]
/freebsd-src/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectTrace.cpp1 //===-- CommandObjectTrace.cpp --------
356 StringRef schema = PluginManager::GetTraceSchema(index++); DoExecute() local
[all...]
/freebsd-src/contrib/libucl/tests/
H A Dschema.test7 for i in ${TEST_DIR}/schema/*.json ; do
9 printf "running schema test suite $_name... "
11 if [ $? -eq 0 ] ; then
20 if [ $_tests -ne $_succeed ] ; then
H A DMakefile.am1 EXTRA_DIST = $(TESTS) basic schema generate.res \
2 streamline.res rcl_test.json.xz
6 schema.test \
15 common_test_cflags = -I$(top_srcdir)/include \
16 -I$(top_srcdir)/src \
17 -I$(top_srcdir)/uthash
H A Drun_tests.sh3 if [ $# -lt 1 ] ; then
10 _t=`echo $_tin | sed -e 's/.in$//'`
12 if [ $? -ne 0 ] ; then
18 if [ -f $_t.res ] ; then
19 diff -s $_t.out $_t.res -u 2>/dev/null
20 if [ $? -ne 0 ] ; then
29 if [ $# -gt 2 ] ; then
31 diff -s ${TEST_DIR}/generate.out ${TEST_DIR}/generate.res -u 2>/dev/null
32 if [ $? -ne 0 ] ; then
40 if [ $# -gt 3 ] ; then
[all …]
/freebsd-src/contrib/llvm-project/clang/lib/Basic/
H A DSarif.cpp1 //===-- clang/Basic/Sarif.cpp - SarifDocumentWriter class definition ------===//
5 // SPDX-Licens
[all...]
/freebsd-src/contrib/llvm-project/lldb/include/lldb/Target/
H A DTrace.h1 //===-- Trace.h -------------------------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
15 #include "llvm/Support/JSON.h"
23 #include "lldb/lldb-private.h"
24 #include "lldb/lldb-types.h"
29 /// A plug-in interface definition class for trace information.
31 /// Trace plug-ins allow processor trace information to be loaded into LLDB so
44 /// In order to support live tracing, the name of the plug-in should match the
45 /// name of the tracing type returned by the gdb-remote packet
[all …]
/freebsd-src/contrib/llvm-project/lldb/include/lldb/Utility/
H A DStructuredData.h1 //===-- StructuredData.h ----------------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
14 #include "llvm/Support/JSON.h"
18 #include "lldb/lldb-enumerations.h"
42 /// The StructuredData class is designed to hold the data from a JSON or plist
43 /// style file -- a serialized data structure with dictionaries (maps,
47 /// StructuredData does not presuppose any knowledge of the schema for the
48 /// data it is holding; it can parse JSON data, for instance, and other parts
122 return ((integer != nullptr) ? integer->GetValue() : fail_value);
[all …]
/freebsd-src/contrib/llvm-project/lldb/include/lldb/Core/
H A DPluginManager.h1 //===-- PluginManager.h --------
[all...]
/freebsd-src/contrib/llvm-project/clang/include/clang/Basic/
H A DSarif.h1 //== clang/Basic/Sarif.h - SARIF Diagnostics Object Model -------*- C++ -*--==//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 /// The document built can be accessed as a JSON Object.
15 /// A SARIF (Static Analysis Results Interchange Format) document is JSON
17 /// tools on a project. Each (non-trivial) document consists of at least one
26 /// 1. <a href="https://docs.oasis-open.org/sarif/sarif/v2.1.0/os/sarif-v2.1.0-os.html">The SARIF s…
27 /// 2. <a href="https://docs.oasis-open.org/sarif/sarif/v2.1.0/os/sarif-v2.1.0-os.html#_Toc34317836…
28 /// 3. <a href="https://docs.oasis-open.org/sarif/sarif/v2.1.0/os/sarif-v2.1.0-os.html#_Toc34317638…
29 //===----------------------------------------------------------------------===//
[all …]

12