/freebsd/sys/contrib/device-tree/Bindings/ |
H A D | writing-schema.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 Writing Devicetree Bindings in json-schema 6 Devicetree bindings are written using json-schema vocabulary. Schema files are 7 written in a JSON-compatible subset of YAML. YAML is used instead of JSON as it 11 Also see :ref:`example-schema`. 13 Schema Contents 14 --------------- 16 Each schema doc is a structured json-schema which is defined by a set of 17 top-level properties. Generally, there is one binding defined per file. The 18 top-level json-schema properties used are: [all …]
|
H A D | example-schema.yaml | 1 # 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 D | Makefile | 1 # 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 19 $(DT_DOC_CHECKER) --version 2>/dev/null || echo 0; } | sort -Vc >/dev/null || \ 28 find_all_cmd = find $(src) \( -name '*.yaml' ! \ 29 -name 'processed-schema*' \) 33 grep -F -e "$(subst :," -e ",$(DT_SCHEMA_FILES))" | \ 39 xargs -n200 -P$$(nproc) \ 40 $(DT_SCHEMA_LINT) -f parsable -c $(src)/.yamllint >&2) \ [all …]
|
H A D | .gitignore | 1 # 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 D | submitting-patches.rst | 1 .. 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-schema 33 See Documentation/devicetree/bindings/writing-schema.rst for more details 34 about schema and tools setup. 37 (GPL-2.0-only OR BSD-2-Clause). 73 binding, and it hasn't received an Acked-by from the devicetree
|
/freebsd/contrib/libucl/tests/schema/ |
H A D | refRemote.json.disabled | 4 "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/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
H A D | TraceIntelPTBundleLoader.h | 1 //===-- 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 D | TraceIntelPTBundleLoader.cpp | 1 //===-- TraceIntelPTBundleLoader.cpp -------- 228 static std::string schema; GetSchema() local [all...] |
/freebsd/contrib/libucl/doc/ |
H A D | libucl.3 | 9 \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 …]
|
/freebsd/contrib/libucl/lua/ |
H A D | lua_ucl.c | 49 local got = ucl.to_format(obj, 'json') 62 -- Output: 63 --[[ 68 --]] 111 lua_settable (L, -3); in ucl_object_lua_push_element() 119 luaL_unref (fd->L, LUA_REGISTRYINDEX, fd->idx); in lua_ucl_userdata_dtor() 120 if (fd->ret != NULL) { in lua_ucl_userdata_dtor() 121 free (fd->ret); in lua_ucl_userdata_dtor() 132 lua_rawgeti (fd->L, LUA_REGISTRYINDEX, fd->idx); in lua_ucl_userdata_emitter() 134 lua_pcall (fd->L, 0, 1, 0); in lua_ucl_userdata_emitter() [all …]
|
/freebsd/sys/contrib/openzfs/scripts/ |
H A D | convert_wycheproof.pl | 3 # SPDX-License-Identifier: MIT 27 # format that can be consumed more easily by tests/zfs-tests/cmd/crypto_test. 28 # See tests/zfs-tests/tests/functional/crypto/README for more info. 34 use JSON qw(decode_json); 46 my $json = do { local $/; <$infh> }; 49 my $data = decode_json $json; 54 my $version = $data->{generatorVersion} // "[unknown]"; 55 if ("$version" !~ m/^0\.9[^0-9]/) { 63 my $schema = $data->{schema} // "[unknown]"; 64 if ("$schema" ne 'aead_test_schema.json') { [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Commands/ |
H A D | CommandObjectTrace.cpp | 1 //===-- CommandObjectTrace.cpp --------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 #include "llvm/Support/JSON.h" 84 "trace.json. This file can be used by the \"trace load\" command " in CommandObjectTraceSave() 88 "trace save [<cmd-options>] <bundle_directory>", in CommandObjectTraceSave() 117 TraceSP trace_sp = process_sp->GetTarget().GetTrace(); in DoExecute() 120 trace_sp->SaveToDisk(bundle_dir, m_options.m_compact)) { in DoExecute() 176 "Load a post-mortem processor trace session from a trace bundle.", in CommandObjectTraceLoad() 195 result.AppendError("a single path to a JSON file containing a the " in DoExecute() [all …]
|
H A D | Options.td | 7 def tm_smn : Option<"show-mangled-names", "m">, Group<1>, 12 def tm_json : Option<"json", "j">, Group<1>, 13 Desc<"Output the details in JSON format.">; 14 def tm_errors_only : Option<"errors-only", "e">, Group<1>, 19 def help_hide_aliases : Option<"hide-aliases", "a">, 21 def help_hide_user : Option<"hide-user-commands", "u">, 22 Desc<"Hide user-defined commands from the list.">; 23 def help_show_hidden : Option<"show-hidden-commands", "h">, 68 def blist_dummy_bp : Option<"dummy-breakpoints", "D">, 69 Desc<"List Dummy breakpoints - i.e. breakpoints set before a file is " [all …]
|
/freebsd/contrib/libucl/include/ |
H A D | ucl.h | 1 /* 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/contrib/llvm-project/lldb/source/Target/ |
H A D | Trace.cpp | 1 //===-- 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/contrib/libucl/tests/ |
H A D | schema.test | 7 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 D | run_tests.sh | 3 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/contrib/llvm-project/clang/lib/Basic/ |
H A D | Sarif.cpp | 1 //===-- clang/Basic/Sarif.cpp - SarifDocumentWriter class definition ------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 /// - \ref SarifArtifact 13 /// - \ref SarifArtifactLocation 14 /// - \ref SarifRule 15 /// - \ref SarifResult 16 //===----------------------------------------------------------------------===// 25 #include "llvm/Support/JSON.h" 60 if (llvm::isAlnum(C) || StringRef("-._~:@!$&'()*+,;=").contains(C)) in percentEncodeURICharacter() [all …]
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/ |
H A D | Trace.h | 1 //===-- Trace.h -------- [all...] |
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | StructuredData.h | 1 //===-- StructuredData.h -------- [all...] |
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/ |
H A D | PluginManager.h | 1 //===-- PluginManager.h -----------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 17 #include "lldb/lldb-enumerations.h" 18 #include "lldb/lldb-forward.h" 19 #include "lldb/lldb-private-interfaces.h" 306 /// provided in read-write mode, and may be modified by the 386 llvm::StringRef schema, 398 /// Get the JSON schema for a trace bundle description file corresponding to 406 /// otherwise the actual schema is returned. [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | Sarif.h | 1 //== 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 …]
|
/freebsd/crypto/openssl/doc/man7/ |
H A D | openssl-qlog.pod | 5 openssl-qlog - OpenSSL qlog tracing functionality 30 Log files are generated in the I<.sqlog> format based on JSON-SEQ (RFC 7464). 44 I<no-unstable-qlog> configure flag. 73 and off individually. The filter specification is a space-separated list of 87 =item C<-*> 91 =item C<* -transport:packet_received> 96 =item C<-* transport:packet_sent> 100 =item C<-* connectivity:* transport:parameters_set> 111 filter = *filter-term 113 filter-term = add-sub-term [all …]
|
/freebsd/secure/lib/libcrypto/man/man7/ |
H A D | openssl-qlog.7 | 1 .\" -*- mode: troff; coding: utf-8 -*- 57 .IX Title "OPENSSL-QLOG 7ossl" 58 .TH OPENSSL-QLOG 7ossl 2025-09-30 3.5.4 OpenSSL 64 openssl\-qlog \- OpenSSL qlog tracing functionality 87 Log files are generated in the \fI.sqlog\fR format based on JSON-SEQ (RFC 7464). 103 \&\fIno-unstable-qlog\fR configure flag. 128 and off individually. The filter specification is a space-separated list of 140 .IX Item "-*" 144 .IX Item "* -transport:packet_received" 149 .IX Item "-* transport:packet_sent" [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mailbox/ |
H A D | xlnx,zynqmp-ipi-mailbox.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mailbox/xlnx,zynqmp-ip [all...] |