/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/ |
X9FieldElement.java | 59 int byteCount = converter.getByteLength(f); 60 byte[] paddedBigInteger = converter.integerToBytes(f.toBigInteger(), byteCount);
|
/external/okhttp/okio/okio/src/main/java/okio/ |
SegmentPool.java | 31 static long byteCount; 42 byteCount -= Segment.SIZE; 53 if (byteCount + Segment.SIZE > MAX_SIZE) return; // Pool is full. 54 byteCount += Segment.SIZE;
|
Segment.java | 103 * segment contains the data in {@code [pos..pos+byteCount)}. The second 104 * segment contains the data in {@code [pos+byteCount..limit)}. This can be 109 public Segment split(int byteCount) { 110 if (byteCount <= 0 || byteCount > limit - pos) throw new IllegalArgumentException(); 112 prefix.limit = prefix.pos + byteCount; 113 pos += byteCount; 125 int byteCount = limit - pos; 127 if (byteCount > availableByteCount) return; // Cannot compact: not enough writable space. 128 writeTo(prev, byteCount); [all...] |
/external/skia/src/core/ |
SkMD5.h | 22 size_t bytesWritten() const final { return SkToSizeT(this->byteCount); } 36 uint64_t byteCount; // number of bytes, modulo 2^64
|
SkRTree.cpp | 184 size_t byteCount = sizeof(SkRTree); 186 byteCount += fNodes.reserved() * sizeof(Node); 188 return byteCount;
|
/external/skqp/src/core/ |
SkMD5.h | 22 size_t bytesWritten() const final { return SkToSizeT(this->byteCount); } 36 uint64_t byteCount; // number of bytes, modulo 2^64
|
SkRTree.cpp | 184 size_t byteCount = sizeof(SkRTree); 186 byteCount += fNodes.reserved() * sizeof(Node); 188 return byteCount;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
MD5Calculator.java | 35 int byteCount; 36 while ((byteCount = in.read(bytes)) > 0) { 37 digester.update(bytes, 0, byteCount);
|
/prebuilts/tools/common/m2/repository/com/squareup/okio/okio/1.9.0/ |
okio-1.9.0.jar | |
/prebuilts/tools/common/m2/repository/com/squareup/okio/okio/1.8.0/ |
okio-1.8.0.jar | |
/prebuilts/tools/common/m2/repository/com/squareup/okio/okio/1.6.0/ |
okio-1.6.0.jar | |
/device/generic/car/emulator/audio/driver/ |
ext_pcm.c | 100 unsigned int byteCount = MIN(count, 102 unsigned int int16Count = byteCount / sizeof(int16_t); 104 memcpy(&pipeline->buffer[pipeline->position], data, byteCount);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/ |
GeneralDigest.java | 19 private long byteCount; 43 byteCount = Pack.bigEndianToLong(encodedState, 8); 51 byteCount = t.byteCount; 65 byteCount++; 110 byteCount += len; 115 long bitLength = (byteCount << 3); 134 byteCount = 0; 147 Pack.longToBigEndian(byteCount, state, 8);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/ |
OFBBlockCipher.java | 15 private int byteCount; 153 byteCount = 0; 161 if (byteCount == 0) 166 byte rv = (byte)(ofbOutV[byteCount++] ^ in); 168 if (byteCount == blockSize) 170 byteCount = 0;
|
CFBBlockCipher.java | 24 private int byteCount; 124 if (byteCount == 0) 129 byte rv = (byte)(cfbOutV[byteCount] ^ in); 130 inBuf[byteCount++] = rv; 132 if (byteCount == blockSize) 134 byteCount = 0; 145 if (byteCount == 0) 150 inBuf[byteCount] = in; 151 byte rv = (byte)(cfbOutV[byteCount++] ^ in); 153 if (byteCount == blockSize [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
RetryableSink.java | 54 @Override public void write(Buffer source, long byteCount) throws IOException { 56 checkOffsetAndCount(source.size(), 0, byteCount); 57 if (limit != -1 && content.size() > limit - byteCount) { 60 content.write(source, byteCount);
|
/frameworks/av/media/libaaudio/src/legacy/ |
AudioStreamLegacy.cpp | 108 int32_t byteCount = audioBuffer->frameCount * getBytesPerDeviceFrame(); 110 (uint8_t *) audioBuffer->raw, byteCount);
|
/frameworks/base/core/jni/ |
android_ddm_DdmHandleNativeHeap.cpp | 60 ssize_t byteCount; 61 while ((byteCount = TEMP_FAILURE_RETRY(read(fd, bytes, sizeof(bytes)))) > 0) { 62 s.append(bytes, byteCount);
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/libcore/io/ |
BridgeBufferIterator.java | 48 public void skip(int byteCount) { 49 int newPosition = mByteBuffer.position() + byteCount; 55 public void readByteArray(byte[] dst, int dstOffset, int byteCount) { 56 assert dst.length >= dstOffset + byteCount; 57 mByteBuffer.get(dst, dstOffset, byteCount);
|
/libcore/benchmarks/src/benchmarks/ |
ZipFileBenchmark.java | 70 int byteCount = (int) Math.min(writeBuffer.length, entrySize - i); 71 out.write(writeBuffer, 0, byteCount);
|
ZipFileReadBenchmark.java | 63 int byteCount = (int) Math.min(writeBuffer.length, entrySize - i); 64 out.write(writeBuffer, 0, byteCount);
|
/libcore/luni/src/main/java/libcore/io/ |
NioBufferIterator.java | 57 public void skip(int byteCount) { 58 position += byteCount; 66 public void readByteArray(byte[] dst, int dstOffset, int byteCount) { 67 checkDstBounds(dstOffset, dst.length, byteCount); 69 checkReadBounds(position, length, byteCount); 70 Memory.peekByteArray(address + position, dst, dstOffset, byteCount); 71 position += byteCount; 93 final int byteCount = SizeOf.INT * intCount; 94 checkReadBounds(position, length, byteCount); 96 position += byteCount; [all...] |
/libcore/luni/src/test/etc/loading-test-jar/ |
TestMethods.java | 71 int byteCount = in.read(buffer); 72 if (byteCount == -1) { 75 bytes.write(buffer, 0, byteCount);
|
/bionic/libc/bionic/ |
ifaddrs.cpp | 70 void SetAddress(int family, const void* data, size_t byteCount) { 76 ifa.ifa_addr = CopyAddress(family, data, byteCount, &addr); 79 ifa.ifa_dstaddr = CopyAddress(family, data, byteCount, &ifa_ifu); 83 void SetBroadcastAddress(int family, const void* data, size_t byteCount) { 90 ifa.ifa_broadaddr = CopyAddress(family, data, byteCount, &ifa_ifu); 93 void SetLocalAddress(int family, const void* data, size_t byteCount) { 103 ifa.ifa_addr = CopyAddress(family, data, byteCount, &addr); 127 sockaddr* CopyAddress(int family, const void* data, size_t byteCount, sockaddr_storage* ss) { 133 memcpy(SockaddrBytes(family, ss), data, byteCount);
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
UnicodeCompressor.java | 329 int byteCount = comp.compress(buffer, start, limit, null, 332 byte [] result = new byte [byteCount]; 333 System.arraycopy(temp, 0, result, 0, byteCount); [all...] |