Searched refs:json (Results 1 – 10 of 10) sorted by relevance
/hostap-3.7.0/src/utils/ |
D | json.h | 36 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, 40 struct wpabuf * json_get_member_base64(struct json_token *json, 43 void json_add_int(struct wpabuf *json, const char *name, int val); 44 void json_add_string(struct wpabuf *json, const char *name, const char *val); 45 int json_add_string_escape(struct wpabuf *json, const char *name, 47 int json_add_base64url(struct wpabuf *json, const char *name, const void *val, 49 int json_add_base64(struct wpabuf *json, const char *name, const void *val, 51 void json_start_object(struct wpabuf *json, const char *name); [all …]
|
D | json.c | 481 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 …]
|
D | Makefile | 12 json.o \
|
D | utils_module_tests.c | 847 const char *json; member 901 root = json_parse(test->json, os_strlen(test->json)); in json_tests()
|
/hostap-3.7.0/tests/ |
D | README | 38 test-eapol, test-json, test-tls, and test-x509 are examples of such 46 CC=afl-gcc make test-json 47 mkdir json-examples 48 cat > json-examples/1.json <<EOF 51 afl-fuzz -i json-examples -o json-findings -- $PWD/test-json @@ 55 make test-json LIBFUZZER=y 56 mkdir json-examples 57 cat > json-examples/1.json <<EOF 60 ./test-json json-examples
|
/hostap-3.7.0/tests/fuzzing/json/ |
D | Makefile | 1 ALL=json 6 OBJS += $(SRC)/utils/json.o 11 OBJS += json.o 19 json: $(OBJS) $(LIBS) target 23 rm -f json *~ *.o *.d ../*~ ../*.o ../*.d
|
D | .gitignore | 1 json
|
/hostap-3.7.0/src/common/ |
D | dpp.c | 657 const char *json) in dpp_build_conf_req_attr() argument 676 json_len = os_strlen(json); in dpp_build_conf_req_attr() 677 wpa_hexdump_ascii(MSG_DEBUG, "DPP: configRequest JSON", json, json_len); in dpp_build_conf_req_attr() 752 wpabuf_put_data(clear, json, json_len); in dpp_build_conf_req_attr() 816 const char *json) in dpp_build_conf_req() argument 820 conf_req = dpp_build_conf_req_attr(auth, json); in dpp_build_conf_req() 850 struct wpabuf *buf = NULL, *json = NULL; in dpp_build_conf_req_helper() local 879 json = wpabuf_alloc(len); in dpp_build_conf_req_helper() 880 if (!json) in dpp_build_conf_req_helper() 883 json_start_object(json, NULL); in dpp_build_conf_req_helper() [all …]
|
D | dpp.h | 567 const char *json);
|
/hostap-3.7.0/tests/hwsim/ |
D | test_wpas_mesh.py | 13 import json 944 pkts = json.loads(out)
|