Home
last modified time | relevance | path

Searched refs:str_len (Results 1 – 5 of 5) sorted by relevance

/hal_espressif-3.6.0/components/wpa_supplicant/src/wps/
Dwps_dev_attr.c248 size_t str_len) in wps_process_manufacturer() argument
255 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Manufacturer", str, str_len); in wps_process_manufacturer()
258 dev->manufacturer = (char *)os_malloc(str_len + 1); in wps_process_manufacturer()
261 os_memcpy(dev->manufacturer, str, str_len); in wps_process_manufacturer()
262 dev->manufacturer[str_len] = '\0'; in wps_process_manufacturer()
269 size_t str_len) in wps_process_model_name() argument
276 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Model Name", str, str_len); in wps_process_model_name()
279 dev->model_name = (char *)os_malloc(str_len + 1); in wps_process_model_name()
282 os_memcpy(dev->model_name, str, str_len); in wps_process_model_name()
283 dev->model_name[str_len] = '\0'; in wps_process_model_name()
[all …]
/hal_espressif-3.6.0/components/esp_http_client/lib/
Dhttp_header.c202 int str_len = 0; in http_header_generate_string() local
206str_len += snprintf(buffer + str_len, *buffer_len - str_len, "%s: %s\r\n", item->key, item->value); in http_header_generate_string()
212 str_len += snprintf(buffer + str_len, *buffer_len - str_len, "\r\n"); in http_header_generate_string()
214 *buffer_len = str_len; in http_header_generate_string()
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/avrc/
Davrc_bld_tg.c309 if (len_left < (p_rsp->p_attrs[xx].str_len + 4)) { in avrc_bld_app_setting_text_rsp()
311 xx, p_rsp->p_attrs[xx].str_len, len_left); in avrc_bld_app_setting_text_rsp()
316 if ( !p_rsp->p_attrs[xx].str_len || !p_rsp->p_attrs[xx].p_str ) { in avrc_bld_app_setting_text_rsp()
322 UINT8_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].str_len); in avrc_bld_app_setting_text_rsp()
323 ARRAY_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].p_str, p_rsp->p_attrs[xx].str_len); in avrc_bld_app_setting_text_rsp()
455 p_rsp->p_attrs[xx].name.str_len = 0; in avrc_bld_get_elem_attrs_rsp()
459 UINT16_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].name.str_len); in avrc_bld_get_elem_attrs_rsp()
460 ARRAY_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].name.p_str, p_rsp->p_attrs[xx].name.str_len); in avrc_bld_get_elem_attrs_rsp()
/hal_espressif-3.6.0/examples/system/console/advanced/components/cmd_nvs/
Dcmd_nvs.c111 size_t str_len = strlen(str_values); in store_blob() local
112 size_t blob_len = str_len / 2; in store_blob()
114 if (str_len % 2) { in store_blob()
124 for (int i = 0, j = 0; i < str_len; i++) { in store_blob()
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/include/stack/
Davrc_defs.h866 UINT16 str_len; member
871 UINT16 str_len; member
897 UINT8 str_len; member