/openjdk7/jdk/src/windows/native/java/lang/ |
H A D | java_props_md.c | 57 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 D | dither.c | 113 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 D | revokeall.c | 26 #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 D | allocation.inline.hpp | 50 // 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 D | list.c | 93 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 D | awt_mgrsel.c | 129 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 D | WindowsAttachProvider.c | 53 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 D | awt_new.cpp | 33 #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 D | TimeZone_md.c | 83 * 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 D | salibelf.c | 53 if ((phbuf = (ELF_PHDR*) malloc(nbytes)) == NULL) { 73 if ((shbuf = (ELF_SHDR*) malloc(nbytes)) == NULL) {
|
/openjdk7/hotspot/agent/src/os/linux/ |
H A D | salibelf.c | 52 if ((phbuf = (ELF_PHDR*) malloc(nbytes)) == NULL) { 72 if ((shbuf = (ELF_SHDR*) malloc(nbytes)) == NULL) {
|
/openjdk7/jdk/src/windows/native/common/ |
H A D | jni_util_md.c | 56 jvmPath = malloc(bufferSize); 127 result = (char*) malloc(len);
|
/openjdk7/jdk/src/windows/native/java/io/ |
H A D | dirent_md.c | 44 DIR *dirp = (DIR *)malloc(sizeof(DIR)); 66 dirp->path = (char *)malloc(strlen(dirname) + 5);
|
H A D | io_util_md.c | 137 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 D | Launcher.c | 42 result = (char*)malloc(len+1); 89 cmdv = (char **)malloc((cmdlen + 1) * sizeof(char *));
|
/openjdk7/jdk/src/macosx/bin/ |
H A D | jexec.c | 142 nargv = (const char **) malloc((argc + 2) * (sizeof (const char *)));
|
/openjdk7/jdk/src/macosx/native/sun/awt/ |
H A D | awt_DrawingSurface.m | 33 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 D | sharkCodeBuffer.hpp | 60 void* malloc(size_t size) const { function in class:SharkCodeBuffer
|
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | elfStringTable.cpp | 45 m_table = (char*)os::malloc(sizeof(char) * shdr.sh_size, mtInternal);
|
/openjdk7/jdk/src/solaris/native/sun/nio/fs/ |
H A D | MacOSXNativeDispatcher.c | 60 chars = malloc(ulen);
|
/openjdk7/jdk/src/share/native/sun/misc/ |
H A D | MessageUtils.c | 49 sConverted = (char *) malloc(length + 1);
|
/openjdk7/jdk/src/share/native/sun/security/pkcs11/wrapper/ |
H A D | p11_dual.c | 92 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 D | X11FontScaler.c | 68 (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 D | lcdglyph.c | 49 #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 D | port.hpp | 156 #define malloc(size) safe_malloc(__FILE__,__LINE__,size) macro 166 inline void *operator new( size_t size ) { return malloc(size); }
|