/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/ |
H A D | XMLStreamReaderToXMLStreamWriter.java | 51 private char[] buf; field in class:XMLStreamReaderToXMLStreamWriter 68 buf = new char[BUF_SIZE]; 137 for (int start=0,read=buf.length; read == buf.length; start+=buf.length) { 138 read = in.getTextCharacters(start, buf, 0, buf.length); 139 out.writeCharacters(buf, 0, read);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/util/ |
H A D | Uri.java | 52 StringBuffer buf = null; 67 if (buf == null) 68 buf = new StringBuffer(); 70 buf.append(s.substring(done, i)); 93 buf.append('%'); 94 buf.append(HEX_DIGITS.charAt((bytes[j] & 0xFF) >> 4)); 95 buf.append(HEX_DIGITS.charAt(bytes[j] & 0xF)); 99 return buf.toString();
|
/openjdk7/jdk/test/java/io/charStreams/ |
H A D | ABCInputStream.java | 67 public int read(byte buf[], int off, int len) { argument 77 buf[i] = (byte) c;
|
/openjdk7/jdk/test/sun/security/x509/X509CRLImpl/ |
H A D | UnexpectedNPE.java | 58 private boolean run(byte[] buf) { argument 69 cf.generateCRL(new ByteArrayInputStream(buf));
|
/openjdk7/jdk/src/solaris/classes/sun/print/ |
H A D | AttributeClass.java | 103 byte[] buf = new byte[4]; 105 buf[i] = bufArray[i+1]; 108 return convertToInt(buf); 266 private int convertToInt(byte[] buf) { argument 269 intVal+= unsignedByteToInt(buf[pos++]) << 24; 270 intVal+= unsignedByteToInt(buf[pos++]) << 16; 271 intVal+= unsignedByteToInt(buf[pos++]) << 8; 272 intVal+= unsignedByteToInt(buf[pos++]) << 0;
|
/openjdk7/jdk/test/sun/security/jgss/spnego/ |
H A D | NegTokenTargFields.java | 59 byte[] buf = (byte[])NegTokenTargFields.class.getField(args[0]).get(null); 60 new NegTokenTarg(buf);
|
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/ |
H A D | Field.java | 139 StringBuffer buf = new StringBuffer(access + signature + " " + name); 143 buf.append(" = " + cv); 149 buf.append(" [" + a.toString() + "]"); 152 return buf.toString();
|
H A D | Synthetic.java | 159 StringBuffer buf = new StringBuffer("Synthetic"); 162 buf.append(" " + Utility.toHexString(bytes)); 164 return buf.toString();
|
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/ |
H A D | DigestClientId.java | 106 StringBuffer buf = new StringBuffer(); 108 buf.append(':'); 110 buf.append(propvals[i]); 113 return super.toString() + buf.toString();
|
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | elfStringTable.hpp | 48 bool string_at(int offset, char* buf, int buflen);
|
H A D | elfStringTable.cpp | 70 bool ElfStringTable::string_at(int pos, char* buf, int buflen) { argument 75 jio_snprintf(buf, buflen, "%s", (const char*)(m_table + pos)); 81 fread(buf, 1, buflen, m_file) <= 0 ||
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/ |
H A D | JAXWSUtils.java | 73 StringBuffer buf = new StringBuffer(); 77 buf.append("%20"); 79 buf.append(url.charAt(i)); 81 return buf.toString();
|
/openjdk7/jdk/test/java/io/FileInputStream/ |
H A D | OpsAfterClose.java | 24 byte buf[] = new byte[2]; 25 r.read(buf); 34 byte buf[] = new byte[2]; 36 r.read(buf, 0, len);
|
/openjdk7/jdk/test/java/io/FileOutputStream/ |
H A D | OpsAfterClose.java | 24 byte buf[] = new byte[2]; 25 r.write(buf); 34 byte buf[] = new byte[2]; 36 r.write(buf, 0, len);
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/code/ |
H A D | Attribute.java | 157 StringBuilder buf = new StringBuilder(); 158 buf.append("@"); 159 buf.append(type); 162 buf.append('('); 165 if (!first) buf.append(", "); 170 buf.append(name); 171 buf.append('='); 173 buf.append(value.snd); 175 buf.append(')'); 177 return buf [all...] |
H A D | Printer.java | 184 StringBuffer buf = new StringBuffer(); 186 buf.append(visit(t.getEnclosingType(), locale)); 187 buf.append("."); 188 buf.append(className(t, false, locale)); 190 buf.append(className(t, true, locale)); 193 buf.append('<'); 194 buf.append(visitTypes(t.getTypeArguments(), locale)); 195 buf.append(">"); 197 return buf.toString(); 289 StringBuffer buf [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/ |
H A D | ClassFile.java | 110 /** Return internal representation of buf[offset..offset+len-1], 113 public static byte[] internalize(byte[] buf, int offset, int len) { argument 116 byte b = buf[offset + j]; 130 /** Return external representation of buf[offset..offset+len-1], 133 public static byte[] externalize(byte[] buf, int offset, int len) { argument 136 byte b = buf[offset + j];
|
/openjdk7/jdk/src/share/native/java/util/zip/zlib-1.2.3/ |
H A D | gzio.c | 418 int ZEXPORT gzread (file, buf, len) 420 voidp buf; 424 Bytef *start = (Bytef*)buf; /* starting point for crc computation */ 432 next_out = (Byte*)buf; 433 s->stream.next_out = (Bytef*)buf; 557 read, or a newline character is read and transferred to buf, or an 560 gzgets returns buf, or Z_NULL in case of error. 564 char * ZEXPORT gzgets(file, buf, len) 566 char *buf; 569 char *b = buf; 629 char buf[Z_PRINTF_BUFSIZE]; local 668 char buf[Z_PRINTF_BUFSIZE]; local [all...] |
/openjdk7/jdk/test/java/util/zip/GZIP/ |
H A D | Accordion.java | 40 private static void readFully(InputStream s, byte[] buf) throws Throwable { argument 43 while ((n = s.read(buf, pos, buf.length-pos)) > 0) 45 if (pos != buf.length)
|
/openjdk7/jdk/src/share/classes/sun/net/ |
H A D | NetworkServer.java | 120 byte buf[] = new byte[300]; 124 while ((n = clientInput.read(buf, 0, buf.length)) >= 0) { 125 clientOutput.write(buf, 0, n);
|
/openjdk7/jdk/src/share/sample/nio/file/ |
H A D | Xdd.java | 105 ByteBuffer buf = ByteBuffer.allocateDirect(size); 106 view.read(name, buf); 107 buf.flip(); 108 System.out.println(Charset.defaultCharset().decode(buf).toString());
|
/openjdk7/langtools/test/tools/javac/processing/6350124/ |
H A D | HelloWorldAP.java | 82 byte[] buf = new byte[8192]; 84 while ((n = is.read(buf, 0, buf.length)) > 0) 85 os.write(buf, 0, n);
|
/openjdk7/jdk/src/share/native/sun/awt/libpng/ |
H A D | pngwutil.c | 52 png_save_uint_32(png_bytep buf, png_uint_32 i) argument 54 buf[0] = (png_byte)((i >> 24) & 0xff); 55 buf[1] = (png_byte)((i >> 16) & 0xff); 56 buf[2] = (png_byte)((i >> 8) & 0xff); 57 buf[3] = (png_byte)(i & 0xff); 68 png_save_int_32(png_bytep buf, png_int_32 i) argument 70 buf[0] = (png_byte)((i >> 24) & 0xff); 71 buf[1] = (png_byte)((i >> 16) & 0xff); 72 buf[2] = (png_byte)((i >> 8) & 0xff); 73 buf[ 82 png_save_uint_16(png_bytep buf, unsigned int i) argument 142 png_byte buf[8]; local 206 png_byte buf[4]; local 685 png_byte buf[13]; /* Buffer to store the IHDR info */ local 906 png_byte buf[3]; local 1074 png_byte buf[4]; local 1090 png_byte buf[1]; local 1280 png_byte buf[4]; local 1343 png_byte buf[32]; local 1377 png_byte buf[6]; local 1441 png_byte buf[6]; local 1505 png_byte buf[3]; local 1712 png_byte buf; local 1868 png_byte buf[9]; local 1892 png_byte buf[10]; local 1952 png_byte buf[64]; local 1984 png_byte buf[9]; local 2007 png_byte buf[7]; local [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/lib/ |
H A D | ExsltBase.java | 52 StringBuffer buf = new StringBuffer(); 56 buf.append(toString(childNode)); 58 return buf.toString();
|
/openjdk7/jdk/src/share/classes/java/security/ |
H A D | MessageDigestSpi.java | 155 * @param buf the output buffer in which to store the digest 159 * @param len number of bytes within buf allotted for the digest. 173 protected int engineDigest(byte[] buf, int offset, int len) argument 179 if (buf.length - offset < digest.length) 182 System.arraycopy(digest, 0, buf, offset, digest.length);
|