Searched refs:realloc (Results 126 - 150 of 536) sorted by relevance

1234567891011>>

/external/valgrind/unittest/
H A Dmemory_unittest.cc134 ptr_ = realloc(ptr_, size);
/external/chromium/base/allocator/
H A Dallocator_unittests.cc404 void* new_p = realloc(p, start_sizes[s] + deltas[d]);
405 CHECK_EQ(p, new_p); // realloc should not allocate new memory
409 void* new_p = realloc(p, start_sizes[s] - deltas[d]);
410 CHECK_EQ(p, new_p); // realloc should not allocate new memory
422 reinterpret_cast<unsigned char*>(realloc(src, dst_size));
430 // Now make sure realloc works correctly even when we overflow the
442 p[i] = reinterpret_cast<int*>(realloc(p[i], 9000));
453 // Test that realloc to zero does not return NULL.
457 ptr = reinterpret_cast<char*>(realloc(ptr, 0));
/external/chromium_org/third_party/codesighs/
H A Dcodesighs.c496 moved = realloc(modules, sizeof(ModuleStats) * (moduleCount + 1));
795 moved = realloc(outOptions->mMatchClasses, sizeof(char*) * (outOptions->mMatchClassCount + 1));
823 moved = realloc(outOptions->mMatchScopes, sizeof(char*) * (outOptions->mMatchScopeCount + 1));
851 moved = realloc(outOptions->mMatchModules, sizeof(char*) * (outOptions->mMatchModuleCount + 1));
879 moved = realloc(outOptions->mMatchSections, sizeof(char*) * (outOptions->mMatchSectionCount + 1));
907 moved = realloc(outOptions->mMatchObjects, sizeof(char*) * (outOptions->mMatchObjectCount + 1));
935 moved = realloc(outOptions->mMatchSymbols, sizeof(char*) * (outOptions->mMatchSymbolCount + 1));
/external/chromium_org/third_party/freetype/src/base/
H A Dftdbgmem.c137 FT_Realloc_Func realloc; member in struct:FT_MemTableRec_
324 table->realloc = memory->realloc;
840 memory->realloc = ft_mem_debug_realloc;
895 memory->realloc = table->realloc;
H A Dftsystem.c297 memory->realloc = ft_realloc;
/external/freetype/src/base/
H A Dftdbgmem.c137 FT_Realloc_Func realloc; member in struct:FT_MemTableRec_
324 table->realloc = memory->realloc;
835 memory->realloc = ft_mem_debug_realloc;
890 memory->realloc = table->realloc;
H A Dftsystem.c297 memory->realloc = ft_realloc;
/external/elfutils/libdwfl/
H A Dsegment.c80 GElf_Addr *naddr = realloc (dwfl->lookup_addr, sizeof naddr[0] * n);
83 int *nsegndx = realloc (dwfl->lookup_segndx, sizeof nsegndx[0] * n);
98 dwfl->lookup_module = realloc (dwfl->lookup_module,
/external/giflib/
H A Dgifalloc.c190 ColorUnion->Colors = (GifColorType *)realloc(Map,
228 *ExtensionBlocks = (ExtensionBlock *)realloc(*ExtensionBlocks,
300 /*** FIXME: We could realloc the GifFile->SavedImages structure but is
319 GifFile->SavedImages = (SavedImage *)realloc(GifFile->SavedImages,
/external/marisa-trie/lib/marisa/
H A Dvector-inline.h170 realloc(new_capacity);
177 realloc(size_);
198 void Vector<T>::realloc(std::size_t new_capacity) { function in class:marisa::Vector
H A Dvector.h116 void realloc(std::size_t new_capacity);
/external/marisa-trie/v0_1_5/lib/marisa_alpha/
H A Dvector-inline.h170 realloc(new_capacity);
177 realloc(size_);
198 void Vector<T>::realloc(std::size_t new_capacity) { function in class:marisa_alpha::Vector
H A Dvector.h116 void realloc(std::size_t new_capacity);
/external/valgrind/main/drd/
H A Ddrd_vc.c262 str = VG_(realloc)("drd.vc.aprint.1", str, reserved);
272 str = VG_(realloc)("drd.vc.aprint.2", str, reserved);
325 vc->vc = VG_(realloc)("drd.vc.vr.1",
/external/chromium_org/base/process/
H A Dmemory_linux.cc103 DIE_ON_OOM_2(realloc, void*)
/external/chromium_org/net/base/
H A Dio_buffer.cc95 // realloc will crash if it fails.
96 real_data_.reset(static_cast<char*>(realloc(real_data_.release(), capacity)));
/external/chromium_org/third_party/npapi/npspy/extern/nspr/
H A Dprwin16.h107 void * (PR_CALLBACK *realloc)( void* old_blk, size_t size ); member in struct:PRMethodCallbackStr
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dlibc_override_gcc_and_weak.h83 void* realloc(void* ptr, size_t size) __THROW ALIAS(tc_realloc);
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dlibc_override_gcc_and_weak.h76 void* realloc(void* ptr, size_t size) __THROW ALIAS(tc_realloc);
/external/e2fsprogs/e2fsck/
H A Dmtrace.h64 extern __ptr_t realloc __P ((__ptr_t __ptr, size_t __size));
67 /* Free a block allocated by `malloc', `realloc' or `calloc'. */
/external/e2fsprogs/lib/ss/
H A Dinvocation.c46 table = (ss_data **) realloc((char *)table,
/external/eigen/unsupported/test/mpreal/
H A Ddlmalloc.h51 #define dlrealloc realloc
107 allocated using malloc or a related routine such as realloc.
121 realloc(void* p, size_t n)
130 If p is null, realloc is equivalent to malloc.
132 If space is not available, realloc returns null, errno is set (if on
136 space is lopped off and freed if possible. realloc with a size
139 The old unix realloc convention of allowing the last-free'd chunk
140 to be used as an argument to realloc is not supported.
192 number of bytes allocated by malloc, realloc etc., is less than this
234 realloc'e
[all...]
/external/elfutils/libdw/
H A Ddwarf_entry_breakpoints.c69 Dwarf_Addr *newlist = realloc (*bkpts, ++nbkpts * sizeof newlist[0]);
H A Ddwarf_getsrc_file.c157 Dwarf_Line **newp = realloc (match,
/external/libmtp/examples/
H A Dalbumart.c65 if ((tmp = realloc(ids, sizeof(uint32_t) * (idcount))) == NULL) {
66 printf("realloc failed\n");

Completed in 1521 milliseconds

1234567891011>>