/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_DesktopProperties.cpp | 116 LPTSTR buffer = (LPTSTR)safe_Malloc(valueSize); local 118 &valueType, (unsigned char *)buffer, &valueSize) != 0) { 120 free(buffer); 123 return buffer; 162 LPTSTR buffer = (LPTSTR)safe_Malloc(valueSize); local 164 valueType, (unsigned char *)buffer, &valueSize) != 0) { 165 free(buffer); 172 // Pending: buffer must be null-terminated at this point 173 valueChar = ExpandEnvironmentStrings(buffer, NULL, 0); 175 ExpandEnvironmentStrings(buffer, buffer [all...] |
H A D | awt_TextArea.cpp | 690 // WCHAR* buffer = TO_WSTRING(text); 691 TCHAR *buffer = new TCHAR[length]; local 692 env->GetStringRegion(text, 0, length-1, reinterpret_cast<jchar*>(buffer)); 693 buffer[length-1] = '\0'; 695 c->CheckLineSeparator(buffer); 696 c->RemoveCR(buffer); 700 c->SendMessage(EM_REPLACESEL, FALSE, (LPARAM)buffer); 703 delete[] buffer;
|
H A D | WPrinterJob.cpp | 43 /* constants for DeviceCapability buffer lengths */ 98 // Copy printer name into passed-in buffer... 664 LPBYTE buffer = NULL; local 669 buffer = new BYTE[cbBuf]; 670 AwtPrintControl::FindPrinter(printer, buffer, &cbBuf, 673 delete [] buffer; 681 delete [] buffer;
|
H A D | awt_PrintControl.cpp | 114 // Compute size of buffer 631 LPBYTE buffer = new BYTE[cbBuf]; local 633 if (AwtPrintControl::FindPrinter(printerName, buffer, &cbBuf, 642 delete [] buffer; 654 delete [] buffer; 664 delete [] buffer;
|
H A D | awt_TextComponent.cpp | 545 WCHAR* buffer = new WCHAR[length + 1]; local 546 env->GetStringRegion(text, 0, length, reinterpret_cast<jchar*>(buffer)); 547 buffer[length] = 0; 548 c->CheckLineSeparator(buffer); 549 c->RemoveCR(buffer); 550 c->SetText(buffer); 551 delete[] buffer;
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/ |
H A D | JavacFileManager.java | 79 public static char[] toArray(CharBuffer buffer) { argument 80 if (buffer.hasArray()) 81 return ((CharBuffer)buffer.compact().flip()).array(); 83 return buffer.toString().toCharArray();
|
H A D | ZipFileIndex.java | 365 public synchronized int read(RelativeFile path, byte[] buffer) throws IOException { argument 369 return read(entry, buffer); 372 synchronized int read(Entry entry, byte[] buffer) argument 374 int result = readBytes(entry, buffer); 400 private int readBytes(Entry entry, byte[] buffer) throws IOException { argument 407 int size = buffer.length; 409 int count = zipRandomFile.read(buffer, offset, size - offset); 422 int count = inflate(cbuf, buffer);
|
/openjdk7/jdk/src/share/classes/sun/security/util/ |
H A D | DerValue.java | 66 protected DerInputBuffer buffer; field in class:DerValue 237 buffer = new DerInputBuffer(data.clone()); 239 this.data = new DerInputStream(buffer); 269 buffer = inbuf.dup(); 270 buffer.truncate(length); 271 data = new DerInputStream(buffer); 278 buffer = in.dup(); 279 buffer.truncate(length); 280 data = new DerInputStream(buffer); 287 * Get an ASN.1/DER encoded datum from a buffer [all...] |
/openjdk7/jdk/src/share/classes/sun/text/normalizer/ |
H A D | NormalizerBase.java | 149 private char[] buffer = new char[100]; field in class:NormalizerBase 631 //clone the internal buffer 632 if (buffer != null) { 633 copy.buffer = new char[buffer.length]; 634 System.arraycopy(buffer,0,copy.buffer,0,buffer.length); 764 * @param dest The char buffer to fill in 765 * @param destStart Start index of the destination buffer 1126 findPreviousIterationBoundary(UCharacterIterator src, IsPrevBoundary obj, int minC, int mask, char[] buffer, int[] startIndex) argument 1348 findNextIterationBoundary(UCharacterIterator src, IsNextBoundary obj, int minC, int mask, char[] buffer) argument [all...] |
H A D | UnicodeSet.java | 296 private int[] rangeList; // internal buffer 297 private int[] buffer; // internal buffer field in class:UnicodeSet 1333 if (buffer != null && newLen <= buffer.length) return; 1334 buffer = new int[newLen + GROW_EXTRA]; 1375 buffer[k++] = a; 1378 buffer[k++] = b; 1385 buffer[k++] = HIGH; 1390 // swap list and buffer [all...] |
/openjdk7/jdk/src/share/demo/applets/SpreadSheet/ |
H A D | SpreadSheet.java | 829 char buffer[]; field in class:InputField 843 buffer = new char[maxchars]; 846 initValue.getChars(0, initValue.length(), this.buffer, 0); 856 buffer[i] = 0; 864 sval.getChars(0, sval.length(), buffer, 0); 886 sval = new String(buffer, 0, nChars); 894 buffer[nChars++] = ch; 895 sval = new String(buffer, 0, nChars);
|
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/ |
H A D | SctpChannelImpl.java | 726 public <T> MessageInfo receive(ByteBuffer buffer, argument 730 return receive(buffer, attachment, handler, false); 733 private <T> MessageInfo receive(ByteBuffer buffer, argument 738 if (buffer == null) 739 throw new IllegalArgumentException("buffer cannot be null"); 741 if (buffer.isReadOnly()) 742 throw new IllegalArgumentException("Read-only buffer"); 768 n = receive(fdVal, buffer, resultContainer, fromConnect); 827 /* Substitute a native buffer */ 942 public int send(ByteBuffer buffer, MessageInf argument [all...] |
H A D | SctpMultiChannelImpl.java | 453 public <T> MessageInfo receive(ByteBuffer buffer, argument 457 if (buffer == null) 458 throw new IllegalArgumentException("buffer cannot be null"); 460 if (buffer.isReadOnly()) 461 throw new IllegalArgumentException("Read-only buffer"); 488 n = receive(fdVal, buffer, resultContainer); 514 buffer.clear(); 554 /* Substitute a native buffer. */ 766 public int send(ByteBuffer buffer, MessageInfo messageInfo) argument 768 if (buffer [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | DebugGraphics.java | 51 Image buffer; field in class:DebugGraphics 77 buffer = null; 113 debugGraphics.buffer = buffer; 127 debugGraphics.buffer = buffer; 1321 return buffer != null; 1337 * offscreen buffer. The value of <b>options</b> is bitwise OR'd into
|
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | TrueTypeFont.java | 333 int readBlock(ByteBuffer buffer, int offset, int length) { argument 362 buffer.clear(); 365 int cnt = disposerRecord.channel.read(buffer); 376 // We could still flip() the buffer here because 387 buffer.flip(); 400 buffer.flip(); 401 if (bread > length) { // possible if buffer.size() > length 418 return readBlock(buffer, offset, length); 441 ByteBuffer buffer = ByteBuffer.allocate(length); 451 buffer [all...] |
/openjdk7/jdk/src/share/classes/java/text/ |
H A D | DecimalFormat.java | 470 * buffer. 1977 StringBuffer buffer = new StringBuffer(); 1979 positivePrefix = expandAffix(posPrefixPattern, buffer); 1983 positiveSuffix = expandAffix(posSuffixPattern, buffer); 1987 negativePrefix = expandAffix(negPrefixPattern, buffer); 1991 negativeSuffix = expandAffix(negSuffixPattern, buffer); 2007 * @param buffer a scratch StringBuffer; its contents will be lost 2010 private String expandAffix(String pattern, StringBuffer buffer) { argument 2011 buffer.setLength(0); 2021 buffer 2136 appendAffix(StringBuffer buffer, String affixPattern, String expAffix, boolean localized) argument 2185 appendAffix(StringBuffer buffer, String affix, boolean localized) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | SoftVoice.java | 818 void processAudioLogic(SoftAudioBuffer[] buffer) { argument 822 int bufferlen = buffer[0].getSize(); 825 osc_buff[0] = buffer[SoftMainMixer.CHANNEL_LEFT_DRY].array(); 827 osc_buff[1] = buffer[SoftMainMixer.CHANNEL_RIGHT_DRY].array(); 843 SoftAudioBuffer left = buffer[SoftMainMixer.CHANNEL_LEFT]; 844 SoftAudioBuffer right = buffer[SoftMainMixer.CHANNEL_RIGHT]; 845 SoftAudioBuffer mono = buffer[SoftMainMixer.CHANNEL_MONO]; 846 SoftAudioBuffer eff1 = buffer[SoftMainMixer.CHANNEL_EFFECT1]; 847 SoftAudioBuffer eff2 = buffer[SoftMainMixer.CHANNEL_EFFECT2]; 849 SoftAudioBuffer dleft = buffer[SoftMainMixe [all...] |
/openjdk7/hotspot/src/share/vm/adlc/ |
H A D | forms.hpp | 540 static char *buffer() { return &external_buffer[0]; } function in class:Expr 542 static bool check_buffers(); // if buffer use may have overflowed, assert
|
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | stubRoutines.cpp | 152 CodeBuffer buffer(_code1); 153 StubGenerator_generate(&buffer, false); 175 address buffer = (address) round_to((intptr_t)&lbuffer[4], BytesPerLong); local 178 ((arraycopy_fn)func)(buffer, buffer2, 0); 183 ((arraycopy_fn)func)(buffer, buffer2 + alignment, 0); 188 ((arraycopy_fn)func)(buffer + alignment, buffer2, 0); 204 CodeBuffer buffer(_code2); 205 StubGenerator_generate(&buffer, true);
|
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | debug.cpp | 448 char buffer[256]; local 449 sprintf(buffer, "printnm: " INTPTR_FORMAT, p); 450 Command c(buffer); 838 char buffer[256]; 853 count = scanf("%s", buffer) ; 860 if ( strcmp(buffer, CommandList[i].name) == 0 ) {
|
H A D | ostream.cpp | 82 // Execute a vsprintf, using the given buffer if necessary. 84 const char* outputStream::do_vsnprintf(char* buffer, size_t buflen, argument 100 } else if (vsnprintf(buffer, buflen, format, ap) >= 0) { 101 result = buffer; 105 result = buffer; 107 buffer[result_len] = 0; 110 if (result != buffer) { 111 strncpy(buffer, result, buflen); 112 result = buffer; 114 buffer[result_le 121 char buffer[O_BUFLEN]; local 131 char buffer[O_BUFLEN]; local 141 char buffer[O_BUFLEN]; local 148 char buffer[O_BUFLEN]; local 229 char buffer[buffer_length]; local 787 char buffer[O_BUFLEN+100]; local 938 staticBufferStream(char* buffer, size_t buflen, outputStream *outer_stream) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/stax/ |
H A D | StAXDocumentParser.java | 1672 StringBuffer buffer = new StringBuffer(); 1674 convertBase64AlorithmDataToCharacters(buffer); 1678 BuiltInEncodingAlgorithmFactory.getAlgorithm(_algorithmId).convertToCharacters(array, buffer); 1690 ea.convertToCharacters(data, buffer); 1697 _characters = new char[buffer.length()]; 1698 buffer.getChars(0, buffer.length(), _characters, 0); 1704 * from prev. base64 chunk are stored in this buffer */ 1712 protected void convertBase64AlorithmDataToCharacters(StringBuffer buffer) throws EncodingAlgorithmException, IOException { argument 1721 base64DecodeWithCloning(buffer, base64TaleByte [all...] |
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/ |
H A D | D3DRenderQueue.cpp | 55 byte *buffer; member in struct:__anon1078 91 // If the dimensions of the back-buffer don't match the dimensions of 201 b = pFlush->buffer; 938 bufstr.buffer = (unsigned char *)jlong_to_ptr(buf); 939 if (bufstr.buffer == NULL) { 941 "D3DRenderQueue_flushBuffer: cannot get direct buffer address");
|
/openjdk7/jdk/src/windows/native/sun/security/krb5/ |
H A D | NativeCreds.c | 700 // Therefore, first compute the necessary buffer size for that. 708 // The ticket request buffer needs to be a single buffer. That buffer 709 // needs to include the buffer for the target name. 715 // Allocate the request buffer and make sure it's zero-filled. 748 // buffer. Source1.Length + Source2.Length must be <= 0xFFFF, 753 PBYTE buffer = (PBYTE) pTarget->Buffer; local 759 memcpy(buffer, Source1.Buffer, Source1.Length); 760 memcpy(buffer [all...] |
/openjdk7/jdk/src/share/classes/sun/security/tools/ |
H A D | JarSigner.java | 152 private byte[] buffer = new byte[8192]; field in class:JarSigner 570 byte[] buffer = new byte[8192]; 580 while ((n = is.read(buffer, 0, buffer.length)) != -1) { 1558 while((left > 0) && (n = is.read(buffer, 0, buffer.length)) != -1) { 1559 os.write(buffer, 0, n); 1919 while((left > 0) && (n = is.read(buffer, 0, buffer.length)) != -1) { 1920 baos.write(buffer, [all...] |