Searched refs:malloc (Results 201 - 225 of 279) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_Font.c542 fdata = (struct FontData *) malloc(sizeof(struct FontData));
553 fdata->flist = (awtFontList *) malloc(sizeof(awtFontList)
572 fdata->flist[i].xlfd = malloc(strlen(nativename)
H A Dawt_MToolkit.c544 struct WidgetInfo *nw = (struct WidgetInfo *) malloc(sizeof(struct WidgetInfo));
678 struct MenuList* ml = (struct MenuList*) malloc(sizeof(struct MenuList));
2217 dShells = (Widget *) malloc(sizeof(Widget) * arraySize);
2686 cFontRsrc = malloc(strlen(motifFontList) + 20);
2689 cFontRsrc2 = malloc(strlen(motifFontList) + 20);
3053 colorsPtr = (XColor *) malloc(count * sizeof(XColor));
/openjdk7/jdk/src/solaris/native/sun/awt/splashscreen/
H A Dsplashscreen_sys.c80 buf = SAFE_SIZE_ARRAY_ALLOC(malloc, inSize, 2);
124 rects = SAFE_SIZE_ARRAY_ALLOC(malloc,
131 frame->rects = SAFE_SIZE_ARRAY_ALLOC(malloc, frame->numRects, sizeof(XRectangle));
/openjdk7/jdk/src/share/native/com/sun/media/sound/
H A DDirectAudioDevice.c35 // for malloc
39 #include <malloc.h>
504 info = (DAUDIO_Info*) malloc(sizeof(DAUDIO_Info));
621 info->conversionBuffer = (UINT8*) malloc(len);
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A DLCMS.c174 iccArray = (cmsHPROFILE*) malloc(
680 pfBuffer = malloc(pfSize);
757 pfBuffer = malloc(pfSize);
/openjdk7/jdk/src/windows/native/java/net/
H A DTwoStacksPlainDatagramSocketImpl.c32 #include <malloc.h>
238 curr = (netaddr *)malloc(sizeof(netaddr));
734 * This saves a malloc()/memcpy()/free() for big
742 fullPacket = (char *)malloc(packetBufferLen);
996 * This saves a malloc()/memcpy()/free() for big
1004 fullPacket = (char *)malloc(packetBufferLen);
1280 * This saves a malloc()/memcpy()/free() for big
1288 fullPacket = (char *)malloc(packetBufferLen);
H A DInet4AddressImpl.c31 #include <malloc.h>
/openjdk7/hotspot/src/os/linux/vm/
H A Dos_linux.cpp375 #define malloc(n) (char*)NEW_C_HEAP_ARRAY(char, (n), mtInternal) macro
411 dll_path = malloc(strlen(buf) + 1);
427 home_path = malloc(strlen(buf) + 1);
458 ld_library_path = (char *) malloc(sizeof(REG_DIR) + sizeof("/lib/") +
471 ld_library_path = (char *) malloc(strlen(v) + 1 + strlen(t) + 1);
485 char *buf = malloc(strlen(Arguments::get_java_home()) +
495 buf = malloc(strlen(Arguments::get_java_home()) + sizeof(ENDORSED_DIR));
501 #undef malloc macro
643 char *str = (char *)malloc(n, mtInternal);
656 char *str = (char *)malloc(
[all...]
/openjdk7/hotspot/src/os/solaris/vm/
H A Dos_solaris.cpp771 #define malloc(n) (char*)NEW_C_HEAP_ARRAY(char, (n), mtInternal) macro
794 dll_path = malloc(strlen(buf) + 1);
810 home_path = malloc(strlen(buf) + 1);
852 info = (Dl_serinfo*)malloc(_info.dls_size);
893 common_path = malloc(bufsize);
905 library_path = malloc(bufsize);
959 char *buf = (char *) malloc(strlen(Arguments::get_java_home()) +
969 char * buf = malloc(strlen(Arguments::get_java_home()) + sizeof(ENDORSED_DIR));
975 #undef malloc macro
1620 // explicitly: malloc som
[all...]
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DQuartzSurfaceData.m781 CGFloat* dashes = (CGFloat*)malloc(sizeof(CGFloat)*length);
868 qsdo->shadingInfo = (StateShadingInfo*)malloc(sizeof(StateShadingInfo));
871 [JNFException raise:env as:kOutOfMemoryError reason:"Failed to malloc memory for gradient paint"];
899 qsdo->patternInfo = (StatePatternInfo*)malloc(sizeof(StatePatternInfo));
902 [JNFException raise:env as:kOutOfMemoryError reason:"Failed to malloc memory for texture paint"];
/openjdk7/hotspot/src/share/vm/prims/
H A DjvmtiEnvBase.hpp178 *mem_ptr = (unsigned char *)os::malloc((size_t)size, mtInternal);
/openjdk7/jdk/src/solaris/native/java/io/
H A DUnixFileSystem_md.c293 ptr = malloc(sizeof(struct dirent64) + (PATH_MAX + 1));
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/
H A DX11PMBlitLoops.c260 image->data = malloc(dstScan * height);
/openjdk7/jdk/src/windows/native/com/sun/media/sound/
H A DPLATFORM_API_WinOS_MidiIn.cpp333 (*handle) = (MidiDeviceHandle*) malloc(sizeof(MidiDeviceHandle));
/openjdk7/jdk/src/share/native/java/util/zip/
H A DZipFile.c165 path = malloc(ulen + 2);
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DLETypes.h438 #define LE_NEW_ARRAY(type, count) LE_RANGE_CHECK(type,count,(type *) malloc((count) * sizeof(type)))
/openjdk7/jdk/src/share/native/sun/security/ec/impl/
H A Decl.c58 group = (ECGroup *) malloc(sizeof(ECGroup));
H A Decp_jm.c288 naf = (signed char *) malloc(sizeof(signed char) * (orderBitSize + 1));
/openjdk7/jdk/src/share/native/sun/security/pkcs11/wrapper/
H A Dpkcs11wrapper.h450 /* Simple malloc/free dumper */
454 #define malloc(c) (p11malloc((c), __FILE__, __LINE__)) macro
/openjdk7/hotspot/agent/src/os/bsd/
H A DMacosxDebuggerLocal.m171 pages = malloc(pageCount * sizeof(vm_offset_t));
H A Dps_core.c419 if ( (array = (map_info**) malloc(sizeof(map_info*) * num_maps)) == NULL) {
617 if ( (buf = (char*) malloc(size)) == NULL) {
/openjdk7/hotspot/agent/src/os/linux/
H A Dps_core.c419 if ( (array = (map_info**) malloc(sizeof(map_info*) * num_maps)) == NULL) {
611 if ( (buf = (char*) malloc(size)) == NULL) {
/openjdk7/jdk/src/macosx/native/apple/security/
H A DKeystoreImpl.m54 attribCString = malloc(itemAttrs[0].length + 1);
/openjdk7/jdk/src/macosx/native/com/sun/media/sound/
H A DPLATFORM_API_MacOSX_PCM.cpp210 pBuffer = (Byte*)malloc(powerOfTwo);
476 outBuffer = malloc(outBufferSize);
479 ERROR1("Resampler::Init ERROR: malloc failed (%d bytes)\n", outBufferSize);
/openjdk7/jdk/src/macosx/native/sun/java2d/opengl/
H A DCGLSurfaceData.m419 CGLSDOps *cglsdo = (CGLSDOps *)malloc(sizeof(CGLSDOps));

Completed in 204 milliseconds

1234567891011>>