Searched refs:buf (Results 401 - 425 of 1249) sorted by relevance

<<11121314151617181920>>

/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/
H A DXMLStreamReaderToXMLStreamWriter.java51 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 DUri.java52 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 DABCInputStream.java67 public int read(byte buf[], int off, int len) { argument
77 buf[i] = (byte) c;
/openjdk7/jdk/test/sun/security/x509/X509CRLImpl/
H A DUnexpectedNPE.java58 private boolean run(byte[] buf) { argument
69 cf.generateCRL(new ByteArrayInputStream(buf));
/openjdk7/jdk/src/solaris/classes/sun/print/
H A DAttributeClass.java103 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 DNegTokenTargFields.java59 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 DField.java139 StringBuffer buf = new StringBuffer(access + signature + " " + name);
143 buf.append(" = " + cv);
149 buf.append(" [" + a.toString() + "]");
152 return buf.toString();
H A DSynthetic.java159 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 DDigestClientId.java106 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 DelfStringTable.hpp48 bool string_at(int offset, char* buf, int buflen);
H A DelfStringTable.cpp70 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 DJAXWSUtils.java73 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 DOpsAfterClose.java24 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 DOpsAfterClose.java24 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 DAttribute.java157 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 DPrinter.java184 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 DClassFile.java110 /** 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 Dgzio.c418 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 DAccordion.java40 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 DNetworkServer.java120 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 DXdd.java105 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 DHelloWorldAP.java82 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 Dpngwutil.c52 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 DExsltBase.java52 StringBuffer buf = new StringBuffer();
56 buf.append(toString(childNode));
58 return buf.toString();
/openjdk7/jdk/src/share/classes/java/security/
H A DMessageDigestSpi.java155 * @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);

Completed in 149 milliseconds

<<11121314151617181920>>