Searched refs:new_buf (Results 1 – 7 of 7) sorted by relevance
/external/webp/src/utils/ |
D | bit_writer.c | 26 uint8_t* new_buf; in BitWriterResize() local 39 new_buf = (uint8_t*)malloc(new_size); in BitWriterResize() 40 if (new_buf == NULL) { in BitWriterResize() 44 memcpy(new_buf, bw->buf_, bw->pos_); in BitWriterResize() 46 bw->buf_ = new_buf; in BitWriterResize()
|
/external/webp/src/dec/ |
D | idec.c | 149 uint8_t* const new_buf = in AppendToMemBuffer() local 150 (uint8_t*)WebPSafeMalloc(extra_size, sizeof(*new_buf)); in AppendToMemBuffer() 151 if (new_buf == NULL) return 0; in AppendToMemBuffer() 152 memcpy(new_buf, old_base, current_size); in AppendToMemBuffer() 154 mem->buf_ = new_buf; in AppendToMemBuffer()
|
/external/chromium/googleurl/src/ |
D | url_canon.h | 182 T* new_buf = new T[sz]; in Resize() local 183 memcpy(new_buf, this->buffer_, in Resize() 187 this->buffer_ = new_buf; in Resize()
|
/external/qemu/android/camera/ |
D | camera-service.c | 144 char* new_buf = (char*)realloc(*str_buf, required_mem); in _append_string() local 145 if (new_buf == NULL) { in _append_string() 150 *str_buf = new_buf; in _append_string()
|
/external/libvpx/ |
D | vpxdec.c | 285 uint8_t *new_buf = realloc(*buf, 2 * new_buf_sz); in read_frame() local 287 if (new_buf) in read_frame() 289 *buf = new_buf; in read_frame()
|
/external/bluetooth/bluedroid/bta/av/ |
D | bta_av_aact.c | 1917 BOOLEAN new_buf = FALSE; in bta_av_data_path() local 1936 new_buf = TRUE; in bta_av_data_path() 1967 if(new_buf) in bta_av_data_path()
|
/external/libxml2/ |
D | parser.c | 4590 xmlChar *new_buf; in xmlParseCommentComplex() local 4592 new_buf = (xmlChar *) xmlRealloc(buf, size * sizeof(xmlChar)); in xmlParseCommentComplex() 4593 if (new_buf == NULL) { in xmlParseCommentComplex() 4598 buf = new_buf; in xmlParseCommentComplex() 4726 xmlChar *new_buf; in xmlParseComment() local 4728 new_buf = (xmlChar *) xmlRealloc(buf, in xmlParseComment() 4730 if (new_buf == NULL) { in xmlParseComment() 4736 buf = new_buf; in xmlParseComment()
|