Searched refs:JSON_STRING (Results 1 – 8 of 8) sorted by relevance
| /freebsd/contrib/ntp/libjsmn/example/ |
| H A D | simple.c | 10 const char *JSON_STRING = variable 29 r = jsmn_parse(&p, JSON_STRING, strlen(JSON_STRING), t, sizeof(t)/sizeof(t[0])); in main() 43 if (jsoneq(JSON_STRING, &t[i], "user") == 0) { in main() 46 JSON_STRING + t[i+1].start); in main() 48 } else if (jsoneq(JSON_STRING, &t[i], "admin") == 0) { in main() 51 JSON_STRING + t[i+1].start); in main() 53 } else if (jsoneq(JSON_STRING, &t[i], "uid") == 0) { in main() 56 JSON_STRING + t[i+1].start); in main() 58 } else if (jsoneq(JSON_STRING, &t[i], "groups") == 0) { in main() 66 printf(" * %.*s\n", g->end - g->start, JSON_STRING + g->start); in main() [all …]
|
| /freebsd/contrib/wpa/src/utils/ |
| H A D | json.c | 359 token->type = JSON_STRING; in json_parse() 368 curr_token->type = JSON_STRING; in json_parse() 379 curr_token->type = JSON_STRING; in json_parse() 601 if (!token || token->type != JSON_STRING) in json_get_member_base64url() 624 if (!token || token->type != JSON_STRING) in json_get_member_base64() 646 case JSON_STRING: in json_type_str()
|
| H A D | json.h | 17 JSON_STRING, enumerator
|
| /freebsd/contrib/file/src/ |
| H A D | is_json.c | 60 #define JSON_STRING 4 macro 372 t = JSON_STRING; in json_parse() 456 P(JSON_OBJECT), P(JSON_ARRAY), P(JSON_STRING), P(JSON_CONSTANT), in file_is_json()
|
| /freebsd/contrib/wpa/src/common/ |
| H A D | dpp.c | 2465 if (!token || token->type != JSON_STRING) { in dpp_conf_req_rx() 2474 if (!token || token->type != JSON_STRING) { in dpp_conf_req_rx() 2487 if (!token || token->type != JSON_STRING) { in dpp_conf_req_rx() 2507 if (token && token->type == JSON_STRING) { in dpp_conf_req_rx() 2620 if (pass && pass->type == JSON_STRING) { in dpp_parse_cred_legacy() 2637 if (saepi && saepi->type == JSON_STRING) in dpp_parse_cred_legacy() 2641 } else if (psk_hex && psk_hex->type == JSON_STRING) { in dpp_parse_cred_legacy() 2678 if (!token || token->type != JSON_STRING) { in dpp_parse_jwk() 2689 if (!token || token->type != JSON_STRING) { in dpp_parse_jwk() 2848 if (!id || id->type != JSON_STRING) { in dpp_parse_connector() [all …]
|
| H A D | dpp_reconfig.c | 507 if (token && token->type == JSON_STRING && in dpp_reconfig_auth_req_rx()
|
| H A D | dpp_crypto.c | 629 if (!token || token->type != JSON_STRING) { in dpp_parse_jws_prot_hdr() 643 if (!token || token->type != JSON_STRING) { in dpp_parse_jws_prot_hdr()
|
| /freebsd/contrib/wpa/src/ap/ |
| H A D | afc.c | 633 if (!token || token->type != JSON_STRING) { in hostapd_afc_parse_reply() 657 if (!reply_elem || reply_elem->type != JSON_STRING) { in hostapd_afc_parse_reply() 672 if (!reply_elem || reply_elem->type != JSON_STRING) { in hostapd_afc_parse_reply() 698 if (reply_elem && reply_elem->type == JSON_STRING) in hostapd_afc_parse_reply() 729 if (!reply_elem || reply_elem->type != JSON_STRING) { in hostapd_afc_parse_reply()
|