Searched refs:malloc (Results 26 - 50 of 279) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/windows/native/java/lang/
H A Djava_props_md.c57 char * ret = malloc(16);
138 char * ret = malloc(SNAMESIZE);
272 *script = malloc(PROPSIZE);
281 *country = malloc(PROPSIZE);
290 *language = malloc(PROPSIZE);
301 *variant = malloc(PROPSIZE);
514 uname = (WCHAR*)malloc(buflen * sizeof(WCHAR));
/openjdk7/jdk/src/share/native/sun/awt/image/
H A Ddither.c113 currentState.rgb = (unsigned short *)malloc(6
120 currentState.indices = (unsigned char *)malloc(6
171 unsigned char *newILut = (unsigned char*)malloc(cubesize);
192 malloc(cmap_len * sizeof(unsigned short));
203 malloc(cmap_len * sizeof(unsigned char));
/openjdk7/jdk/test/sun/management/windows/
H A Drevokeall.c26 #include <malloc.h>
97 name = (char*)malloc(len);
155 char* s = (char*)malloc(len);
221 root = malloc(255);
274 sd = (SECURITY_DESCRIPTOR *)malloc(len);
/openjdk7/hotspot/src/share/vm/memory/
H A Dallocation.inline.hpp50 // allocate using malloc; will fail if no memory available
56 char* p = (char*) os::malloc(size, flags, pc);
98 void* p = os::malloc(size, F, (caller_pc != 0 ? caller_pc : CALLER_PC));
102 return os::malloc(size, F, (caller_pc != 0 ? caller_pc : CALLER_PC));
120 // malloc failed let's try with mmap instead
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dlist.c93 Returns 1 if successful, 0 if the malloc failed.
106 if ((lp->next = (list_ptr) malloc( sizeof( list_item))) == NULL) {
125 if (lp = (list_ptr) malloc( sizeof( list_item))) {
153 if ((new_list = (list_ptr) malloc( sizeof( list_item))) == NULL) {
H A Dawt_mgrsel.c129 namesbuf = malloc(per_scr_sz * nscreens); /* actual storage for names */
130 names = malloc(sizeof(char *) * nscreens); /* pointers to names */
131 per_scr_atoms = malloc(sizeof(Atom) * nscreens);
132 per_scr_owners = malloc(sizeof(Window) * nscreens);
133 mgrsel = malloc(sizeof(struct AwtMgrsel));
/openjdk7/jdk/src/windows/native/sun/tools/attach/
H A DWindowsAttachProvider.c53 bufP = (char*)malloc(actualLen * sizeof(char));
114 ptr = (DWORD*)malloc(size);
159 ptr = (HMODULE*)malloc(size);
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_new.cpp33 #undef malloc macro
62 // use new handler for operator new and malloc
66 // malloc runs out of memory
70 // Called when malloc or operator new runs out of memory. We try to
73 // (1) to indicate that malloc or operator new should retry the
85 register void *ret_val = malloc(size);
212 VERIFY(malloc(INT_MAX) == 0); // should fail
/openjdk7/jdk/src/solaris/native/java/util/
H A DTimeZone_md.c83 * malloc(). NULL is returned if malloc() fails.
89 path = (char *) malloc(strlen(dir) + strlen(name) + 2);
120 entry = (struct dirent *) malloc((size_t) pathconf(dir, _PC_NAME_MAX));
170 dbuf = (char *) malloc(size);
302 buf = (char *) malloc(size);
378 iop = malloc(sizeof(struct iobuffer));
386 iop->buffer = malloc(BUFFER_SIZE);
584 tz = malloc(++len); /* +1 for a null byte */
597 buf = malloc(siz
[all...]
/openjdk7/hotspot/agent/src/os/bsd/
H A Dsalibelf.c53 if ((phbuf = (ELF_PHDR*) malloc(nbytes)) == NULL) {
73 if ((shbuf = (ELF_SHDR*) malloc(nbytes)) == NULL) {
/openjdk7/hotspot/agent/src/os/linux/
H A Dsalibelf.c52 if ((phbuf = (ELF_PHDR*) malloc(nbytes)) == NULL) {
72 if ((shbuf = (ELF_SHDR*) malloc(nbytes)) == NULL) {
/openjdk7/jdk/src/windows/native/common/
H A Djni_util_md.c56 jvmPath = malloc(bufferSize);
127 result = (char*) malloc(len);
/openjdk7/jdk/src/windows/native/java/io/
H A Ddirent_md.c44 DIR *dirp = (DIR *)malloc(sizeof(DIR));
66 dirp->path = (char *)malloc(strlen(dirname) + 5);
H A Dio_util_md.c137 abpath = (WCHAR*)malloc(abpathlen * sizeof(WCHAR));
150 pathbuf = (WCHAR*)malloc((pathlen + 6) * sizeof(WCHAR));
177 pathbuf = (WCHAR*)malloc((pathlen + 6) * sizeof(WCHAR));
200 pathbuf = (WCHAR*)malloc((pathlen + 6) * sizeof(WCHAR));
214 pathbuf = (WCHAR*)malloc(sizeof(WCHAR));
398 lpBuffer = malloc(bufferSize);
/openjdk7/jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/
H A DLauncher.c42 result = (char*)malloc(len+1);
89 cmdv = (char **)malloc((cmdlen + 1) * sizeof(char *));
/openjdk7/jdk/src/macosx/bin/
H A Djexec.c142 nargv = (const char **) malloc((argc + 2) * (sizeof (const char *)));
/openjdk7/jdk/src/macosx/native/sun/awt/
H A Dawt_DrawingSurface.m33 JAWT_DrawingSurfaceInfo* dsi = (JAWT_DrawingSurfaceInfo*)malloc(sizeof(JAWT_DrawingSurfaceInfo));
93 JAWT_DrawingSurface* ds = (JAWT_DrawingSurface*)malloc(sizeof(JAWT_DrawingSurface));
/openjdk7/hotspot/src/share/vm/shark/
H A DsharkCodeBuffer.hpp60 void* malloc(size_t size) const { function in class:SharkCodeBuffer
/openjdk7/hotspot/src/share/vm/utilities/
H A DelfStringTable.cpp45 m_table = (char*)os::malloc(sizeof(char) * shdr.sh_size, mtInternal);
/openjdk7/jdk/src/solaris/native/sun/nio/fs/
H A DMacOSXNativeDispatcher.c60 chars = malloc(ulen);
/openjdk7/jdk/src/share/native/sun/misc/
H A DMessageUtils.c49 sConverted = (char *) malloc(length + 1);
/openjdk7/jdk/src/share/native/sun/security/pkcs11/wrapper/
H A Dp11_dual.c92 ckpEncryptedPart = (CK_BYTE_PTR) malloc(ckEncryptedPartLength * sizeof(CK_BYTE));
144 ckpPart = (CK_BYTE_PTR) malloc(ckPartLength * sizeof(CK_BYTE));
196 ckpEncryptedPart = (CK_BYTE_PTR) malloc(ckEncryptedPartLength * sizeof(CK_BYTE));
248 ckpPart = (CK_BYTE_PTR) malloc(ckPartLength * sizeof(CK_BYTE));
/openjdk7/jdk/src/solaris/native/sun/font/
H A DX11FontScaler.c68 (NativeScalerContext*)malloc(sizeof(NativeScalerContext));
86 char* xlfd = (char*)malloc(len+1);
94 context = (NativeScalerContext*)malloc(sizeof(NativeScalerContext));
154 char* xlfd = (char*)malloc(len+1);
178 char* xlfd = (char*)malloc(len+1);
/openjdk7/jdk/src/windows/native/sun/font/
H A Dlcdglyph.c49 #include <malloc.h>
109 igTable = (unsigned char*)malloc(256);
378 dibImage = SAFE_SIZE_ARRAY_ALLOC(malloc, dibBytesWidth, height);
411 glyphInfo = (GlyphInfo*)SAFE_SIZE_STRUCT_ALLOC(malloc, sizeof(GlyphInfo),
413 if (malloc == NULL) {
/openjdk7/hotspot/src/share/vm/libadt/
H A Dport.hpp156 #define malloc(size) safe_malloc(__FILE__,__LINE__,size) macro
166 inline void *operator new( size_t size ) { return malloc(size); }

Completed in 1346 milliseconds

1234567891011>>