Lines Matching refs:str_buf
73 static char * format_uuid(tBT_UUID bt_uuid, char *str_buf) in format_uuid() argument
79 sprintf(str_buf, "0x%04x", bt_uuid.uu.uuid16); in format_uuid()
83 x += sprintf(&str_buf[x], "%02x%02x%02x%02x-%02x%02x-%02x%02x", in format_uuid()
88 sprintf(&str_buf[x], "%02x%02x-%02x%02x%02x%02x%02x%02x", in format_uuid()
95 sprintf(str_buf, "Unknown (len=%d)", bt_uuid.len); in format_uuid()
97 return str_buf; in format_uuid()
140 char str_buf[50]; in btif_test_discovery_result_cback() local
147 LOG_DEBUG(LOG_TAG, " Attribute type: %s", format_uuid(p_data->type, str_buf)); in btif_test_discovery_result_cback()
157 format_uuid(p_data->value.group_value.service_type, str_buf)); in btif_test_discovery_result_cback()
171 format_uuid(p_data->value.incl_service.service_type, str_buf)); in btif_test_discovery_result_cback()
178 format_uuid(p_data->value.dclr_value.char_uuid, str_buf)); in btif_test_discovery_result_cback()
182 LOG_DEBUG(LOG_TAG, " Descriptor UUID: %s", format_uuid(p_data->type, str_buf)); in btif_test_discovery_result_cback()