/openjdk7/jdk/src/share/classes/sun/security/jgss/krb5/ |
H A D | MessageToken_v2.java | 86 * header (bytes[0..15]) and data (byte[16..]) are saved in tokenHeader and 89 * stream, we read all available() bytes into the token. 172 * demand and the thread might block if there are not enough bytes to 175 * enough bytes to construct one. 372 * Rotate bytes as per the "RRC" (Right Rotation Count) received. 408 * For checksum calculation the token header bytes i.e., the first 16 409 * bytes following the GSSHeader, are logically prepended to the 498 * It constitutes the first 16 bytes of the message token. 503 private byte[] bytes = new byte[TOKEN_HEADER_SIZE]; field in class:MessageToken_v2.MessageTokenHeader 510 bytes[ [all...] |
H A D | MessageToken.java | 145 * Constructs a MessageToken from a byte array. If there are more bytes 146 * in the array than needed, the extra bytes are simply ignroed. 168 * demand and the thread might block if there are not enough bytes to 259 * field. The encrypted sequence number uses the 8 bytes of the checksum 350 * Verifies that the checksum field and sequence number direction bytes 392 * The token from the initiator has direction bytes 0x00 and 393 * the token from the acceptor has direction bytes 0xff. 445 * For checksum calculation the token header bytes i.e., the first 8 446 * bytes following the GSSHeader, are logically prepended to the 570 * that are in use. It constitutes the first 8 bytes o 595 private byte[] bytes = new byte[8]; field in class:MessageToken.MessageTokenHeader [all...] |
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/signature/ |
H A D | XMLSignatureInput.java | 94 * A cached bytes 96 byte []bytes=null; field in class:XMLSignatureInput 145 this.bytes=inputOctets; 293 if (bytes!=null) { 294 return bytes; 298 //resetable can read again bytes. 299 if (bytes==null) { 301 bytes=JavaUtils.getBytesFromStream(is); 303 return bytes; 307 bytes [all...] |
/openjdk7/jdk/src/share/classes/sun/security/util/ |
H A D | DerOutputStream.java | 165 byte[] buf = i.toByteArray(); // least number of bytes 189 byte[] bytes = new byte[4]; 192 // Obtain the four bytes of the int 194 bytes[3] = (byte) (i & 0xff); 195 bytes[2] = (byte)((i & 0xff00) >>> 8); 196 bytes[1] = (byte)((i & 0xff0000) >>> 16); 197 bytes[0] = (byte)((i & 0xff000000) >>> 24); 199 // Reduce them to the least number of bytes needed to 202 if (bytes[0] == (byte)0xff) { 207 if ((bytes[ [all...] |
/openjdk7/jdk/src/share/classes/javax/sound/midi/ |
H A D | MidiFileFormat.java | 125 * The length of the MIDI file in bytes. 145 * @param bytes the length of the MIDI file in bytes, or UNKNOWN_LENGTH if not known 154 public MidiFileFormat(int type, float divisionType, int resolution, int bytes, long microseconds) { argument 159 this.byteLength = bytes; 172 * @param bytes the length of the MIDI file in bytes, 188 int resolution, int bytes, 190 this(type, divisionType, resolution, bytes, microseconds); 237 * Obtains the length of the MIDI file, expressed in 8-bit bytes 187 MidiFileFormat(int type, float divisionType, int resolution, int bytes, long microseconds, Map<String, Object> properties) argument [all...] |
/openjdk7/hotspot/src/os_cpu/bsd_zero/vm/ |
H A D | os_bsd_zero.hpp | 31 static bool is_allocatable(size_t bytes);
|
/openjdk7/hotspot/src/os_cpu/linux_zero/vm/ |
H A D | os_linux_zero.hpp | 31 static bool is_allocatable(size_t bytes);
|
/openjdk7/jdk/src/windows/native/java/lang/ |
H A D | ProcessEnvironment_md.c | 37 jbyteArray bytes; local 52 if ((bytes = (*env)->NewByteArray(env, i)) == NULL) return NULL; 53 (*env)->SetByteArrayRegion(env, bytes, 0, i, blockA); 56 String_init_ID, bytes);
|
/openjdk7/jdk/test/sun/security/tools/jarsigner/ |
H A D | LargeJarEntry.java | 53 byte[] bytes = new byte[1000000]; 56 crc.update(bytes); 68 jos.write(bytes, 0, bytes.length);
|
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/ |
H A D | bytes.h | 30 struct bytes { struct 44 void copyFrom(bytes& other, size_t offset = 0) { 47 void saveFrom(bytes& other) { 52 bool equals(bytes& other) { return 0 == compareTo(other); } 53 int compareTo(bytes& other); 57 static bytes of(byte* ptr, size_t len) { 58 bytes res; 62 bytes slice(size_t beg, size_t end) { 63 bytes res; 70 bytes [all...] |
H A D | zip.h | 54 bytes& head, bytes& tail); 72 void write_data(bytes& b) { write_data(b.ptr, (int)b.len); } 82 bool deflate_bytes(bytes& head, bytes& tail);
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/ |
H A D | Confounder.java | 42 public static byte[] bytes(int size) { method in class:Confounder
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ |
H A D | LastReqEntry.java | 80 DerOutputStream bytes = new DerOutputStream(); 83 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x00), temp); 84 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x01), lrValue.asn1Encode()); 86 temp.write(DerValue.tag_Sequence, bytes);
|
H A D | KRBSafe.java | 132 DerOutputStream bytes = new DerOutputStream(); 134 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x00), temp); 137 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x01), temp); 138 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x02), safeBody.asn1Encode()); 139 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x03), cksum.asn1Encode()); 141 temp.write(DerValue.tag_Sequence, bytes); 142 bytes = new DerOutputStream(); 143 bytes.write(DerValue.createTag(DerValue.TAG_APPLICATION, true, (byte)0x14), temp); 144 return bytes.toByteArray();
|
/openjdk7/jdk/src/share/classes/sun/security/x509/ |
H A D | UniqueIdentity.java | 98 byte[] bytes = id.toByteArray(); 99 int excessBits = bytes.length*8 - id.length(); 102 out.putLength(bytes.length + 1); 105 out.write(bytes);
|
/openjdk7/hotspot/src/share/vm/oops/ |
H A D | symbol.cpp | 88 // Finds if the given string is a substring of this symbol's utf8 bytes. 94 address bytes = (address) ((Symbol*)this)->base(); local 95 address limit = bytes + utf8_length() - len; // inclusive limit 96 address scan = bytes + i; 103 assert(scan >= bytes+i && scan <= limit, "scan oob"); 105 return (int)(scan - bytes); 143 int length = UTF8::unicode_length((const char*)bytes(), utf8_length()); 144 const char *ptr = (const char *)bytes(); 158 length = UTF8::unicode_length((char*)this_ptr->bytes(), utf8_length()); 161 UTF8::convert_to_unicode((char*)this_ptr->bytes(), resul [all...] |
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | SF2Region.java | 146 byte[] bytes = new byte[2]; 147 bytes[0] = (byte) (0xFF & val); 148 bytes[1] = (byte) ((0xFF00 & val) >> 8); 149 return bytes; 152 public void putBytes(int generator, byte[] bytes) { argument 153 generators.put(generator, (short) (bytes[0] + (bytes[1] << 8)));
|
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CDataTransferer.java | 131 byte[] bytes = super.translateTransferable(contents, flavor, format); 135 // bytes = HTMLSupport.convertToHTMLFormat(bytes); 138 return bytes; 141 protected Object translateBytesOrStream(InputStream stream, byte[] bytes, DataFlavor flavor, long format, argument 148 stream = new ByteArrayInputStream(bytes); 149 bytes = null; 157 if (bytes == null) { 158 bytes = inputStreamToByteArray(stream); 170 return new URL(new String(bytes, charse 254 nativeDragQueryFile(final byte[] bytes) argument 255 dragQueryFile(final byte[] bytes) argument 267 platformImageBytesOrStreamToImage(InputStream stream, byte[] bytes, long format) argument 276 getImageForByteStream(byte[] bytes) argument 355 convertToHTMLFormat(byte[] bytes) argument [all...] |
/openjdk7/jdk/test/com/sun/crypto/provider/KeyFactory/ |
H A D | PBKDF2HmacSHA1FactoryTest.java | 112 private static String toHexString(byte[] bytes) { argument 114 StringBuilder sb = new StringBuilder(bytes.length*2); 115 for (int i = 0; i < bytes.length; i++) { 116 int low = bytes[i] & 0x0f; 117 int high = ((bytes[i] >> 4) & 0x0f); 126 byte[] bytes = new byte[value.length()/2]; 128 StringBuilder sb = new StringBuilder(bytes.length*2); 129 for (int i = 0; i < bytes.length; i++) { 132 bytes[i] = (byte) ((mapping.indexOf(high) << 4) + 135 return bytes; [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/generic/ |
H A D | IINC.java | 122 protected void initFromFile(ByteSequence bytes, boolean wide) throws IOException argument 128 n = bytes.readUnsignedShort(); 129 c = bytes.readShort(); 132 n = bytes.readUnsignedByte(); 133 c = bytes.readByte();
|
H A D | TABLESWITCH.java | 111 protected void initFromFile(ByteSequence bytes, boolean wide) throws IOException argument 113 super.initFromFile(bytes, wide); 115 int low = bytes.readInt(); 116 int high = bytes.readInt(); 130 indices[i] = bytes.readInt();
|
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_Clipboard.cpp | 215 jbyteArray bytes) 221 if (bytes == NULL) { 225 jint nBytes = env->GetArrayLength(bytes); 229 (LPBYTE)env->GetPrimitiveArrayCritical(bytes, NULL); 237 env->ReleasePrimitiveArrayCritical(bytes, (LPVOID)lpbEmfBuffer, 246 (LPBYTE)env->GetPrimitiveArrayCritical(bytes, NULL); 255 env->ReleasePrimitiveArrayCritical(bytes, (LPVOID)lpbMfpBuffer, JNI_ABORT); 265 env->ReleasePrimitiveArrayCritical(bytes, (LPVOID)lpbMfpBuffer, JNI_ABORT); 277 env->ReleasePrimitiveArrayCritical(bytes, (LPVOID)lpbMfpBuffer, JNI_ABORT); 301 env->GetByteArrayRegion(bytes, 212 Java_sun_awt_windows_WClipboard_publishClipboardData(JNIEnv *env, jobject self, jlong format, jbyteArray bytes) argument 365 jbyteArray bytes = NULL; local [all...] |
/openjdk7/jdk/test/tools/launcher/6842838/ |
H A D | CreateBadJar.java | 126 static int findInCEN(byte[] bytes, int cenpos, String entryName) { argument 135 if (u32(bytes, pos) != CENSIG) throw new RuntimeException ("entry not found in CEN or premature end..."); 137 int csize = u32(bytes, pos+0x14); // +0x14 1 dword csize 138 int uncompsize = u32(bytes, pos+0x18); // +0x18 1 dword uncomp size 139 int filenameLength = u16(bytes, pos+0x1c); // +0x1c 1 word length of filename 140 int extraLength = u16(bytes, pos+0x1e); // +0x1e 1 world length of extra field 141 int commentLength = u16(bytes, pos+0x20); // +0x20 1 world length of file comment 142 filename = new String(bytes, pos+0x2e, filenameLength); // +0x2e chars of filename 143 int offset = u32(bytes, pos+0x2a); // +0x2a chars of filename
|
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/ |
H A D | Utility.java | 150 * <EM>(number of opcodes, not bytes!)</EM> 191 * @param bytes stream of bytes 196 public static final String codeToString(ByteSequence bytes, argument 200 short opcode = (short)bytes.readUnsignedByte(); 207 /* Special case: Skip (0-3) padding bytes, i.e., the 208 * following bytes are 4-byte-aligned 211 int remainder = bytes.getIndex() % 4; 217 if((b=bytes.readByte()) != 0) 223 default_offset = bytes 443 codeToString(ByteSequence bytes, ConstantPool constant_pool) argument 1058 toHexString(byte[] bytes) argument 1194 encode(byte[] bytes, boolean compress) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/ |
H A D | AdaptiveCoding.java | 170 ByteArrayOutputStream bytes = new ByteArrayOutputStream(10); 172 makeMetaCoding(this, dflt, bytes); 176 return bytes.toByteArray(); 179 ByteArrayOutputStream bytes) 196 bytes.write(_meta_run + KX + 4*KBFlag + 8*ABDef); 197 if (KBFlag != 0) bytes.write(KB); 198 if (ADef == 0) bytes.write(headCoding.getMetaCoding(dflt)); 203 if (BDef == 0) bytes.write(tailCoding.getMetaCoding(dflt)); 207 public static int parseMetaCoding(byte[] bytes, int pos, Coding dflt, CodingMethod res[]) { argument 208 int op = bytes[po 178 makeMetaCoding(AdaptiveCoding run, Coding dflt, ByteArrayOutputStream bytes) argument [all...] |