Home
last modified time | relevance | path

Searched refs:json (Results 1 – 25 of 85) sorted by relevance

1234

/Zephyr-Core-3.7.0/cmake/
Dverify-toolchain.cmake11 # 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-Core-3.7.0/subsys/net/lib/lwm2m/
Dlwm2m_rw_senml_json.c128 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 …]
Dlwm2m_rw_json.c180 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-Core-3.7.0/scripts/footprint/
Dfpdiff.py23 import json
42 data1 = json.load(f)
45 data2 = json.load(f)
/Zephyr-Core-3.7.0/lib/utils/
Djson.c270 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()
322 static int obj_next(struct json_obj *json, in obj_next() argument
327 if (!lexer_next(&json->lex, &tok)) { in obj_next()
340 if (!lexer_next(&json->lex, &tok)) { in obj_next()
358 if (!lexer_next(&json->lex, &tok)) { in obj_next()
[all …]
/Zephyr-Core-3.7.0/samples/modules/tflite-micro/magic_wand/train/
Ddata_prepare_test.py24 import json
69 self.assertEqual(json.loads(lines[0]), self.data[0])
70 self.assertEqual(json.loads(lines[-1]), self.data[-1])
Ddata_split.py34 import json
45 dic = json.loads(line)
/Zephyr-Core-3.7.0/samples/subsys/zbus/uart_bridge/
Ddecoder.py5 import json
22 channels = json.loads(j)
/Zephyr-Core-3.7.0/scripts/tests/twister_blackbox/
Dtest_footprint.py10 import json
77 j = json.load(f)
83 f.write(json.dumps(j, indent=4))
138 j = json.load(f)
163 j = json.load(f)
203 j = json.load(f)
209 f.write(json.dumps(j, indent=4))
272 j = json.load(f)
278 f.write(json.dumps(j, indent=4))
345 j = json.load(f)
[all …]
Dtest_config.py14 import json
49 j = json.load(f)
84 j = json.load(f)
Dtest_testplan.py14 import json
75 j = json.load(f)
106 j = json.load(f)
138 j = json.load(f)
Dtest_shuffle.py15 import json
67 j = json.load(f)
Dtest_filter.py14 import json
119 j = json.load(f)
147 j = json.load(f)
175 j = json.load(f)
275 j = json.load(f)
Dtest_testlist.py14 import json
67 j = json.load(f)
/Zephyr-Core-3.7.0/scripts/pylib/pytest-twister-harness/
D.gitignore52 .dmypy.json
53 dmypy.json
/Zephyr-Core-3.7.0/samples/subsys/zbus/remote_mock/
Dremote_mock.py5 import json
16 channels = json.loads(j)
/Zephyr-Core-3.7.0/scripts/logging/dictionary/dictionary_parser/
Dlog_database.py13 import json
267 json_db = json.load(db_fd)
268 except (OSError, json.JSONDecodeError):
307 db_fd.write(json.dumps(json_db))
/Zephyr-Core-3.7.0/scripts/ci/
Dupload_test_results.py7 import json
34 data = json.load(j)
Dversion_mgr.py15 import json
52 data = json.load(fp)
135 json.dump(data, versions)
/Zephyr-Core-3.7.0/scripts/pylib/twister/twisterlib/
Dpackage.py7 import json
26 jtp = json.load(json_test_plan)
/Zephyr-Core-3.7.0/scripts/west_commands/runners/
Dnrfutil.py7 import json
56 jout = json.loads(line.decode(sys.getdefaultencoding()))
95 batch = json.dumps({'family': f'{self.family}',
/Zephyr-Core-3.7.0/tests/lib/json/
DCMakeLists.txt5 project(json) project
/Zephyr-Core-3.7.0/cmake/sca/codechecker/
Dsca.cmake8 # CodeChecker uses the compile_commands.json as input
28 ${CMAKE_BINARY_DIR}/compile_commands.json
30 DEPENDS ${CMAKE_BINARY_DIR}/compile_commands.json ${output_dir}/codechecker.ready
/Zephyr-Core-3.7.0/doc/develop/test/twister/
Dsample_blackbox_test.py11 import json
78 j = json.load(f)
/Zephyr-Core-3.7.0/scripts/build/
Dparse_syscalls.py31 import json
200 syscalls_in_json = json.dumps(
207 tagged_struct_in_json = json.dumps(

1234