Searched refs:numBytes (Results 1 - 25 of 63) sorted by relevance

123

/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/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/
H A DPageFetcher.java30 public Page fetchPage(long pageBaseAddress, long numBytes); argument
H A DDebuggerBase.java70 public Page fetchPage(long pageBaseAddress, long numBytes) { argument
76 ReadResult res = readBytesFromProcess(pageBaseAddress, numBytes);
78 return new Page(pageBaseAddress, numBytes);
214 protected final byte[] readBytes(long address, long numBytes) argument
217 return cache.getData(address, numBytes);
219 ReadResult res = readBytesFromProcess(address, numBytes);
228 protected final void writeBytes(long address, long numBytes, byte[] data) argument
231 cache.clear(address, numBytes);
233 writeBytesToProcess(address, numBytes, data);
346 public long readCInteger(long address, long numBytes, boolea argument
444 writeCInteger(long address, long numBytes, long value) argument
508 invalidatePageCache(long startAddress, long numBytes) argument
[all...]
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/com/sun/crypto/provider/
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...]
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...]
/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/share/classes/com/sun/imageio/plugins/common/
H A DBitFile.java58 int numBytes = index + (bitsLeft == 8 ? 0 : 1);
59 if (numBytes > 0) {
61 output.write(numBytes);
63 output.write(buffer, 0, numBytes);
72 int numBytes = 255; // gif block count
77 output.write(numBytes);
80 output.write(buffer, 0, numBytes);
/openjdk7/jdk/test/java/security/Signature/
H A DSignWithOutputBuffer.java37 int numBytes;
52 numBytes = sig.sign(out, 0, out.length);
62 numBytes = sig.sign(out, 0, out.length);
64 System.out.println("Signature len="+numBytes);
/openjdk7/jdk/src/share/classes/sun/misc/
H A DCharacterEncoder.java144 int numBytes;
150 numBytes = readFully(inStream, tmpbuffer);
151 if (numBytes == 0) {
154 encodeLinePrefix(outStream, numBytes);
155 for (j = 0; j < numBytes; j += bytesPerAtom()) {
157 if ((j + bytesPerAtom()) <= numBytes) {
160 encodeAtom(outStream, tmpbuffer, j, (numBytes)- j);
163 if (numBytes < bytesPerLine()) {
279 int numBytes;
285 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/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/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/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/native/sun/nio/ch/
H A DFileChannelImpl.c176 size_t numBytes = 0;
184 result = sendfilev64(dstFD, &sfv, 1, &numBytes);
187 * transferred, so we check numBytes first.
189 if (numBytes > 0)
190 return numBytes;
205 off_t numBytes;
208 numBytes = count;
211 result = sendfile(srcFD, dstFD, position, &numBytes, NULL, 0);
214 if (numBytes > 0)
215 return numBytes;
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/
H A DCDRInputStream_1_2.java109 int numBytes = read_octet();
111 char[] result = getConvertedChars(numBytes, getWCharConverter());
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/share/classes/sun/jvm/hotspot/debugger/bsd/
H A DBsdDebuggerLocal.java95 private native byte[] readBytesFromProcess0(long address, long numBytes) argument
479 public long readCInteger(long address, long numBytes, boolean isUnsigned) argument
484 if (numBytes == 8) {
487 utils.checkAlignment(address, numBytes);
489 byte[] data = readBytes(address, numBytes);
566 long numBytes) throws UnmappedAddressException, DebuggerException {
569 byte[] res = readBytesFromProcess0(address, numBytes);
573 long address, numBytes;
576 byte[] res = debugger.readBytesFromProcess0(address, numBytes);
586 task.numBytes
565 readBytesFromProcess(long address, long numBytes) argument
592 writeBytesToProcess(long address, long numBytes, byte[] data) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/linux/
H A DLinuxDebuggerLocal.java93 private native byte[] readBytesFromProcess0(long address, long numBytes) argument
472 public long readCInteger(long address, long numBytes, boolean isUnsigned) argument
477 if (numBytes == 8) {
480 utils.checkAlignment(address, numBytes);
482 byte[] data = readBytes(address, numBytes);
559 long numBytes) throws UnmappedAddressException, DebuggerException {
562 byte[] res = readBytesFromProcess0(address, numBytes);
566 long address, numBytes;
569 byte[] res = debugger.readBytesFromProcess0(address, numBytes);
579 task.numBytes
558 readBytesFromProcess(long address, long numBytes) argument
585 writeBytesToProcess(long address, long numBytes, byte[] data) argument
[all...]
/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/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/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/proc/
H A DProcDebuggerLocal.java322 public long readCInteger(long address, long numBytes, boolean isUnsigned) argument
326 utils.checkAlignment(address, numBytes);
331 if (numBytes == 8) {
334 utils.checkAlignment(address, numBytes);
337 byte[] data = readBytes(address, numBytes);
366 public void writeBytesToProcess(long address, long numBytes, byte[] data) argument
371 writeBytesToProcess0(address, numBytes, data);
374 public synchronized ReadResult readBytesFromProcess(long address, long numBytes) argument
377 byte[] res = readBytesFromProcess0(address, numBytes);
645 private native byte[] readBytesFromProcess0(long address, long numBytes) throw argument
646 writeBytesToProcess0(long address, long numBytes, byte[] data) argument
[all...]

Completed in 60 milliseconds

123