Searched refs:realloc (Results 26 - 50 of 56) sorted by relevance

123

/openjdk7/hotspot/src/os/solaris/vm/
H A Dos_solaris.inline.hpp75 size_t split, bool realloc) {
74 pd_split_reserved_memory(char *base, size_t size, size_t split, bool realloc) argument
/openjdk7/hotspot/src/share/vm/services/
H A DmemPtrArray.hpp298 return os::realloc(ptr, elementSize * items, mtNMT);
/openjdk7/jdk/src/solaris/native/sun/tools/attach/
H A DSolarisVirtualMachine.c281 char* newbuf = (char*)realloc(buf, size+len+1);
292 JNU_ThrowOutOfMemoryError(env, "realloc failed");
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/
H A DPackageReader.java1798 if (i + 10 > buf.length) buf = realloc(buf);
1871 c.bytes = realloc(buf, i);
1923 if (pc + 10 > buf.length) buf = realloc(buf);
1924 if (numInsns+10 > insnMap.length) insnMap = realloc(insnMap);
1925 if (numLabels+10 > labels.length) labels = realloc(labels);
1938 buf = realloc(buf);
2013 buf = realloc(buf);
2178 code.setBytes(realloc(buf, pc));
/openjdk7/hotspot/src/share/vm/runtime/
H A Dvirtualspace.cpp421 bool split, bool realloc) {
424 os::split_reserved_memory(base(), size(), partition_size, realloc); local
420 first_part(size_t partition_size, size_t alignment, bool split, bool realloc) argument
H A Dos.cpp80 julong os::num_mallocs = 0; // # of calls to malloc/realloc
602 void* os::realloc(void *memblock, size_t size, MEMFLAGS memflags, address caller) { function in class:os
607 void* ptr = ::realloc(memblock, size);
620 tty->print_cr("os::realloc caught " PTR_FORMAT, memblock);
634 tty->print_cr("os::realloc caught, " SIZE_FORMAT " bytes --> " PTR_FORMAT, size, ptr);
1430 size_t split, bool realloc) {
1431 pd_split_reserved_memory(base, size, split, realloc);
1429 split_reserved_memory(char *base, size_t size, size_t split, bool realloc) argument
/openjdk7/hotspot/src/os/bsd/dtrace/
H A Djvm_dtrace.c396 char* newbuf = (char*)realloc(buf, size+len+1);
399 print_debug("realloc failed in %s at %d\n", __FILE__, __LINE__);
/openjdk7/hotspot/src/os/solaris/dtrace/
H A Djvm_dtrace.c396 char* newbuf = (char*)realloc(buf, size+len+1);
399 print_debug("realloc failed in %s at %d\n", __FILE__, __LINE__);
/openjdk7/hotspot/src/share/vm/adlc/
H A Dforms.cpp51 if (_cur == _max) _names =(const char**)realloc(_names,(_max *=2)*sizeof(char*));
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A Dcmserr.c93 // wrapping to malloc/free/realloc is provided, although there is a limit on the max
103 // required to be implemented: malloc, realloc and free, although the user may want to
146 // The default realloc function. Again it check for exploits. If Ptr is NULL,
147 // realloc behaves the same way as malloc and allocates a new block of size bytes.
152 if (size > MAX_MEMORY_FOR_ALLOC) return NULL; // Never realloc over 512Mb
154 return realloc(Ptr, size);
281 // I prefer this method over realloc due to the big inpact on xput realloc may have if
/openjdk7/jdk/src/windows/native/java/net/
H A DNetworkInterface.c128 tableP = (MIB_IFTABLE *)realloc(tableP, size);
189 tableP = (MIB_IFTABLE *)realloc(tableP, size);
372 tableP = (MIB_IPADDRTABLE *)realloc(tableP, size);
H A DNetworkInterface_winXP.c94 adapterInfo = (IP_ADAPTER_ADDRESSES *) realloc (adapterInfo, len);
131 adapterInfo = (IP_ADAPTER_ADDRESSES *) realloc (adapterInfo, len);
/openjdk7/jdk/src/share/instrument/
H A DInvocationAdapter.c531 segments = (char**)realloc( segments, (count+1)*sizeof(char**) );
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DLETypes.h446 #define LE_GROW_ARRAY(array, newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
/openjdk7/jdk/src/solaris/native/java/net/
H A Dnet_util_md.c656 loRoutes = realloc (loRoutes, loRoutes_size *
746 localifs = (struct localinterface *) realloc (
/openjdk7/jdk/src/windows/bin/
H A Dcmdtoargs.c44 #define JLI_MemRealloc realloc
/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Ddebug_malloc.c43 * Set of malloc/realloc/calloc/strdup/free replacement macros that
53 * realloc(ptr,size)
70 * malloc, realloc, calloc, strdup, and free with the functions below.
642 mptr = realloc(oldmptr, rbytes_(nbytes));
/openjdk7/jdk/src/share/native/java/util/zip/
H A Dzip_util.c457 realloc(zip->metanames, new_metacount * sizeof(zip->metanames[0]));
940 if ((cen = realloc(cen, censize)) == NULL) goto Catch;
/openjdk7/jdk/src/share/native/sun/font/
H A DfreetypeScaler.c1083 realloc(gpdata->pointTypes, gpdata->lenTypes*sizeof(jbyte));
1089 realloc(gpdata->pointCoords, gpdata->lenCoords*sizeof(jfloat));
/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DProcessPath.c1725 /* TODO Add checking of the result of the malloc/realloc functions to handle
1733 ptr = (type *)realloc(ptr, (n)*sizeof(type))
1795 (PTR)->plgPnts = (Point*)realloc( \
/openjdk7/hotspot/agent/src/os/win32/windbg/
H A Dsawindbg.cpp251 m_msgBuffer = (char*) realloc(m_msgBuffer, len + strlen(m_msgBuffer));
/openjdk7/jdk/src/solaris/native/sun/awt/
H A DmultiVis.c1206 realloc(*pImageVisuals, (nImageVisualsAlloced * sizeof(XVisualInfo *)));
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/
H A DX11Renderer.c88 (PTR)->pPoints = (XPoint*)realloc( \
/openjdk7/jdk/src/windows/native/java/io/
H A DWinNTFileSystem_md.c116 WCHAR* newResult = (WCHAR*)realloc(result, (len+1) * sizeof(WCHAR));
/openjdk7/jdk/src/share/native/sun/awt/giflib/
H A Ddgif_lib.c404 if ((GifFile->SavedImages = (SavedImage *)realloc(GifFile->SavedImages,

Completed in 96 milliseconds

123