Searched refs:buffer (Results 101 - 125 of 959) sorted by relevance

1234567891011>>

/openjdk10/jdk/src/java.base/windows/classes/sun/nio/fs/
H A DWindowsAclFileAttributeView.java83 // invoke get to buffer size
92 // allocate buffer and re-invoke to get security information
93 NativeBuffer buffer = NativeBuffers.getNativeBuffer(size);
96 int newSize = GetFileSecurity(path, request, buffer.address(), size);
98 return buffer;
100 // buffer was insufficient
101 buffer.release();
102 buffer = NativeBuffers.getNativeBuffer(newSize);
106 buffer.release();
121 NativeBuffer buffer
[all...]
/openjdk10/jdk/src/java.base/share/classes/java/io/
H A DBufferedInputStream.java33 * the ability to buffer the input and to
36 * is created, an internal buffer array is
38 * or skipped, the internal buffer is refilled
75 * The internal buffer array where the data is stored. When necessary,
89 * the buffer.
99 * The current position in the buffer. This is the index of the next
130 * in the buffer array (though they may be
131 * moved to another place in the buffer array,
170 * Check to make sure that buffer has not been nulled out due to
174 byte[] buffer
[all...]
H A DPipedInputStream.java39 * The piped input stream contains a buffer,
65 * The default size of the pipe's circular input buffer.
74 * The circular buffer into which incoming data is placed.
77 protected byte buffer[]; field in class:PipedInputStream
80 * The index of the position in the circular buffer at which the
82 * piped output stream. <code>in&lt;0</code> implies the buffer is empty,
83 * <code>in==out</code> implies the buffer is full
89 * The index of the position in the circular buffer at which the next
113 * the pipe's buffer.
118 * @param pipeSize the size of the pipe's buffer
[all...]
H A DStringBufferInputStream.java51 protected String buffer; field in class:StringBufferInputStream
54 * The index of the next character to read from the input stream buffer.
56 * @see java.io.StringBufferInputStream#buffer
61 * The number of valid characters in the input stream buffer.
63 * @see java.io.StringBufferInputStream#buffer
70 * @param s the underlying input buffer.
73 this.buffer = s;
86 * low eight bits of the next character in this input stream's buffer.
92 return (pos < count) ? (buffer.charAt(pos++) & 0xFF) : -1;
101 * low eight bits from the characters in this input stream's buffer int
[all...]
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/
H A DFastDtoa.java83 // Input: * buffer containing the digits of too_high / 10^kappa
86 // * rest = (too_high - buffer * 10^kappa).f() * unit
89 // Output: returns true if the buffer is guaranteed to contain the closest
91 // Modifies the generated digits in the buffer to approach (round towards) w.
92 static boolean roundWeed(final DtoaBuffer buffer, argument
107 // Basically the buffer currently contains a number in the unsafe interval
126 // buffer --------------------------------------------------+-------+--------
137 // Note that the value of buffer could lie anywhere inside the range too_low
148 // If the number inside the buffer lies inside the unsafe interval but not
158 // too_high) buffer tha
211 roundWeedCounted(final char[] buffer, final int length, final long rest, final long ten_kappa, final long unit) argument
336 digitGen(final DiyFp low, final DiyFp w, final DiyFp high, final DtoaBuffer buffer, final int mk) argument
461 digitGenCounted(final DiyFp w, int requested_digits, final DtoaBuffer buffer, final int mk) argument
551 grisu3(final double v, final DtoaBuffer buffer) argument
611 grisu3Counted(final double v, final int requested_digits, final DtoaBuffer buffer) argument
[all...]
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/xml/internal/dtdparser/
H A DXmlReader.java83 // critical path. (So keep buffer length over 2 Kbytes to avoid
305 byte buffer [] = new byte[MAXPUSHBACK];
316 len = pb.read(buffer, 0, buffer.length);
317 pb.unread(buffer, 0, len);
318 r = new InputStreamReader(new ByteArrayInputStream(buffer, 4, len),
440 * Reads the number of characters read into the buffer, or -1 on EOF.
526 protected byte buffer []; field in class:XmlReader.BaseReader
533 buffer = new byte[8192];
547 buffer
[all...]
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/util/
H A DSynchronizedSymbolTable.java88 * @param buffer The buffer containing the new symbol.
89 * @param offset The offset into the buffer of the new symbol.
90 * @param length The length of the new symbol in the buffer.
92 public String addSymbol(char[] buffer, int offset, int length) { argument
95 return fSymbolTable.addSymbol(buffer, offset, length);
118 * @param buffer The buffer containing the symbol to look for.
119 * @param offset The offset into the buffer.
120 * @param length The length of the symbol in the buffer
122 containsSymbol(char[] buffer, int offset, int length) argument
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/media/sound/
H A DModelChannelMixer.java46 boolean process(float[][] buffer, int offset, int len); argument
H A DModelByteBuffer.java47 private byte[] buffer; field in class:ModelByteBuffer
166 buffer = root.buffer;
177 public ModelByteBuffer(byte[] buffer) { argument
178 this.buffer = buffer;
180 this.len = buffer.length;
183 public ModelByteBuffer(byte[] buffer, int offset, int len) { argument
184 this.buffer = buffer;
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/imageio/plugins/jpeg/
H A DSOFMarkerSegment.java74 SOFMarkerSegment(JPEGBuffer buffer) throws IOException{ argument
75 super(buffer);
76 samplePrecision = buffer.buf[buffer.bufPtr++];
77 numLines = (buffer.buf[buffer.bufPtr++] & 0xff) << 8;
78 numLines |= buffer.buf[buffer.bufPtr++] & 0xff;
79 samplesPerLine = (buffer.buf[buffer
233 ComponentSpec(JPEGBuffer buffer) argument
[all...]
/openjdk10/jdk/src/java.desktop/share/native/libfontmanager/harfbuzz/
H A Dhb-ot-shape-complex-arabic-private.hh47 hb_buffer_t *buffer,
H A Dhb-fallback-shape.cc96 hb_buffer_t *buffer,
113 buffer->clear_positions ();
115 hb_direction_t direction = buffer->props.direction;
116 hb_unicode_funcs_t *unicode = buffer->unicode;
117 unsigned int count = buffer->len;
118 hb_glyph_info_t *info = buffer->info;
119 hb_glyph_position_t *pos = buffer->pos;
140 hb_buffer_reverse (buffer);
94 _hb_fallback_shape(hb_shape_plan_t *shape_plan HB_UNUSED, hb_font_t *font, hb_buffer_t *buffer, const hb_feature_t *features HB_UNUSED, unsigned int num_features HB_UNUSED) argument
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/stream/buffer/sax/
H A DFeatures.java29 package com.sun.xml.internal.stream.buffer.sax;
/openjdk10/jdk/src/jdk.internal.le/share/classes/jdk/internal/jline/console/completer/
H A DNullCompleter.java25 public int complete(final String buffer, final int cursor, final List<CharSequence> candidates) { argument
H A DCompleter.java23 // FIXME: Check if we can use CharSequece for buffer?
27 * Populates <i>candidates</i> with a list of possible completions for the <i>buffer</i>.
32 * @param buffer The buffer
33 * @param cursor The current position of the cursor in the <i>buffer</i>
35 * @return The index of the <i>buffer</i> for which the completion will be relative
37 int complete(String buffer, int cursor, List<CharSequence> candidates); argument
/openjdk10/jdk/test/java/io/BufferedInputStream/
H A DCountUpdate.java77 public static final byte[] buffer = {(byte)'a', field in class:BufferBreaker
91 if (len > buffer.length) len = buffer.length;
92 System.arraycopy(buffer, 0, b, off, len);
H A DSkipTest.java36 * to recover data that was skipped over when the buffer did
50 // the skip must be longer than the buffer size
80 public static final byte[] buffer = {(byte)'a',(byte)'b',(byte)'c', field in class:DataSupplier
92 if (len > buffer.length) len = buffer.length;
93 System.arraycopy(buffer, aposition, b, off, len);
/openjdk10/jdk/test/javax/net/ssl/ServerName/
H A DSSLEngineExplorer.java103 ByteBuffer buffer = ByteBuffer.allocate(0xFF);
108 buffer.limit(SSLExplorer.RECORD_HEADER_SIZE);
110 int n = sc.read(buffer);
116 buffer.flip();
118 int recordLength = SSLExplorer.getRequiredSize(buffer);
119 if (buffer.capacity() < recordLength) {
120 ByteBuffer oldBuffer = buffer;
121 buffer = ByteBuffer.allocate(recordLength);
122 buffer.put(oldBuffer);
125 buffer
[all...]
/openjdk10/jdk/test/java/net/httpclient/http2/jdk.incubator.httpclient/jdk/incubator/http/internal/hpack/
H A DCircularBufferTest.java61 CircularBuffer<Integer> buffer = new CircularBuffer<>(16);
62 buffer.resize(15);
70 CircularBuffer<Integer> buffer = new CircularBuffer<>(capacity);
74 buffer.add(nextNumberToPut);
80 buffer.remove();
84 buffer.add(nextNumberToPut);
89 buffer.resize(expected.length);
91 assertEquals(buffer.elements, expected);
97 CircularBuffer<Integer> buffer = new CircularBuffer<>(capacity);
112 buffer
[all...]
/openjdk10/hotspot/src/cpu/ppc/vm/
H A DinterpreterRT_ppc.hpp48 SignatureHandlerGenerator(const methodHandle& method, CodeBuffer* buffer) : NativeSignatureIterator(method) { argument
49 _masm = new MacroAssembler(buffer);
/openjdk10/hotspot/src/cpu/aarch64/vm/
H A DinterpreterRT_aarch64.hpp50 SignatureHandlerGenerator(const methodHandle& method, CodeBuffer* buffer) : NativeSignatureIterator(method) { argument
51 _masm = new MacroAssembler(buffer);
/openjdk10/hotspot/test/compiler/c2/
H A DTest6968348.java41 static final long[] buffer = new long[4096]; field in class:Test6968348
54 unsafe.putLong(buffer, i, Long.reverseBytes(i));
/openjdk10/jdk/src/java.base/share/classes/java/text/
H A DDontCareFieldPosition.java39 int end, StringBuffer buffer) {
42 int start, int end, StringBuffer buffer) {
/openjdk10/jdk/src/jdk.accessibility/windows/native/toolscommon/
H A DAccessInfo.h51 char *getAccessibleInfo(long vmID, AccessibleContext ac, char *buffer, int bufsize);
56 char *getAccessibleInfo(long vmID, AccessibleContext ac, int x, int y, char *buffer, int bufsize);
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/code/
H A DCompressedReadStream.java30 /** Equivalent to CompressedReadStream(buffer, 0) */
31 public CompressedReadStream(Address buffer) { argument
32 this(buffer, 0);
35 public CompressedReadStream(Address buffer, int position) { argument
36 super(buffer, position);
126 return (short) buffer.getCIntegerAt(index, 1, true);
131 short retval = (short) buffer.getCIntegerAt(position, 1, true);

Completed in 282 milliseconds

1234567891011>>