Searched refs:SAFE_SIZE_ARRAY_ALLOC (Results 1 - 25 of 25) sorted by relevance

/openjdk7/jdk/src/share/native/common/
H A Dsizecalc.h68 * int* p = (int*)SAFE_SIZE_ARRAY_ALLOC(malloc, sizeof(int), n);
72 #define SAFE_SIZE_ARRAY_ALLOC(func, m, n) \ macro
/openjdk7/jdk/src/windows/native/sun/windows/
H A DCmdIDList.cpp42 m_array = (CmdIDEntry *)SAFE_SIZE_ARRAY_ALLOC(safe_Malloc, m_capacity, sizeof(AwtObject*));
H A Dawt_InputMethod.cpp336 HKL FAR * hKLList = (HKL FAR *)SAFE_SIZE_ARRAY_ALLOC(safe_Malloc, sizeof(HKL), layoutCount);
447 HKL FAR * hKLList = (HKL FAR *)SAFE_SIZE_ARRAY_ALLOC(safe_Malloc, sizeof(HKL), layoutCount);
456 const char ** javaLocaleNames = (const char **)SAFE_SIZE_ARRAY_ALLOC(safe_Malloc, sizeof(char *), layoutCount);
520 szImmDescription = (LPTSTR) SAFE_SIZE_ARRAY_ALLOC(safe_Malloc, (buffSize+1), sizeof(TCHAR));
H A DDevices.cpp174 devices = (AwtWin32GraphicsDevice**)SAFE_SIZE_ARRAY_ALLOC(safe_Malloc,
191 HMONITOR *monHds = (HMONITOR *)SAFE_SIZE_ARRAY_ALLOC(safe_Malloc,
H A Dawt.h329 : (LPWSTR)SAFE_SIZE_ARRAY_ALLOC(safe_Malloc, (m_dwSize+1), sizeof(WCHAR) );
339 m_pStr = (LPWSTR)SAFE_SIZE_ARRAY_ALLOC(safe_Malloc, (m_dwSize+1), sizeof(WCHAR) );
H A Dawt_DesktopProperties.cpp174 LPTSTR buffer2 = (LPTSTR)SAFE_SIZE_ARRAY_ALLOC(safe_Malloc, valueChar, sizeof(TCHAR));
591 LPTSTR valueNameBuf = (LPTSTR)SAFE_SIZE_ARRAY_ALLOC(safe_Malloc, (lstrlen(valueName) + 1), sizeof(TCHAR));
595 LPTSTR propKeyBuf = (LPTSTR)SAFE_SIZE_ARRAY_ALLOC(safe_Malloc, (lstrlen(propKey) + 1), sizeof(TCHAR));
H A Dawt_DataTransferer.cpp285 buffer = (LPTSTR)SAFE_SIZE_ARRAY_ALLOC(safe_Malloc, bufsize, sizeof(TCHAR));
363 jbyte* bBytes = (jbyte*)SAFE_SIZE_ARRAY_ALLOC(safe_Malloc, size, sizeof(jbyte));
H A Dawt_PrintControl.cpp487 papers = (WORD*)SAFE_SIZE_ARRAY_ALLOC(safe_Malloc, sizeof(WORD), numPaperSizes);
488 paperSizes = (POINT *)SAFE_SIZE_ARRAY_ALLOC(safe_Malloc, sizeof(*paperSizes),
H A Dawt_PrintJob.cpp436 LPTSTR str = (LPTSTR)SAFE_SIZE_ARRAY_ALLOC(safe_Malloc, sizeof(TCHAR), sz);
648 LPTSTR str = (LPTSTR)SAFE_SIZE_ARRAY_ALLOC(safe_Malloc, sizeof(TCHAR), sz);
2305 xadvances = (int*)SAFE_SIZE_ARRAY_ALLOC(safe_Malloc, strLen, sizeof(int));
2306 xyadvances = (int*)SAFE_SIZE_ARRAY_ALLOC(safe_Malloc, strLen, sizeof(int) * 2);
2516 jbyte* alignedImage = (jbyte*) SAFE_SIZE_ARRAY_ALLOC(safe_Malloc,
3120 paperSizes = (POINT *)SAFE_SIZE_ARRAY_ALLOC(safe_Malloc, sizeof(*paperSizes), numPaperSizes);
3770 papers = (WORD*)SAFE_SIZE_ARRAY_ALLOC(safe_Malloc, sizeof(WORD), numPaperSizes);
3771 paperSizes = (POINT *)SAFE_SIZE_ARRAY_ALLOC(safe_Malloc, sizeof(*paperSizes), numPaperSizes);
H A DWPrinterJob.cpp813 LPTSTR papers = (LPTSTR)SAFE_SIZE_ARRAY_ALLOC(safe_Malloc, numSizes, sizeof(WORD));
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_UNIXToolkit.c152 filename_str = (char *)SAFE_SIZE_ARRAY_ALLOC(malloc,
194 stock_id_str = (char *)SAFE_SIZE_ARRAY_ALLOC(malloc,
206 detail_str = (char *)SAFE_SIZE_ARRAY_ALLOC(malloc,
H A Dawt_Robot.c179 masks = (jint *)SAFE_SIZE_ARRAY_ALLOC(malloc, sizeof(jint), num_buttons);
237 !(ary = (jint *) SAFE_SIZE_ARRAY_ALLOC(malloc, width * height, sizeof (jint))))
H A Dfontpath.c230 appendDirList = SAFE_SIZE_ARRAY_ALLOC(malloc, fDirP->num, sizeof ( int ));
287 newFontPath = SAFE_SIZE_ARRAY_ALLOC(malloc, totalDirCount, sizeof ( char **) );
308 onePath = SAFE_SIZE_ARRAY_ALLOC(malloc, strlen (fDirP->name[index]) + 2, sizeof( char ) );
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/
H A Djava_awt_SplashScreen.c61 splash->overlayData = SAFE_SIZE_ARRAY_ALLOC(malloc, dataSize, sizeof(rgbquad_t));
H A Dsplashscreen_gif.c125 SAFE_SIZE_ARRAY_ALLOC(malloc, sizeof(SplashImage), gif->ImageCount);
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DCRobot.m119 gsButtonEventNumber = (int*)SAFE_SIZE_ARRAY_ALLOC(malloc, sizeof(int), gNumberOfButtons);
H A DLWCToolkit.m207 gButtonDownMasks = (jint*)SAFE_SIZE_ARRAY_ALLOC(malloc, sizeof(jint), gNumberOfButtons);
/openjdk7/jdk/src/macosx/native/sun/awt/splashscreen/
H A Dsplashscreen_sys.m103 buf = SAFE_SIZE_ARRAY_ALLOC(malloc, inSize, 2);
/openjdk7/jdk/src/windows/native/sun/font/
H A Dlcdglyph.c378 dibImage = SAFE_SIZE_ARRAY_ALLOC(malloc, dibBytesWidth, height);
/openjdk7/jdk/src/share/native/sun/java2d/pipe/
H A DRegion.c265 *pRect = (RECT_T *) SAFE_SIZE_ARRAY_ALLOC(malloc, numrects, sizeof(RECT_T));
/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/windows/native/sun/java2d/opengl/
H A DWGLSurfaceData.c607 pDst = SAFE_SIZE_ARRAY_ALLOC(malloc, height, scanStride);
/openjdk7/jdk/src/windows/native/sun/awt/splashscreen/
H A Dsplashscreen_sys.c71 buf = (WCHAR*) SAFE_SIZE_ARRAY_ALLOC(malloc, outChars, sizeof(WCHAR));
/openjdk7/jdk/src/windows/native/sun/java2d/windows/
H A DGDIRenderer.cpp87 pPoints = (POINT *) SAFE_SIZE_ARRAY_ALLOC(safe_Malloc, sizeof(POINT), outpoints);
/openjdk7/jdk/src/solaris/native/sun/xawt/
H A DXlibWrapper.c2248 pRect = (RECT_T *)SAFE_SIZE_ARRAY_ALLOC(malloc, worstBufferSize, sizeof(RECT_T));

Completed in 421 milliseconds