/openjdk7/jdk/test/java/lang/instrument/appendToClassLoaderSearch/ |
H A D | run_tests.sh | 83 mv Application.class InstrumentedApplication.bytes
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/ |
H A D | Checksum.java | 257 DerOutputStream bytes = new DerOutputStream(); 260 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, 264 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, 267 temp.write(DerValue.tag_Sequence, bytes); 306 * Returns the raw bytes of the checksum, not in ASN.1 encoded form.
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ |
H A D | HostAddress.java | 256 DerOutputStream bytes = new DerOutputStream(); 259 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x00), temp); 262 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x01), temp); 264 temp.write(DerValue.tag_Sequence, bytes);
|
H A D | PAData.java | 118 DerOutputStream bytes = new DerOutputStream(); 122 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, TAG_PATYPE), temp); 125 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, TAG_PAVALUE), temp); 128 temp.write(DerValue.tag_Sequence, bytes);
|
/openjdk7/jdk/src/share/classes/sun/security/provider/certpath/ |
H A D | OCSP.java | 212 byte[] bytes = null; 215 bytes = request.encodeBytes(); 238 ("Content-length", String.valueOf(bytes.length)); 240 out.write(bytes);
|
/openjdk7/jdk/test/javax/management/ObjectName/ |
H A D | SerialCompatTest.java | 47 byte[] bytes = bos.toByteArray(); 48 ByteArrayInputStream bis = new ByteArrayInputStream(bytes); 119 byte[] bytes = bos.toByteArray(); 120 ByteArrayInputStream bis = new ByteArrayInputStream(bytes);
|
/openjdk7/jdk/test/sun/nio/cs/ |
H A D | NIOJISAutoDetectTest.java | 64 private static String detectingCharset(byte[] bytes) throws Exception { argument 77 cd.decode(ByteBuffer.wrap(bytes)); 95 byte[] bytes = "ABCD\n".getBytes(); 96 ByteArrayInputStream bais = new ByteArrayInputStream(bytes);
|
/openjdk7/hotspot/src/os/windows/vm/ |
H A D | os_windows.cpp | 1490 //that is located after"signature" (4 bytes long) 2070 // standing for "exception" and the final 3 bytes (0x6D7363) representing the 2128 ctx->Rip = (DWORD)pc + 2; // idiv reg, reg is 2 bytes 2139 ctx->Eip = (DWORD)pc + 2; // idiv reg, reg is 2 bytes 2253 // 15 bytes seems to be a (very) safe value for max instruction size. 2788 static char* allocate_pages_individually(size_t bytes, char* addr, DWORD flags, DWORD prot, argument 2801 const size_t size_of_reserve = bytes + chunk_size; 2802 if (bytes > size_of_reserve) { 2813 os::release_memory(p_buf, bytes + chunk_size); 2820 // now go through and allocate one chunk at a time until all bytes ar 3009 pd_reserve_memory(size_t bytes, char* addr, size_t alignment_hint) argument 3042 pd_attempt_reserve_memory_at(size_t bytes, char* requested_addr) argument 3063 reserve_memory_special(size_t bytes, char* addr, bool exec) argument 3103 release_memory_special(char* base, size_t bytes) argument 3111 warn_fail_commit_memory(char* addr, size_t bytes, bool exec) argument 3120 pd_commit_memory(char* addr, size_t bytes, bool exec) argument 3204 pd_uncommit_memory(char* addr, size_t bytes) argument 3214 pd_release_memory(char* addr, size_t bytes) argument 3227 protect_memory(char* addr, size_t bytes, ProtType prot, bool is_committed) argument 3256 guard_memory(char* addr, size_t bytes) argument 3261 unguard_memory(char* addr, size_t bytes) argument 3266 pd_realign_memory(char *addr, size_t bytes, size_t alignment_hint) argument 3267 pd_free_memory(char *addr, size_t bytes, size_t alignment_hint) argument 3268 numa_make_global(char *addr, size_t bytes) argument 3269 numa_make_local(char *addr, size_t bytes, int lgrp_hint) argument 4309 available(int fd, jlong *bytes) argument 4437 pd_map_memory(int fd, const char* file_name, size_t file_offset, char *addr, size_t bytes, bool read_only, bool allow_exec) argument 4557 pd_remap_memory(int fd, const char* file_name, size_t file_offset, char *addr, size_t bytes, bool read_only, bool allow_exec) argument 4578 pd_unmap_memory(char* addr, size_t bytes) argument 5152 VirtualAllocExNuma(HANDLE hProc, LPVOID addr, SIZE_T bytes, DWORD flags, DWORD prot, DWORD node) argument [all...] |
/openjdk7/hotspot/src/share/vm/memory/ |
H A D | allocation.cpp | 82 assert((allocation & allocation_mask) == 0, "address should be aligned to 4 bytes at least"); 200 _NOINLINE_ void* allocate(size_t bytes, AllocFailType alloc_failmode) { argument 201 assert(bytes == _size, "bad size"); 209 if (p == NULL) p = os::malloc(bytes, mtChunk, CURRENT_PC); 211 vm_exit_out_of_memory(bytes, "ChunkPool::allocate"); 315 size_t bytes = ARENA_ALIGN(requested_size) + length; local 317 case Chunk::size: return ChunkPool::large_pool()->allocate(bytes, alloc_failmode); 318 case Chunk::medium_size: return ChunkPool::medium_pool()->allocate(bytes, alloc_failmode); 319 case Chunk::init_size: return ChunkPool::small_pool()->allocate(bytes, alloc_failmode); 321 void *p = os::malloc(bytes, mtChun [all...] |
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/utils/ |
H A D | Base64.java | 240 * @param bytes 245 byte[] bytes) { 248 Text text = doc.createTextNode(encode(bytes)); 260 * @return the UTF bytes of the base64 285 * with the bytes. 289 * @return InputStream with the decoded bytes 301 byte[] bytes = decode(line); 303 baos.write(bytes); 492 byte []bytes=new byte[encoded.length()]; 493 int len=getBytesInternal(encoded, bytes); 244 encodeToElement(Document doc, String localName, byte[] bytes) argument [all...] |
/openjdk7/hotspot/src/os/solaris/vm/ |
H A D | os_solaris.cpp | 2232 int bytes; local 2233 while ((bytes = ::read(fd, buf, sizeof(buf))) > 0) { 2234 st->print_raw(buf, bytes); 2831 static void warn_fail_commit_memory(char* addr, size_t bytes, bool exec, argument 2834 ", %d) failed; error='%s' (errno=%d)", addr, bytes, exec, 2838 static void warn_fail_commit_memory(char* addr, size_t bytes, argument 2842 ", " SIZE_FORMAT ", %d) failed; error='%s' (errno=%d)", addr, bytes, 2846 int os::Solaris::commit_memory_impl(char* addr, size_t bytes, bool exec) { argument 2848 size_t size = bytes; 2852 numa_make_global(addr, bytes); 2867 pd_commit_memory(char* addr, size_t bytes, bool exec) argument 2871 pd_commit_memory_or_exit(char* addr, size_t bytes, bool exec, const char* mesg) argument 2882 commit_memory_impl(char* addr, size_t bytes, size_t alignment_hint, bool exec) argument 2911 pd_commit_memory(char* addr, size_t bytes, size_t alignment_hint, bool exec) argument 2916 pd_commit_memory_or_exit(char* addr, size_t bytes, size_t alignment_hint, bool exec, const char* mesg) argument 2929 pd_free_memory(char* addr, size_t bytes, size_t alignment_hint) argument 2945 pd_realign_memory(char *addr, size_t bytes, size_t alignment_hint) argument 2954 numa_make_local(char *addr, size_t bytes, int lgrp_hint) argument 2962 numa_make_global(char *addr, size_t bytes) argument 3132 pd_uncommit_memory(char* addr, size_t bytes) argument 3152 anon_mmap(char* requested_addr, size_t bytes, size_t alignment_hint, bool fixed) argument 3171 pd_reserve_memory(size_t bytes, char* requested_addr, size_t alignment_hint) argument 3182 pd_attempt_reserve_memory_at(size_t bytes, char* requested_addr) argument 3305 pd_release_memory(char* addr, size_t bytes) argument 3310 solaris_mprotect(char* addr, size_t bytes, int prot) argument 3321 protect_memory(char* addr, size_t bytes, ProtType prot, bool is_committed) argument 3339 guard_memory(char* addr, size_t bytes) argument 3343 unguard_memory(char* addr, size_t bytes) argument 3493 set_mpss_range(caddr_t start, size_t bytes, size_t align) argument 3564 release_memory_special(char* base, size_t bytes) argument 5749 available(int fd, jlong *bytes) argument 5783 pd_map_memory(int fd, const char* file_name, size_t file_offset, char *addr, size_t bytes, bool read_only, bool allow_exec) argument 5815 pd_remap_memory(int fd, const char* file_name, size_t file_offset, char *addr, size_t bytes, bool read_only, bool allow_exec) argument 5825 pd_unmap_memory(char* addr, size_t bytes) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/algorithms/implementations/ |
H A D | IntegrityHmac.java | 213 int bytes = length / 8; 215 byte[] strippedResult = new byte[bytes + ((abits == 0) 219 System.arraycopy(completeResult, 0, strippedResult, 0, bytes); 225 strippedResult[bytes] = (byte) (completeResult[bytes] & MASK[abits]);
|
/openjdk7/jdk/test/javax/management/descriptor/ |
H A D | MBeanInfoInteropTest.java | 95 byte[] bytes = (byte[]) f.get(null); 96 ByteArrayInputStream bis = new ByteArrayInputStream(bytes); 136 byte[] bytes = bos.toByteArray(); 143 for (int i = 0; i < bytes.length; i++) { 144 byte b = bytes[i];
|
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/ |
H A D | zip.cpp | 41 #include "bytes.h" 51 inline bool jar::deflate_bytes(bytes& head, bytes& tail) { 212 bytes mc; mc.set(marker_comment); 264 bytes& head, bytes& tail) { 315 * time (date in high two bytes, time in low two bytes allowing magnitude 358 bool jar::deflate_bytes(bytes& head, bytes [all...] |
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/ |
H A D | Obj.java | 504 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); 505 ObjectOutputStream serial = new ObjectOutputStream(bytes); 509 return (bytes.toByteArray()); 526 ByteArrayInputStream bytes = new ByteArrayInputStream(obj); 528 new ObjectInputStream(bytes) : 529 new LoaderInputStream(bytes, cl));
|
/openjdk7/hotspot/src/share/vm/prims/ |
H A D | nativeLookup.cpp | 58 char* bytes = (char*)name->bytes() + begin; local 59 char* end_bytes = (char*)name->bytes() + end; 60 while (bytes < end_bytes) { 62 bytes = UTF8::next(bytes, &c);
|
/openjdk7/jdk/test/com/sun/nio/sctp/SctpChannel/ |
H A D | Send.java | 329 check(info.bytes() == Util.SMALL_MESSAGE.getBytes("ISO-8859-1"). 330 length, "bytes received not equal to message length"); 331 check(info.bytes() == buffer.remaining(), "bytes != remaining"); 349 check(info.bytes() == Util.LARGE_MESSAGE.getBytes("ISO-8859-1"). 350 length, "bytes received not equal to message length"); 351 check(info.bytes() == buffer.remaining(), "bytes != remaining"); 376 check(info.bytes() == expected.remaining(), 377 "bytes receive [all...] |
/openjdk7/langtools/test/tools/javac/processing/ |
H A D | T6920317.java | 407 byte[] bytes = new byte[(int) file.length()]; 411 in.readFully(bytes); 423 return bytes; 427 void write(JavaFileObject file, byte[] bytes) { argument 431 out.write(bytes, 0, bytes.length);
|
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/generic/ |
H A D | LDC.java | 118 protected void initFromFile(ByteSequence bytes, boolean wide) argument 122 index = bytes.readUnsignedByte();
|
/openjdk7/jdk/src/share/classes/java/security/ |
H A D | SecureRandom.java | 65 * to retrieve random bytes: 69 * byte bytes[] = new byte[20]; 70 * random.nextBytes(bytes); 74 * to generate a given number of seed bytes (to seed other random number 161 * The SecureRandom instance is seeded with the specified seed bytes. 419 * Reseeds this random object, using the eight bytes contained 444 * Generates a user-specified number of random bytes. 451 * @param bytes the array to be filled in with random bytes. 454 synchronized public void nextBytes(byte[] bytes) { argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/ |
H A D | BandStructure.java | 288 // push back XB onto the band header bytes 291 // scan forward through XB and any additional band header bytes 299 public static int parseMetaCoding(byte[] bytes, int pos, Coding dflt, CodingMethod[] res) { argument 300 if ((bytes[pos] & 0xFF) == _meta_default) { 305 pos2 = Coding.parseMetaCoding(bytes, pos, dflt, res); 307 pos2 = PopulationCoding.parseMetaCoding(bytes, pos, dflt, res); 309 pos2 = AdaptiveCoding.parseMetaCoding(bytes, pos, dflt, res); 311 throw new RuntimeException("Bad meta-coding op "+(bytes[pos]&0xFF)); 321 public static final int WRITE_PHASE = 5; // ready to write bytes 325 public static final int READ_PHASE = 4; // ready to read bytes 782 private ByteArrayOutputStream bytes; // input buffer field in class:BandStructure.ByteBand [all...] |
/openjdk7/jdk/make/tools/src/build/tools/charsetmapping/ |
H A D | Utils.java | 50 public Entry (int bytes, int cp, int cp2) { argument 51 this.bs = bytes;
|
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | virtualspace.hpp | 237 bool expand_by(size_t bytes, bool pre_touch = false); 238 void shrink_by(size_t bytes);
|
/openjdk7/jdk/test/java/lang/instrument/ |
H A D | ATransformerManagementTestCase.java | 163 byte[] bytes = NamedBuffer.loadBufferFromStream(redefineStream); 164 ClassDefinition cd = new ClassDefinition(DummyClass.class, bytes);
|
/openjdk7/jdk/test/java/nio/charset/StandardCharsets/ |
H A D | Standard.java | 115 static Object readObject(byte[] bytes) argument 117 InputStream is = new ByteArrayInputStream(bytes);
|