Home
last modified time | relevance | path

Searched refs:token (Results 1 – 25 of 28) sorted by relevance

12

/hal_espressif-2.7.6/components/jsmn/src/
Djsmn.c54 static void jsmn_fill_token(jsmntok_t *token, jsmntype_t type, in jsmn_fill_token() argument
56 token->type = type; in jsmn_fill_token()
57 token->start = start; in jsmn_fill_token()
58 token->end = end; in jsmn_fill_token()
59 token->size = 0; in jsmn_fill_token()
67 jsmntok_t *token; in jsmn_parse_primitive() local
98 token = jsmn_alloc_token(parser, tokens, num_tokens); in jsmn_parse_primitive()
99 if (token == NULL) { in jsmn_parse_primitive()
103 jsmn_fill_token(token, JSMN_PRIMITIVE, start, parser->pos); in jsmn_parse_primitive()
105 token->parent = parser->toksuper; in jsmn_parse_primitive()
[all …]
/hal_espressif-2.7.6/components/wpa_supplicant/src/utils/
Djson.c191 static int json_check_tree_state(struct json_token *token) in json_check_tree_state() argument
193 if (!token) in json_check_tree_state()
195 if (json_check_tree_state(token->child) < 0 || in json_check_tree_state()
196 json_check_tree_state(token->sibling) < 0) in json_check_tree_state()
198 if (token->state != JSON_COMPLETED) { in json_check_tree_state()
201 token->state, token->name ? token->name : "N/A", in json_check_tree_state()
202 token->type); in json_check_tree_state()
222 struct json_token *root = NULL, *curr_token = NULL, *token = NULL; in json_parse() local
237 token = json_alloc_token(&tokens); in json_parse()
238 if (!token) in json_parse()
[all …]
/hal_espressif-2.7.6/tools/kconfig/
Dzconf.y47 %token <id>T_MAINMENU
48 %token <id>T_MENU
49 %token <id>T_ENDMENU
50 %token <id>T_SOURCE
51 %token <id>T_RSOURCE
52 %token <id>T_CHOICE
53 %token <id>T_ENDCHOICE
54 %token <id>T_COMMENT
55 %token <id>T_CONFIG
56 %token <id>T_MENUCONFIG
[all …]
Dlkc.h66 int token; member
111 void menu_add_option(int token, char *arg);
Dzconf.l111 return id->token;
147 return id->token;
Dmenu.c199 void menu_add_option(int token, char *arg) in menu_add_option() argument
201 switch (token) { in menu_add_option()
/hal_espressif-2.7.6/components/wpa_supplicant/src/common/
Ddpp.c4421 struct json_token *root = NULL, *token; in dpp_conf_req_rx() local
4493 token = json_get_member(root, "name"); in dpp_conf_req_rx()
4494 if (!token || token->type != JSON_STRING) { in dpp_conf_req_rx()
4498 wpa_printf(MSG_DEBUG, "DPP: Enrollee name = '%s'", token->string); in dpp_conf_req_rx()
4500 token = json_get_member(root, "wi-fi_tech"); in dpp_conf_req_rx()
4501 if (!token || token->type != JSON_STRING) { in dpp_conf_req_rx()
4505 wpa_printf(MSG_DEBUG, "DPP: wi-fi_tech = '%s'", token->string); in dpp_conf_req_rx()
4506 if (os_strcmp(token->string, "infra") != 0) { in dpp_conf_req_rx()
4508 token->string); in dpp_conf_req_rx()
4513 token = json_get_member(root, "netRole"); in dpp_conf_req_rx()
[all …]
Dwpa_supplicant_i.h38 u8 token; member
46 u8 token; member
Drrm.c269 static int wpas_rrm_report_elem(struct wpabuf **buf, u8 token, u8 mode, u8 type, in wpas_rrm_report_elem() argument
277 wpabuf_put_u8(*buf, token); in wpas_rrm_report_elem()
297 wpabuf_put_u8(report, wpa_s->rrm.token); in wpas_rrm_send_msr_report_mpdu()
550 ret = wpas_rrm_report_elem(wpa_buf, data->token, in wpas_add_beacon_rep_elem()
610 return wpas_rrm_report_elem(buf, wpa_s->beacon_rep_data.token, in wpas_beacon_rep_no_results()
639 if (wpas_rrm_report_elem(&buf, wpa_s->beacon_rep_data.token, in wpas_rrm_refuse_request()
818 data->token = elem_token; in wpas_rm_handle_beacon_req()
893 req->type, req->token); in wpas_rrm_handle_msr_req_element()
914 return wpas_rm_handle_beacon_req(wpa_s, req->token, in wpas_rrm_handle_msr_req_element()
927 wpas_rrm_report_elem(buf, req->token, in wpas_rrm_handle_msr_req_element()
[all …]
Dsae.h80 const struct wpabuf *token, const char *identifier);
82 const u8 **token, size_t *token_len, int *allowed_groups);
Dsae.c863 const struct wpabuf *token, const char *identifier) in sae_write_commit() argument
871 if (token) { in sae_write_commit()
872 wpabuf_put_buf(buf, token); in sae_write_commit()
874 wpabuf_head(token), wpabuf_len(token)); in sae_write_commit()
972 const u8 *end, const u8 **token, in sae_parse_commit_token() argument
978 if (token) in sae_parse_commit_token()
979 *token = NULL; in sae_parse_commit_token()
1020 if (token) in sae_parse_commit_token()
1021 *token = *pos; in sae_parse_commit_token()
1212 const u8 **token, size_t *token_len, int *allowed_groups) in sae_parse_commit() argument
[all …]
Dieee802_11_defs.h735 u8 token; /* Measurement Token */ member
798 u8 token; /* Measurement Token */ member
/hal_espressif-2.7.6/components/esp32s2/
Desp_hmac.c56 esp_err_t esp_hmac_jtag_enable(hmac_key_id_t key_id, const uint8_t *token) in esp_hmac_jtag_enable() argument
60 if ((!token) || (key_id >= HMAC_KEY_MAX)) in esp_hmac_jtag_enable()
76 memcpy(&key_word, &token[i], 4); in esp_hmac_jtag_enable()
/hal_espressif-2.7.6/components/esp_wifi/src/
Dsmartconfig_ack.c55 uint8_t token; /*!< Smartconfig token from the cellphone */ member
96 uint8_t port_bit = ack->ctx.token; in sc_ack_send_task()
194 esp_err_t sc_send_ack_start(smartconfig_type_t type, uint8_t token, uint8_t *cellphone_ip) in sc_send_ack_start() argument
209 ack->ctx.token = token; in sc_send_ack_start()
Dsmartconfig.c44 err = sc_send_ack_start(evt->type, evt->token, evt->cellphone_ip); in handler_got_ssid_passwd()
/hal_espressif-2.7.6/examples/protocols/coap_server/main/
Dcoap_server_example_main.c92 coap_pdu_t *request, coap_binary_t *token, in hnd_espressif_get() argument
95 coap_add_data_blocked_response(resource, session, request, response, token, in hnd_espressif_get()
106 coap_binary_t *token, in hnd_espressif_put() argument
138 coap_binary_t *token, in hnd_espressif_delete() argument
/hal_espressif-2.7.6/components/esp_wifi/include/
Dsmartconfig_ack.h34 esp_err_t sc_send_ack_start(smartconfig_type_t type, uint8_t token, uint8_t *cellphone_ip);
Desp_smartconfig.h52 uint8_t token; /**< Token from cellphone which is used to send ACK to cellphone. */ member
/hal_espressif-2.7.6/components/esp32s2/include/
Desp_hmac.h83 const uint8_t *token);
/hal_espressif-2.7.6/components/wpa_supplicant/src/wps/
Dwps_registrar.c36 static void wps_remove_nfc_pw_token(struct wps_nfc_pw_token *token) in wps_remove_nfc_pw_token() argument
38 dl_list_del(&token->list); in wps_remove_nfc_pw_token()
39 os_free(token); in wps_remove_nfc_pw_token()
45 struct wps_nfc_pw_token *token, *prev; in wps_free_nfc_pw_tokens() local
46 dl_list_for_each_safe(token, prev, tokens, struct wps_nfc_pw_token, in wps_free_nfc_pw_tokens()
48 if (pw_id == 0 || pw_id == token->pw_id) in wps_free_nfc_pw_tokens()
49 wps_remove_nfc_pw_token(token); in wps_free_nfc_pw_tokens()
57 struct wps_nfc_pw_token *token; in wps_get_nfc_pw_token() local
58 dl_list_for_each(token, tokens, struct wps_nfc_pw_token, list) { in wps_get_nfc_pw_token()
59 if (pw_id == token->pw_id) in wps_get_nfc_pw_token()
[all …]
Dwps_i.h213 struct wps_nfc_pw_token *token);
/hal_espressif-2.7.6/components/ulp/
DREADME.rst29token value which contains label number, and the other is the actual instruction. ``ulp_process_ma…
/hal_espressif-2.7.6/tools/unit-test-app/
Dunit_test.py67 for token, alias in known_aliases.items():
68 if token in expected_str:
69 alt_expected_str = expected_str.replace(token, alias)
/hal_espressif-2.7.6/tools/catch/
Dcatch.hpp3322 std::string token = subString(); in addPattern() local
3323 if( startsWith( token, "exclude:" ) ) { in addPattern()
3325 token = token.substr( 8 ); in addPattern()
3327 if( !token.empty() ) { in addPattern()
3328 Ptr<TestSpec::Pattern> pattern = new T( token ); in addPattern()
4541 Parser::Token const& token = tokens[i]; in populateOptions() local
4547 … if( ( token.type == Parser::Token::ShortOpt && arg.hasShortName( token.data ) ) || in populateOptions()
4548 … ( token.type == Parser::Token::LongOpt && arg.hasLongName( token.data ) ) ) { in populateOptions()
4551 … errors.push_back( "Expected argument to option: " + token.data ); in populateOptions()
4566 if( token.type == Parser::Token::Positional || !m_throwOnUnrecognisedTokens ) in populateOptions()
[all …]
/hal_espressif-2.7.6/components/coap/port/
Dcoap_debug.c500 "%02x", pdu->token[i]); in coap_show_pdu()

12