Home
last modified time | relevance | path

Searched refs:new_buf (Results 1 – 4 of 4) sorted by relevance

/system/media/audio_utils/
Decho_reference.c209 void *new_buf = realloc(er->wr_buf, er->wr_buf_size * er->rd_frame_size); in echo_reference_write() local
210 if (new_buf == NULL) { in echo_reference_write()
214 er->wr_buf = new_buf; in echo_reference_write()
276 void *new_buf = realloc(er->buffer, er->buf_size * er->rd_frame_size); in echo_reference_write() local
277 if (new_buf == NULL) { in echo_reference_write()
281 er->buffer = new_buf; in echo_reference_write()
431 void *new_buf = realloc(er->buffer, er->buf_size * er->rd_frame_size); in echo_reference_read() local
432 if (new_buf == NULL) { in echo_reference_read()
436 er->buffer = new_buf; in echo_reference_read()
474 void *new_buf = realloc(er->buffer, er->buf_size * er->rd_frame_size); in echo_reference_read() local
[all …]
/system/logging/logwrapper/
Dlogwrap.cpp215 char* new_buf; in init_abbr_buf() local
218 new_buf = static_cast<char*>(malloc(BEGINNING_BUF_SIZE)); in init_abbr_buf()
219 if (new_buf) { in init_abbr_buf()
220 a_buf->b_buf.buf = new_buf; in init_abbr_buf()
224 new_buf = static_cast<char*>(malloc(ENDING_BUF_SIZE)); in init_abbr_buf()
225 if (new_buf) { in init_abbr_buf()
226 a_buf->e_buf.buf = new_buf; in init_abbr_buf()
/system/memory/lmkd/
Dlmkd.cpp615 static char *new_buf, *buf = NULL; in reread_file() local
646 if ((new_buf = static_cast<char*>(realloc(buf, buf_size * 2))) == nullptr) { in reread_file()
650 buf = new_buf; in reread_file()
/system/bt/bta/av/
Dbta_av_aact.cc2062 bool new_buf = false; in bta_av_data_path() local
2084 new_buf = true; in bta_av_data_path()
2157 if (new_buf) { in bta_av_data_path()