Searched refs:new_buf (Results 1 - 18 of 18) sorted by relevance

/external/chromium_org/third_party/boringssl/src/crypto/buf/
H A Dbuf.c90 char *new_buf; local
118 new_buf = OPENSSL_malloc(alloc_size);
121 new_buf = OPENSSL_realloc_clean(buf->data, buf->max, alloc_size);
123 new_buf = OPENSSL_realloc(buf->data, alloc_size);
127 if (new_buf == NULL) {
131 buf->data = new_buf;
/external/chromium_org/third_party/ots/include/
H A Dots-memory-stream.h73 uint8_t* new_buf = new uint8_t[new_length]; local
74 std::memcpy(new_buf, ptr_, length_);
77 ptr_ = new_buf;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
H A Dsvga_tgsi.c63 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/
H A Dsvga_tgsi.c63 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/chromium_org/third_party/libwebp/utils/
H A Dbit_writer.c27 uint8_t* new_buf; local
40 new_buf = (uint8_t*)WebPSafeMalloc(1ULL, new_size);
41 if (new_buf == NULL) {
47 memcpy(new_buf, bw->buf_, bw->pos_);
50 bw->buf_ = new_buf;
/external/webp/src/utils/
H A Dbit_writer.c27 uint8_t* new_buf; local
40 new_buf = (uint8_t*)WebPSafeMalloc(1ULL, new_size);
41 if (new_buf == NULL) {
47 memcpy(new_buf, bw->buf_, bw->pos_);
50 bw->buf_ = new_buf;
/external/pdfium/core/src/fpdfapi/fpdf_parser/
H A Dfpdf_parser_decode.cpp314 FX_LPBYTE new_buf = NULL; local
325 offset = FPDFAPI_FlateOrLZWDecode(FALSE, last_buf, last_size, pParam, estimated_size, new_buf, new_size);
328 offset = FPDFAPI_FlateOrLZWDecode(TRUE, last_buf, last_size, pParam, estimated_size, new_buf, new_size);
330 offset = _A85Decode(last_buf, last_size, new_buf, new_size);
332 offset = _HexDecode(last_buf, last_size, new_buf, new_size);
341 offset = RunLengthDecode(last_buf, last_size, new_buf, new_size);
362 last_buf = new_buf;
/external/chromium_org/third_party/boringssl/src/crypto/err/
H A Derr.c528 char *new_buf; local
537 new_buf = OPENSSL_realloc(buf, alloced + 1);
538 if (new_buf == NULL) {
542 buf = new_buf;
/external/libsepol/src/
H A Dservices.c180 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;
/external/chromium_org/third_party/libwebp/dec/
H A Didec.c180 uint8_t* const new_buf = local
181 (uint8_t*)WebPSafeMalloc(extra_size, sizeof(*new_buf));
182 if (new_buf == NULL) return 0;
183 memcpy(new_buf, old_base, current_size);
185 mem->buf_ = new_buf;
/external/webp/src/dec/
H A Didec.c180 uint8_t* const new_buf = local
181 (uint8_t*)WebPSafeMalloc(extra_size, sizeof(*new_buf));
182 if (new_buf == NULL) return 0;
183 memcpy(new_buf, old_base, current_size);
185 mem->buf_ = new_buf;
/external/chromium_org/url/
H A Durl_canon.h158 T* new_buf = new T[sz]; local
159 memcpy(new_buf, this->buffer_,
163 this->buffer_ = new_buf;
/external/libvpx/libvpx/
H A Dvpxdec.c196 uint8_t *new_buf = realloc(*buffer, 2 * frame_size); local
197 if (new_buf) {
198 *buffer = new_buf;
/external/qemu/android/camera/
H A Dcamera-service.c144 char* new_buf = (char*)realloc(*str_buf, required_mem); local
145 if (new_buf == NULL) {
150 *str_buf = new_buf;
/external/chromium_org/third_party/libvpx/source/libvpx/
H A Dvpxdec.c233 uint8_t *new_buf = realloc(*buffer, 2 * frame_size); local
234 if (new_buf) {
235 *buffer = new_buf;
/external/bluetooth/bluedroid/bta/av/
H A Dbta_av_aact.c2196 BOOLEAN new_buf = FALSE; local
2217 new_buf = TRUE;
2256 if(new_buf)
/external/chromium_org/third_party/libxml/src/
H A Dparser.c4510 xmlChar *new_buf; local
4512 new_buf = (xmlChar *) xmlRealloc(buf, size * sizeof(xmlChar));
4513 if (new_buf == NULL) {
4518 buf = new_buf;
4650 xmlChar *new_buf; local
4652 new_buf = (xmlChar *) xmlRealloc(buf,
4654 if (new_buf == NULL) {
4660 buf = new_buf;
/external/libxml2/
H A Dparser.c4804 xmlChar *new_buf; local
4808 new_buf = (xmlChar *) xmlRealloc(buf, new_size);
4809 if (new_buf == NULL) {
4814 buf = new_buf;
4948 xmlChar *new_buf; local
4950 new_buf = (xmlChar *) xmlRealloc(buf,
4952 if (new_buf == NULL) {
4958 buf = new_buf;

Completed in 681 milliseconds