Home
last modified time | relevance | path

Searched full:json (Results 1 – 25 of 42) sorted by relevance

12

/openthread-latest/third_party/mbedtls/repo/scripts/
Dgenerate_driver_wrappers.py14 import json
29 def __init__(self, message="Json Validation Failed"):
42 Render template from the input file and driver JSON.
71 Validate the Driver JSON against an appropriate schema
101 """loads validated json driver"""
103 json_data = json.load(f)
120 'driver_transparent_schema.json'),
125 'driver_opaque_schema.json')
130 driver_schema[key] = json.load(file)
138 Merge driver JSON files into a single ordered JSON after validation.
[all …]
/openthread-latest/third_party/mbedtls/repo/docs/proposed/
Dpsa-driver-wrappers-codegen-migration-guide.md24 …a2 ) to render templates based on drivers that are defined using a Driver description JSON file(s).
32json, driver_transparent_schema.json) and a driverlist.json which specifies the drivers to be cons…
38 One can also refer to the example test drivers/ JSON schemas under **scripts/data_files/driver_json…
40 The JSON file 'driverlist.json' is meant to be edited by the user to reflect the drivers one wants …
Dpsa-driver-integration-guide.md17 Concretely speaking, a driver consists of one or more **driver description files** in JSON format a…
27 make PSA_DRIVERS="/path/to/acme/driver.json /path/to/nadir/driver.json" lib
Dpsa-driver-developer-guide.md28 The concrete syntax for a driver description file is JSON. The structure of this JSON file is speci…
32 * A driver description file (in JSON format).
Dpsa-conditional-inclusion-c.md193 ### JSON configuration mechanism
195 …referred configuration mechanism for a PSA service is in JSON syntax. The translation from JSON to…
197 … be similar to capability specifications of transparent drivers. The same JSON properties that are…
199 ### From JSON to C
201 The JSON capability language allows a more fine-grained selection than the C mechanism proposed her…
203 The JSON capability language can be translated approximately to the boolean symbol mechanism propos…
205 The boolean symbol mechanism proposed here can be translated to a list of JSON capabilities: for ea…
/openthread-latest/tools/harness-automation/autothreadharness/
Dhelpers.py30 import json
37 def __init__(self, filename='./history.json'):
40 self.data = json.load(open(filename, 'r'))
47 json.dump(self.data, open(self.filename, 'w'), indent=2)
58 return json.dumps(self.data, indent=2)
Drunner.py34 import json
60 """Record test results in json file
69 self.result = json.load(open(self.path, 'r'))
75 logger.info('Initial state is %s', json.dumps(self.result, indent=2))
100 """Record test result into json file
120json.dump(OrderedDict(sorted(self.result.items(), key=lambda t: t[0])), open(self.path, 'w'), inde…
187 result_file='./result.json',
203 os.system('del history.json')
217 log = json.load(open(result_file, 'r'))
223 json.dump(log, open(result_file, 'w'), indent=2)
[all …]
/openthread-latest/third_party/mbedtls/repo/scripts/data_files/driver_jsons/
Ddriverlist.json1 ["mbedtls_test_opaque_driver.json","mbedtls_test_transparent_driver.json","p256_transparent_driver.
Dp256_transparent_driver.json9 …ints supported by this driver, only those that are currently supported in JSON. See docs/psa-drive…
Ddriver_transparent_schema.json2 "$schema": "http://json-schema.org/draft-04/schema#",
Ddriver_opaque_schema.json2 "$schema": "http://json-schema.org/draft-04/schema#",
/openthread-latest/tools/harness-automation/
Dgencsv.py2 import json
8 filename = './result.json'
18 result = json.load(open(filename, 'r'))
/openthread-latest/tests/scripts/thread-cert/
Dcall_dbus_method.py30 import json
37 interface, method_name, arguments = args[0], args[1], json.loads(args[2])
42 print(json.dumps(res))
Dthread_cert.py31 import json
490 Output test info to json file after tearDown
492 filename = f'{self.test_name}.json'
494 ofd.write(json.dumps(self._test_info, indent=1, sort_keys=True))
/openthread-latest/third_party/mbedtls/repo/docs/
Dpsa-driver-example-and-guide.md24 The long-term goal is for the driver dispatch layer to be auto-generated using a JSON driver descri…
42 - A driver description file (in JSON format).
46JSON files, see [`mbedtls_test_transparent_driver.json`](https://github.com/Mbed-TLS/mbedtls/blob/…
/openthread-latest/tools/harness-simulation/posix/
Dinstall.sh51 # convert YAML to JSON
52 CONFIG=$(python3 -c 'import json, sys, yaml; print(json.dumps(yaml.safe_load(open(sys.argv[1]))))' …
Dlaunch_testbed.py34 import json
89 s.sendto(json.dumps(info).encode('utf-8'), dst)
141 help='the path of the configuration JSON file')
/openthread-latest/tests/scripts/thread-cert/pktverify/
Dverify.py32 import json
51 test_info = json.load(fp)
Dtest_info.py30 import json
45 test_info = json.loads(fd.read())
/openthread-latest/
D.prettierrc2 "$schema": "http://json.schemastore.org/prettierrc",
/openthread-latest/third_party/mbedtls/repo/framework/
D.gitignore56 compile_commands.json
/openthread-latest/third_party/mbedtls/repo/
D.gitignore67 compile_commands.json
/openthread-latest/tools/harness-automation/doc/
Dquickstart.rst46 This will record the results in result.json, so that you can continue running cases once broken. Yo…
/openthread-latest/tests/scripts/thread-cert/border_router/
Dtest_dnssd_instance_name_with_space.py30 import json
213 logging.info("dig result matches:\r%s", json.dumps(dig_result, indent=True))
/openthread-latest/include/openthread/
Dcoap.h216 * application/json: [RFC7159]
221 * application/json-patch+json: [RFC6902]
226 * application/merge-patch+json: [RFC7396]
266 * application/senml+json: [RFC8428]
271 * application/sensml+json: [RFC8428]
296 * application/coap-group+json: [RFC7390]

12