Lines Matching refs:name
201 token->state, token->name ? token->name : "N/A", in json_check_tree_state()
322 curr_token->name = str; in json_parse()
330 curr_token->name, in json_parse()
381 curr_token->name, *pos); in json_parse()
438 curr_token->name, in json_parse()
487 os_free(json->name); in json_free()
493 struct json_token * json_get_member(struct json_token *json, const char *name) in json_get_member() argument
501 if (token->name && os_strcmp(token->name, name) == 0) in json_get_member()
509 const char *name) in json_get_member_base64url() argument
516 token = json_get_member(json, name); in json_get_member_base64url()
564 token->name ? token->name : ""); in json_print_token()
581 void json_add_int(struct wpabuf *json, const char *name, int val) in json_add_int() argument
583 wpabuf_printf(json, "\"%s\":%d", name, val); in json_add_int()
587 void json_add_string(struct wpabuf *json, const char *name, const char *val) in json_add_string() argument
589 wpabuf_printf(json, "\"%s\":\"%s\"", name, val); in json_add_string()
593 int json_add_string_escape(struct wpabuf *json, const char *name, in json_add_string_escape() argument
603 json_add_string(json, name, tmp); in json_add_string_escape()
609 int json_add_base64url(struct wpabuf *json, const char *name, const void *val, in json_add_base64url() argument
617 json_add_string(json, name, b64); in json_add_base64url()
623 void json_start_object(struct wpabuf *json, const char *name) in json_start_object() argument
625 if (name) in json_start_object()
626 wpabuf_printf(json, "\"%s\":", name); in json_start_object()
637 void json_start_array(struct wpabuf *json, const char *name) in json_start_array() argument
639 if (name) in json_start_array()
640 wpabuf_printf(json, "\"%s\":", name); in json_start_array()