Searched refs:malloc (Results 1 - 25 of 279) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/
H A Djmemnobs.c15 * can be obtained from malloc().
27 #ifndef HAVE_STDLIB_H /* <stdlib.h> should declare malloc(),free() */
28 extern void * malloc JPP((size_t size));
35 * routines malloc() and free().
41 return (void *) malloc(sizeofobject);
61 return (void FAR *) malloc(sizeofobject);
/openjdk7/jdk/src/windows/bin/
H A Djava-rmi.c94 malloc((1 /* executable name */
118 malloc((2 /* "-D" */
/openjdk7/hotspot/src/share/vm/prims/
H A DmethodComparator.hpp74 _old_bci = (int*) malloc(sizeof(int) * _cur_size);
75 _new_st_bci = (int*) malloc(sizeof(int) * _cur_size);
76 _new_end_bci = (int*) malloc(sizeof(int) * _cur_size);
/openjdk7/jdk/src/solaris/instrument/
H A DFileSystemSupport_md.c52 char* str = (char*)malloc(len+1);
82 sb = (char*)malloc(strlen(pathname)+1);
130 theChars = (char*)malloc(len+1);
137 theChars = (char*)malloc(len+2);
152 char* str = (char*)malloc(len);
/openjdk7/hotspot/src/share/tools/launcher/
H A Djli_util.c43 void *p = malloc(size);
45 perror("malloc");
/openjdk7/jdk/src/solaris/native/java/nio/
H A DMappedByteBuffer.c44 unsigned char *vec = (unsigned char *)malloc(numPages * sizeof(char));
46 char *vec = (char *)malloc(numPages * sizeof(char));
/openjdk7/jdk/src/share/native/java/lang/reflect/
H A DProxy.c64 /* Work around 4153825. malloc crashes on Solaris when passed a
72 body = (jbyte *)malloc(length);
88 utfName = malloc(len + 1);
/openjdk7/jdk/src/windows/native/com/sun/media/sound/
H A DPLATFORM_API_WinOS_Util.c59 CRITICAL_SECTION* lock = (CRITICAL_SECTION*) malloc(sizeof(CRITICAL_SECTION));
94 sysex = (SysExQueue*) malloc(structSize);
102 preAllocatedMem = (UBYTE*) malloc(count*size);
/openjdk7/jdk/src/share/bin/
H A Djli_util.c39 void *p = malloc(size);
41 perror("malloc");
/openjdk7/jdk/src/solaris/native/sun/tracing/dtrace/
H A Djvm_symbols_md.c34 JvmSymbols* syms = (JvmSymbols*)malloc(sizeof(JvmSymbols));
/openjdk7/jdk/src/windows/instrument/
H A DEncodingSupport_md.c61 wstr = (WCHAR*)malloc(wlen * sizeof(WCHAR));
H A DFileSystemSupport_md.c28 #include <malloc.h>
68 char* str = (char*)malloc(len+1);
137 sb = (char*)malloc(len+1);
263 theChars = (char*)malloc(len+1);
268 theChars = (char*)malloc(len+2);
322 char* p = (char*)malloc(len+1);
/openjdk7/jdk/src/windows/native/sun/awt/splashscreen/
H A Dsplashscreen_config.h41 #include <malloc.h>
/openjdk7/jdk/src/windows/native/sun/tracing/dtrace/
H A Djvm_symbols_md.c36 JvmSymbols* syms = (JvmSymbols*)malloc(sizeof(JvmSymbols));
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/
H A Dbytes.cpp41 void bytes::malloc(size_t len_) { function in class:bytes
55 malloc(len_);
101 malloc(len_);
142 b.malloc(maxlen);
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/
H A Dsplashscreen_png.c109 if ((image_data = (unsigned char *) malloc(rowbytes * height)) == NULL) {
116 if ((row_pointers = (png_bytepp) malloc(height * sizeof(png_bytep)))
141 malloc(sizeof(SplashImage) * splash->frameCount);
148 splash->frames[0].bitmapBits = malloc(stride * splash->height);
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DLEStandalone.h130 #define uprv_malloc malloc
/openjdk7/jdk/src/solaris/native/sun/security/pkcs11/wrapper/
H A Dp11_md.c106 exceptionMessage = (char *) malloc(sizeof(char) * (strlen(systemErrorMessage) + strlen(libraryNameStr) + 1));
136 moduleData = (ModuleData *) malloc(sizeof(ModuleData));
/openjdk7/jdk/src/windows/native/java/net/
H A DSocketInputStream.c31 #include <malloc.h>
91 bufP = (char *)malloc((size_t)len);
H A DSocketOutputStream.c31 #include <malloc.h>
89 bufP = (char *)malloc((size_t)buflen);
/openjdk7/jdk/src/windows/native/sun/security/pkcs11/wrapper/
H A Dp11_md.c109 exceptionMessage = (char *) malloc(sizeof(char) * (strlen((LPTSTR) lpMsgBuf) + strlen(libraryNameStr) + 1));
146 moduleData = (ModuleData *) malloc(sizeof(ModuleData));
/openjdk7/jdk/src/share/instrument/
H A DJarFacade.c50 jarAttribute* attribute = (jarAttribute*)malloc(sizeof(jarAttribute));
79 attribute->value = malloc(value_len + 1);
/openjdk7/jdk/src/share/native/sun/java2d/
H A DShaderList.c26 #include <malloc.h>
49 info = (ShaderInfo *)malloc(sizeof(ShaderInfo));
/openjdk7/jdk/src/share/native/sun/awt/giflib/
H A Dgifalloc.c84 Object = (ColorMapObject *)malloc(sizeof(ColorMapObject));
169 New->ExtensionBlocks=(ExtensionBlock *)malloc(sizeof(ExtensionBlock));
181 ep->Bytes = (char *)malloc(ep->ByteCount);
257 GifFile->SavedImages = (SavedImage *)malloc(sizeof(SavedImage));
289 sp->RasterBits = (unsigned char *)malloc(sizeof(GifPixelType) *
302 sp->ExtensionBlocks = (ExtensionBlock *)malloc(
/openjdk7/jdk/src/share/native/sun/security/pkcs11/wrapper/
H A Dp11_util.c319 jpTemp = (jboolean*) malloc((*ckpLength) * sizeof(jboolean));
330 *ckpArray = (CK_BBOOL*) malloc ((*ckpLength) * sizeof(CK_BBOOL));
361 jpTemp = (jbyte*) malloc((*ckpLength) * sizeof(jbyte));
376 *ckpArray = (CK_BYTE_PTR) malloc ((*ckpLength) * sizeof(CK_BYTE));
408 jTemp = (jlong*) malloc((*ckpLength) * sizeof(jlong));
419 *ckpArray = (CK_ULONG_PTR) malloc (*ckpLength * sizeof(CK_ULONG));
450 jpTemp = (jchar*) malloc((*ckpLength) * sizeof(jchar));
461 *ckpArray = (CK_CHAR_PTR) malloc (*ckpLength * sizeof(CK_CHAR));
492 jTemp = (jchar*) malloc((*ckpLength) * sizeof(jchar));
503 *ckpArray = (CK_UTF8CHAR_PTR) malloc (*ckpLengt
1106 #undef malloc macro
[all...]

Completed in 242 milliseconds

1234567891011>>