/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/ |
H A D | bytes.cpp | 31 #include "bytes.h" 37 bool bytes::inBounds(const void* p) { 41 void bytes::malloc(size_t len_) { 51 void bytes::realloc(size_t len_) { 72 void bytes::free() { 82 int bytes::indexOf(byte c) { 87 byte* bytes::writeTo(byte* bp) { 92 int bytes::compareTo(bytes& other) { 100 void bytes [all...] |
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ |
H A D | KRBPriv.java | 127 DerOutputStream temp, bytes; 130 bytes = new DerOutputStream(); 131 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x00), temp); 134 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x01), temp); 135 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x03), encPart.asn1Encode()); 137 temp.write(DerValue.tag_Sequence, bytes); 138 bytes = new DerOutputStream(); 139 bytes.write(DerValue.createTag(DerValue.TAG_APPLICATION, true, (byte)0x15), temp); 140 return bytes.toByteArray();
|
H A D | EncTicketPart.java | 120 private static String getHexBytes(byte[] bytes, int len) argument 126 int b1 = (bytes[i] >> 4) & 0x0f; 127 int b2 = bytes[i] & 0x0f; 182 DerOutputStream bytes = new DerOutputStream(); 184 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, 186 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, 188 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, 190 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, 192 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, 194 bytes [all...] |
H A D | EncKrbPrivPart.java | 145 DerOutputStream bytes = new DerOutputStream(); 148 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte) 0x00), temp); 150 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte) 0x01), timestamp.asn1Encode()); 155 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte) 0x02), temp); 161 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte) 0x03), temp); 163 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte) 0x04), sAddress.asn1Encode()); 165 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte) 0x05), rAddress.asn1Encode()); 168 temp.write(DerValue.tag_Sequence, bytes); 169 bytes = new DerOutputStream(); 170 bytes [all...] |
H A D | EncKDCRepPart.java | 181 DerOutputStream bytes = new DerOutputStream(); 182 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, 184 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, 187 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, 191 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, 194 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, 196 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, 199 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, 202 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, 205 bytes [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/generic/ |
H A D | LOOKUPSWITCH.java | 102 protected void initFromFile(ByteSequence bytes, boolean wide) throws IOException argument 104 super.initFromFile(bytes, wide); // reads padding 106 match_length = bytes.readInt(); 115 match[i] = bytes.readInt(); 116 indices[i] = bytes.readInt();
|
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | URLDecoder.java | 62 * in those consecutive bytes. 145 byte[] bytes = null; 159 * consecutive bytes obtained this way to whatever 167 // of remaining bytes 168 if (bytes == null) 169 bytes = new byte[(numChars-i)/3]; 177 bytes[pos++] = (byte) v; 190 sb.append(new String(bytes, 0, pos, enc));
|
/openjdk7/hotspot/src/share/vm/memory/ |
H A D | modRefBarrierSet.hpp | 53 bool read_prim_needs_barrier(HeapWord* field, size_t bytes) { return false; } argument 55 bool write_prim_needs_barrier(HeapWord* field, size_t bytes, argument 58 void write_prim_field(oop obj, size_t offset, size_t bytes, argument 62 void read_prim_field(HeapWord* field, size_t bytes) {} argument 66 void write_prim_field(HeapWord* field, size_t bytes, argument
|
/openjdk7/hotspot/src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/ |
H A D | Method.java | 35 private String bytes; field in class:Method 54 return getHolder().replace('/', '.') + "::" + getName() + " @ " + osr_bci + " (" + getBytes() + " bytes)"; 56 return getHolder().replace('/', '.') + "::" + getName() + " (" + getBytes() + " bytes)"; 62 return getHolder().replace('/', '.') + "::" + getName() + " (" + getBytes() + " bytes)"; 98 return bytes; 101 public void setBytes(String bytes) { argument 102 this.bytes = bytes;
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/ |
H A D | CStringUtilities.java | 69 byte[] bytes = new byte[data.size()]; 71 bytes[(int) i] = ((Byte) data.get((int) i)).byteValue(); 75 // return new String(bytes, Charset.defaultCharset()); 77 return new String(bytes, encoding); 79 throw new RuntimeException("Error converting bytes to String using " + encoding + " encoding", e);
|
/openjdk7/hotspot/src/share/vm/oops/ |
H A D | arrayOop.cpp | 38 julong bytes = length * bytes_per_element + header_size_in_bytes(); local 39 return (julong)(size_t)bytes == bytes;
|
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | Toolkit.java | 47 * Converts bytes from signed to unsigned. 57 * Swaps bytes. 92 * returns bytes aligned to a multiple of blocksize 93 * the return value will be in the range of (bytes-blocksize+1) ... bytes 95 static long align(long bytes, int blockSize) { argument 98 return bytes; 100 return bytes - (bytes % blockSize); 103 static int align(int bytes, in argument 123 bytes2millis(AudioFormat format, long bytes) argument 138 bytes2micros(AudioFormat format, long bytes) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/common/ |
H A D | SubImageInputStream.java | 61 int bytes = stream.read(b, off, len); 62 length -= bytes; 63 return bytes;
|
/openjdk7/jdk/test/java/beans/Introspector/memory/ |
H A D | SimpleClassLoader.java | 42 byte[] bytes = new byte[length]; 43 fi.read(bytes, 0, length); 44 return defineClass(name, bytes, 0, length);
|
/openjdk7/jdk/test/java/security/Security/ClassLoaderDeadlock/ |
H A D | Deadlock2.java | 30 final byte[] bytes = new byte[(int) file.length()]; 32 int read = fileInputStream.read(bytes); 52 new ObjectInputStream(new ByteArrayInputStream(bytes));
|
/openjdk7/jdk/src/share/classes/sun/net/ |
H A D | TelnetOutputStream.java | 127 * Write the bytes at offset <i>off</i> in buffer <i>bytes</i> for 128 * <i>length</i> bytes. 130 public void write(byte bytes[], int off, int length) throws IOException { argument 132 super.write(bytes, off, length); 137 write(bytes[off++]);
|
/openjdk7/jdk/src/solaris/demo/jni/Poller/ |
H A D | SimpleServer.java | 68 int bytes; 87 System.out.println("Receiving " + bytesToRead + " bytes from " + 133 int bytes; 137 bytes = instr.read (buff, 0, BYTESPEROP); 138 if (bytes > 0 ) { 140 bytesRead += bytes; 151 System.out.println("instr.read returned : " + bytes);
|
/openjdk7/jdk/src/share/classes/java/sql/ |
H A D | Blob.java | 50 * determining the position of a pattern of bytes within a 63 * Returns the number of bytes in the <code>BLOB</code> value 65 * @return length of the <code>BLOB</code> in bytes 77 * bytes. This <code>byte</code> array contains up to <code>length</code> 78 * consecutive bytes starting at position <code>pos</code>. 83 * @param length the number of consecutive bytes to be copied; the value 86 * consecutive bytes from the <code>BLOB</code> value designated 154 * Writes the given array of bytes to the <code>BLOB</code> value that 156 * <code>pos</code>, and returns the number of bytes written. 157 * The array of bytes wil 181 setBytes(long pos, byte[] bytes) argument 217 setBytes(long pos, byte[] bytes, int offset, int len) argument [all...] |
/openjdk7/jdk/test/java/nio/charset/coders/ |
H A D | Check.java | 49 private byte[][] bytes = new byte[UNICODE_SIZE][]; // Indexed by char field in class:Check 77 bytes[c] = ba; 117 if (bytes[i] == null) 121 if (Util.cmp(ba, bytes[i]) >= 0) 122 mismatch(s, bytes[i], ba); 128 if (bytes[i] == null) 131 String s = new String(bytes[i], csName); 133 mismatch(i, bytes[i], r, s);
|
/openjdk7/jdk/src/share/classes/sun/security/jgss/ |
H A D | GSSToken.java | 45 * is assumed that the array will be large enough to hold the 4 bytes of 56 * is assumed that the array will be large enough to hold the 4 bytes of 82 * method allows the reading of two byte values as well as four bytes 85 * @param data the array containing the bytes of the integer value 87 * @size the number of bytes to read from the array. 117 * @param val the integer value. It will lose the high-order two bytes. 130 * @param val the integer value. It will lose the high-order two bytes. 146 * bytes. 165 * Blocks till the required number of bytes have been read from the 169 * @param buffer the buffer to store the bytes int 210 getHexBytes(byte[] bytes) argument 214 getHexBytes(byte[] bytes, int len) argument 218 getHexBytes(byte[] bytes, int pos, int len) argument [all...] |
/openjdk7/jdk/test/javax/security/auth/x500/X500Principal/ |
H A D | InvalidConstructorInput.java | 39 byte[] bytes = { 'a' }; 40 X500Principal p = new X500Principal(bytes);
|
/openjdk7/jdk/src/share/classes/sun/reflect/ |
H A D | ClassDefiner.java | 54 static Class defineClass(String name, byte[] bytes, int off, int len, argument 63 return unsafe.defineClass(name, bytes, off, len, newLoader, null);
|
/openjdk7/jdk/src/share/sample/nio/chatserver/ |
H A D | MessageReader.java | 78 * @param bytes the number of bytes read into the buffer 81 public void onData(Client client, ByteBuffer buffer, int bytes) { argument 84 client.appendMessage(new String(buffer.array(), 0, bytes));
|
/openjdk7/jdk/src/solaris/native/sun/nio/fs/ |
H A D | BsdNativeDispatcher.c | 143 jbyteArray bytes; local 164 bytes = (*env)->NewByteArray(env, len); 165 if (bytes == NULL) 167 (*env)->SetByteArrayRegion(env, bytes, 0, len, (jbyte*)name); 168 (*env)->SetObjectField(env, entry, entry_name, bytes); 171 bytes = (*env)->NewByteArray(env, len); 172 if (bytes == NULL) 174 (*env)->SetByteArrayRegion(env, bytes, 0, len, (jbyte*)dir); 175 (*env)->SetObjectField(env, entry, entry_dir, bytes); 178 bytes [all...] |
H A D | LinuxNativeDispatcher.c | 179 jbyteArray bytes; local 194 bytes = (*env)->NewByteArray(env, len); 195 if (bytes == NULL) 197 (*env)->SetByteArrayRegion(env, bytes, 0, len, (jbyte*)name); 198 (*env)->SetObjectField(env, entry, entry_name, bytes); 201 bytes = (*env)->NewByteArray(env, len); 202 if (bytes == NULL) 204 (*env)->SetByteArrayRegion(env, bytes, 0, len, (jbyte*)dir); 205 (*env)->SetObjectField(env, entry, entry_dir, bytes); 208 bytes [all...] |