HomeSort by relevance Sort by last modified time
    Searched defs:new_buf (Results 1 - 25 of 43) sorted by null

1 2

  /external/ltp/utils/sctp/lib/
addrs.c 49 char *new_buf; local
70 new_buf = realloc(getaddrs, bufsize+4096);
71 if (!new_buf) {
76 getaddrs = (struct sctp_getaddrs*)new_buf;
  /external/mesa3d/src/gallium/drivers/r300/
r300_screen_buffer.c 101 struct pb_buffer *new_buf; local
104 new_buf = r300->rws->buffer_create(r300->rws, rbuf->b.b.width0,
107 if (new_buf) {
110 rbuf->buf = new_buf;
  /external/mesa3d/src/gallium/drivers/svga/
svga_tgsi.c 57 char *new_buf; local
61 new_buf = REALLOC(emit->buf, emit->size, newsize);
63 new_buf = NULL;
65 if (!new_buf) {
73 emit->ptr = new_buf + (emit->ptr - emit->buf);
74 emit->buf = new_buf;
  /external/boringssl/src/crypto/buf/
buf.c 108 char *new_buf = OPENSSL_realloc(buf->data, alloc_size); local
109 if (new_buf == NULL) {
114 buf->data = new_buf;
  /external/boringssl/src/ssl/
ssl_buffer.cc 62 uint8_t *new_buf = (uint8_t *)malloc(new_cap + SSL3_ALIGN_PAYLOAD - 1); local
63 if (new_buf == NULL) {
70 (0 - header_len - (uintptr_t)new_buf) & (SSL3_ALIGN_PAYLOAD - 1);
73 OPENSSL_memcpy(new_buf + new_offset, buf_ + offset_, size_);
77 buf_ = new_buf;
  /external/bsdiff/
bsdiff_main.cc 70 uint8_t* new_buf = static_cast<uint8_t*>(MapFile(new_filename, &newsize)); local
71 if (!new_buf) {
94 int ret = bsdiff::bsdiff(old_buf, oldsize, new_buf, newsize,
98 munmap(new_buf, newsize);
  /external/libmojo/mojo/public/cpp/bindings/tests/
union_unittest.cc 501 std::vector<char> new_buf; local
502 new_buf.resize(size);
505 memcpy(new_buf.data(), raw_buf, size);
510 new_buf.data());
    [all...]
  /external/libxcam/capi/
xcam_handle.cpp 263 XCamVideoBuffer *new_buf = convert_to_external_buffer (output); local
265 ERROR, new_buf, XCAM_RETURN_ERROR_MEM,
268 *buf_out = 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);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/
bytesio.c 64 char *new_buf = NULL; local
92 new_buf = (char *)PyMem_Realloc(self->buf, alloc * sizeof(char));
93 if (new_buf == NULL) {
98 self->buf = new_buf;
stringio.c 59 Py_UNICODE *new_buf = NULL; local
89 new_buf = (Py_UNICODE *)PyMem_Realloc(self->buf,
91 if (new_buf == NULL) {
96 self->buf = new_buf;
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/
bytesio.c 64 char *new_buf = NULL; local
92 new_buf = (char *)PyMem_Realloc(self->buf, alloc * sizeof(char));
93 if (new_buf == NULL) {
98 self->buf = new_buf;
stringio.c 59 Py_UNICODE *new_buf = NULL; local
89 new_buf = (Py_UNICODE *)PyMem_Realloc(self->buf,
91 if (new_buf == NULL) {
96 self->buf = new_buf;
  /external/adhd/cras/src/server/
cras_udev.c 223 uint8_t *new_buf = realloc(buf, buf_size); local
224 if (new_buf == NULL) {
229 buf = new_buf;
  /external/boringssl/src/crypto/
cpu-arm-linux.c 102 char *new_buf = OPENSSL_realloc(buf, new_cap); local
103 if (new_buf == NULL) {
106 buf = new_buf;
  /external/libxcam/xcore/
image_processor.cpp 328 SmartPtr<VideoBuffer> new_buf; local
334 ret = this->process_buffer (buf, new_buf);
341 if (new_buf.ptr ())
342 notify_process_buffer_done (new_buf);
v4l2_device.cpp 552 SmartPtr<V4l2Buffer> new_buf; local
553 ret = allocate_buffer (new_buf, _format, i);
557 _buf_pool.push_back (new_buf);
  /external/mesa3d/src/gallium/drivers/radeon/
r600_buffer_common.c 194 struct pb_buffer *old_buf, *new_buf; local
197 new_buf = rscreen->ws->buffer_create(rscreen->ws, res->bo_size,
200 if (!new_buf) {
209 res->buf = new_buf; /* should be atomic */
  /external/python/cpython2/Modules/_io/
bytesio.c 64 char *new_buf = NULL; local
92 new_buf = (char *)PyMem_Realloc(self->buf, alloc * sizeof(char));
93 if (new_buf == NULL) {
98 self->buf = new_buf;
stringio.c 59 Py_UNICODE *new_buf = NULL; local
89 new_buf = (Py_UNICODE *)PyMem_Realloc(self->buf,
91 if (new_buf == NULL) {
96 self->buf = new_buf;
  /external/python/cpython3/Modules/
_localemodule.c 266 wchar_t * new_buf = PyMem_Realloc(buf, (n2+1)*sizeof(wchar_t)); local
267 if (!new_buf) {
271 buf = new_buf;
  /external/webp/src/utils/
bit_writer_utils.c 27 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/mesa3d/src/amd/vulkan/winsys/amdgpu/
radv_amdgpu_cs.c 229 uint32_t *new_buf = realloc(cs->base.buf, ib_dws * 4); local
230 if (new_buf) {
231 cs->base.buf = new_buf;
  /external/pdfium/core/fpdfapi/parser/
fpdf_parser_decode.cpp 368 uint8_t* new_buf = nullptr; local
382 estimated_size, &new_buf, &new_size);
385 estimated_size, &new_buf, &new_size);
387 offset = A85Decode(last_buf, last_size, &new_buf, &new_size);
389 offset = HexDecode(last_buf, last_size, &new_buf, &new_size);
398 offset = RunLengthDecode(last_buf, last_size, &new_buf, &new_size);
414 FX_Free(new_buf);
417 last_buf = new_buf;
  /external/python/cpython3/Modules/_io/
bytesio.c 90 PyObject *new_buf; local
94 new_buf = PyBytes_FromStringAndSize(NULL, size);
95 if (new_buf == NULL)
97 memcpy(PyBytes_AS_STRING(new_buf), PyBytes_AS_STRING(self->buf),
99 Py_SETREF(self->buf, new_buf);
    [all...]

Completed in 661 milliseconds

1 2