/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
D | svga_tgsi.c | 63 char *new_buf; in svga_shader_expand() local 67 new_buf = REALLOC(emit->buf, emit->size, newsize); in svga_shader_expand() 69 new_buf = NULL; in svga_shader_expand() 71 if (new_buf == NULL) { in svga_shader_expand() 79 emit->ptr = new_buf + (emit->ptr - emit->buf); in svga_shader_expand() 80 emit->buf = new_buf; in svga_shader_expand()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_tgsi.c | 63 char *new_buf; in svga_shader_expand() local 67 new_buf = REALLOC(emit->buf, emit->size, newsize); in svga_shader_expand() 69 new_buf = NULL; in svga_shader_expand() 71 if (new_buf == NULL) { in svga_shader_expand() 79 emit->ptr = new_buf + (emit->ptr - emit->buf); in svga_shader_expand() 80 emit->buf = new_buf; in svga_shader_expand()
|
/external/chromium_org/third_party/ots/include/ |
D | ots-memory-stream.h | 73 uint8_t* new_buf = new uint8_t[new_length]; in WriteRaw() local 74 std::memcpy(new_buf, ptr_, length_); in WriteRaw() 77 ptr_ = new_buf; in WriteRaw()
|
/external/webp/src/utils/ |
D | bit_writer.c | 28 uint8_t* new_buf; in BitWriterResize() local 41 new_buf = (uint8_t*)malloc(new_size); in BitWriterResize() 42 if (new_buf == NULL) { in BitWriterResize() 46 memcpy(new_buf, bw->buf_, bw->pos_); in BitWriterResize() 48 bw->buf_ = new_buf; in BitWriterResize()
|
/external/chromium_org/third_party/libwebp/utils/ |
D | bit_writer.c | 28 uint8_t* new_buf; in BitWriterResize() local 41 new_buf = (uint8_t*)malloc(new_size); in BitWriterResize() 42 if (new_buf == NULL) { in BitWriterResize() 46 memcpy(new_buf, bw->buf_, bw->pos_); in BitWriterResize() 48 bw->buf_ = new_buf; in BitWriterResize()
|
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
D | vector-inline.h | 201 T * const new_buf = reinterpret_cast<T *>( in realloc() local 203 MARISA_ALPHA_THROW_IF(new_buf == NULL, MARISA_ALPHA_MEMORY_ERROR); in realloc() 205 new (&new_buf[i]) T(buf_[i]); in realloc() 209 buf_ = new_buf; in realloc() 210 objs_ = new_buf; in realloc()
|
/external/marisa-trie/lib/marisa/ |
D | vector-inline.h | 201 T * const new_buf = reinterpret_cast<T *>( in realloc() local 203 MARISA_THROW_IF(new_buf == NULL, MARISA_MEMORY_ERROR); in realloc() 205 new (&new_buf[i]) T(buf_[i]); in realloc() 209 buf_ = new_buf; in realloc() 210 objs_ = new_buf; in realloc()
|
/external/libsepol/src/ |
D | services.c | 180 char *p, *new_buf = e_buf; in cat_expr_buf() local 187 new_buf = realloc(e_buf, new_buf_len); in cat_expr_buf() 188 if (!new_buf) { in cat_expr_buf() 193 expr_list[expr_counter] = new_buf; in cat_expr_buf() 194 e_buf = new_buf; in cat_expr_buf() 757 char *p, **new_buf = r_buf; in constraint_expr_eval_reason() local 781 *new_buf = realloc(*r_buf, new_buf_len); in constraint_expr_eval_reason() 782 if (!new_buf) { in constraint_expr_eval_reason() 786 **r_buf = **new_buf; in constraint_expr_eval_reason()
|
/external/chromium_org/third_party/libwebp/dec/ |
D | idec.c | 174 uint8_t* const new_buf = in AppendToMemBuffer() local 175 (uint8_t*)WebPSafeMalloc(extra_size, sizeof(*new_buf)); in AppendToMemBuffer() 176 if (new_buf == NULL) return 0; in AppendToMemBuffer() 177 memcpy(new_buf, old_base, current_size); in AppendToMemBuffer() 179 mem->buf_ = new_buf; in AppendToMemBuffer()
|
/external/webp/src/dec/ |
D | idec.c | 174 uint8_t* const new_buf = in AppendToMemBuffer() local 175 (uint8_t*)WebPSafeMalloc(extra_size, sizeof(*new_buf)); in AppendToMemBuffer() 176 if (new_buf == NULL) return 0; in AppendToMemBuffer() 177 memcpy(new_buf, old_base, current_size); in AppendToMemBuffer() 179 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/chromium_org/url/ |
D | url_canon.h | 158 T* new_buf = new T[sz]; in Resize() local 159 memcpy(new_buf, this->buffer_, in Resize() 163 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/libvpx/ |
D | vpxdec.c | 260 uint8_t *new_buf = realloc(*buf, 2 * new_buf_sz); in read_frame() local 262 if (new_buf) { in read_frame() 263 *buf = new_buf; in read_frame()
|
/external/bluetooth/bluedroid/bta/av/ |
D | bta_av_aact.c | 1997 BOOLEAN new_buf = FALSE; in bta_av_data_path() local 2017 new_buf = TRUE; in bta_av_data_path() 2056 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()
|
/external/chromium_org/third_party/libxml/src/ |
D | parser.c | 4510 xmlChar *new_buf; in xmlParseCommentComplex() local 4512 new_buf = (xmlChar *) xmlRealloc(buf, size * sizeof(xmlChar)); in xmlParseCommentComplex() 4513 if (new_buf == NULL) { in xmlParseCommentComplex() 4518 buf = new_buf; in xmlParseCommentComplex() 4650 xmlChar *new_buf; in xmlParseComment() local 4652 new_buf = (xmlChar *) xmlRealloc(buf, in xmlParseComment() 4654 if (new_buf == NULL) { in xmlParseComment() 4660 buf = new_buf; in xmlParseComment()
|