Home
last modified time | relevance | path

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

1234

/hal_espressif-3.6.0/components/wpa_supplicant/src/utils/
Djson.h36 void json_free(struct json_token *json);
37 struct json_token * json_get_member(struct json_token *json, const char *name);
38 struct wpabuf * json_get_member_base64url(struct json_token *json,
41 void json_add_int(struct wpabuf *json, const char *name, int val);
42 void json_add_string(struct wpabuf *json, const char *name, const char *val);
43 int json_add_string_escape(struct wpabuf *json, const char *name,
45 int json_add_base64url(struct wpabuf *json, const char *name, const void *val,
47 void json_start_object(struct wpabuf *json, const char *name);
48 void json_end_object(struct wpabuf *json);
49 void json_start_array(struct wpabuf *json, const char *name);
[all …]
Djson.c481 void json_free(struct json_token *json) in json_free() argument
483 if (!json) in json_free()
485 json_free(json->child); in json_free()
486 json_free(json->sibling); in json_free()
487 os_free(json->name); in json_free()
488 os_free(json->string); in json_free()
489 os_free(json); in json_free()
493 struct json_token * json_get_member(struct json_token *json, const char *name) in json_get_member() argument
497 if (!json || json->type != JSON_OBJECT) in json_get_member()
500 for (token = json->child; token; token = token->sibling) { in json_get_member()
[all …]
/hal_espressif-3.6.0/tools/ci/
Dbuild_template_app.sh56json --work-dir ${BUILD_PATH}/cmake --build-dir ${BUILD_DIR} --build-log ${BUILD_LOG_CMAKE} -p esp…
57 cat scan_temp.json >> scan.json
58 rm scan_temp.json
65json --work-dir ${BUILD_PATH}/make/${BUILD_DIR} --build-dir build --build-log ${BUILD_LOG_MAKE} -p…
66 cat scan_temp.json >> scan.json
67 rm scan_temp.json
71 …build_apps.py -vv --format json --keep-going --parallel-count 1 --parallel-index 1 --size-info ${S…
72 rm scan.json
86 build build_list_1.json
129 rm -f scan.json
Dfind_apps_build_apps.sh128 --format json \
140 --format json \
164 cp ${src}/{*.bin,*.elf,*.map,sdkconfig,flasher_args.json} ${dst}/
174 mv ${BUILD_PATH}/${IDF_TARGET}/*.json ${BUILD_PATH}
Dtest_build_system_cmake.sh491 …grep -q '"command"' build/compile_commands.json || failure "compile_commands.json missing or has n…
492 …(grep '"command"' build/compile_commands.json | grep -v mfix-esp32-psram-cache-issue) && failure "…
502 …grep -q '"command"' build/compile_commands.json || failure "compile_commands.json missing or has n…
503 …(grep '"command"' build/compile_commands.json | grep -v mfix-esp32-psram-cache-issue) && failure "…
514 …grep -q '"command"' build/compile_commands.json || failure "compile_commands.json missing or has n…
515 …(grep '"command"' build/compile_commands.json | grep -v mfix-esp32-psram-cache-strategy=$stratlc) …
617 …/components/bootloader/subproject/main/bootloader_start.c" build/bootloader/compile_commands.json \
624 …! grep "$PWD/components/esp32" $PWD/build/project_description.json || failure "Failed to build wi…
632 …! grep "$PWD/main/test" $PWD/build/project_description.json || failure "COMPONENT_DIRS has added c…
633 …grep "$PWD/main" $PWD/build/project_description.json || failure "COMPONENT_DIRS parent component d…
[all …]
/hal_espressif-3.6.0/tools/esp_app_trace/test/sysview/
Dtest.sh11 && coverage erase &> output.json \
12 …ATH/tools/esp_app_trace/sysviewtrace_proc.py -j -b test.elf cpu0.svdat cpu1.svdat &>> output.json \
13 && diff output.json expected_output.json \
25 && coverage erase &> output.json \
26 …race/sysviewtrace_proc.py -j -b sysview_tracing_heap_log.elf heap_log_mcore.svdat &>> output.json \
27 && diff output.json expected_output_mcore.json \
/hal_espressif-3.6.0/tools/kconfig_new/test/confserver/
Dtest_confserver.py5 import json
37 send = json.loads(send[2:])
38 expect = json.loads(expect[2:])
103 return json.loads(result)
107 req = json.dumps(req)
111 print('Read back: %s' % (json.dumps(readback)))
122 print('Reset response: %s' % (json.dumps(readback)))
137 … raise RuntimeError('Test failed! Was expecting %s: %s' % (expect_key, json.dumps(expect_diff)))
146 print('Save result: %s' % (json.dumps(save_result)))
155 print('V2 Load result: %s' % (json.dumps(load_result)))
[all …]
/hal_espressif-3.6.0/components/esptool_py/esptool/docs/en/espefuse/
Dsummary-cmd.rst6 The ``espefuse.py summary`` command reads all eFuses from the chip and outputs them in text or json
10 … format: ``summary`` - text format (default option), ``json`` - json format. Usage ``--format json
11 - ``--file`` - File to save the efuse summary. Usage ``--file efuses.json``.
51 The json representation of eFuses for the ESP32 chip is shown below.
55 > espefuse.py summary --format json
106 > espefuse.py summary --format json --file efuses.json
114 Saving efuse values to efuses.json
Dexecute-scripts-cmd.rst78 …to get the unique data for each chip from the ``configfiles`` (* .txt, * .json, etc.). The espefus…
82 … efuse_script2.py --do-not-confirm --index {index} --configfiles mac_addresses.json unique_id.json
90 mac_addresses = json.load(args.configfiles[0])
91 unique_id = json.load(args.configfiles[1])
/hal_espressif-3.6.0/tools/test_idf_size/
Dtest.sh10 …thon -m coverage run -a $IDF_PATH/tools/idf_size.py --json build/hello_world.map > size_output.jso…
12 …&& python -m coverage run -a $IDF_PATH/tools/test_idf_size/mem_test.py size_output.json esptool_ou…
18 …&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --json app_$1.map | python $IDF_PATH/tool…
19 …&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --json --archives app_$1.map | python $ID…
20 …&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --json --files app_$1.map | python $IDF_P…
21 …&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --json --archive_details libdriver.a app_…
131 …&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --json app.map | python $IDF_PATH/tools/t…
132 …&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --json --archives app.map | python $IDF_P…
133 …&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --json --files app.map | python $IDF_PATH…
134 …&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --json --archive_details libdriver.a app.…
[all …]
Djson_validate_test.py6 import json
18 size_json = json.loads(input_json)
20 schema_json = json.load(schema_file)
Dmem_test.py7 import json
48 mem_test(json.loads(args.size_json.read()), args.esptool_output.read().split('\n'))
/hal_espressif-3.6.0/components/esptool_py/
DCMakeLists.txt25 # Generate flasher_args.json for tools that need it. The variables below are used
26 # in configuring the template flasher_args.json.in.
44 file(READ "flasher_args.json.in" flasher_args_content)
47 file_generate("${CMAKE_CURRENT_BINARY_DIR}/flasher_args.json.in"
49 file_generate("${CMAKE_BINARY_DIR}/flasher_args.json"
50 INPUT "${CMAKE_CURRENT_BINARY_DIR}/flasher_args.json.in")
/hal_espressif-3.6.0/tools/cmake/
Duf2.cmake28 --json "${CMAKE_CURRENT_BINARY_DIR}/flasher_args.json"
38 --json "${CMAKE_CURRENT_BINARY_DIR}/flasher_args.json"
Ddfu.cmake28 --json "${CMAKE_CURRENT_BINARY_DIR}/flasher_args.json"
/hal_espressif-3.6.0/components/esptool_py/esptool/flasher_stub/
Dwrap_stub.py11 import json
63 class BytesEncoder(json.JSONEncoder):
67 return json.JSONEncoder.default(self, obj)
72 json.dump(stub_data, outfile, cls=BytesEncoder, indent=4)
/hal_espressif-3.6.0/tools/kconfig_new/
Dconfserver.py9 import json
68 env = json.load(args.env_file)
98 json.dump({'version': 1, 'values': values_dict, 'ranges': ranges_dict}, sys.stdout)
101json.dump({'version': default_version, 'values': config_dict, 'ranges': ranges_dict, 'visible': vi…
110 req = json.loads(line)
113 json.dump(response, sys.stdout)
163 json.dump(response, sys.stdout)
Dprepare_kconfig_files.py20 import json
94 env.update(json.load(args.env_file))
/hal_espressif-3.6.0/tools/idf_monitor_base/
Dweb_socket_client.py15 import json
82 self.ws.send(json.dumps(payload_dict))
103 obj = json.loads(r)
/hal_espressif-3.6.0/tools/
Dmkuf2.py21 import json
172 if args.json:
173 json_dir = os.path.dirname(os.path.abspath(args.json))
182 with open(args.json) as f:
183 json_content = json.load(f)
Dmkdfu.py28 import json
254 if args.json:
255 json_dir = os.path.dirname(os.path.abspath(args.json))
264 with open(args.json) as f:
266 … process_json_file(f_name)) for addr, f_name in iteritems(json.load(f)['flash_files'])]
/hal_espressif-3.6.0/tools/test_apps/system/monitor_ide_integration/
Dapp_test.py4 import json
18 j = json.loads(self.data)
26 self.sendMessage(json.dumps(payload))
/hal_espressif-3.6.0/examples/protocols/http_server/restful_server/front/web-demo/
D.gitignore25 # To compress the package size, just exclude the package-lock.json file.
26 package-lock.json
/hal_espressif-3.6.0/tools/ci/python_packages/ttfw_idf/
DCIScanTests.py3 import json
66 fw.writelines([json.dumps(app) + '\n' for app in apps_dict_list])
194 fw.writelines([json.dumps(app) + '\n' for app in apps])
/hal_espressif-3.6.0/tools/idf_py_actions/
Dserial_ext.py4 import json
23 project_desc = json.load(f)
63 flasher_args = json.load(f)

1234