Searched refs:realloc (Results 76 - 100 of 606) sorted by relevance

1234567891011>>

/external/bison/lib/
H A Dgetdelim.c52 NULL), pointing to *N characters of space. It is realloc'ed as
74 new_lineptr = (char *) realloc (*lineptr, *n);
111 new_lineptr = (char *) realloc (*lineptr, needed);
H A Dxmalloc.c55 /* The GNU and C99 realloc behaviors disagree here. Act like
56 GNU, even if the underlying realloc is C99. */
61 p = realloc (p, n);
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Drealloc_unittest.cc33 // Test realloc() functionality
39 #include <stdlib.h> // for free, malloc, realloc
94 unsigned char* dst = (unsigned char*) realloc(src, dst_size);
102 // Now make sure realloc works correctly even when we overflow the
113 p[i] = (int*)realloc(p[i], 9000);
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
H A Drealloc_unittest.cc33 // Test realloc() functionality
39 #include <stdlib.h> // for free, malloc, realloc
94 unsigned char* dst = (unsigned char*) realloc(src, dst_size);
102 // Now make sure realloc works correctly even when we overflow the
113 p[i] = (int*)realloc(p[i], 9000);
/external/valgrind/main/memcheck/tests/
H A Dmalloc2.stderr.exp7 Invalid free() / delete / delete[] / realloc()
H A Dsuppfree.stderr.exp1 Invalid free() / delete / delete[] / realloc()
/external/tremolo/Tremolo/
H A Dmisc.c73 pointers=(void **)realloc(pointers,sizeof(void **)*palloced);
74 insertlist=(long *)realloc(insertlist,sizeof(long *)*palloced);
106 files=realloc(files,filecount*sizeof(*files));
107 file_bytes=realloc(file_bytes,filecount*sizeof(*file_bytes));
214 ptr=realloc(ptr,bytes);
/external/clang/test/Analysis/
H A Dunix-fns.c17 void *realloc(void *, size_t);
112 char *foo = realloc(ptr, 0); // expected-warning{{Call to 'realloc' has an allocation size of 0 bytes}}
124 char *foo = realloc(ptr, size); // no-warning
949 // CHECK-NEXT: <string>Call to &apos;realloc&apos; has an allocation size of 0 bytes</string>
951 // CHECK-NEXT: <string>Call to &apos;realloc&apos; has an allocation size of 0 bytes</string>
954 // CHECK-NEXT: <key>description</key><string>Call to &apos;realloc&apos; has an allocation size of 0 bytes</string>
H A Dmalloc.cpp6 void *realloc(void *ptr, size_t size);
/external/libvpx/libvpx/third_party/nestegg/halloc/src/
H A Dhalloc.c15 #include <stdlib.h> /* realloc */
90 /* realloc */
182 * of realloc(ptr, 0), which is defined in the standard
190 allocator = realloc;
195 if ((p = realloc(p, 0)))
197 /* realloc cannot be used as free() */
206 * free'ing realloc()
209 return realloc(ptr, n);
/external/chromium_org/third_party/libevent/
H A Dselect.c224 if ((readset_in = realloc(sop->event_readset_in, fdsz)) == NULL)
227 if ((readset_out = realloc(sop->event_readset_out, fdsz)) == NULL)
230 if ((writeset_in = realloc(sop->event_writeset_in, fdsz)) == NULL)
233 if ((writeset_out = realloc(sop->event_writeset_out, fdsz)) == NULL)
236 if ((r_by_fd = realloc(sop->event_r_by_fd,
240 if ((w_by_fd = realloc(sop->event_w_by_fd,
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dvalues.c47 values->pid = realloc(values->pid,
49 values->tid = realloc(values->tid,
51 values->value = realloc(values->value,
84 values->counterrawid = realloc(values->counterrawid,
86 values->countername = realloc(values->countername,
92 values->value[i] = realloc(values->value[i],
/external/chromium_org/base/allocator/
H A Dgeneric_allocators.cc105 return realloc(p, size);
161 return realloc(ptr, size);
/external/compiler-rt/lib/asan/
H A Dasan_malloc_win.cc78 void *realloc(void *ptr, size_t size) { function
96 return realloc(p, size);
108 // _expand is used in realloc-like functions to resize the buffer if possible.
/external/chromium_org/skia/ext/
H A DSkMemory_new_handler.cpp40 return throw_on_failure(size, realloc(addr, size));
/external/chromium_org/third_party/boringssl/src/include/openssl/
H A Dmem.h75 #define OPENSSL_realloc realloc
78 /* OPENSSL_realloc_clean acts like |realloc|, but clears the previous memory
/external/chromium_org/third_party/freetype/include/freetype/config/
H A Dftstdlib.h134 #define ft_srealloc realloc
/external/chromium_org/third_party/icu/source/tools/tzcode/
H A Dialloc.c42 return realloc((void *) pointer, (size_t) nonzero(size));
/external/chromium_org/third_party/libvpx/source/libvpx/
H A Divfdec.c89 uint8_t *new_buffer = realloc(*buffer, 2 * frame_size);
/external/chromium_org/third_party/sqlite/src/src/
H A Dmem1.c14 ** SQLite will use the standard C-library malloc/realloc/free interface
80 ** Like realloc(). Resize an allocation previously obtained from
94 p = realloc(p, nByte+8 );
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/
H A Doverride_functions.cc55 void* result = realloc(p, n * size);
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/
H A Doverride_functions.cc55 void* result = realloc(p, n * size);
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
H A Dxmalloc.c101 newmem = realloc(oldmem, size);
/external/e2fsprogs/lib/ss/
H A Drequest_tbl.c33 t = (ssrt **)realloc(info->rqt_tables, (unsigned)size*sizeof(ssrt *));
/external/flac/include/share/
H A Dalloc.h63 // realloc(ptr, n1 * n2)
69 return n == ns ? realloc(ptr, ns) : NULL;

Completed in 931 milliseconds

1234567891011>>