/sdk/emulator/opengl/host/libs/libOpenglRender/ |
ReadBuffer.cpp | 46 unsigned char* new_buf; local 51 new_buf = (unsigned char*)realloc(m_buf, new_size); 52 if (!new_buf) { 57 m_buf = new_buf;
|
/external/chromium_org/third_party/ots/include/ |
ots-memory-stream.h | 73 uint8_t* new_buf = new uint8_t[new_length]; local 74 std::memcpy(new_buf, ptr_, length_); 77 ptr_ = new_buf;
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
ucode_download.c | 64 unsigned char *new_buf; local 84 new_buf = (unsigned char *)malloc(size2alloc); 85 memset(new_buf, 0, size2alloc); 86 ucode_ptr = (struct wl_ucode_info *)((uint8 *)new_buf+ucode_offset); 94 memset(new_buf+ucode_offset+chunk_offset, 0, size2alloc-ucode_offset-chunk_offset); 99 err = dload_generic_data(wl, DL_TYPE_UCODE, new_buf, size2alloc); 107 free(new_buf);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
svga_tgsi.c | 63 char *new_buf; local 67 new_buf = REALLOC(emit->buf, emit->size, newsize); 69 new_buf = NULL; 71 if (new_buf == NULL) { 79 emit->ptr = new_buf + (emit->ptr - emit->buf); 80 emit->buf = new_buf;
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_tgsi.c | 63 char *new_buf; local 67 new_buf = REALLOC(emit->buf, emit->size, newsize); 69 new_buf = NULL; 71 if (new_buf == NULL) { 79 emit->ptr = new_buf + (emit->ptr - emit->buf); 80 emit->buf = new_buf;
|
/system/core/logwrapper/ |
logwrap.c | 108 char *new_buf; local 127 char *new_buf; local 221 char *new_buf; local 224 new_buf = malloc(BEGINNING_BUF_SIZE); 225 if (new_buf) { 226 a_buf->b_buf.buf = new_buf; 230 new_buf = malloc(ENDING_BUF_SIZE); 231 if (new_buf) { 232 a_buf->e_buf.buf = new_buf;
|
/external/chromium_org/third_party/libwebp/utils/ |
bit_writer.c | 28 uint8_t* new_buf; local 41 new_buf = (uint8_t*)malloc(new_size); 42 if (new_buf == NULL) { 46 memcpy(new_buf, bw->buf_, bw->pos_); 48 bw->buf_ = new_buf;
|
/external/marisa-trie/lib/marisa/ |
vector-inline.h | 201 T * const new_buf = reinterpret_cast<T *>( local 203 MARISA_THROW_IF(new_buf == NULL, MARISA_MEMORY_ERROR); 205 new (&new_buf[i]) T(buf_[i]); 209 buf_ = new_buf; 210 objs_ = new_buf;
|
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
vector-inline.h | 201 T * const new_buf = reinterpret_cast<T *>( local 203 MARISA_ALPHA_THROW_IF(new_buf == NULL, MARISA_ALPHA_MEMORY_ERROR); 205 new (&new_buf[i]) T(buf_[i]); 209 buf_ = new_buf; 210 objs_ = new_buf;
|
/external/webp/src/utils/ |
bit_writer.c | 28 uint8_t* new_buf; local 41 new_buf = (uint8_t*)malloc(new_size); 42 if (new_buf == NULL) { 46 memcpy(new_buf, bw->buf_, bw->pos_); 48 bw->buf_ = new_buf;
|
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_channel.c | 1689 mm_channel_queue_node_t *new_buf = NULL; local [all...] |
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/ |
mm_camera_channel.c | 1331 mm_channel_queue_node_t *new_buf = NULL; local [all...] |
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_channel.c | 1691 mm_channel_queue_node_t *new_buf = NULL; local [all...] |
/external/libsepol/src/ |
services.c | 180 char *p, *new_buf = e_buf; local 187 new_buf = realloc(e_buf, new_buf_len); 188 if (!new_buf) { 193 expr_list[expr_counter] = new_buf; 194 e_buf = new_buf; 757 char *p, **new_buf = r_buf; local 781 *new_buf = realloc(*r_buf, new_buf_len); 782 if (!new_buf) { 786 **r_buf = **new_buf; [all...] |
/external/chromium_org/third_party/libwebp/dec/ |
idec.c | 174 uint8_t* const new_buf = local 175 (uint8_t*)WebPSafeMalloc(extra_size, sizeof(*new_buf)); 176 if (new_buf == NULL) return 0; 177 memcpy(new_buf, old_base, current_size); 179 mem->buf_ = new_buf;
|
/external/webp/src/dec/ |
idec.c | 174 uint8_t* const new_buf = local 175 (uint8_t*)WebPSafeMalloc(extra_size, sizeof(*new_buf)); 176 if (new_buf == NULL) return 0; 177 memcpy(new_buf, old_base, current_size); 179 mem->buf_ = new_buf;
|
/external/chromium/googleurl/src/ |
url_canon.h | 182 T* new_buf = new T[sz]; local 183 memcpy(new_buf, this->buffer_, 187 this->buffer_ = new_buf; [all...] |
/external/chromium_org/url/ |
url_canon.h | 158 T* new_buf = new T[sz]; local 159 memcpy(new_buf, this->buffer_, 163 this->buffer_ = new_buf; [all...] |
/external/libvpx/libvpx/ |
vpxdec.c | 260 uint8_t *new_buf = realloc(*buf, 2 * new_buf_sz); local 262 if (new_buf) { 263 *buf = new_buf; [all...] |
/external/qemu/android/camera/ |
camera-service.c | 144 char* new_buf = (char*)realloc(*str_buf, required_mem); local 145 if (new_buf == NULL) { 150 *str_buf = new_buf; [all...] |
/external/bluetooth/bluedroid/bta/av/ |
bta_av_aact.c | 1997 BOOLEAN new_buf = FALSE; local [all...] |
/external/chromium_org/third_party/libxml/src/ |
parser.c | 4510 xmlChar *new_buf; local 4650 xmlChar *new_buf; local [all...] |
/external/libxml2/ |
parser.c | 4590 xmlChar *new_buf; local 4726 xmlChar *new_buf; local [all...] |