Home
last modified time | relevance | path

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

/system/extras/memtrack/
Dmemtrack.cpp55 bool FileData::isAvail(size_t bytes_needed) { in isAvail() argument
56 if (cur_idx_ + bytes_needed < len_) { in isAvail()
72 while (cur_idx_ + bytes_needed >= len_) { in isAvail()
81 return cur_idx_ + bytes_needed < len_; in isAvail()
/system/bt/btif/src/
Dbtif_media_task.c2920 UINT16 bytes_needed = blocm_x_subband * btif_media_cb.encoder.s16NumOfChannels * \ in btif_media_aa_read_feeding() local
2951 read_size = bytes_needed - btif_media_cb.media_feeding_state.pcm.aa_feed_residue; in btif_media_aa_read_feeding()
3056 if(btif_media_cb.media_feeding_state.pcm.aa_feed_residue >= bytes_needed) in btif_media_aa_read_feeding()
3061 bytes_needed); in btif_media_aa_read_feeding()
3063 btif_media_cb.media_feeding_state.pcm.aa_feed_residue -= bytes_needed; in btif_media_aa_read_feeding()
3068 (UINT8 *)up_sampled_buffer + bytes_needed, in btif_media_aa_read_feeding()