Searched full:json (Results 1 – 25 of 42) sorted by relevance
12
| /openthread-latest/third_party/mbedtls/repo/scripts/ |
| D | generate_driver_wrappers.py | 14 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/ |
| D | psa-driver-wrappers-codegen-migration-guide.md | 24 …a2 ) to render templates based on drivers that are defined using a Driver description JSON file(s). 32 …json, 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 …
|
| D | psa-driver-integration-guide.md | 17 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
|
| D | psa-driver-developer-guide.md | 28 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).
|
| D | psa-conditional-inclusion-c.md | 193 ### 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/ |
| D | helpers.py | 30 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)
|
| D | runner.py | 34 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 120 …json.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/ |
| D | driverlist.json | 1 ["mbedtls_test_opaque_driver.json","mbedtls_test_transparent_driver.json","p256_transparent_driver.…
|
| D | p256_transparent_driver.json | 9 …ints supported by this driver, only those that are currently supported in JSON. See docs/psa-drive…
|
| D | driver_transparent_schema.json | 2 "$schema": "http://json-schema.org/draft-04/schema#",
|
| D | driver_opaque_schema.json | 2 "$schema": "http://json-schema.org/draft-04/schema#",
|
| /openthread-latest/tools/harness-automation/ |
| D | gencsv.py | 2 import json 8 filename = './result.json' 18 result = json.load(open(filename, 'r'))
|
| /openthread-latest/tests/scripts/thread-cert/ |
| D | call_dbus_method.py | 30 import json 37 interface, method_name, arguments = args[0], args[1], json.loads(args[2]) 42 print(json.dumps(res))
|
| D | thread_cert.py | 31 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/ |
| D | psa-driver-example-and-guide.md | 24 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). 46 …JSON files, see [`mbedtls_test_transparent_driver.json`](https://github.com/Mbed-TLS/mbedtls/blob/…
|
| /openthread-latest/tools/harness-simulation/posix/ |
| D | install.sh | 51 # convert YAML to JSON 52 CONFIG=$(python3 -c 'import json, sys, yaml; print(json.dumps(yaml.safe_load(open(sys.argv[1]))))' …
|
| D | launch_testbed.py | 34 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/ |
| D | verify.py | 32 import json 51 test_info = json.load(fp)
|
| D | test_info.py | 30 import json 45 test_info = json.loads(fd.read())
|
| /openthread-latest/ |
| D | .prettierrc | 2 "$schema": "http://json.schemastore.org/prettierrc",
|
| /openthread-latest/third_party/mbedtls/repo/framework/ |
| D | .gitignore | 56 compile_commands.json
|
| /openthread-latest/third_party/mbedtls/repo/ |
| D | .gitignore | 67 compile_commands.json
|
| /openthread-latest/tools/harness-automation/doc/ |
| D | quickstart.rst | 46 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/ |
| D | test_dnssd_instance_name_with_space.py | 30 import json 213 logging.info("dig result matches:\r%s", json.dumps(dig_result, indent=True))
|
| /openthread-latest/include/openthread/ |
| D | coap.h | 216 * 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