Searched refs:bytes (Results 151 - 175 of 507) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLSocketImpl/
H A DServerTimeout.java111 byte[] bytes = new byte[2000];
115 while (transIns.read(bytes, 0, 17) != -1);
168 byte[] bytes = new byte[2000];
172 if (i >= bytes.length) {
176 int length = transIns.read(bytes, 0, i++);
180 sslOS.write(bytes, 0, length);
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/
H A DTicket.java140 DerOutputStream bytes = new DerOutputStream();
144 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x00), temp);
145 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x01), realm.asn1Encode());
146 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x02), sname.asn1Encode());
147 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x03), encPart.asn1Encode());
149 temp.write(DerValue.tag_Sequence, bytes);
H A DLastReq.java100 DerOutputStream bytes = new DerOutputStream();
105 bytes.write(DerValue.tag_Sequence, temp);
106 return bytes.toByteArray();
H A DAuthorizationDataEntry.java97 DerOutputStream bytes = new DerOutputStream();
100 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte) 0x00), temp);
103 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte) 0x01), temp);
105 temp.write(DerValue.tag_Sequence, bytes);
H A DKDCRep.java195 DerOutputStream bytes = new DerOutputStream();
198 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT,
202 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT,
211 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT,
214 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT,
216 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT,
218 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT,
220 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT,
223 temp.write(DerValue.tag_Sequence, bytes);
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/generic/
H A DMULTIANEWARRAY.java103 protected void initFromFile(ByteSequence bytes, boolean wide) argument
106 super.initFromFile(bytes, wide);
107 dimensions = bytes.readByte();
H A DSelect.java79 protected int padding = 0; // number of pad bytes for alignment
147 for(int i=0; i < padding; i++) // Padding bytes
158 protected void initFromFile(ByteSequence bytes, boolean wide) throws IOException argument
160 padding = (4 - (bytes.getIndex() % 4)) % 4; // Compute number of pad bytes
163 bytes.readByte();
167 index = bytes.readInt();
/openjdk7/jdk/src/share/classes/javax/management/remote/rmi/
H A DNoCallStackClassLoader.java157 * <code>byte[]</code> with the same number of bytes.</p>
160 * contain two bytes. The resultant output length is much the
163 * it has more zero bytes (which are frequent, and are encoded as
164 * two bytes in classfile UTF-8). But one byte per character has
176 byte[] bytes = new byte[slen];
178 bytes[i] = (byte) s.charAt(i);
179 return bytes;
195 "Construct a Java string whose bytes are the same as the current
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/utils/
H A DJavaUtils.java48 * @return the bytes readed from the file
80 * @param bytes
82 public static void writeBytesToFilename(String filename, byte[] bytes) { argument
86 if (filename != null && bytes != null) {
91 fos.write(bytes);
106 * This method reads all bytes from the given InputStream till EOF and
110 * @return the bytes readed from the stream
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/util/
H A DASCIIUtility.java44 * Convert the bytes within the specified range of the given byte
111 * Convert the bytes within the specified range of the given byte
128 byte[] bytes = new byte[size];
131 bytes[i] = (byte) chars[i++];
132 return bytes;
/openjdk7/jdk/test/javax/management/MBeanInfo/
H A DNullInfoArraysTest.java104 byte[] bytes = bos.toByteArray();
106 for (int i = 0; i < bytes.length; i++) {
107 w.print(bytes[i]);
/openjdk7/jdk/src/share/classes/java/security/cert/
H A DTrustAnchor.java273 private void setNameConstraints(byte[] bytes) { argument
274 if (bytes == null) {
278 ncBytes = bytes.clone();
281 nc = new NameConstraintsExtension(Boolean.FALSE, bytes);
/openjdk7/hotspot/src/share/vm/code/
H A DcompressedStream.cpp134 // up to five bytes. The grammar is:
152 // must collect more bytes: b[1]...b[4]
216 CompressedWriteStream bytes(stretch_limit * 100);
231 bytes.write_byte(x); ++step;
235 bytes.write_int(x); ++step;
236 bytes.write_signed_int(x); ++step;
237 bytes.write_float(jfloat_cast(x)); ++step;
241 bytes.write_long(x); ++step;
242 bytes.write_double(jdouble_cast(x)); ++step;
244 int length = bytes
[all...]
/openjdk7/hotspot/src/cpu/zero/vm/
H A Dassembler_zero.hpp56 void advance(int bytes);
/openjdk7/hotspot/src/os_cpu/linux_sparc/vm/
H A Dos_linux_sparc.hpp43 static bool is_allocatable(size_t bytes);
/openjdk7/hotspot/src/os_cpu/solaris_sparc/vm/
H A Dos_solaris_sparc.hpp43 static bool is_allocatable(size_t bytes);
/openjdk7/hotspot/src/os_cpu/solaris_x86/vm/
H A Dos_solaris_x86.hpp51 static bool is_allocatable(size_t bytes);
/openjdk7/hotspot/src/share/vm/utilities/
H A Dstack.hpp48 // virtual void* alloc(size_t bytes);
49 // virtual void free(void* addr, size_t bytes);
143 inline size_t segment_bytes() const; // Segment size in bytes.
148 virtual E* alloc(size_t bytes);
149 virtual void free(E* addr, size_t bytes);
179 virtual E* alloc(size_t bytes);
180 virtual void free(E* addr, size_t bytes);
H A Dstack.inline.hpp91 // Number of elements that fit in 4K bytes minus the size of two pointers
140 E* Stack<E, F>::alloc(size_t bytes) argument
142 return (E*) NEW_C_HEAP_ARRAY(char, bytes, F);
146 void Stack<E, F>::free(E* addr, size_t bytes) argument
196 const size_t bytes = segment_bytes(); local
199 free(seg, bytes);
247 E* ResourceStack<E, F>::alloc(size_t bytes) argument
249 return (E*) resource_allocate_bytes(bytes);
253 void ResourceStack<E, F>::free(E* addr, size_t bytes) argument
255 resource_free_bytes((char*) addr, bytes);
[all...]
/openjdk7/hotspot/test/compiler/5091921/
H A DTest6357214.java113 byte[] bytes = result.getBytes("content");
137 for (int i = 0; bytes != null && i < bytes.length; i++) {
138 char c = (char) bytes[i];
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/fastinfoset/sax/
H A DPrimitiveTypeContentHandler.java112 public void bytes(byte[] b, int start, int length) throws SAXException; method in interface:PrimitiveTypeContentHandler
/openjdk7/jdk/src/solaris/instrument/
H A DEncodingSupport_md.c113 iconvConvert(iconv_t ic, char *bytes, int len, char *output, int outputMaxLen) argument
117 UTF_ASSERT(bytes);
132 inbuf = bytes;
147 /* Just copy bytes */
149 (void)memcpy(output, bytes, len);
/openjdk7/jdk/src/solaris/npt/
H A Dutf_md.c98 iconvConvert(iconv_t ic, char *bytes, int len, char *output, int outputMaxLen) argument
102 UTF_ASSERT(bytes);
117 inbuf = bytes;
132 /* Just copy bytes */
134 (void)memcpy(output, bytes, len);
/openjdk7/jdk/test/com/sun/jdi/sde/
H A DInstallSDE.java57 // get the bytes
74 byte[] bytes = new byte[len];
75 if (inStream.read(bytes, 0, len) != len) {
79 return bytes;
226 byte[] bytes = new byte[count];
228 bytes[i] = orig[origPos++];
230 return bytes;
233 void writeBytes(byte[] bytes) { argument
234 for (int i = 0; i < bytes.length; ++i) {
235 gen[genPos++] = bytes[
[all...]
/openjdk7/jdk/src/share/demo/management/VerboseGC/
H A DPrintGCStat.java146 private String formatBytes(long bytes) { argument
147 long kb = bytes;
148 if (bytes > 0) {
149 kb = bytes / 1024;

Completed in 62 milliseconds

1234567891011>>