Home
last modified time | relevance | path

Searched refs:bytes_to_consume (Results 1 – 2 of 2) sorted by relevance

/btstack/src/classic/
H A Dobex_parser.c95 uint16_t bytes_to_consume = 1; in obex_parser_process_data() local
111 bytes_to_consume = btstack_min(2 - obex_parser->item_pos, data_len); in obex_parser_process_data()
112 memcpy(&obex_parser->params[obex_parser->item_pos], data_buffer, bytes_to_consume); in obex_parser_process_data()
113 obex_parser->item_pos += bytes_to_consume; in obex_parser_process_data()
131bytes_to_consume = btstack_min(obex_parser->item_len - obex_parser->item_pos, data_len); in obex_parser_process_data()
132 memcpy(&obex_parser->params[obex_parser->item_pos], data_buffer, bytes_to_consume); in obex_parser_process_data()
133 obex_parser->item_pos += bytes_to_consume; in obex_parser_process_data()
184bytes_to_consume = btstack_min(obex_parser->item_len - obex_parser->item_pos, data_len); in obex_parser_process_data()
186 …ex_parser->header_id, obex_parser->item_len, obex_parser->item_pos, data_buffer, bytes_to_consume); in obex_parser_process_data()
188 obex_parser->item_pos += bytes_to_consume; in obex_parser_process_data()
[all …]
H A Dpbap_client.c213 uint16_t bytes_to_consume = 1; in pbap_client_phonebook_size_parser_process_data() local
236bytes_to_consume = btstack_min(phonebook_size_parser->len - phonebook_size_parser->pos, data_len); in pbap_client_phonebook_size_parser_process_data()
239 …py(&phonebook_size_parser->size_buffer[phonebook_size_parser->pos], data_buffer, bytes_to_consume); in pbap_client_phonebook_size_parser_process_data()
245 phonebook_size_parser->pos += bytes_to_consume; in pbap_client_phonebook_size_parser_process_data()
260 data_buffer += bytes_to_consume; in pbap_client_phonebook_size_parser_process_data()
261 data_len -= bytes_to_consume; in pbap_client_phonebook_size_parser_process_data()
271 uint16_t bytes_to_consume = 1; in obex_auth_parser_process_data() local
304 bytes_to_consume = btstack_min(auth_parser->len - auth_parser->pos, data_len); in obex_auth_parser_process_data()
307 … memcpy(&auth_parser->authentication_nonce[auth_parser->pos], data_buffer, bytes_to_consume); in obex_auth_parser_process_data()
316 auth_parser->pos += bytes_to_consume; in obex_auth_parser_process_data()
[all …]