Searched refs:malloc (Results 226 - 250 of 279) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_util.c789 buf = (char*)malloc(buflen + 20);
1252 ef = (EmbeddedFrame *) malloc(sizeof(EmbeddedFrame));
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/
H A DX11Renderer.c85 (PTR)->pPoints = (XPoint*)malloc(newMax*sizeof(XPoint)); \
176 points = (XPoint *) malloc(sizeof(XPoint) * npoints);
H A DX11SurfaceData.c556 shminfo = malloc(sizeof(XShmSegmentInfo));
1398 img->data = malloc(h * scan);
1467 img->data = malloc(h * img->bytes_per_line);
/openjdk7/jdk/src/share/native/java/util/zip/zlib-1.2.3/
H A Dgzio.c63 extern voidp malloc OF((uInt size));
67 #define ALLOC(size) malloc(size)
/openjdk7/hotspot/src/share/vm/services/
H A DheapDumper.cpp439 _buffer = (char*)os::malloc(_size, mtInternal);
2005 my_path = (char*)os::malloc(len, mtInternal);
2014 my_path = (char*)os::malloc(len, mtInternal);
/openjdk7/jdk/src/solaris/native/java/net/
H A DPlainDatagramSocketImpl.c471 * This saves a malloc()/memcpy()/free() for big
485 fullPacket = (char *)malloc(packetBufferLen);
699 * This saves a malloc()/memcpy()/free() for big
713 fullPacket = (char *)malloc(packetBufferLen);
859 * This saves a malloc()/memcpy()/free() for big
873 fullPacket = (char *)malloc(packetBufferLen);
H A DInet6AddressImpl.c265 = (struct addrinfo*) malloc(sizeof(struct addrinfo));
/openjdk7/jdk/src/windows/native/sun/nio/fs/
H A DWindowsNativeDispatcher.c34 #include <malloc.h>
1112 lpBuf = (WCHAR*)malloc(len * sizeof(WCHAR));
1151 lpBuf = (WCHAR*)malloc(len * sizeof(WCHAR));
/openjdk7/jdk/src/macosx/bin/
H A Djava_md_macosx.c243 InvocationFunctions *fxns = malloc(sizeof(InvocationFunctions));
/openjdk7/hotspot/src/share/vm/runtime/
H A Dos.hpp625 static void* malloc (size_t size, MEMFLAGS flags, address caller_pc = 0);
632 static julong num_mallocs; // # of calls to malloc/realloc
H A Dsafepoint.cpp951 // Note: new threads may require a malloc so they must be allowed to finish
1164 _safepoint_stats = (SafepointStats*)os::malloc(stats_array_size
/openjdk7/jdk/src/solaris/native/com/sun/media/sound/
H A DPLATFORM_API_BsdOS_ALSA_PCM.c438 info = (AlsaPcmInfo*) malloc(sizeof(AlsaPcmInfo));
H A DPLATFORM_API_LinuxOS_ALSA_PCM.c438 info = (AlsaPcmInfo*) malloc(sizeof(AlsaPcmInfo));
/openjdk7/jdk/src/solaris/native/sun/nio/ch/
H A DSctpChannelImpl.c224 if ((addressP = malloc(dataLength)) == NULL) {
/openjdk7/jdk/src/windows/bin/
H A Dcmdtoargs.c243 char* cptr = (char*) malloc(strlen(argv[0]) + sizeof(char) * 3 + strlen(cmdline) + 1);
/openjdk7/jdk/src/windows/native/com/sun/management/
H A DOperatingSystem_md.c37 #include <malloc.h>
/openjdk7/jdk/src/share/demo/jvmti/mtrace/
H A Dmtrace.c224 fatal_error("ERROR: Out of malloc memory\n");
233 fatal_error("ERROR: Out of malloc memory\n");
237 fatal_error("ERROR: Out of malloc memory\n");
504 fatal_error("ERROR: Out of malloc memory\n");
525 gdata->classes = (ClassInfo*)malloc(
533 fatal_error("ERROR: Out of malloc memory\n");
538 fatal_error("ERROR: Out of malloc memory\n");
586 (void)free((void*)new_image); /* Free malloc() space with free() */
655 fatal_error("ERROR: Out of malloc memory\n");
679 fatal_error("ERROR: Out of malloc memor
[all...]
/openjdk7/jdk/src/share/native/sun/awt/image/cvutils/
H A Dimg_colors.c265 virt_cmap = malloc(sizeof(CmapEntry) * num_virt_cmap_entries);
267 * Fix for bug 4070647 malloc return value not check in img_colors.c
268 * We have to handle the malloc failure differently under
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DImageSurfaceData.m796 indexedColorTable = (UInt16*)malloc(indexSize*sizeof(UInt16)); // 15 bit precision, each entry capable of holding a 2 byte value
805 fprintf(stderr, "ERROR: malloc returns NULL for isdo->indexedColorTable in copyARGB_PRE_bitToIndexed_8bit");
919 isdo->nativePixels = malloc(size);
923 fprintf(stderr, "malloc failed for size %d bytes in ImageSurfaceData.createContext()\n", (int) size);
1046 dataProviderData = malloc(dataProviderDataSize);
1881 isdo->lutData = malloc(isdo->lutDataSize * sizeof(Pixel32bit));
1932 fprintf(stderr, "ERROR: malloc returns NULL for isdo->lutData in initRaster!\n");
/openjdk7/hotspot/src/share/vm/adlc/
H A Dadlparse.cpp211 char* buf = (char*) malloc(strlen(instr->_ident) + 4);
2766 char* ec_name = (char*) malloc(strlen(inst._ident) + strlen(prefix) + 1);
3060 char* ec_name = (char*) malloc(strlen(inst._ident) + strlen(prefix) + 1);
4163 char* result = (char *)malloc(strlen(location) + strlen(cppBlock) + strlen(end_loc) + 1);
4252 char* result = (char *)malloc(strlen(location) + strlen(token2) + strlen(end_loc) + 1);
4350 char* buf = (char*) malloc(strlen(param) + 3);
4959 char* location = (char *)malloc(strlen(file) + 100);
/openjdk7/jdk/src/solaris/native/sun/xawt/
H A DXlibWrapper.c1156 void * storage = malloc(length+1);
1345 char ** names = (char**)malloc(length*sizeof(char*));
2248 pRect = (RECT_T *)SAFE_SIZE_ARRAY_ALLOC(malloc, worstBufferSize, sizeof(RECT_T));
/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
1731 ptr = (type *)malloc((n)*sizeof(type))
1792 (PTR)->plgPnts = (Point*)malloc(newMax*sizeof(Point)); \
/openjdk7/hotspot/agent/src/os/win32/windbg/
H A Dsawindbg.cpp244 m_msgBuffer = (char*) malloc(len);
/openjdk7/hotspot/src/share/vm/opto/
H A DgraphKit.cpp3006 Node* malloc = _gvn.transform(new (C) ProjNode(allocx, TypeFunc::Memory)); local
3007 set_memory(malloc, rawidx);
3024 assert(init->in(InitializeNode::Memory) == malloc, "");
3025 MergeMemNode* minit_in = MergeMemNode::make(C, malloc);
/openjdk7/hotspot/src/os/windows/vm/
H A Dos_windows.cpp86 #include <malloc.h>
1028 DIR *dirp = (DIR *)malloc(sizeof(DIR), mtInternal);
1050 dirp->path = (char *)malloc(strlen(dirname) + 5, mtInternal);
2510 // when we call malloc. Since we use VectoredExceptions
4401 lpBuffer = (INPUT_RECORD *)os::malloc(numEvents * sizeof(INPUT_RECORD), mtInternal);

Completed in 257 milliseconds

1234567891011>>