Searched defs:numBytes (Results 1 - 25 of 46) sorted by relevance

12

/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/
H A DPageFetcher.java30 public Page fetchPage(long pageBaseAddress, long numBytes); argument
H A DDebugger.java125 public ReadResult readBytesFromProcess(long address, long numBytes) argument
128 public void writeBytesToProcess(long address, long numBytes, byte[] data) argument
H A DPage.java92 public void getData(long startAddress, long numBytes, argument
97 ((startOffset < 0) || ((startOffset + numBytes) > (baseAddress + unmappedPageLength)))) {
102 for (int i = 0; i < (int) numBytes; ++i) {
117 public void getDataAsBytes(long startAddress, long numBytes, argument
124 System.arraycopy(data, (int) startOffset, destBuf, (int) destBufOffset, (int) numBytes);
H A DPageCache.java54 really handle numBytes > 32 bits. */
55 public synchronized byte[] getData(long startAddress, long numBytes) argument
57 byte[] data = new byte[(int) numBytes];
60 while (numBytes > 0) {
66 long numBytesFromPage = Math.min(pageSize - pageOffset, numBytes);
72 numBytes -= numBytesFromPage;
112 public synchronized void clear(long startAddress, long numBytes) { argument
114 long endAddress = startAddress + numBytes;
/openjdk7/jdk/src/share/classes/java/security/
H A DSecureRandomSpi.java69 * @param numBytes the number of seed bytes to generate.
73 protected abstract byte[] engineGenerateSeed(int numBytes); argument
H A DSecureRandom.java473 int numBytes = (numBits+7)/8;
474 byte b[] = new byte[numBytes];
478 for (int i = 0; i < numBytes; i++)
481 return next >>> (numBytes*8 - numBits);
495 * @param numBytes the number of seed bytes to generate.
501 public static byte[] getSeed(int numBytes) { argument
504 return seedGenerator.generateSeed(numBytes);
512 * @param numBytes the number of seed bytes to generate.
516 public byte[] generateSeed(int numBytes) { argument
517 return secureRandomSpi.engineGenerateSeed(numBytes);
[all...]
/openjdk7/jdk/src/windows/native/sun/security/provider/
H A DWinCAPISeedGenerator.c49 jsize numBytes; local
60 numBytes = (*env)->GetArrayLength(env, randArray);
62 if (CryptGenRandom(hCryptProv, numBytes, randBytes)) {
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/livejvm/
H A DCIntegerAccessor.java31 private long numBytes; field in class:CIntegerAccessor
34 CIntegerAccessor(Address addr, long numBytes, boolean isUnsigned) { argument
36 this.numBytes = numBytes;
41 return addr.getCIntegerAt(0, numBytes, isUnsigned);
45 addr.setCIntegerAt(0, numBytes, value);
/openjdk7/jdk/src/windows/classes/sun/security/mscapi/
H A DPRNG.java85 * @param numBytes the number of seed bytes to generate.
89 protected byte[] engineGenerateSeed(int numBytes) { argument
90 byte[] seed = generateSeed(numBytes, null);
/openjdk7/hotspot/agent/src/os/bsd/
H A DStubDebuggerLocal.c113 (JNIEnv *env, jobject this_obj, jlong addr, jlong numBytes) {
112 Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_readBytesFromProcess0(JNIEnv *env, jobject this_obj, jlong addr, jlong numBytes) argument
H A DBsdDebuggerLocal.c267 (JNIEnv *env, jobject this_obj, jlong addr, jlong numBytes) {
274 array = (*env)->NewByteArray(env, numBytes);
279 err = ps_pread(get_proc_handle(env, this_obj), (psaddr_t) (uintptr_t)addr, bufPtr, numBytes);
266 Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_readBytesFromProcess0(JNIEnv *env, jobject this_obj, jlong addr, jlong numBytes) argument
/openjdk7/jdk/src/share/classes/sun/font/
H A DCreatedFontTracker.java43 int numBytes; field in class:CreatedFontTracker
53 numBytes = 0;
57 return numBytes;
61 numBytes += sz;
65 numBytes -= sz;
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DCipherFeedback.java58 private int numBytes; field in class:CipherFeedback
63 CipherFeedback(SymmetricCipher embeddedCipher, int numBytes) { argument
65 if (numBytes > blockSize) {
66 numBytes = blockSize;
68 this.numBytes = numBytes;
142 * <code>numBytes</code>, as any excess bytes are ignored.
158 len = blockSize - numBytes;
159 int loopCount = plainLen / numBytes;
160 int oddBytes = plainLen % numBytes;
[all...]
H A DOutputFeedback.java57 private int numBytes; field in class:OutputFeedback
62 OutputFeedback(SymmetricCipher embeddedCipher, int numBytes) { argument
64 if (numBytes > blockSize) {
65 numBytes = blockSize;
67 this.numBytes = numBytes;
141 * <code>numBytes</code>, as any excess bytes are ignored.
157 int len = blockSize - numBytes;
158 int loopCount = plainLen / numBytes;
159 int oddBytes = plainLen % numBytes;
[all...]
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11SecureRandom.java152 protected byte[] engineGenerateSeed(int numBytes) { argument
153 byte[] b = new byte[numBytes];
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DSecureRandom.java119 * @param numBytes the number of seed bytes to generate.
123 public byte[] engineGenerateSeed(int numBytes) { argument
124 byte[] b = new byte[numBytes];
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/bsd/
H A DBsdDebugger.java45 public long readCInteger(long address, long numBytes, boolean isUnsigned) argument
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/linux/
H A DLinuxDebugger.java45 public long readCInteger(long address, long numBytes, boolean isUnsigned) argument
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/proc/
H A DProcDebugger.java46 public long readCInteger(long address, long numBytes, boolean isUnsigned) argument
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/remote/
H A DRemoteDebugger.java56 public ReadResult readBytesFromProcess(long address, long numBytes) throws RemoteException; argument
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/windbg/
H A DWindbgDebugger.java45 public long readCInteger(long address, long numBytes, boolean isUnsigned) argument
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DRenderBuffer.java74 protected RenderBuffer(int numBytes) { argument
76 curAddress = baseAddress = unsafe.allocateMemory(numBytes);
77 endAddress = baseAddress + numBytes;
78 capacity = numBytes;
84 public static RenderBuffer allocate(int numBytes) { argument
85 return new RenderBuffer(numBytes);
112 public final void position(long numBytes) { argument
113 curAddress = baseAddress + numBytes;
120 public final RenderBuffer skip(long numBytes) { argument
121 curAddress += numBytes;
[all...]
/openjdk7/jdk/src/solaris/classes/sun/security/provider/
H A DNativePRNG.java118 protected byte[] engineGenerateSeed(int numBytes) { argument
119 return INSTANCE.implGenerateSeed(numBytes);
215 private byte[] implGenerateSeed(int numBytes) { argument
218 byte[] b = new byte[numBytes];
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/
H A DCodeSetConversion.java157 private int numBytes = 0; field in class:CodeSetConversion.JavaCTBConverter
228 return numBytes;
266 numBytes = buffer.limit();
347 public char[] getChars(byte[] bytes, int offset, int numBytes) { argument
361 ByteBuffer byteBuf = ByteBuffer.wrap(bytes, offset, numBytes);
450 public char[] getChars(byte[] bytes, int offset, int numBytes) { argument
452 if (hasUTF16ByteOrderMarker(bytes, offset, numBytes)) {
458 return super.getChars(bytes, offset, numBytes);
469 return super.getChars(bytes, offset, numBytes);
/openjdk7/hotspot/agent/src/os/linux/
H A DLinuxDebuggerLocal.c266 (JNIEnv *env, jobject this_obj, jlong addr, jlong numBytes) {
273 array = (*env)->NewByteArray(env, numBytes);
278 err = ps_pdread(get_proc_handle(env, this_obj), (psaddr_t) (uintptr_t)addr, bufPtr, numBytes);
265 Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLocal_readBytesFromProcess0(JNIEnv *env, jobject this_obj, jlong addr, jlong numBytes) argument

Completed in 54 milliseconds

12