/openjdk7/jdk/src/windows/native/com/sun/media/sound/ |
H A D | PLATFORM_API_WinOS_Ports.c | 308 controls->pamxctrl = (MIXERCONTROL*) malloc(sizeof(MIXERCONTROL) * line->cControls); 392 info = (PortInfo*) malloc(sizeof(PortInfo)); 403 info->dstLines = (MIXERLINE*) malloc(dstCount * sizeof(MIXERLINE)); 427 info->srcLines = (MIXERLINE*) malloc(info->srcLineCount * sizeof(MIXERLINE)); 443 info->ports = (LPMIXERLINE*) malloc((info->targetPortCount + info->sourcePortCount) * sizeof(LPMIXERLINE)); 659 listTextDetails = (MIXERCONTROLDETAILS_LISTTEXT*) malloc(listTextDetailCount * sizeof(MIXERCONTROLDETAILS_LISTTEXT)); 911 info->controlIDs = (PortControlID*) malloc(sizeof(PortControlID) * maxCount); 918 info->muxData = (MIXERCONTROLDETAILS_BOOLEAN*) malloc(sizeof(MIXERCONTROLDETAILS_BOOLEAN) * muxCount); 928 controls = (void*) malloc(info->maxControlCount * sizeof(void*));
|
H A D | PLATFORM_API_WinOS_MidiOut.c | 218 (*handle) = (MidiDeviceHandle*) malloc(sizeof(MidiDeviceHandle)); 402 hdr->lpData = malloc(size);
|
/openjdk7/jdk/src/share/native/java/util/zip/ |
H A D | zip_util.c | 343 zip->comment = malloc(clen + 1); 485 zip->metanames[i] = (char *) malloc(length+1); 640 if ((cenbuf = malloc((size_t) cenlen)) == NULL || 661 table = zip->table = malloc(tablelen * sizeof(table[0])); 936 if ((cen = malloc(bufsize)) == NULL) goto Catch; 989 if ((ze = (jzentry *) malloc(sizeof(jzentry))) == NULL) return NULL; 1018 if ((ze->name = malloc(nlen + 1)) == NULL) goto Catch; 1025 if ((ze->extra = malloc(elen + 2)) == NULL) goto Catch; 1067 if ((ze->comment = malloc(clen + 1)) == NULL) goto Catch;
|
/openjdk7/jdk/src/macosx/native/com/sun/media/sound/ |
H A D | PLATFORM_API_MacOSX_MidiUtils.c | 470 (*handle) = (MacMidiDeviceHandle*) malloc(sizeof(MacMidiDeviceHandle)); 632 pthread_cond_t* cond = (pthread_cond_t*) malloc(sizeof(pthread_cond_t)); 675 pthread_mutex_t* lock = (pthread_mutex_t*) malloc(sizeof(pthread_mutex_t));
|
/openjdk7/jdk/src/windows/native/sun/java2d/opengl/ |
H A D | WGLGraphicsConfig.c | 452 oglc = (OGLContext *)malloc(sizeof(OGLContext)); 461 ctxinfo = (WGLCtxInfo *)malloc(sizeof(WGLCtxInfo)); 675 wglinfo = (WGLGraphicsConfigInfo *)malloc(sizeof(WGLGraphicsConfigInfo));
|
/openjdk7/jdk/src/share/native/sun/security/pkcs11/wrapper/ |
H A D | p11_sessmgmt.c | 99 notifyEncapsulation = (NotifyEncapsulation *) malloc(sizeof(NotifyEncapsulation)); 302 ckpState = (CK_BYTE_PTR) malloc(ckStateLength); 436 newNode = (NotifyListNode *) malloc(sizeof(NotifyListNode));
|
/openjdk7/jdk/src/share/native/sun/security/smartcardio/ |
H A D | pcsc.c | 123 tab = (char **)malloc(cnt * sizeof(char *)); 160 mszReaders = malloc(size); 277 SCARD_READERSTATE *readerState = malloc(readers * sizeof(SCARD_READERSTATE));
|
/openjdk7/hotspot/src/share/vm/memory/ |
H A D | resourceArea.hpp | 76 // use malloc, but save pointer in res. area for later freeing 78 return (*save = (char*)os::malloc(size, mtThread));
|
/openjdk7/hotspot/src/os/solaris/vm/ |
H A D | jsig.c | 71 sact = (struct sigaction *)malloc((maxsignum+1) * (size_t)sizeof(struct sigaction));
|
/openjdk7/hotspot/src/share/vm/adlc/ |
H A D | arena.cpp | 47 free(k); // Free chunk (was malloc'd) 167 return (void *) malloc(size);
|
/openjdk7/hotspot/src/share/vm/services/ |
H A D | memRecorder.hpp | 59 return os::malloc(size, (mtNMT | otNMTRecorder)); 191 assert(!p1->is_vm_pointer() && !p2->is_vm_pointer(), "malloc pointer only");
|
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | elfFile.cpp | 50 m_filepath = (const char*)os::malloc(len * sizeof(char), mtInternal);
|
/openjdk7/jdk/src/windows/native/sun/net/dns/ |
H A D | ResolverConfigurationImpl.c | 124 adapterP = (IP_ADAPTER_INFO *)malloc(size);
|
/openjdk7/jdk/src/share/demo/jvmti/waiters/ |
H A D | Agent.cpp | 122 malloc(monitor_list_size*(int)sizeof(Monitor*));
|
/openjdk7/jdk/src/share/native/com/sun/tools/jdi/ |
H A D | SharedMemoryTransport.c | 43 * standard malloc and free for allocation. 46 return malloc(size);
|
/openjdk7/jdk/src/share/native/java/lang/ |
H A D | Class.c | 116 clname = malloc(len + 1);
|
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/ |
H A D | java_awt_SplashScreen.c | 61 splash->overlayData = SAFE_SIZE_ARRAY_ALLOC(malloc, dataSize, sizeof(rgbquad_t));
|
/openjdk7/jdk/src/share/native/sun/management/ |
H A D | Flag.c | 104 globals = (jmmVMGlobal*) malloc(gsize);
|
/openjdk7/jdk/src/share/native/sun/security/ec/impl/ |
H A D | ecp_mont.c | 69 mmm = (mp_mont_modulus *) malloc(sizeof(mp_mont_modulus));
|
/openjdk7/jdk/src/solaris/bin/ |
H A D | jexec.c | 171 nargv = (const char **) malloc((argc + 2) * (sizeof (const char *)));
|
/openjdk7/jdk/src/macosx/native/sun/awt/ |
H A D | CTextPipe.m | 320 and improve accountability for JNI resources, malloc'd memory, and error handling. 324 aquired at a given stage, must be released in that stage. Any error that occurs (like a failed malloc) 481 // we malloc a buffer to hold the glyphs and their advances, otherwise we use stack allocated buffers. 506 // otherwise, we should malloc and free buffers for this large run 507 CGGlyph *glyphs = (CGGlyph *)malloc(sizeof(CGGlyph) * length); 508 int *uniChars = (int *)malloc(sizeof(int) * length); 509 CGSize *advances = (CGSize *)malloc(sizeof(CGSize) * length); 611 jchar *copyUnichars = malloc(length * sizeof(jchar)); 613 [JNFException raise:env as:kOutOfMemoryError reason:"Failed to malloc memory to create the glyphs for string drawing"];
|
/openjdk7/jdk/src/share/back/ |
H A D | util.h | 39 #undef malloc macro 40 #define malloc(p) Do not use this interface. macro
|
/openjdk7/hotspot/src/share/vm/shark/ |
H A D | sharkCompiler.cpp | 181 SharkEntry *entry = (SharkEntry *) cb.malloc(sizeof(SharkEntry)); 234 SharkEntry *entry = (SharkEntry *) cb.malloc(sizeof(SharkEntry));
|
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | awt_Robot.c | 179 masks = (jint *)SAFE_SIZE_ARRAY_ALLOC(malloc, sizeof(jint), num_buttons); 237 !(ary = (jint *) SAFE_SIZE_ARRAY_ALLOC(malloc, width * height, sizeof (jint))))
|
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/ |
H A D | X11FontScaler_md.c | 234 XCharStruct* newChar = (XCharStruct*)malloc(sizeof(XCharStruct)); 284 glyphInfo = (GlyphInfo*)malloc(sizeof(GlyphInfo)+imageSize);
|