Lines Matching refs:bytes_needed
394 static uint32_t bytes_needed = 0; in hid_host_handle_sdp_hid_descriptor_list() local
423 bytes_needed = de_get_header_size(hid_host_sdp_attribute_value); in hid_host_handle_sdp_hid_descriptor_list()
431 if (bytes_received >= bytes_needed) { in hid_host_handle_sdp_hid_descriptor_list()
439 bytes_needed = de_get_header_size(hid_host_sdp_attribute_value); in hid_host_handle_sdp_hid_descriptor_list()
447 if (bytes_received >= bytes_needed) { in hid_host_handle_sdp_hid_descriptor_list()
454 bytes_needed = de_get_header_size(hid_host_sdp_attribute_value); in hid_host_handle_sdp_hid_descriptor_list()
458 if (bytes_needed > 1){ in hid_host_handle_sdp_hid_descriptor_list()
461 bytes_needed = de_get_len(hid_host_sdp_attribute_value); in hid_host_handle_sdp_hid_descriptor_list()
468 if (bytes_received >= bytes_needed) { in hid_host_handle_sdp_hid_descriptor_list()
469 bytes_needed = de_get_len(hid_host_sdp_attribute_value); in hid_host_handle_sdp_hid_descriptor_list()
476 if (bytes_received >= bytes_needed) { in hid_host_handle_sdp_hid_descriptor_list()
483 if (bytes_received >= bytes_needed) { in hid_host_handle_sdp_hid_descriptor_list()
485 bytes_needed = de_get_data_size(hid_host_sdp_attribute_value); in hid_host_handle_sdp_hid_descriptor_list()
493 if (bytes_received >= bytes_needed) { in hid_host_handle_sdp_hid_descriptor_list()