Searched refs:buf (Results 1 - 25 of 1477) sorted by relevance

1234567891011>>

/openjdk10/jdk/test/com/sun/jdi/redefine/
H A DDifferent_RedefineSubTarg.java21 StringBuffer buf = new StringBuffer(prev);
22 buf.append("Different ");
23 return buf.toString();
/openjdk10/jdk/src/java.desktop/windows/native/libawt/java2d/d3d/
H A DD3DRenderQueue.h36 #define NEXT_VAL(buf, type) (((type *)((buf) += sizeof(type)))[-1])
37 #define NEXT_BYTE(buf) NEXT_VAL(buf, unsigned char)
38 #define NEXT_INT(buf) NEXT_VAL(buf, jint)
39 #define NEXT_FLOAT(buf) NEXT_VAL(buf, jfloat)
40 #define NEXT_BOOLEAN(buf) (jboolean)NEXT_INT(buf)
[all...]
/openjdk10/jdk/src/java.base/share/classes/sun/text/normalizer/
H A DReplaceableString.java51 private StringBuffer buf; field in class:ReplaceableString
59 buf = new StringBuffer(str);
63 * Construct a new object using <code>buf</code> for internal
64 * storage. The contents of <code>buf</code> at the time of
66 * Modifications to <code>buf</code> will modify this object, and
68 * @param buf object to be used as internal storage
71 public ReplaceableString(StringBuffer buf) { argument
72 this.buf = buf;
81 return buf
[all...]
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/util/
H A DValidationEventLocatorExImpl.java56 StringBuffer buf = new StringBuffer();
57 buf.append("[url=");
58 buf.append(getURL());
59 buf.append(",line=");
60 buf.append(getLineNumber());
61 buf.append(",column=");
62 buf.append(getColumnNumber());
63 buf.append(",node=");
64 buf.append(getNode());
65 buf
[all...]
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/interpreter/
H A DBytecodeWithKlass.java44 StringBuffer buf = new StringBuffer();
45 buf.append(getJavaBytecodeName());
46 buf.append(spaces);
47 buf.append('#');
48 buf.append(Integer.toString(index()));
49 buf.append(spaces);
50 buf.append("[Class ");
51 buf.append(getClassName().asString().replace('/', '.'));
52 buf.append(']');
54 buf
[all...]
H A DBytecodeLoadStore.java35 StringBuffer buf = new StringBuffer();
36 buf.append(getJavaBytecodeName());
37 buf.append(spaces);
38 buf.append('#');
39 buf.append(Integer.toString(getLocalVarIndex()));
40 return buf.toString();
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/soql/
H A DJSJavaString.java38 StringBuffer buf = new StringBuffer();
39 buf.append("String (address=");
40 buf.append(getOop().getHandle());
41 buf.append(", value=");
42 buf.append("'");
43 buf.append(getString());
44 buf.append('\'');
45 buf.append(')');
46 return buf.toString();
/openjdk10/jdk/test/java/nio/Buffer/
H A DOrderDouble.java36 private static void ckDoubleBuffer(DoubleBuffer buf, ByteOrder expected) { argument
37 ck(buf.asReadOnlyBuffer().order(), expected);
38 ck(buf.duplicate().order(), expected);
39 ck(buf.slice().order(), expected);
44 DoubleBuffer buf = DoubleBuffer.wrap(array);
45 ck(buf.order(), nord);
46 ckDoubleBuffer(buf, nord);
48 buf = DoubleBuffer.wrap(array, LENGTH/2, LENGTH/2);
49 ck(buf.order(), nord);
50 ckDoubleBuffer(buf, nor
[all...]
H A DOrderFloat.java36 private static void ckFloatBuffer(FloatBuffer buf, ByteOrder expected) { argument
37 ck(buf.asReadOnlyBuffer().order(), expected);
38 ck(buf.duplicate().order(), expected);
39 ck(buf.slice().order(), expected);
44 FloatBuffer buf = FloatBuffer.wrap(array);
45 ck(buf.order(), nord);
46 ckFloatBuffer(buf, nord);
48 buf = FloatBuffer.wrap(array, LENGTH/2, LENGTH/2);
49 ck(buf.order(), nord);
50 ckFloatBuffer(buf, nor
[all...]
H A DOrderShort.java36 private static void ckShortBuffer(ShortBuffer buf, ByteOrder expected) { argument
37 ck(buf.asReadOnlyBuffer().order(), expected);
38 ck(buf.duplicate().order(), expected);
39 ck(buf.slice().order(), expected);
44 ShortBuffer buf = ShortBuffer.wrap(array);
45 ck(buf.order(), nord);
46 ckShortBuffer(buf, nord);
48 buf = ShortBuffer.wrap(array, LENGTH/2, LENGTH/2);
49 ck(buf.order(), nord);
50 ckShortBuffer(buf, nor
[all...]
H A DOrderChar.java36 private static void ckCharBuffer(CharBuffer buf, ByteOrder expected) { argument
37 ck(buf.asReadOnlyBuffer().order(), expected);
38 ck(buf.duplicate().order(), expected);
39 ck(buf.slice().order(), expected);
44 CharBuffer buf = CharBuffer.wrap(array);
45 ck(buf.order(), nord);
46 ckCharBuffer(buf, nord);
48 buf = CharBuffer.wrap(array, LENGTH/2, LENGTH/2);
49 ck(buf.order(), nord);
50 ckCharBuffer(buf, nor
[all...]
H A DOrderLong.java36 private static void ckLongBuffer(LongBuffer buf, ByteOrder expected) { argument
37 ck(buf.asReadOnlyBuffer().order(), expected);
38 ck(buf.duplicate().order(), expected);
39 ck(buf.slice().order(), expected);
44 LongBuffer buf = LongBuffer.wrap(array);
45 ck(buf.order(), nord);
46 ckLongBuffer(buf, nord);
48 buf = LongBuffer.wrap(array, LENGTH/2, LENGTH/2);
49 ck(buf.order(), nord);
50 ckLongBuffer(buf, nor
[all...]
H A DOrderInt.java36 private static void ckIntBuffer(IntBuffer buf, ByteOrder expected) { argument
37 ck(buf.asReadOnlyBuffer().order(), expected);
38 ck(buf.duplicate().order(), expected);
39 ck(buf.slice().order(), expected);
44 IntBuffer buf = IntBuffer.wrap(array);
45 ck(buf.order(), nord);
46 ckIntBuffer(buf, nord);
48 buf = IntBuffer.wrap(array, LENGTH/2, LENGTH/2);
49 ck(buf.order(), nord);
50 ckIntBuffer(buf, nor
[all...]
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/util/
H A DByteInputStream.java40 public ByteInputStream(byte buf[], int length) { argument
41 super(buf, 0, length);
44 public ByteInputStream(byte buf[], int offset, int length) { argument
45 super(buf, offset, length);
49 return buf;
61 public void setBuf(byte[] buf) { argument
62 this.buf = buf;
64 this.count = buf.length;
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/org/objectweb/asm/signature/
H A DSignatureWriter.java74 private final StringBuilder buf = new StringBuilder(); field in class:SignatureWriter
109 buf.append('<');
111 buf.append(name);
112 buf.append(':');
122 buf.append(':');
142 buf.append('(');
151 buf.append('(');
153 buf.append(')');
159 buf.append('^');
165 buf
[all...]
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/
H A DMappedByteBufferDataSource.java36 private MappedByteBuffer buf; field in class:MappedByteBufferDataSource
38 public MappedByteBufferDataSource(MappedByteBuffer buf) { argument
39 this.buf = buf;
42 public byte readByte() throws IOException { return buf.get(); }
43 public short readShort() throws IOException { return buf.getShort(); }
44 public int readInt() throws IOException { return buf.getInt(); }
45 public long readLong() throws IOException { return buf.getLong(); }
46 public int read(byte[] b) throws IOException { buf.get(b); return b.length; }
49 buf
[all...]
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/ui/
H A DVMFlagsPanel.java53 StringBuffer buf = new StringBuffer();
54 buf.append("<html><head><title>VM Command Line Flags</title></head><body>");
56 buf.append("<b>Command Flag info not available (use 1.4.1_03 or later)!</b>");
58 buf.append("<table border='1'>");
60 buf.append("<tr><td>");
61 buf.append(flags[f].getName());
62 buf.append("</td><td>");
63 buf.append(flags[f].getValue());
64 buf.append("</td>");
66 buf
[all...]
H A DVMVersionInfoPanel.java53 StringBuffer buf = new StringBuffer();
54 buf.append("<html><head><title>VM Version Info</title></head>");
55 buf.append("<body><table border='1'>");
58 buf.append("<tr><td><b>VM Type</b></td>");
59 buf.append("<td>");
61 buf.append("<b>core</b>");
63 buf.append("<b>client</b>");
65 buf.append("<b>server</b>");
67 buf.append("<b>unknown</b>");
69 buf
[all...]
/openjdk10/hotspot/test/compiler/loopopts/
H A DTestCastIINoLoopLimitCheck.java46 static void m(int i, int index, char[] buf) { argument
49 buf [--index] = 0;
50 buf [--index] = 1;
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/
H A DSignatureConverter.java30 private StringBuffer buf; field in class:SignatureConverter
33 public SignatureConverter(Symbol sig, StringBuffer buf) { argument
35 this.buf = buf;
38 public void doBool () { appendComma(); buf.append("boolean"); }
39 public void doChar () { appendComma(); buf.append("char"); }
40 public void doFloat () { appendComma(); buf.append("float"); }
41 public void doDouble() { appendComma(); buf.append("double"); }
42 public void doByte () { appendComma(); buf.append("byte"); }
43 public void doShort () { appendComma(); buf
[all...]
/openjdk10/hotspot/src/os/solaris/vm/
H A Ddecoder_solaris.cpp29 bool ElfDecoder::demangle(const char* symbol, char *buf, int buflen) { argument
30 return !cplus_demangle(symbol, buf, (size_t)buflen);
/openjdk10/jdk/src/java.naming/share/classes/javax/naming/
H A DBinaryRefAddr.java70 private byte[] buf = null; field in class:BinaryRefAddr
98 buf = new byte[count];
99 System.arraycopy(src, offset, buf, 0, count);
112 return buf;
127 if (buf == null && target.buf == null)
129 if (buf == null || target.buf == null ||
130 buf.length != target.buf
[all...]
/openjdk10/jdk/test/java/time/test/java/time/format/
H A DTestStringLiteralPrinter.java74 buf.append("EXISTING");
75 getFormatter("hello").formatTo(EMPTY_DTA, buf);
76 assertEquals(buf.toString(), "EXISTINGhello");
80 buf.append("EXISTING");
81 getFormatter("hello").formatTo(dta, buf);
82 assertEquals(buf.toString(), "EXISTINGhello");
89 getFormatter("hello").formatTo(dta, buf);
90 assertEquals(buf.toString(), "hello");
H A DTestCharLiteralPrinter.java74 buf.append("EXISTING");
75 getFormatter('a').formatTo(EMPTY_DTA, buf);
76 assertEquals(buf.toString(), "EXISTINGa");
80 buf.append("EXISTING");
81 getFormatter('a').formatTo(dta, buf);
82 assertEquals(buf.toString(), "EXISTINGa");
86 getFormatter('a').formatTo(dta, buf);
87 assertEquals(buf.toString(), "a");
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/org/objectweb/asm/util/
H A DASMifier.java216 buf.setLength(0);
217 buf.append("cw.visit(");
220 buf.append("V1_1");
223 buf.append("V1_2");
226 buf.append("V1_3");
229 buf.append("V1_4");
232 buf.append("V1_5");
235 buf.append("V1_6");
238 buf.append("V1_7");
241 buf
1150 appendConstant(final StringBuffer buf, final Object cst) argument
[all...]

Completed in 241 milliseconds

1234567891011>>