Searched refs:malloc (Results 76 - 100 of 279) sorted by relevance

1234567891011>>

/openjdk7/jdk/make/tools/reorder/tools/
H A Dmcount.c166 objFileList = (ObjFileList *)malloc(sizeof (ObjFileList));
193 elfInfo = (ElfInfo *)malloc(sizeof (ElfInfo));
319 buf = (char *)malloc(p2 - p1 + strlen(sourceFile) + 10);
430 chain = (SymChain *)malloc(sizeof (SymChain));
521 pairs = (CountAddrPair *)malloc(sizeof(CountAddrPair) * nMethods);
569 countBuf = (int *)malloc(COUNT_BUF_SIZE);
/openjdk7/jdk/src/macosx/native/sun/font/
H A DCGGlyphOutlines.m198 AWTPathRef path = (AWTPathRef) malloc(sizeof(AWTPath));
200 path->fSegmentData = (jfloat*)malloc(sizeof(jfloat) * kInitialAllocatedPathSegments);
201 path->fSegmentType = (jbyte*)malloc(sizeof(jbyte) * kInitialAllocatedPathSegments);
/openjdk7/jdk/src/solaris/native/com/sun/management/
H A DUnixOperatingSystem_md.c106 stbl = (swaptbl_t*) malloc(nswap * sizeof(swapent_t) +
114 strtab = (char*) malloc((nswap + 1) * MAXPATHLEN);
390 fds = malloc(fds_size);
/openjdk7/jdk/src/solaris/native/java/lang/
H A Djava_props_md.c118 char *temp = malloc(strlen(envstring) + strlen(current) + 2);
149 lc = setupMacOSXLocale(cat); // malloc'd memory, need to free
246 *std_language = malloc(strlen(language)+1);
254 *std_country = malloc(strlen(country)+1);
H A Djava_props_macosx.c199 char *returnVal = (char *)malloc(bufSize);
332 sProps->protocol##Port = malloc(strlen(buf) + 1); \
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_DrawingSurface.c261 malloc(sizeof(JAWT_X11DrawingSurfaceInfo));
281 p = (JAWT_DrawingSurfaceInfo*)malloc(sizeof(JAWT_DrawingSurfaceInfo));
343 p = (JAWT_DrawingSurface*)malloc(sizeof(JAWT_DrawingSurface));
/openjdk7/jdk/src/solaris/native/sun/java2d/opengl/
H A DGLXGraphicsConfig.c424 oglc = (OGLContext *)malloc(sizeof(OGLContext));
433 ctxinfo = (GLXCtxInfo *)malloc(sizeof(GLXCtxInfo));
605 glxinfo = (GLXGraphicsConfigInfo *)malloc(sizeof(GLXGraphicsConfigInfo));
/openjdk7/hotspot/src/share/vm/memory/
H A Dallocation.hpp67 // For objects allocated in the C-heap (managed by: free & malloc).
95 // malloc and free should therefore never called directly.
248 // buddy-system style malloc implementations
253 slack = 20, // suspected sizeof(Chunk) + internal malloc headers
298 debug_only(void* malloc(size_t size);)
335 debug_only(if (UseMallocOnly) return malloc(x);)
350 debug_only(if (UseMallocOnly) return malloc(x);)
367 debug_only(if (UseMallocOnly) return malloc(x);)
588 // Uses the OS malloc for allocations smaller than ArrayAllocatorMallocLimit
590 // Most OS mallocs do something similar but Solaris malloc doe
[all...]
/openjdk7/hotspot/src/share/vm/utilities/
H A DelfSymbolTable.cpp42 // call malloc so we can back up if memory allocation fails.
43 m_symbols = (Elf_Sym*)os::malloc(shdr.sh_size, mtInternal);
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dalloc.h81 // The unsafe versions of malloc, calloc, and realloc should not be used
82 #define malloc Do_Not_Use_malloc_Use_safe_Malloc_Instead macro
/openjdk7/jdk/src/windows/npt/
H A Dutf_md.c84 wstr = (WCHAR*)malloc(wlen * sizeof(WCHAR));
86 UTF_ERROR(("Can't malloc() any space"));
/openjdk7/jdk/src/macosx/native/com/sun/media/sound/
H A DPLATFORM_API_MacOSX_Utils.cpp78 devices = (AudioDeviceID *)malloc(size);
198 AudioBufferList *pBufferList = (AudioBufferList *)malloc(size);
/openjdk7/jdk/src/solaris/native/sun/nio/fs/
H A DBsdNativeDispatcher.c89 struct fsstat_iter *iter = malloc(sizeof(*iter));
118 iter->buf = malloc(bufsize);
/openjdk7/jdk/src/windows/native/java/net/
H A DNetworkInterface.c125 tableP = (MIB_IFTABLE *)malloc(size);
149 ret = (MIB_IFROW *) malloc(sizeof(MIB_IFROW));
186 tableP = (MIB_IFTABLE *)malloc(size);
263 curr->displayName = (char *)malloc(ifrowP->dwDescrLen + 1);
265 curr->displayName = (wchar_t *)malloc(wlen*(sizeof(wchar_t))+1);
268 curr->name = (char *)malloc(strlen(dev_name) + 1);
368 tableP = (MIB_IPADDRTABLE *)malloc(size);
396 netaddr *curr = (netaddr *)malloc(sizeof(netaddr));
/openjdk7/jdk/src/windows/native/sun/management/
H A DFileSystemImpl.c27 #include <malloc.h>
134 sd = (SECURITY_DESCRIPTOR *)malloc(len);
/openjdk7/jdk/src/windows/native/sun/net/www/protocol/http/ntlm/
H A DNTLMAuthSequence.c102 pCred = (CredHandle *)malloc(sizeof (CredHandle));
179 newContext = (CtxtHandle *)malloc(sizeof(CtxtHandle));
/openjdk7/jdk/src/windows/native/sun/nio/ch/
H A DSocketDispatcher.c92 WSABUF *bufs = malloc(len * sizeof(WSABUF));
199 WSABUF *bufs = malloc(len * sizeof(WSABUF));
/openjdk7/jdk/src/share/native/java/util/zip/zlib-1.2.3/
H A Dzutil.h124 # include <malloc.h>
145 #include <malloc.h>
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/
H A Dsplashscreen_jpeg.c160 splash->frames = (SplashImage *) malloc(sizeof(SplashImage) *
170 splash->frames[0].bitmapBits = malloc(stride * splash->height);
/openjdk7/jdk/src/share/native/sun/font/
H A DAccelGlyphCache.c71 gcinfo = (GlyphCacheInfo *)malloc(sizeof(GlyphCacheInfo));
143 cellinfo = (CacheCellInfo *)malloc(sizeof(CacheCellInfo));
/openjdk7/jdk/test/java/util/Locale/data/
H A Ddeflocale.c153 wchar_t* pName = malloc((wcslen(lpLocaleStr) + 1) * sizeof(wchar_t *));
162 wchar_t* pName = malloc((wcslen(lpUILangStr) + 1) * sizeof(wchar_t *));
/openjdk7/jdk/src/share/native/sun/security/ec/impl/
H A Decc_impl.h98 #define PORT_ArenaAlloc(a, n, f) malloc((n))
102 #define PORT_Alloc(n, f) malloc((n))
/openjdk7/jdk/src/share/native/sun/security/pkcs11/wrapper/
H A Dp11_digest.c132 bufP = (CK_BYTE_PTR) malloc((size_t)jInLen);
191 bufP = (CK_BYTE_PTR) malloc((size_t)bufLen);
/openjdk7/jdk/make/sun/cmm/kcms/
H A DFILES_c_unix.gmk82 malloc.c \
H A DFILES_c_windows.gmk83 malloc.c \

Completed in 175 milliseconds

1234567891011>>