Home
last modified time | relevance | path

Searched refs:newbuffer (Results 1 – 11 of 11) sorted by relevance

/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Djdatadst-tj.c42 unsigned char *newbuffer; /* newly allocated buffer */ member
104 if (dest->newbuffer != NULL) in empty_mem_output_buffer()
105 free(dest->newbuffer); in empty_mem_output_buffer()
107 dest->newbuffer = nextbuffer; in empty_mem_output_buffer()
167 dest->newbuffer = NULL; in jpeg_mem_dest_tj()
189 dest->newbuffer = *outbuffer = (unsigned char *)malloc(OUTPUT_BUF_SIZE); in jpeg_mem_dest_tj()
190 if (dest->newbuffer == NULL) in jpeg_mem_dest_tj()
Djdatadst.c54 unsigned char *newbuffer; /* newly allocated buffer */ member
146 if (dest->newbuffer != NULL) in empty_mem_output_buffer()
147 free(dest->newbuffer); in empty_mem_output_buffer()
149 dest->newbuffer = nextbuffer; in empty_mem_output_buffer()
280 dest->newbuffer = NULL; in jpeg_mem_dest()
284 dest->newbuffer = *outbuffer = (unsigned char *)malloc(OUTPUT_BUF_SIZE); in jpeg_mem_dest()
285 if (dest->newbuffer == NULL) in jpeg_mem_dest()
/third_party/libjpeg-turbo/
Djdatadst-tj.c44 unsigned char *newbuffer; /* newly allocated buffer */ member
106 free(dest->newbuffer); in empty_mem_output_buffer()
108 dest->newbuffer = nextbuffer; in empty_mem_output_buffer()
168 dest->newbuffer = NULL; in jpeg_mem_dest_tj()
190 dest->newbuffer = *outbuffer = (unsigned char *)malloc(OUTPUT_BUF_SIZE); in jpeg_mem_dest_tj()
191 if (dest->newbuffer == NULL) in jpeg_mem_dest_tj()
Djdatadst.c54 unsigned char *newbuffer; /* newly allocated buffer */ member
146 free(dest->newbuffer); in empty_mem_output_buffer()
148 dest->newbuffer = nextbuffer; in empty_mem_output_buffer()
279 dest->newbuffer = NULL; in jpeg_mem_dest()
283 dest->newbuffer = *outbuffer = (unsigned char *)malloc(OUTPUT_BUF_SIZE); in jpeg_mem_dest()
284 if (dest->newbuffer == NULL) in jpeg_mem_dest()
/third_party/skia/third_party/externals/libjpeg-turbo/
Djdatadst-tj.c44 unsigned char *newbuffer; /* newly allocated buffer */ member
106 free(dest->newbuffer); in empty_mem_output_buffer()
108 dest->newbuffer = nextbuffer; in empty_mem_output_buffer()
168 dest->newbuffer = NULL; in jpeg_mem_dest_tj()
190 dest->newbuffer = *outbuffer = (unsigned char *)malloc(OUTPUT_BUF_SIZE); in jpeg_mem_dest_tj()
191 if (dest->newbuffer == NULL) in jpeg_mem_dest_tj()
Djdatadst.c54 unsigned char *newbuffer; /* newly allocated buffer */ member
146 free(dest->newbuffer); in empty_mem_output_buffer()
148 dest->newbuffer = nextbuffer; in empty_mem_output_buffer()
279 dest->newbuffer = NULL; in jpeg_mem_dest()
283 dest->newbuffer = *outbuffer = (unsigned char *)malloc(OUTPUT_BUF_SIZE); in jpeg_mem_dest()
284 if (dest->newbuffer == NULL) in jpeg_mem_dest()
/third_party/icu/icu4c/source/test/intltest/
Dtextfile.cpp170 char* newbuffer = (char*) uprv_malloc(mincapacity); in ensureCapacity() local
171 if (newbuffer == 0) { in ensureCapacity()
175 uprv_strncpy(newbuffer, buffer, capacity); in ensureCapacity()
178 buffer = newbuffer; in ensureCapacity()
/third_party/gstreamer/gstplugins_base/gst/gio/
Dgstgiobasesrc.c328 GstBuffer *newbuffer; in gst_gio_base_src_create() local
333 newbuffer = gst_buffer_new (); in gst_gio_base_src_create()
342 gst_buffer_copy_into (newbuffer, src->cache, GST_BUFFER_COPY_MEMORY, in gst_gio_base_src_create()
350 src->cache = newbuffer; in gst_gio_base_src_create()
/third_party/cJSON/
DcJSON.c441 unsigned char *newbuffer = NULL; in ensure() local
492 newbuffer = (unsigned char*)p->hooks.reallocate(p->buffer, newsize); in ensure()
493 if (newbuffer == NULL) in ensure()
505 newbuffer = (unsigned char*)p->hooks.allocate(newsize); in ensure()
506 if (!newbuffer) in ensure()
515 memcpy(newbuffer, p->buffer, p->offset + 1); in ensure()
519 p->buffer = newbuffer; in ensure()
521 return newbuffer + p->offset; in ensure()
/third_party/python/Objects/
Dunicodeobject.c14106 PyObject *newbuffer; in _PyUnicodeWriter_PrepareInternal() local
14148 newbuffer = PyUnicode_New(newlen, maxchar); in _PyUnicodeWriter_PrepareInternal()
14149 if (newbuffer == NULL) in _PyUnicodeWriter_PrepareInternal()
14151 _PyUnicode_FastCopyCharacters(newbuffer, 0, in _PyUnicodeWriter_PrepareInternal()
14157 newbuffer = resize_compact(writer->buffer, newlen); in _PyUnicodeWriter_PrepareInternal()
14158 if (newbuffer == NULL) in _PyUnicodeWriter_PrepareInternal()
14161 writer->buffer = newbuffer; in _PyUnicodeWriter_PrepareInternal()
14165 newbuffer = PyUnicode_New(writer->size, maxchar); in _PyUnicodeWriter_PrepareInternal()
14166 if (newbuffer == NULL) in _PyUnicodeWriter_PrepareInternal()
14168 _PyUnicode_FastCopyCharacters(newbuffer, 0, in _PyUnicodeWriter_PrepareInternal()
[all …]
/third_party/gstreamer/gstreamer/
DChangeLog107773 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer, GST_BUFFER_FLAG_IN_CAPS),