/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ |
H A D | KRBError.java | 436 DerOutputStream bytes = new DerOutputStream(); 439 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x00), temp); 442 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x01), temp); 445 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x02), cTime.asn1Encode()); 450 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x03), temp); 453 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x04), sTime.asn1Encode()); 456 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x05), temp); 459 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x06), temp); 462 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x07), crealm.asn1Encode()); 465 bytes [all...] |
H A D | KDCReq.java | 182 DerOutputStream temp, bytes, out; 197 bytes = new DerOutputStream(); 198 bytes.write(DerValue.tag_SequenceOf, temp); 200 true, (byte) 0x03), bytes); 204 bytes = new DerOutputStream(); 205 bytes.write(DerValue.tag_Sequence, out); 208 true, (byte) msgType), bytes);
|
H A D | AuthorizationData.java | 122 DerOutputStream bytes = new DerOutputStream(); 127 bytes.putSequence(der); 128 return bytes.toByteArray();
|
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/ |
H A D | Secmod.java | 256 Bytes bytes = new Bytes(getDigest(cert, "SHA-1")); 257 TrustAttributes attr = getModuleTrust(ModuleType.KEYSTORE, bytes); 259 attr = getModuleTrust(ModuleType.FIPS, bytes); 261 attr = getModuleTrust(ModuleType.TRUSTANCHOR, bytes); 267 private TrustAttributes getModuleTrust(ModuleType type, Bytes bytes) { argument 269 TrustAttributes t = (module == null) ? null : module.getTrust(bytes); 508 Bytes bytes = new Bytes(getDigest(cert, "SHA-1")); 509 TrustAttributes attr = getTrust(bytes); 511 attr = new TrustAttributes(token, cert, bytes, CKT_NETSCAPE_TRUSTED_DELEGATOR); 512 trust.put(bytes, att 614 TrustAttributes(Token token, X509Certificate cert, Bytes bytes, long trustValue) argument [all...] |
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | os.cpp | 81 julong os::alloc_bytes = 0; // # of bytes allocated 83 julong os::free_bytes = 0; // # of bytes freed 479 // ok, we have four consecutive marker bytes; find start 489 // ok, we have four consecutive marker bytes; find end of cushion 516 tty->print_cr("### previous object: " PTR_FORMAT " (" SSIZE_FORMAT " bytes)", obj, size); 518 tty->print_cr("### previous object (not sure if correct): " PTR_FORMAT " (" SSIZE_FORMAT " bytes)", obj, size); 530 tty->print_cr("### next object: " PTR_FORMAT " (" SSIZE_FORMAT " bytes)", next_obj, next_size); 532 tty->print_cr("### next object (not sure if correct): " PTR_FORMAT " (" SSIZE_FORMAT " bytes)", next_obj, next_size); 589 tty->print_cr("os::malloc caught, " SIZE_FORMAT " bytes --> " PTR_FORMAT, size, memblock); 593 if (PrintMalloc && tty != NULL) tty->print_cr("os::malloc " SIZE_FORMAT " bytes 1397 create_stack_guard_pages(char* addr, size_t bytes) argument 1401 reserve_memory(size_t bytes, char* addr, size_t alignment_hint) argument 1410 reserve_memory(size_t bytes, char* addr, size_t alignment_hint, MEMFLAGS flags) argument 1421 attempt_reserve_memory_at(size_t bytes, char* addr) argument 1434 commit_memory(char* addr, size_t bytes, bool executable) argument 1451 commit_memory_or_exit(char* addr, size_t bytes, bool executable, const char* mesg) argument 1463 uncommit_memory(char* addr, size_t bytes) argument 1474 release_memory(char* addr, size_t bytes) argument 1485 release_or_uncommit_partial_region(char * addr, size_t bytes) argument 1492 map_memory(int fd, const char* file_name, size_t file_offset, char *addr, size_t bytes, bool read_only, bool allow_exec) argument 1502 remap_memory(int fd, const char* file_name, size_t file_offset, char *addr, size_t bytes, bool read_only, bool allow_exec) argument 1509 unmap_memory(char *addr, size_t bytes) argument 1520 free_memory(char *addr, size_t bytes, size_t alignment_hint) argument 1524 realign_memory(char *addr, size_t bytes, size_t alignment_hint) argument [all...] |
/openjdk7/hotspot/src/share/vm/oops/ |
H A D | constantPoolOop.cpp | 1366 static void print_cpool_bytes(jint cnt, u1 *bytes) { argument 1372 u1 tag = *bytes++; 1386 u2 len = Bytes::get_Java_u2(bytes); 1391 strncpy(str, (char *) (bytes+2), len); 1398 u4 val = Bytes::get_Java_u4(bytes); 1404 u4 val = Bytes::get_Java_u4(bytes); 1410 u8 val = Bytes::get_Java_u8(bytes); 1417 u8 val = Bytes::get_Java_u8(bytes); 1424 idx1 = Bytes::get_Java_u2(bytes); 1430 idx1 = Bytes::get_Java_u2(bytes); 1580 copy_cpool_bytes(int cpool_size, SymbolHashMap* tbl, unsigned char *bytes) argument [all...] |
/openjdk7/jdk/test/java/util/zip/ZipFile/ |
H A D | Assortment.java | 152 private static byte[] toExtra(byte[] bytes) throws Exception { argument 153 if (bytes == null) return null; 155 byte[] v = new byte[bytes.length + 4]; 158 v[2] = (byte) bytes.length; 159 v[3] = (byte) (bytes.length << 8); 160 System.arraycopy(bytes, 0, v, 4, bytes.length);
|
H A D | Comment.java | 95 byte [] bytes = new byte [comment.length()]; 96 file.readFully(bytes); 97 if (! comment.equals(new String(bytes, "UTF8"))) 105 /* Endhdr is 22 bytes long, so this pattern makes it easy
|
/openjdk7/jdk/test/javax/imageio/plugins/png/ |
H A D | ItxtUtf8Test.java | 177 byte[] bytes = os.toByteArray(); 179 System.out.write(bytes); 180 if (findBytes(VBYTES, bytes) < 0) 182 if (findBytes(CBYTES, bytes) < 0) 184 int length = bytes.length; 186 length = findBytes(VBYTES, bytes) + 32; 189 ByteArrayInputStream is = new ByteArrayInputStream(bytes, 0, length);
|
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | SolarisUserDefinedFileAttributeView.java | 46 byte[] bytes = name.getBytes(); 48 if (bytes.length == 0 || bytes[0] == '.') { 49 if (bytes.length <= 1 || 50 (bytes.length == 2 && bytes[1] == '.')) 56 return bytes;
|
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/generic/ |
H A D | LocalVariableInstruction.java | 151 protected void initFromFile(ByteSequence bytes, boolean wide) argument 155 n = bytes.readUnsignedShort(); 161 n = bytes.readUnsignedByte();
|
/openjdk7/jdk/src/share/classes/java/util/jar/ |
H A D | JarInputStream.java | 94 byte bytes[] = getBytes(new BufferedInputStream(this)); 95 man.read(new ByteArrayInputStream(bytes)); 98 jv = new JarVerifier(bytes); 183 * Reads from the current JAR file entry into an array of bytes. 186 * bytes are read and <code>0</code> is returned. 192 * @param len the maximum number of bytes to read 193 * @return the actual number of bytes read, or -1 if the end of the
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/ |
H A D | ASCIIUtility.java | 43 * Convert the bytes within the specified range of the given byte 110 * Convert the bytes within the specified range of the given byte 127 byte[] bytes = new byte[size]; 130 bytes[i] = (byte) chars[i++]; 131 return bytes;
|
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WClipboard.java | 87 byte[] bytes = WDataTransferer.getInstance(). 89 publishClipboardData(format, bytes); 130 private native void publishClipboardData(long format, byte[] bytes); argument
|
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/ |
H A D | unpack.h | 88 entry*& hashTabRef(byte tag, bytes& b); 89 entry* ensureUtf8(bytes& b); 90 entry* ensureClass(bytes& b); 142 bytes data[2]; 144 // remaining bytes must be read directly from the input stream. 158 bytes inbytes; // direct 224 bytes output; // output block (either classfile head or tail) 403 void saveTo(bytes& b, const char* str) { saveTo(b, (byte*)str, strlen(str)); } 404 void saveTo(bytes& b, bytes [all...] |
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | Perf.java | 488 * convert string to an array of UTF-8 bytes 492 byte[] bytes = null; 495 bytes = s.getBytes("UTF-8"); 501 return bytes;
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/xs/ |
H A D | AnyURIDV.java | 129 // get UTF-8 bytes for the remaining sub-string 130 byte[] bytes = null; 133 bytes = anyURI.substring(i).getBytes("UTF-8"); 138 len = bytes.length; 142 b = bytes[i];
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/tools/jcore/ |
H A D | ByteCodeRewriter.java | 39 private Bytes bytes; field in class:ByteCodeRewriter 53 this.bytes = VM.getVM().getBytes(); 76 return (short) cpCache.getMainEntryAt(bytes.swapInt(cpCacheIndex)).getConstantPoolIndex(); 79 return (short) cpCache.getEntryAt((int) (0xFFFF & bytes.swapShort((short)cpCacheIndex))).getConstantPoolIndex(); 131 writeShort(code, bci + 3, (short)0); // clear out trailing bytes
|
/openjdk7/hotspot/src/share/vm/gc_implementation/parNew/ |
H A D | asParNewGeneration.hpp | 63 size_t limit_gen_shrink(size_t bytes);
|
/openjdk7/jdk/src/share/classes/com/sun/nio/sctp/ |
H A D | MessageInfo.java | 164 * Returns the number of bytes read for the received message. 169 * @return The number of bytes read, {@code -1} if the channel is an {@link 173 public abstract int bytes(); method in class:MessageInfo
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/ |
H A D | Name.java | 110 byte[] bytes = getByteArray(); 113 while (i >= 0 && bytes[offset + i] != b) i--; 162 /** Get the length (in bytes) of this name. 170 /** Copy all bytes of this name to buffer cs, starting at start. 207 /** Get the name for the bytes in array cs. 208 * Assume that bytes are in utf8 format. 214 /** get the name for the bytes in cs[start..start+len-1]. 215 * Assume that bytes are in utf8 format. 225 protected static int hashValue(byte bytes[], int offset, int length) { argument 230 h = (h << 5) - h + bytes[of [all...] |
/openjdk7/jdk/src/share/native/java/io/ |
H A D | RandomAccessFile.c | 73 jobject this, jbyteArray bytes, jint off, jint len) { 74 return readBytes(env, this, bytes, off, len, raf_fd); 84 jobject this, jbyteArray bytes, jint off, jint len) { 85 writeBytes(env, this, bytes, off, len, JNI_FALSE, raf_fd); 72 Java_java_io_RandomAccessFile_readBytes0(JNIEnv *env, jobject this, jbyteArray bytes, jint off, jint len) argument 83 Java_java_io_RandomAccessFile_writeBytes0(JNIEnv *env, jobject this, jbyteArray bytes, jint off, jint len) argument
|
/openjdk7/jdk/test/sun/nio/cs/ |
H A D | CheckCaseInsensitiveEncAliases.java | 91 byte[] bytes = ENCODE_STRING.getBytes( encoding );
|
/openjdk7/jdk/test/tools/pack200/pack200-verifier/src/xmlkit/ |
H A D | InstructionSyntax.java | 197 public static Element parse(String bytes) { argument 198 Element e = new Element("Instructions", bytes.length()); 201 Element[] tempMap = new Element[bytes.length()]; 202 for (int pc = 0, nextpc; pc < bytes.length(); pc = nextpc) { 203 int op = bytes.charAt(pc); 318 nextpc = parseSwitch(bytes, pc, true, i); 321 nextpc = parseSwitch(bytes, pc, false, i); 336 i.setAttr("loc", "" + getInt(bytes, locarg, len)); 345 i.setAttr("ref", "" + getInt(bytes, cparg, len)); 354 i.setAttr("num", "" + getInt(bytes, intar [all...] |
/openjdk7/jdk/src/share/classes/sun/security/util/ |
H A D | DerValue.java | 256 int offset = 2; // for tag and length bytes 274 // the object is ended by sending two zero bytes. 304 * @param length how many bytes are in the encoded datum 368 int offset = 2; // for tag and length bytes 386 byte[] bytes = IOUtils.readFully(in, length, true); 388 buffer = new DerInputBuffer(bytes); 468 byte[] bytes; 474 bytes = new byte[length]; 475 // Note: do not tempt to call buffer.read(bytes) at all. There's a 478 return bytes; [all...] |