/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/ |
H A D | ArrayBufferView.java | 51 private final NativeArrayBuffer buffer; field in class:ArrayBufferView 57 private ArrayBufferView(final NativeArrayBuffer buffer, final int byteOffset, final int elementLength, final Global global) { argument 62 checkConstructorArgs(buffer.getByteLength(), bytesPerElement, byteOffset, elementLength); 65 this.buffer = buffer; 70 final ByteBuffer newNioBuffer = buffer.getNioBuffer().duplicate().order(ByteOrder.nativeOrder()); 79 * @param buffer underlying NativeArrayBuffer 80 * @param byteOffset byte offset for buffer 83 protected ArrayBufferView(final NativeArrayBuffer buffer, final int byteOffset, final int elementLength) { argument 84 this(buffer, byteOffse 107 public static Object buffer(final Object self) { method in class:ArrayBufferView 190 construct(final NativeArrayBuffer buffer, final int byteOffset, final int elementLength) argument [all...] |
/openjdk10/jdk/src/java.desktop/share/native/libfontmanager/harfbuzz/ |
H A D | hb-ot-layout-gpos-table.hh | 38 /* buffer **position** var allocations */ 422 hb_buffer_t *buffer = c->buffer; local 435 mark_anchor.get_anchor (c, buffer->cur().codepoint, &mark_x, &mark_y); 436 glyph_anchor.get_anchor (c, buffer->info[glyph_pos].codepoint, &base_x, &base_y); 438 hb_glyph_position_t &o = buffer->cur_pos(); 442 o.attach_chain() = (int) glyph_pos - (int) buffer->idx; 443 buffer->scratch_flags |= HB_BUFFER_SCRATCH_FLAG_HAS_GPOS_ATTACHMENT; 445 buffer->idx++; 475 hb_buffer_t *buffer local 523 hb_buffer_t *buffer = c->buffer; local 622 hb_buffer_t *buffer = c->buffer; local 704 hb_buffer_t *buffer = c->buffer; local 777 hb_buffer_t *buffer = c->buffer; local 917 hb_buffer_t *buffer = c->buffer; local 1075 hb_buffer_t *buffer = c->buffer; local 1176 hb_buffer_t *buffer = c->buffer; local 1289 hb_buffer_t *buffer = c->buffer; local [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements/src/org/graalvm/compiler/replacements/nodes/ |
H A D | CStringConstant.java | 61 public void serialize(ByteBuffer buffer) { argument 63 buffer.put(bytes); 64 buffer.put((byte) 0);
|
/openjdk10/hotspot/src/cpu/zero/vm/ |
H A D | interpreterRT_zero.hpp | 99 SignatureHandlerGenerator(const methodHandle& method, CodeBuffer* buffer) argument 100 : SignatureHandlerGeneratorBase(method, (ffi_cif *) buffer->insts_end()), 101 _cb(buffer) {
|
/openjdk10/hotspot/src/share/vm/classfile/ |
H A D | jimage.hpp | 130 * location information (see JImageFindResource), a buffer of appropriate 133 * If the size is greater than the resource size then the remainder of the buffer 140 * char* buffer = new char[size]; 141 * (*JImageGetResource)(image, location, buffer, size); 144 char* buffer, jlong size); 147 char* buffer, jlong size); 184 * JIMAGE_ResourcePath- Given an open image file, a location reference, a buffer 185 * and a maximum buffer size, copy the path of the resource into the buffer. 197 char* buffer, jlon [all...] |
H A D | classFileStream.cpp | 39 ClassFileStream::ClassFileStream(const u1* buffer, argument 43 _buffer_start(buffer), 44 _buffer_end(buffer + length), 45 _current(buffer), 80 assert(1 <= _buffer_end - _current, "buffer overflow"); 89 assert(2 <= _buffer_end - _current, "buffer overflow"); 100 assert(4 <= _buffer_end - _current, "buffer overflow"); 111 assert(8 <= _buffer_end - _current, "buffer overflow"); 141 int classfile_crc = ClassLoader::crc32(0, (const char*)buffer(), length());
|
/openjdk10/hotspot/test/runtime/SharedArchiveFile/ |
H A D | TestInterpreterMethodEntries.java | 55 byte[] buffer = new byte[256]; 58 crc32.update(buffer, 0, 256); 62 crc32c.update(buffer, 0, 256);
|
/openjdk10/hotspot/test/testlibrary/jvmti/ |
H A D | TransformerAgent.java | 61 ProtectionDomain pd, byte[] buffer) throws IllegalClassFormatException { 68 int nrOfReplacements = TransformUtil.replace(buffer, TransformUtil.BeforePattern, 71 return buffer; 60 transform(ClassLoader loader, String name, Class<?> classBeingRedefined, ProtectionDomain pd, byte[] buffer) argument
|
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/soap/ |
H A D | FastInfosetDataContentHandler.java | 116 int n; byte[] buffer = new byte[4096]; 117 while ((n = is.read(buffer)) != -1) { 118 os.write(buffer, 0, n);
|
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/txw2/ |
H A D | Document.java | 123 * Appends the given object to the end of the given buffer. 179 public void onPcdata(StringBuilder buffer) { 181 buffer = fixPrefix(buffer); 182 out.text(buffer); 185 public void onCdata(StringBuilder buffer) { 187 buffer = fixPrefix(buffer); 188 out.cdata(buffer); 191 public void onComment(StringBuilder buffer) { [all...] |
/openjdk10/jdk/src/java.desktop/macosx/classes/sun/java2d/ |
H A D | DataBufferNIOInt.java | 153 ByteBuffer buffer = ByteBuffer.allocateDirect(size); 154 buffer.order(ByteOrder.nativeOrder()); 155 return buffer;
|
/openjdk10/jdk/src/java.base/share/native/libjimage/ |
H A D | jimage.hpp | 137 * location information (see JImageFindResource), a buffer of appropriate 140 * If the size is greater than the resource size then the remainder of the buffer 147 * char* buffer = new char[size]; 148 * (*JImageGetResource)(image, location, buffer, size); 151 char* buffer, jlong size); 154 char* buffer, jlong size); 191 * JIMAGE_ResourcePath- Given an open image file, a location reference, a buffer 192 * and a maximum buffer size, copy the path of the resource into the buffer. 204 char* buffer, jlon [all...] |
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/imageio/plugins/jpeg/ |
H A D | DQTMarkerSegment.java | 57 DQTMarkerSegment(JPEGBuffer buffer) throws IOException { argument 58 super(buffer); 61 Qtable newGuy = new Qtable(buffer); 65 buffer.bufAvail -= length; 222 Qtable(JPEGBuffer buffer) throws IIOException { argument 223 elementPrecision = buffer.buf[buffer.bufPtr] >>> 4; 224 tableID = buffer.buf[buffer.bufPtr++] & 0xf; 232 data[i] = buffer [all...] |
H A D | COMMarkerSegment.java | 51 * Constructs a marker segment from the given buffer, which contains 55 COMMarkerSegment(JPEGBuffer buffer) throws IOException { argument 56 super(buffer); 57 loadData(buffer);
|
/openjdk10/jdk/src/java.desktop/share/native/libjavajpeg/ |
H A D | jdpostct.c | 28 /* Private buffer controller object */ 33 /* Color quantization source buffer: this holds output data from 35 * For two-pass color quantization, we need a full-image buffer; 36 * for one-pass operation, a strip buffer is sufficient. 39 JSAMPARRAY buffer; /* strip buffer, or current strip of virtual */ member in struct:__anon978 40 JDIMENSION strip_height; /* buffer size in rows */ 88 * allocate a strip buffer. Use the virtual-array buffer as workspace. 90 if (post->buffer [all...] |
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/policy/ |
H A D | PolicyAssertion.java | 278 * A helper method that appends indented string representation of this instance to the input string buffer. 281 * @param buffer buffer to be used for appending string representation of this instance 282 * @return modified buffer containing new string representation of the instance 284 protected StringBuffer toString(final int indentLevel, final StringBuffer buffer) { argument 288 buffer.append(indent).append("Assertion[").append(this.getClass().getName()).append("] {").append(PolicyUtils.Text.NEW_LINE); 289 data.toString(indentLevel + 1, buffer); 290 buffer.append(PolicyUtils.Text.NEW_LINE); 293 buffer.append(innerIndent).append("parameters {").append(PolicyUtils.Text.NEW_LINE); 295 parameter.toString(indentLevel + 2, buffer) [all...] |
/openjdk10/jdk/src/java.base/share/classes/com/sun/crypto/provider/ |
H A D | DESedeWrapCipher.java | 126 * Returns the length in bytes that an output buffer would need to be 135 * @return the required output buffer size (in bytes). 149 * Returns the initialization vector (IV) in a new buffer. 297 * @param in the input buffer. 316 * @param in the input buffer. 320 * @param out the buffer for the result. 340 * @param in the input buffer. 345 * @return the new buffer with the result. 360 * @param input the input buffer. 364 * @param output the buffer fo [all...] |
/openjdk10/jdk/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/ |
H A D | P11Digest.java | 60 /* data in buffer, session acquired, but digest not initialized */ 86 // buffer to reduce number of JNI calls 87 private byte[] buffer; field in class:P11Digest 89 // offset into the buffer 120 buffer = new byte[BUFFER_SIZE]; 179 n = token.p11.C_DigestSingle(session.id(), mechanism, buffer, 0, 184 token.p11.C_DigestUpdate(session.id(), 0, buffer, 0, 219 if ((bufOfs != 0) && (bufOfs + len > buffer.length)) { 221 token.p11.C_DigestUpdate(session.id(), 0, buffer, 0, bufOfs); 224 if (bufOfs + len > buffer [all...] |
H A D | P11Signature.java | 122 // buffer, for update(byte) or DSA 123 private final byte[] buffer; field in class:P11Signature 156 byte[] buffer = null; 169 buffer = new byte[1]; 174 buffer = new byte[1]; 179 buffer = new byte[1]; 190 buffer = new byte[20]; 200 buffer = new byte[RAW_ECDSA_MAX]; 257 this.buffer = buffer; [all...] |
/openjdk10/jdk/test/java/lang/instrument/ |
H A D | RedefineBigClassAgent.java | 63 final byte[] buffer = new byte[redefineLength]; 64 new BufferedInputStream(redefineStream).read(buffer); 73 ClassDefinition cld = new ClassDefinition(clz, buffer);
|
/openjdk10/jdk/test/java/util/jar/JarEntry/ |
H A D | GetMethodsReturnClones.java | 45 byte[] buffer = new byte[8192]; 51 while (is.read(buffer, 0, buffer.length) != -1) {
|
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/xml/internal/stream/ |
H A D | XMLEntityStorage.java | 431 StringBuilder buffer = new StringBuilder(len*3); 436 buffer.append('/'); 448 buffer.append('%'); 449 buffer.append(gAfterEscaping1[ch]); 450 buffer.append(gAfterEscaping2[ch]); 454 buffer.append((char)ch); 477 buffer.append('%'); 478 buffer.append(gHexChs[ch >> 4]); 479 buffer.append(gHexChs[ch & 0xf]); 482 buffer [all...] |
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/policy/sourcemodel/ |
H A D | ModelNode.java | 521 * A helper method that appends indented string representation of this instance to the input string buffer. 524 * @param buffer buffer to be used for appending string representation of this instance 525 * @return modified buffer containing new string representation of the instance 527 public StringBuffer toString(final int indentLevel, final StringBuffer buffer) { argument 531 buffer.append(indent).append(type).append(" {").append(PolicyUtils.Text.NEW_LINE); 534 buffer.append(innerIndent).append("no assertion data set"); 536 nodeData.toString(indentLevel + 1, buffer); 538 buffer.append(PolicyUtils.Text.NEW_LINE); 541 buffer [all...] |
/openjdk10/jdk/src/java.desktop/share/classes/sun/font/ |
H A D | TrueTypeFont.java | 359 int readBlock(ByteBuffer buffer, int offset, int length) { argument 388 buffer.clear(); 391 int cnt = disposerRecord.channel.read(buffer); 402 // We could still flip() the buffer here because 413 buffer.flip(); 426 buffer.flip(); 427 if (bread > length) { // possible if buffer.size() > length 444 return readBlock(buffer, offset, length); 467 ByteBuffer buffer = ByteBuffer.allocate(length); 477 buffer [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir/src/org/graalvm/compiler/lir/profiling/ |
H A D | MethodProfilingPhase.java | 55 private final LIRInsertionBuffer buffer; field in class:MethodProfilingPhase.Analyzer 63 this.buffer = new LIRInsertionBuffer(); 87 buffer.init(instructions); 88 buffer.append(1, op); 89 buffer.finish();
|