Home
last modified time | relevance | path

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

/system/bt/stack/avrc/
Davrc_pars_ct.c288 BE_STREAM_TO_UINT8(p_result->get_app_attr_txt.p_attrs[xx].str_len, p); in avrc_ctrl_pars_vendor_rsp()
289 if (p_result->get_app_attr_txt.p_attrs[xx].str_len != 0) in avrc_ctrl_pars_vendor_rsp()
291 UINT8 *p_str = (UINT8 *)osi_malloc(p_result->get_app_attr_txt.p_attrs[xx].str_len); in avrc_ctrl_pars_vendor_rsp()
292 BE_STREAM_TO_ARRAY(p, p_str, p_result->get_app_attr_txt.p_attrs[xx].str_len); in avrc_ctrl_pars_vendor_rsp()
319 BE_STREAM_TO_UINT8(p_result->get_app_val_txt.p_attrs[i].str_len, p); in avrc_ctrl_pars_vendor_rsp()
320 if (p_result->get_app_val_txt.p_attrs[i].str_len != 0) { in avrc_ctrl_pars_vendor_rsp()
321 UINT8 *p_str = (UINT8 *)osi_malloc(p_result->get_app_val_txt.p_attrs[i].str_len); in avrc_ctrl_pars_vendor_rsp()
322 BE_STREAM_TO_ARRAY(p, p_str, p_result->get_app_val_txt.p_attrs[i].str_len); in avrc_ctrl_pars_vendor_rsp()
353 BE_STREAM_TO_UINT16(p_attrs[i].name.str_len, p); in avrc_ctrl_pars_vendor_rsp()
354 if (p_attrs[i].name.str_len > 0) { in avrc_ctrl_pars_vendor_rsp()
[all …]
Davrc_bld_tg.c337 if (len_left < (p_rsp->p_attrs[xx].str_len + 4)) in avrc_bld_app_setting_text_rsp()
340 __func__, xx, p_rsp->p_attrs[xx].str_len, len_left); in avrc_bld_app_setting_text_rsp()
345 if ( !p_rsp->p_attrs[xx].str_len || !p_rsp->p_attrs[xx].p_str ) in avrc_bld_app_setting_text_rsp()
352 UINT8_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].str_len); in avrc_bld_app_setting_text_rsp()
353 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()
493 p_rsp->p_attrs[xx].name.str_len = 0; in avrc_bld_get_elem_attrs_rsp()
497 UINT16_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].name.str_len); in avrc_bld_get_elem_attrs_rsp()
498 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()
/system/sepolicy/tools/fc_sort/
Dfc_sort.c43 int str_len; member
105 if (a->str_len < b->str_len) in fc_compare()
107 if (b->str_len < a->str_len) in fc_compare()
268 fc_node->str_len = 0; in fc_fill_data()
303 fc_node->str_len++; in fc_fill_data()
/system/bt/bta/hl/
Dbta_hl_sdp.c98 UINT16 xx, str_len, seq_len; in bta_hl_compose_supported_feature_list() local
105 str_len=0; in bta_hl_compose_supported_feature_list()
108 str_len = strlen(p_elem_list->p_mdep_desp)+1; in bta_hl_compose_supported_feature_list()
109 seq_len += str_len+2; /* todo add a # symbol for 2 */ in bta_hl_compose_supported_feature_list()
121 if (str_len) in bta_hl_compose_supported_feature_list()
124 UINT8_TO_BE_STREAM (p, str_len); in bta_hl_compose_supported_feature_list()
125 ARRAY_TO_BE_STREAM(p, p_elem_list->p_mdep_desp, str_len); in bta_hl_compose_supported_feature_list()
/system/bt/stack/include/
Davrc_defs.h874 UINT16 str_len; member
879 UINT16 str_len; member
907 UINT8 str_len; member
/system/bt/btif/src/
Dbtif_rc.c1686 element_attrs[i].name.str_len = (UINT16)strlen((char *)p_attrs[i].text); in get_element_attr_rsp()
1690 element_attrs[i].name.charset_id, element_attrs[i].name.str_len, in get_element_attr_rsp()
2836 p_app_settings->ext_attrs[x].str_len = p_rsp->p_attrs[xx].str_len; in handle_app_attr_txt_response()
2918 p_ext_attr->ext_attr_val[x].str_len = p_rsp->p_attrs[xx].str_len; in handle_app_attr_val_txt_response()
3018 if (p_rsp->p_attrs[i].name.str_len && in handle_get_elem_attr_response()
3021 p_rsp->p_attrs[i].name.str_len); in handle_get_elem_attr_response()