/openjdk7/jdk/src/share/classes/sun/java2d/pipe/ |
H A D | BufferedBufImgOps.java | 104 RenderBuffer buf = rq.getBuffer(); 106 buf.putInt(ENABLE_CONVOLVE_OP); 107 buf.putLong(srcData.getNativeOps()); 108 buf.putInt(edgeZero ? 1 : 0); 109 buf.putInt(kernelWidth); 110 buf.putInt(kernelHeight); 111 buf.put(kernel.getKernelData(null)); 116 RenderBuffer buf = rq.getBuffer(); 118 buf.putInt(DISABLE_CONVOLVE_OP); 243 RenderBuffer buf [all...] |
H A D | BufferedTextPipe.java | 104 RenderBuffer buf = rq.getBuffer(); 119 if (totalBytesRequired <= buf.capacity()) { 120 if (totalBytesRequired > buf.remaining()) { 125 buf.putInt(DRAW_GLYPH_LIST); 127 buf.putInt(totalGlyphs); 128 buf.putInt(createPackedParams(sg2d, gl)); 129 buf.putFloat(glyphListOrigX); 130 buf.putFloat(glyphListOrigY); 132 buf.put(images, 0, totalGlyphs); 135 buf [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/ |
H A D | Signature.java | 160 final String getData() { return new String(buf); } 173 private static final void matchIdent(MyByteArrayInputStream in, StringBuffer buf) { argument 194 buf.append(buf2); 217 buf.append(buf2.toString().replace('/', '.')); 226 StringBuffer buf) 230 matchIdent(in, buf); 235 buf.append((char)ch); 236 matchGJIdent(in, buf); 244 buf.append(", "); 246 matchGJIdent(in, buf); // Recursiv 225 matchGJIdent(MyByteArrayInputStream in, StringBuffer buf) argument [all...] |
H A D | Utility.java | 112 StringBuffer buf = new StringBuffer(); 127 buf.append(Constants.ACCESS_NAMES[i] + " "); 131 return buf.toString().trim(); 159 StringBuffer buf = new StringBuffer(code.length * 20); // Should be sufficient 169 buf.append(indices + codeToString(stream, constant_pool, verbose) + '\n'); 173 System.out.println(buf.toString()); 178 return buf.toString(); 205 StringBuffer buf = new StringBuffer(Constants.OPCODE_NAMES[opcode]); 236 buf.append("\tdefault = " + default_offset + ", low = " + low + 242 buf [all...] |
H A D | ConstantValue.java | 151 String buf; 156 case Constants.CONSTANT_Long: buf = "" + ((ConstantLong)c).getBytes(); break; 157 case Constants.CONSTANT_Float: buf = "" + ((ConstantFloat)c).getBytes(); break; 158 case Constants.CONSTANT_Double: buf = "" + ((ConstantDouble)c).getBytes(); break; 159 case Constants.CONSTANT_Integer: buf = "" + ((ConstantInteger)c).getBytes(); break; 163 buf = "\"" + Utility.convertString(((ConstantUtf8)c).getBytes()) + "\""; 170 return buf;
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/output/ |
H A D | SAXOutput.java | 54 private char[] buf = new char[256]; field in class:SAXOutput 148 if(buf.length<=vlen) { 149 buf = new char[Math.max(buf.length*2,vlen+1)]; 152 value.getChars(0,vlen,buf,1); 153 buf[0] = ' '; 155 value.getChars(0,vlen,buf,0); 157 out.characters(buf,0,vlen+(needsSP?1:0)); 162 if(buf.length<=vlen) { 163 buf [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/ |
H A D | FieldDocImpl.java | 145 StringBuilder buf = new StringBuilder(8); 146 buf.append('\''); 147 sourceChar(c, buf); 148 buf.append('\''); 149 return buf.toString(); 155 StringBuilder buf = new StringBuilder(s.length() + 5); 156 buf.append('\"'); 159 sourceChar(c, buf); 161 buf.append('\"'); 162 return buf 164 sourceChar(char c, StringBuilder buf) argument 182 unicodeEscape(char c, StringBuilder buf) argument [all...] |
/openjdk7/jdk/src/share/classes/java/sql/ |
H A D | Date.java | 158 char buf[] = "2000-00-00".toCharArray(); 159 buf[0] = Character.forDigit(year/1000,10); 160 buf[1] = Character.forDigit((year/100)%10,10); 161 buf[2] = Character.forDigit((year/10)%10,10); 162 buf[3] = Character.forDigit(year%10,10); 163 buf[5] = Character.forDigit(month/10,10); 164 buf[6] = Character.forDigit(month%10,10); 165 buf[8] = Character.forDigit(day/10,10); 166 buf[9] = Character.forDigit(day%10,10); 168 return new String(buf); [all...] |
/openjdk7/jdk/src/share/classes/sun/security/util/ |
H A D | Password.java | 70 char[] buf; 73 buf = lineBuffer = new char[128]; 75 int room = buf.length; 101 buf = new char[offset + 128]; 102 room = buf.length - offset - 1; 103 System.arraycopy(lineBuffer, 0, buf, 0, offset); 105 lineBuffer = buf; 107 buf[offset++] = (char) c; 117 System.arraycopy(buf, 0, ret, 0, offset); 118 Arrays.fill(buf, ' '); [all...] |
H A D | BigInt.java | 146 StringBuffer buf = new StringBuffer(places.length * 2); 147 buf.append(" "); // four spaces 149 buf.append(digits.charAt((places[i] >> 4) & 0x0f)); 150 buf.append(digits.charAt(places[i] & 0x0f)); 153 buf.append("\n "); // line after four words 155 buf.append(' '); // space between words 157 return buf.toString();
|
/openjdk7/jdk/test/javax/security/auth/login/LoginContext/ |
H A D | DefaultHandlerImpl.java | 101 char[] buf; 104 buf = lineBuffer = new char[128]; 106 int room = buf.length; 128 buf = new char[offset + 128]; 129 room = buf.length - offset - 1; 130 System.arraycopy(lineBuffer, 0, buf, 0, offset); 132 lineBuffer = buf; 134 buf[offset++] = (char) c; 144 System.arraycopy(buf, 0, ret, 0, offset); 145 Arrays.fill(buf, ' '); [all...] |
/openjdk7/hotspot/src/share/vm/services/ |
H A D | diagnosticArgument.cpp | 47 void GenDCmdArgument::to_string(jlong l, char* buf, size_t len) { argument 48 jio_snprintf(buf, len, INT64_FORMAT, l); 51 void GenDCmdArgument::to_string(bool b, char* buf, size_t len) { argument 52 jio_snprintf(buf, len, b ? "true" : "false"); 55 void GenDCmdArgument::to_string(NanoTimeArgument n, char* buf, size_t len) { argument 56 jio_snprintf(buf, len, INT64_FORMAT, n._nanotime); 59 void GenDCmdArgument::to_string(MemorySizeArgument m, char* buf, size_t len) { argument 60 jio_snprintf(buf, len, INT64_FORMAT, m._size); 63 void GenDCmdArgument::to_string(char* c, char* buf, size_t len) { argument 64 jio_snprintf(buf, le 67 to_string(StringArrayArgument* f, char* buf, size_t len) argument 97 char* buf = NEW_RESOURCE_ARRAY(char, len + 1); local 131 char* buf = NEW_RESOURCE_ARRAY(char, len + 1); local [all...] |
/openjdk7/jdk/test/java/util/zip/ |
H A D | InflateIn_DeflateOut.java | 73 System.arraycopy(buf, pos, newbuf, 0, oldavail); 77 buf = newbuf; 91 pairedStream.addBytes(buf, count); 101 private static boolean readFully(InputStream in, byte[] buf, int length) argument 105 while ((n = in.read(buf, pos, length - pos)) > 0) { 139 byte[] buf = new byte[data.length]; 145 check(readFully(iis, buf, buf.length)); 146 check(Arrays.equals(data, buf)); 157 byte[] buf [all...] |
/openjdk7/jdk/test/com/sun/net/httpserver/bugs/ |
H A D | B6373555.java | 91 byte[] buf = new byte [5200]; 93 buf [i] = (byte)i; 95 return buf; 101 byte[] buf = getBuf(); 111 out.write(buf); 116 if (buf.length != newBuf.length) { 137 byte[] buf = new byte[1024]; 141 while ((num = istream.read(buf)) != -1) { 142 bout.write(buf, 0, num); 168 byte[] buf 194 writePostReply(HttpExchange msg, byte[] buf) argument [all...] |
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/registry/ |
H A D | Compress.java | 104 int buf[] = new int[5]; field in class:Compress.CompressInputStream 167 buf[0] = (pack >>> 24) & 0x3F; 168 buf[1] = (pack >>> 18) & 0x3F; 169 buf[2] = (pack >>> 12) & 0x3F; 170 buf[3] = (pack >>> 6) & 0x3F; 171 buf[4] = (pack >>> 0) & 0x3F; 174 return buf[bufPos++]; 187 int buf[] = new int[5]; field in class:Compress.CompressOutputStream 222 buf[bufPos++] = c; 224 int pack = (buf[ [all...] |
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | CharacterEncoder.java | 215 byte [] buf = null; 225 buf = tmp; 230 if (buf == null) { 232 * This class doesn't have a concept of encode(buf, len, off), 236 buf = new byte[bb.remaining()]; 241 bb.get(buf); 244 return buf; 255 byte [] buf = getBytes(aBuffer); 256 encode(buf, aStream); 266 byte [] buf [all...] |
/openjdk7/hotspot/src/os/bsd/vm/ |
H A D | vmError_bsd.cpp | 37 void VMError::show_message_box(char *buf, int buflen) { argument 40 error_string(buf, buflen); 41 int len = (int)strlen(buf); 42 char *p = &buf[len]; 53 yes = os::message_box("Unexpected Error", buf); 57 jio_snprintf(buf, buflen, "gdb /proc/%d/exe %d", 60 os::fork_and_exec(buf);
|
/openjdk7/hotspot/src/os/linux/vm/ |
H A D | vmError_linux.cpp | 37 void VMError::show_message_box(char *buf, int buflen) { argument 40 error_string(buf, buflen); 41 int len = (int)strlen(buf); 42 char *p = &buf[len]; 53 yes = os::message_box("Unexpected Error", buf); 57 jio_snprintf(buf, buflen, "gdb /proc/%d/exe %d", 60 os::fork_and_exec(buf);
|
/openjdk7/hotspot/src/os/solaris/vm/ |
H A D | vmError_solaris.cpp | 35 void VMError::show_message_box(char *buf, int buflen) { argument 38 error_string(buf, buflen); 39 int len = (int)strlen(buf); 40 char *p = &buf[len]; 50 yes = os::message_box("Unexpected Error", buf); 54 jio_snprintf(buf, buflen, "dbx - %d", os::current_process_id()); 56 os::fork_and_exec(buf);
|
/openjdk7/jaxp/src/org/xml/sax/ |
H A D | SAXParseException.java | 265 StringBuilder buf = new StringBuilder(getClass().getName()); 267 if (publicId!=null) buf.append("publicId: ").append(publicId); 268 if (systemId!=null) buf.append("; systemId: ").append(systemId); 269 if (lineNumber!=-1) buf.append("; lineNumber: ").append(lineNumber); 270 if (columnNumber!=-1) buf.append("; columnNumber: ").append(columnNumber); 273 if (message!=null) buf.append("; ").append(message); 274 return buf.toString();
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/ |
H A D | NextAction.java | 139 StringBuilder buf = new StringBuilder(); 140 buf.append(super.toString()).append(" ["); 141 buf.append("kind=").append(getKindString()).append(','); 142 buf.append("next=").append(next).append(','); 143 buf.append("packet=").append(packet).append(','); 144 buf.append("throwable=").append(throwable).append(']'); 145 return buf.toString();
|
/openjdk7/jdk/src/windows/classes/sun/java2d/d3d/ |
H A D | D3DRenderQueue.java | 123 RenderBuffer buf = rq.getBuffer(); 125 buf.putInt(DISPOSE_CONFIG); 126 buf.putLong(pConfigInfo); 145 private native void flushBuffer(long buf, int limit, Runnable task); argument 149 int limit = buf.position(); 152 flushBuffer(buf.getAddress(), limit, task); 155 buf.clear();
|
/openjdk7/jdk/test/java/nio/channels/SocketChannel/ |
H A D | Connect.java | 71 ByteBuffer buf = ByteBuffer.allocateDirect(100); 72 buf.asCharBuffer().put(new String( 75 buf.flip(); 96 sc.write(buf); 106 if(sk.isWritable() && (buf.remaining() > 0)) { 107 sc.write(buf); 109 if(buf.remaining() == 0) {
|
/openjdk7/jdk/src/share/classes/javax/imageio/stream/ |
H A D | MemoryCache.java | 94 byte [] buf = null; 98 buf = getCacheBlock(length/BUFFER_LENGTH); 102 if (buf == null) { 104 buf = new byte[BUFFER_LENGTH]; 113 nbytes = stream.read(buf, offset, nbytes); 119 cache.add(buf); 129 buf = null; 165 byte[] buf = getCacheBlock(bufIndex++); 167 if (buf == null) { 168 buf [all...] |
/openjdk7/jdk/src/solaris/native/sun/tools/attach/ |
H A D | SolarisVirtualMachine.c | 155 unsigned char buf[128]; local 156 size_t len = sizeof(buf); 164 RESTARTABLE(read(fd, buf+off, len), n); 171 (*env)->SetByteArrayRegion(env, ba, off, (jint)n, (jbyte *)(buf+off)); 242 char* buf; local 254 buf = (char*)malloc(size); 255 if (buf != NULL) { 256 char* pos = buf; 257 strcpy(buf, PROTOCOL_VERSION); 264 if (buf 331 char buf[255]; local [all...] |