/libcore/ojluni/src/main/java/sun/misc/ |
D | CharacterEncoder.java | 144 int numBytes; in encode() local 150 numBytes = readFully(inStream, tmpbuffer); in encode() 151 if (numBytes == 0) { in encode() 154 encodeLinePrefix(outStream, numBytes); in encode() 155 for (j = 0; j < numBytes; j += bytesPerAtom()) { in encode() 157 if ((j + bytesPerAtom()) <= numBytes) { in encode() 160 encodeAtom(outStream, tmpbuffer, j, (numBytes)- j); in encode() 163 if (numBytes < bytesPerLine()) { in encode() 279 int numBytes; in encodeBuffer() local 285 numBytes = readFully(inStream, tmpbuffer); in encodeBuffer() [all …]
|
/libcore/ojluni/src/main/java/java/security/ |
D | SecureRandom.java | 499 int numBytes = (numBits+7)/8; in next() local 500 byte b[] = new byte[numBytes]; in next() 504 for (int i = 0; i < numBytes; i++) { in next() 508 return next >>> (numBytes*8 - numBits); in next() 528 public static byte[] getSeed(int numBytes) { in getSeed() argument 532 return seedGenerator.generateSeed(numBytes); in getSeed() 544 public byte[] generateSeed(int numBytes) { in generateSeed() argument 545 return secureRandomSpi.engineGenerateSeed(numBytes); in generateSeed()
|
D | SecureRandomSpi.java | 73 protected abstract byte[] engineGenerateSeed(int numBytes); in engineGenerateSeed() argument
|
D | MessageDigest.java | 429 int numBytes = engineDigest(buf, offset, len); in digest() local 431 return numBytes; in digest()
|
/libcore/ojluni/src/main/native/ |
D | FileChannelImpl.c | 189 size_t numBytes = 0; in FileChannelImpl_transferTo0() local 197 result = sendfilev64(dstFD, &sfv, 1, &numBytes); in FileChannelImpl_transferTo0() 202 if (numBytes > 0) in FileChannelImpl_transferTo0() 203 return numBytes; in FileChannelImpl_transferTo0() 218 off_t numBytes; in FileChannelImpl_transferTo0() local 221 numBytes = count; in FileChannelImpl_transferTo0() 223 result = sendfile(srcFD, dstFD, position, &numBytes, NULL, 0); in FileChannelImpl_transferTo0() 225 if (numBytes > 0) in FileChannelImpl_transferTo0() 226 return numBytes; in FileChannelImpl_transferTo0()
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | EmulatedStackFrame.java | 111 public final int numBytes; field in EmulatedStackFrame.Range 113 private Range(int referencesStart, int numReferences, int stackFrameStart, int numBytes) { in Range() argument 117 this.numBytes = numBytes; in Range() 130 int numBytes = 0; in of() local 146 numBytes += getSize(cl); in of() 150 return new Range(referencesStart, numReferences, stackFrameStart, numBytes); in of() 219 if (fromRange.numBytes > 0) { in copyRangeTo() 221 other.stackFrame, primitivesStart, fromRange.numBytes); in copyRangeTo()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | RandomImpl.java | 47 protected byte[] engineGenerateSeed(int numBytes) { in engineGenerateSeed() argument 49 byte[] b = new byte[numBytes]; in engineGenerateSeed()
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | GZIPInputStreamTest.java | 220 final int numBytes = 128; in testNoCloseInReadTrailerDueToRead() local 221 byte[] data = new byte[numBytes]; in testNoCloseInReadTrailerDueToRead() 244 assertEquals(numBytes, in.skip(numBytes+1)); in testNoCloseInReadTrailerDueToRead()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | SecureRandomSpiTest.java | 54 protected byte[] engineGenerateSeed(int numBytes) { in engineGenerateSeed() argument
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
D | Base64.java | 241 int numBytes = Integer.parseInt(args[1]); in main() local 244 for (int j=0; j<numBytes; j++) { in main()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | Transformers.java | 135 final int stackFrameStart = range1.numBytes; in transform() 1099 copyRange.numBytes); in transform() 1356 writer.attach(targetFrame, arrayOffset, copyRange.numReferences, copyRange.numBytes); in transform() 1358 reader.attach(callerFrame, arrayOffset, copyRange.numReferences, copyRange.numBytes); in transform() 1605 writer.attach(targetFrame, pos, range1.numReferences, range1.numBytes); in transform() 1612 range2.numBytes + stackFrameOffset); in transform() 1721 writer.attach(calleeFrame, pos, range1.numReferences, range1.numBytes); in transform() 1759 range1.numBytes + bytesCopied); in transform()
|
/libcore/luni/src/main/native/ |
D | java_math_NativeBN.cpp | 204 size_t numBytes = len * sizeof(int); in NativeBN_litEndInts2bn() local 206 if (!BN_le2bn(tmpBytes, numBytes, ret)) { in NativeBN_litEndInts2bn()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | Base64Test.java | 870 for (int numBytes : new int [] { 0, 1, 2, 75, 76, 77, 80, 100, 1234 }) { in checkRoundTrip_variousSizes() 871 byte[] bytes = new byte[numBytes]; in checkRoundTrip_variousSizes()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | ProviderTest.java | 1237 protected byte[] engineGenerateSeed(int numBytes) { in engineGenerateSeed() argument
|