/Zephyr-latest/cmake/ |
D | verify-toolchain.cmake | 11 # FORMAT=json: Print the output as a json formatted string, useful for Python 21 if("${FORMAT}" STREQUAL "json") 32 if("${FORMAT}" STREQUAL "json") 33 set(json "{\"ZEPHYR_TOOLCHAIN_VARIANT\" : \"${ZEPHYR_TOOLCHAIN_VARIANT}\", ") variable 34 string(APPEND json "\"SDK_VERSION\": \"${SDK_VERSION}\", ") 35 string(APPEND json "\"ZEPHYR_SDK_INSTALL_DIR\" : \"${ZEPHYR_SDK_INSTALL_DIR}\"}") 36 _message("${json}")
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_rw_senml_json.c | 128 struct senml_json_object json; member 514 obj_payload = &fd->json.obj.float_bn_t_obj; in json_float_object_write() 515 fd->json.obj.float_bn_t_obj.base_name = fd->bn_string; in json_float_object_write() 516 fd->json.obj.float_bn_t_obj.name = fd->name_string; in json_float_object_write() 517 fd->json.obj.float_bn_t_obj.val_float.start = pt_buffer; in json_float_object_write() 518 fd->json.obj.float_bn_t_obj.val_float.length = float_string_length; in json_float_object_write() 519 fd->json.obj.float_bn_t_obj.base_time.start = fd->timestamp_buffer; in json_float_object_write() 520 fd->json.obj.float_bn_t_obj.base_time.length = fd->timestamp_length; in json_float_object_write() 524 obj_payload = &fd->json.obj.float_bn_obj; in json_float_object_write() 525 fd->json.obj.float_bn_obj.base_name = fd->bn_string; in json_float_object_write() [all …]
|
D | lwm2m_rw_json.c | 180 struct json_array_object json; member 284 obj_payload = &fd->json.obj.float_obj; in json_float_object_write() 285 fd->json.obj.float_obj.name = fd->name_string; in json_float_object_write() 286 fd->json.obj.float_obj.val_float.start = pt_buffer; in json_float_object_write() 287 fd->json.obj.float_obj.val_float.length = float_string_length; in json_float_object_write() 324 obj_payload = &fd->json.obj.string_obj; in json_string_object_write() 325 fd->json.obj.string_obj.name = fd->name_string; in json_string_object_write() 326 fd->json.obj.string_obj.val_string = buf; in json_string_object_write() 363 obj_payload = &fd->json.obj.boolean_obj; in json_boolean_object_write() 364 fd->json.obj.boolean_obj.name = fd->name_string; in json_boolean_object_write() [all …]
|
/Zephyr-latest/samples/net/sockets/http_server/src/static_web_resources/ |
D | main.js | 14 const json = await response.json(); 16 uptime.innerHTML = "Uptime: " + json + " milliseconds"
|
/Zephyr-latest/scripts/footprint/ |
D | fpdiff.py | 23 import json 42 data1 = json.load(f) 45 data2 = json.load(f)
|
/Zephyr-latest/scripts/ci/es_upload/ |
D | README.md | 38 --map-file YOUR_INDEX_MAP.json 44 The upload script has several command line options to change `twister.json` data: 76 --map-file zephyr_twister_index.json 83 ./twister-out/**/twister.json 97 --map-file zephyr_twister_flat_recording_metrics_index.json 106 ./twister-out/**/twister.json 121 --map-file zephyr_twister_flat_recording_index.json 132 ./twister-out/**/twister.json 138 To store Memory Footprint data reported in `twister-footprint.json` (see Twister `--footprint-repor… 144 --map-file zephyr_twister_flat_footprint_index.json [all …]
|
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/train/ |
D | data_prepare_test.py | 24 import json 69 self.assertEqual(json.loads(lines[0]), self.data[0]) 70 self.assertEqual(json.loads(lines[-1]), self.data[-1])
|
D | data_split.py | 34 import json 45 dic = json.loads(line)
|
/Zephyr-latest/samples/subsys/zbus/uart_bridge/ |
D | decoder.py | 5 import json 23 channels = json.loads(j)
|
/Zephyr-latest/lib/utils/ |
D | json.c | 270 static int obj_init(struct json_obj *json, char *data, size_t len) in obj_init() argument 274 lexer_init(&json->lex, data, len); in obj_init() 276 if (!lexer_next(&json->lex, &tok)) { in obj_init() 287 static int arr_init(struct json_obj *json, char *data, size_t len) in arr_init() argument 291 lexer_init(&json->lex, data, len); in arr_init() 293 if (!lexer_next(&json->lex, &tok)) { in arr_init() 324 static int obj_next(struct json_obj *json, in obj_next() argument 329 if (!lexer_next(&json->lex, &tok)) { in obj_next() 342 if (!lexer_next(&json->lex, &tok)) { in obj_next() 360 if (!lexer_next(&json->lex, &tok)) { in obj_next() [all …]
|
/Zephyr-latest/scripts/tests/twister_blackbox/ |
D | test_footprint.py | 10 import json 78 j = json.load(f) 85 f.write(json.dumps(j, indent=4)) 140 j = json.load(f) 165 j = json.load(f) 205 j = json.load(f) 211 f.write(json.dumps(j, indent=4)) 274 j = json.load(f) 280 f.write(json.dumps(j, indent=4)) 347 j = json.load(f) [all …]
|
D | test_testplan.py | 14 import json 76 j = json.load(f) 107 j = json.load(f) 141 j = json.load(f)
|
D | test_config.py | 14 import json 50 j = json.load(f) 85 j = json.load(f)
|
D | test_shuffle.py | 14 import json 68 j = json.load(f)
|
/Zephyr-latest/scripts/pylib/pytest-twister-harness/ |
D | .gitignore | 52 .dmypy.json 53 dmypy.json
|
/Zephyr-latest/scripts/ruff/ |
D | gen_lint_exclude.py | 6 import json 30 violations = json.load(sys.stdin)
|
/Zephyr-latest/samples/subsys/zbus/remote_mock/ |
D | remote_mock.py | 5 import json 17 channels = json.loads(j)
|
/Zephyr-latest/scripts/logging/dictionary/dictionary_parser/ |
D | log_database.py | 13 import json 267 json_db = json.load(db_fd) 268 except (OSError, json.JSONDecodeError): 307 db_fd.write(json.dumps(json_db))
|
/Zephyr-latest/scripts/pylib/twister/twisterlib/ |
D | package.py | 6 import json 29 jtp = json.load(json_test_plan)
|
/Zephyr-latest/scripts/build/ |
D | gen_iter_sections.py | 11 import json 16 return json.load(fp)[tag]
|
/Zephyr-latest/scripts/ci/ |
D | version_mgr.py | 15 import json 52 data = json.load(fp) 135 json.dump(data, versions)
|
D | upload_test_results_es.py | 19 import json 162 rules = json.loads(str(args.transform).replace("'", "\"").replace("\\", "\\\\")) 178 data = json.load(j) 206 … flat_list_dict = json.loads(str(args.flatten_list_names).replace("'", "\"").replace("\\", "\\\\")) 260 mappings = json.load(json_map) 275 print(json.dumps(x, indent=4))
|
/Zephyr-latest/tests/lib/json/ |
D | CMakeLists.txt | 5 project(json) project
|
/Zephyr-latest/scripts/west_commands/runners/ |
D | nrfutil.py | 7 import json 68 jout = json.loads(line.decode(sys.getdefaultencoding())) 107 batch = json.dumps({'family': f'{self.family}',
|
/Zephyr-latest/doc/develop/test/twister/ |
D | sample_blackbox_test.py | 7 import json 78 j = json.load(f)
|