/btstack/src/classic/ |
H A D | sdp_client_rfcomm.c | 131 …andle_service_class_list_data(uint32_t attribute_value_length, uint32_t data_offset, uint8_t data){ in sdp_client_query_rfcomm_handle_service_class_list_data() argument 135 if (data_offset == 0){ in sdp_client_query_rfcomm_handle_service_class_list_data() 197 …protocol_descriptor_list_data(uint32_t attribute_value_length, uint32_t data_offset, uint8_t data){ in sdp_client_query_rfcomm_handle_protocol_descriptor_list_data() argument 201 if (data_offset == 0){ in sdp_client_query_rfcomm_handle_protocol_descriptor_list_data() 285 …comm_handle_service_name_data(uint32_t attribute_value_length, uint32_t data_offset, uint8_t data){ in sdp_client_query_rfcomm_handle_service_name_data() argument 288 if (data_offset == 0){ in sdp_client_query_rfcomm_handle_service_name_data() 296 if (data_offset < sdp_client_rfcomm_service_name_header_size){ in sdp_client_query_rfcomm_handle_service_name_data() 303 int name_pos = data_offset - sdp_client_rfcomm_service_name_header_size; in sdp_client_query_rfcomm_handle_service_name_data() 323 if ((data_offset == (attribute_value_length - 1)) && (sdp_client_rfcomm_channel_nr != 0)){ in sdp_client_query_rfcomm_handle_service_name_data()
|
H A D | obex_parser.c | 247 … uint16_t data_offset, const uint8_t * data_buffer, uint16_t data_len){ in obex_parser_header_store() argument 248 uint16_t bytes_to_store = btstack_min(buffer_size - data_offset, data_len); in obex_parser_header_store() 249 memcpy(&header_buffer[data_offset], data_buffer, bytes_to_store); in obex_parser_header_store() 250 uint16_t new_offset = data_offset + bytes_to_store; in obex_parser_header_store() 334 … uint8_t data_offset, const uint8_t * data_buffer, uint8_t data_len){ in obex_app_param_parser_tag_store() argument 335 uint16_t bytes_to_store = btstack_min(buffer_size - data_offset, data_len); in obex_app_param_parser_tag_store() 336 memcpy(&header_buffer[data_offset], data_buffer, bytes_to_store); in obex_app_param_parser_tag_store() 337 uint16_t new_offset = data_offset + bytes_to_store; in obex_app_param_parser_tag_store()
|
H A D | obex_parser.h | 77 …k_t)(void * user_data, uint8_t header_id, uint16_t total_len, uint16_t data_offset, const uint8_t … 125 …llback_t)(void * user_data, uint8_t tag_id, uint8_t total_len, uint8_t data_offset, const uint8_t … 204 … uint16_t data_offset, const uint8_t * data_buffer, uint16_t data_len); 236 … uint8_t data_offset, const uint8_t * data_buffer, uint8_t data_len);
|
H A D | obex_srm_server.c | 65 uint16_t data_offset, in obex_srm_server_header_store() argument 70 … obex_parser_header_store(&obex_srm->srm_value, 1, total_len, data_offset, data_buffer, data_len); in obex_srm_server_header_store() 73 … obex_parser_header_store(&obex_srm->srmp_value, 1, total_len, data_offset, data_buffer, data_len); in obex_srm_server_header_store()
|
H A D | avrcp_cover_art_client.c | 150 …nect(void * user_data, uint8_t header_id, uint16_t total_len, uint16_t data_offset, const uint8_t … in avrcp_cover_art_client_parser_callback_connect() argument 154 …nt->obex_header_buffer, sizeof(client->obex_header_buffer), total_len, data_offset, data_buffer, d… in avrcp_cover_art_client_parser_callback_connect() 169 …tion(void * user_data, uint8_t header_id, uint16_t total_len, uint16_t data_offset, const uint8_t … in avrcp_cover_art_client_parser_callback_get_operation() argument 173 …obex_parser_header_store(&client->obex_srm.srm_value, 1, total_len, data_offset, data_buffer, data… in avrcp_cover_art_client_parser_callback_get_operation() 176 …obex_parser_header_store(&client->obex_srm.srmp_value, 1, total_len, data_offset, data_buffer, dat… in avrcp_cover_art_client_parser_callback_get_operation() 183 if (data_offset + data_len == total_len){ in avrcp_cover_art_client_parser_callback_get_operation()
|
H A D | obex_srm_server.h | 88 uint16_t data_offset,
|
H A D | pbap_client.c | 393 …nect(void * user_data, uint8_t header_id, uint16_t total_len, uint16_t data_offset, const uint8_t … in pbap_client_parser_callback_connect() argument 397 …nt->obex_header_buffer, sizeof(client->obex_header_buffer), total_len, data_offset, data_buffer, d… in pbap_client_parser_callback_connect() 409 …size(void * user_data, uint8_t header_id, uint16_t total_len, uint16_t data_offset, const uint8_t … in pbap_client_parser_callback_get_phonebook_size() argument 411 UNUSED(data_offset); in pbap_client_parser_callback_get_phonebook_size() 422 …tion(void * user_data, uint8_t header_id, uint16_t total_len, uint16_t data_offset, const uint8_t … in pbap_client_parser_callback_get_operation() argument 426 …obex_parser_header_store(&client->obex_srm.srm_value, 1, total_len, data_offset, data_buffer, data… in pbap_client_parser_callback_get_operation() 429 …obex_parser_header_store(&client->obex_srm.srmp_value, 1, total_len, data_offset, data_buffer, dat… in pbap_client_parser_callback_get_operation() 436 if (data_offset + data_len == total_len){ in pbap_client_parser_callback_get_operation()
|
H A D | avrcp_target.c | 294 connection->data_offset += num_header_bytes_to_store; in avrcp_store_avctp_now_playing_info_fragment() 307 connection->data_offset += num_attr_value_bytes_to_store; in avrcp_store_avctp_now_playing_info_fragment() 463 …uint16_t bytes_to_copy = btstack_min(connection->data_len - connection->data_offset, max_payload_s… in avrcp_send_response_with_avctp_fragmentation() 465 (void)memcpy(packet + pos, &connection->data[connection->data_offset], bytes_to_copy); in avrcp_send_response_with_avctp_fragmentation() 467 connection->data_offset += bytes_to_copy; in avrcp_send_response_with_avctp_fragmentation() 496 connection->data_offset = 0; in avrcp_target_custom_command_data_init() 510 connection->data_offset = 0; in avrcp_target_vendor_dependent_response_data_init() 526 connection->data_offset = 0; in avrcp_target_pass_through_command_data_init()
|
H A D | avrcp_controller.c | 88 connection->data_offset = 0; in avrcp_controller_custom_command_data_init() 104 connection->data_offset = 0; in avrcp_controller_vendor_dependent_command_data_init() 120 connection->data_offset = 0; in avrcp_controller_pass_through_command_data_init() 594 connection->data_offset = 0; in avrcp_send_cmd_with_avctp_fragmentation() 635 …uint16_t bytes_to_copy = btstack_min(connection->data_len - connection->data_offset, max_payload_s… in avrcp_send_cmd_with_avctp_fragmentation() 637 (void)memcpy(packet + pos, &connection->data[connection->data_offset], bytes_to_copy); in avrcp_send_cmd_with_avctp_fragmentation() 639 connection->data_offset += bytes_to_copy; in avrcp_send_cmd_with_avctp_fragmentation() 1346 if (connection->data_offset < connection->data_len){ in avrcp_controller_handle_can_send_now()
|
H A D | avrcp.c | 405 if (connection->data_offset == 0){ in avctp_get_packet_type() 422 if ((connection->data_len - connection->data_offset) > *max_payload_size){ in avctp_get_packet_type() 441 uint16_t bytes_to_send = (connection->data_len - connection->data_offset) + payload_offset; in avrcp_get_packet_type() 443 if (connection->data_offset == 0){ in avrcp_get_packet_type()
|
H A D | avrcp.h | 695 uint16_t data_offset; member
|
/btstack/3rd-party/lc3-google/python/ |
H A D | lc3.py | 274 data_offset = 0 282 data = (c_byte * data_size).from_buffer(data_buffer, data_offset) 283 data_offset += data_size 383 data_offset = 0 391 data = (c_byte * data_size).from_buffer(data_buffer, data_offset) 392 data_offset += data_size
|
/btstack/test/obex/ |
H A D | obex_parser_test.cpp | 23 …back(void * user_data, uint8_t header_id, uint16_t total_len, uint16_t data_offset, const uint8_t … in parser_callback() argument 24 …eader_store(test_header_buffer, sizeof(test_header_buffer), total_len, data_offset, data_buffer, d… in parser_callback() 146 …_callback(void * user_data, uint8_t tag_id, uint8_t total_len, uint8_t data_offset, const uint8_t … in app_param_parser_callback() argument 147 …r_tag_store(test_header_buffer, sizeof(test_header_buffer), total_len, data_offset, data_buffer, d… in app_param_parser_callback()
|