Home
last modified time | relevance | path

Searched refs:realloc (Results 1 – 25 of 789) sorted by relevance

12345678910>>...32

/third_party/flutter/skia/tests/
DTemplatesTest.cpp20 array.realloc(1); in test_automalloc_realloc()
26 array.realloc(2); in test_automalloc_realloc()
30 array.realloc(1); in test_automalloc_realloc()
34 array.realloc(0); in test_automalloc_realloc()
37 array.realloc(10); in test_automalloc_realloc()
41 array.realloc(20); in test_automalloc_realloc()
45 array.realloc(10); in test_automalloc_realloc()
50 array.realloc(1); in test_automalloc_realloc()
55 array.realloc(1); in test_automalloc_realloc()
63 array.realloc(3); in test_automalloc_realloc()
[all …]
/third_party/skia/tests/
DTemplatesTest.cpp20 array.realloc(1); in test_automalloc_realloc()
26 array.realloc(2); in test_automalloc_realloc()
30 array.realloc(1); in test_automalloc_realloc()
34 array.realloc(0); in test_automalloc_realloc()
37 array.realloc(10); in test_automalloc_realloc()
41 array.realloc(20); in test_automalloc_realloc()
45 array.realloc(10); in test_automalloc_realloc()
50 array.realloc(1); in test_automalloc_realloc()
55 array.realloc(1); in test_automalloc_realloc()
63 array.realloc(3); in test_automalloc_realloc()
[all …]
/third_party/musl/ndk-test/sanitize/scudo/src/
Drealloc.cpp49 p = realloc(p, size); in main()
59 old_p = p = realloc(nullptr, size); in main()
65 p = realloc(p, size - 1); in main()
67 p = realloc(p, size); in main()
70 p = realloc(p, size + 1); in main()
73 p = realloc(p, 0); in main()
78 p = realloc(nullptr, size); in main()
82 p = realloc(p, size + 1); in main()
/third_party/musl/libc-test/src/functionalext/supplement/malloc/
Drealloc.c33 void *ret = realloc(NULL, RELLOCTLEN); in realloc_0100()
44 void *ret = realloc(NULL, 0); in realloc_0200()
55 void *ret = realloc(NULL, INVALIDLEN); in realloc_0300()
67 void *ret = realloc(cptr, RELLOCTLEN + RELLOCTLEN); in realloc_0400()
79 void *ret = realloc(cptr, RELLOCTLEN); in realloc_0500()
91 void *ret = realloc(cptr, RELLOCTLEN / 2); in realloc_0600()
/third_party/unity/extras/memory/test/
Dunity_memory_Test.c69 void* m2 = realloc(m1, 5); in test_ReallocSmallerIsUnchanged()
78 void* m2 = realloc(m1, 10); in test_ReallocSameIsUnchanged()
90 m2 = realloc(m1, 15); in test_ReallocLargerNeeded()
97 void* m = realloc(0, 15); in test_ReallocNullPointerIsLikeMalloc()
105 void* m2 = realloc(m1, 0); in test_ReallocSizeZeroFreesMemAndReturnsNullPointer()
209 m = realloc(m, 100); in test_BufferOverrunFoundDuringRealloc()
248 m = realloc(m, 100); in test_BufferGuardWriteFoundDuringRealloc()
296 void* n = realloc(m, UNITY_INTERNAL_HEAP_SIZE_BYTES/2 + 9); in test_MallocThenReallocGrowsMemoryInPlace()
311 void* out_of_mem = realloc(n1, UNITY_INTERNAL_HEAP_SIZE_BYTES/2 + 1); in test_ReallocFailDoesNotFreeMem()
/third_party/cJSON/tests/unity/extras/fixture/test/
Dunity_fixture_Test.c62 void* m2 = realloc(m1, 5); in TEST()
70 void* m2 = realloc(m1, 10); in TEST()
81 m2 = realloc(m1, 15); in TEST()
89 void* m = realloc(0, 15); in TEST()
97 void* m2 = realloc(m1, 0); in TEST()
415 m = realloc(m, 100); in TEST()
454 m = realloc(m, 100); in TEST()
518 void* n = realloc(m, UNITY_INTERNAL_HEAP_SIZE_BYTES/2 + 9); in TEST()
531 void* out_of_mem = realloc(n1, UNITY_INTERNAL_HEAP_SIZE_BYTES/2 + 1); in TEST()
/third_party/mbedtls/tests/suites/
Dtest_suite_memory_buffer_alloc.data7 Memory buffer alloc - free in middle, realloc
10 Memory buffer alloc - free in middle, merge, realloc
13 Memory buffer alloc - free at end, merge, realloc
/third_party/skia/modules/skplaintexteditor/include/
Dstringslice.h35 void reserve(std::size_t size) { if (size > fCapacity) { this->realloc(size); } } in reserve()
36 void shrink() { this->realloc(fLength); } in shrink()
43 void realloc(std::size_t);
/third_party/flutter/skia/experimental/editor/
Dstringslice.h35 void reserve(std::size_t size) { if (size > fCapacity) { this->realloc(size); } } in reserve()
36 void shrink() { this->realloc(fLength); } in shrink()
43 void realloc(std::size_t);
/third_party/curl/tests/data/
Dtest55842 MEM dynbuf.c: realloc()
43 MEM dynbuf.c: realloc()
54 s/^MEM getenv.c: realloc\(\)[\n]$//
/third_party/glib/gio/xdgmime/
Dxdgmimeparent.c138 list->parents = realloc (list->parents, alloc * sizeof (XdgMimeParents)); in _xdg_mime_parent_read_from_file()
165 list->parents = realloc (list->parents, in _xdg_mime_parent_read_from_file()
182 entry->parents = realloc (entry->parents, in _xdg_mime_parent_read_from_file()
189 list->parents = realloc (list->parents, in _xdg_mime_parent_read_from_file()
Dxdgmimeicon.c130 list->icons = realloc (list->icons, alloc * sizeof (XdgIcon)); in _xdg_mime_icon_read_from_file()
145 list->icons = realloc (list->icons, in _xdg_mime_icon_read_from_file()
152 list->icons = realloc (list->icons, in _xdg_mime_icon_read_from_file()
Dxdgmimealias.c131 list->aliases = realloc (list->aliases, alloc * sizeof (XdgAlias)); in _xdg_mime_alias_read_from_file()
146 list->aliases = realloc (list->aliases, in _xdg_mime_alias_read_from_file()
153 list->aliases = realloc (list->aliases, in _xdg_mime_alias_read_from_file()
/third_party/glib/glib/
Dgmem.c52 realloc,
56 realloc,
171 newmem = realloc (mem, n_bytes); in g_realloc()
308 newmem = realloc (mem, n_bytes); in g_try_realloc()
/third_party/node/deps/cares/src/lib/
Dares_library_init.c52 static void *default_realloc(void *p, size_t size) { return realloc(p, size); } in default_realloc()
55 # define default_realloc realloc
188 ares_realloc = realloc; in ares_library_cleanup()
/third_party/musl/porting/linux/user/src/hook/
Dmalloc_common.c64 void* realloc(void *p, size_t n) in realloc() function
68 return dispatch_table->realloc(p, n); in realloc()
70 return MuslMalloc(realloc)(p, n); in realloc()
Dmusl_preinit_common.c16 .realloc = MuslMalloc(realloc),
/third_party/glib/glib/gnulib/
Dg-gnulib.h31 #undef realloc
34 #define realloc g_realloc macro
/third_party/gstreamer/gstreamer/gst/printf/
Dgst-printf.h33 #undef realloc
36 #define realloc g_realloc macro
/third_party/boost/libs/beast/tools/
Dvalgrind.supp21 Ignore OpenSSL realloc
23 fun:realloc
/third_party/glib/
Dglib.supp32 gnutls-init-realloc
35 fun:realloc
97 gobject-init-realloc
100 fun:realloc
133 g-type-register-static-realloc
136 fun:realloc
187 g-type-add-interface-static-realloc
190 fun:realloc
287 fun:realloc
304 g-type-add-interface-check-realloc
[all …]
/third_party/mesa3d/src/intel/compiler/
Dbrw_ir_allocator.h53 sizes = (unsigned *)realloc(sizes, capacity * sizeof(unsigned)); in allocate()
54 offsets = (unsigned *)realloc(offsets, capacity * sizeof(unsigned)); in allocate()
/third_party/iowow/src/utils/
Diwarr.c280 void *nptr = realloc(list->array, anum * list->usize); in iwulist_push()
303 void *nptr = realloc(list->array, anum * list->usize); in iwulist_pop()
326 void *nptr = realloc(list->array, anum * list->usize); in iwulist_shift()
345 void *nptr = realloc(list->array, anum * list->usize); in iwulist_insert()
383 void *nptr = realloc(list->array, anum * list->usize); in iwulist_remove()
397 void *nptr = realloc(list->array, anum * list->usize); in iwulist_unshift()
523 void *nptr = realloc(list->array, anum * sizeof(list->array[0])); in iwlist_push()
560 void *nptr = realloc(list->array, anum * sizeof(list->array[0])); in iwlist_unshift()
605 void *nptr = realloc(list->array, anum * sizeof(list->array[0])); in iwlist_insert()
628 void *nptr = realloc(list->array[index].val, data_size + 1); in iwlist_set()
/third_party/gettext/gnulib-local/lib/
Dregex_internal.h.diff9 #define re_realloc(p,t,n) ((t *) realloc (p, (n) * sizeof (t)))
17 #define re_realloc(p,t,n) ((t *) realloc (p, (n) * sizeof (t)))
/third_party/gstreamer/gstreamer/gst/parse/
Dparse.l22 #ifdef realloc
23 #undef realloc
28 #define realloc g_realloc macro

12345678910>>...32