Home
last modified time | relevance | path

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

/system/extras/memtrack/
Dmemtrack.cpp51 bool FileData::isAvail(size_t bytes_needed) { in isAvail() argument
52 if (cur_idx_ + bytes_needed < len_) { in isAvail()
68 while (cur_idx_ + bytes_needed >= len_) { in isAvail()
77 return cur_idx_ + bytes_needed < len_; in isAvail()
/system/bt/stack/a2dp/
Da2dp_sbc_encoder.cc594 uint16_t bytes_needed = blocm_x_subband * p_encoder_params->s16NumOfChannels * in a2dp_sbc_read_feeding() local
629 bytes_needed - a2dp_sbc_encoder_cb.feeding_state.aa_feed_residue; in a2dp_sbc_read_feeding()
728 if (a2dp_sbc_encoder_cb.feeding_state.aa_feed_residue < bytes_needed) in a2dp_sbc_read_feeding()
733 bytes_needed); in a2dp_sbc_read_feeding()
735 a2dp_sbc_encoder_cb.feeding_state.aa_feed_residue -= bytes_needed; in a2dp_sbc_read_feeding()
739 (uint8_t*)up_sampled_buffer + bytes_needed, in a2dp_sbc_read_feeding()