Searched refs:lpBuffer (Results 1 - 4 of 4) sorted by relevance

/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_ole.cpp37 LPCTSTR CreateTimeStamp(LPTSTR lpBuffer, size_t iBufferSize) argument
41 size_t len = _tcsftime(lpBuffer, iBufferSize, _T("%b %d %H:%M:%S"), localtime(&tb.time));
43 if (_sntprintf(lpBuffer+len, iBufferSize-len-1, _T(".%03d"), tb.millitm) < 0) {
44 lpBuffer[iBufferSize-len-1] = 0;
47 return lpBuffer;
H A Dawt_ole.h53 LPCTSTR CreateTimeStamp(LPTSTR lpBuffer, size_t iBufferSize);
/openjdk7/jdk/src/windows/native/java/io/
H A Dio_util_md.c377 INPUT_RECORD *lpBuffer; /* Pointer to records of input events */ local
390 /* lpBuffer must fit into 64K or else PeekConsoleInput fails */
398 lpBuffer = malloc(bufferSize);
399 if (lpBuffer == NULL) {
403 error = PeekConsoleInput(han, lpBuffer, numEvents, &numEventsRead);
405 free(lpBuffer);
411 if (lpBuffer[i].EventType == KEY_EVENT) {
413 &(lpBuffer[i].Event);
422 if(lpBuffer != NULL)
423 free(lpBuffer);
[all...]
/openjdk7/hotspot/src/os/windows/vm/
H A Dos_windows.cpp4384 INPUT_RECORD *lpBuffer; /* Pointer to records of input events */ local
4396 /* lpBuffer must fit into 64K or else PeekConsoleInput fails */
4401 lpBuffer = (INPUT_RECORD *)os::malloc(numEvents * sizeof(INPUT_RECORD), mtInternal);
4402 if (lpBuffer == NULL) {
4406 error = ::PeekConsoleInput(han, lpBuffer, numEvents, &numEventsRead);
4408 os::free(lpBuffer, mtInternal);
4414 if (lpBuffer[i].EventType == KEY_EVENT) {
4417 &(lpBuffer[i].Event);
4428 if(lpBuffer != NULL) {
4429 os::free(lpBuffer, mtInterna
[all...]

Completed in 92 milliseconds