/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x9/ |
X9FieldElement.java | 59 int byteCount = converter.getByteLength(f); 60 byte[] paddedBigInteger = converter.integerToBytes(f.toBigInteger(), byteCount);
|
/external/yaffs2/yaffs2/ |
yaffs_packedtags1.h | 11 unsigned byteCount:10;
|
yaffs_packedtags2.h | 13 unsigned byteCount;
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/ |
h264bsd_byte_stream.c | 87 u32 byteCount,initByteCount; 107 zeroCount = byteCount = 2; 113 byteCount++; 115 if (byteCount == len) 130 initByteCount = byteCount; 139 byteCount++; 151 byteCount - initByteCount - zeroCount - 1; 162 if (byteCount == len) 164 pStrmData->strmBuffSize = byteCount - initByteCount - zeroCount;
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/digests/ |
GeneralDigest.java | 16 private long byteCount; 38 byteCount = t.byteCount; 52 byteCount++; 80 byteCount += xBuf.length; 97 long bitLength = (byteCount << 3); 116 byteCount = 0;
|
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/ |
NetscapePluginStream.cpp | 269 int byteCount = writeToFile(m_fileHandle, bytes, length); 270 if (byteCount != length) {
|
/libcore/luni/src/main/java/java/nio/ |
DirectByteBuffer.java | 40 public final ByteBuffer get(byte[] dst, int dstOffset, int byteCount) { 41 checkGetBounds(1, dst.length, dstOffset, byteCount); 42 this.block.peekByteArray(offset + position, dst, dstOffset, byteCount); 43 position += byteCount; 48 int byteCount = checkGetBounds(SizeOf.CHAR, dst.length, dstOffset, charCount); 50 position += byteCount; 54 int byteCount = checkGetBounds(SizeOf.DOUBLE, dst.length, dstOffset, doubleCount); 56 position += byteCount; 60 int byteCount = checkGetBounds(SizeOf.FLOAT, dst.length, dstOffset, floatCount); 62 position += byteCount; [all...] |
HeapByteBuffer.java | 62 public final ByteBuffer get(byte[] dst, int dstOffset, int byteCount) { 63 checkGetBounds(1, dst.length, dstOffset, byteCount); 64 System.arraycopy(backingArray, offset + position, dst, dstOffset, byteCount); 65 position += byteCount; 70 int byteCount = checkGetBounds(SizeOf.CHAR, dst.length, dstOffset, charCount); 71 Memory.unsafeBulkGet(dst, dstOffset, byteCount, backingArray, offset + position, SizeOf.CHAR, order.needsSwap); 72 position += byteCount; 76 int byteCount = checkGetBounds(SizeOf.DOUBLE, dst.length, dstOffset, doubleCount); 77 Memory.unsafeBulkGet(dst, dstOffset, byteCount, backingArray, offset + position, SizeOf.DOUBLE, order.needsSwap); 78 position += byteCount; [all...] |
Buffer.java | 171 int byteCount = bytesPerElement * count; 176 if (byteCount > remaining()) { 179 return byteCount; 183 int byteCount = bytesPerElement * count; 188 if (byteCount > remaining()) { 194 return byteCount;
|
ReadWriteDirectByteBuffer.java | 99 public ByteBuffer put(byte[] src, int srcOffset, int byteCount) { 100 checkPutBounds(1, src.length, srcOffset, byteCount); 101 this.block.pokeByteArray(offset + position, src, srcOffset, byteCount); 102 position += byteCount; 107 int byteCount = checkPutBounds(SizeOf.CHAR, src.length, srcOffset, charCount); 109 position += byteCount; 113 int byteCount = checkPutBounds(SizeOf.DOUBLE, src.length, srcOffset, doubleCount); 115 position += byteCount; 119 int byteCount = checkPutBounds(SizeOf.FLOAT, src.length, srcOffset, floatCount); 121 position += byteCount; [all...] |
ReadWriteHeapByteBuffer.java | 112 public ByteBuffer put(byte[] src, int srcOffset, int byteCount) { 113 checkPutBounds(1, src.length, srcOffset, byteCount); 114 System.arraycopy(src, srcOffset, backingArray, offset + position, byteCount); 115 position += byteCount; 120 int byteCount = checkPutBounds(SizeOf.CHAR, src.length, srcOffset, charCount); 121 Memory.unsafeBulkPut(backingArray, offset + position, byteCount, src, srcOffset, SizeOf.CHAR, order.needsSwap); 122 position += byteCount; 126 int byteCount = checkPutBounds(SizeOf.DOUBLE, src.length, srcOffset, doubleCount); 127 Memory.unsafeBulkPut(backingArray, offset + position, byteCount, src, srcOffset, SizeOf.DOUBLE, order.needsSwap); 128 position += byteCount; [all...] |
/libcore/luni/src/main/java/javax/crypto/ |
CipherInputStream.java | 96 int byteCount; 98 if ((byteCount = in.read(inputBuffer)) == -1) { 107 outputBuffer = cipher.update(inputBuffer, 0, byteCount); 146 public long skip(long byteCount) throws IOException { 147 return Streams.skipByReading(this, byteCount);
|
/libcore/luni/src/main/java/libcore/io/ |
HeapBufferIterator.java | 30 private final int byteCount; 35 HeapBufferIterator(byte[] buffer, int offset, int byteCount, ByteOrder order) { 38 this.byteCount = byteCount; 46 public void skip(int byteCount) { 47 position += byteCount; 50 public void readByteArray(byte[] dst, int dstOffset, int byteCount) { 51 System.arraycopy(buffer, offset + position, dst, dstOffset, byteCount); 52 position += byteCount; 68 final int byteCount = intCount * SizeOf.INT [all...] |
IoUtils.java | 119 int byteCount = f.read(buffer); 120 if (byteCount == -1) { 123 bytes.write(buffer, 0, byteCount);
|
/libcore/luni/src/main/native/ |
java_util_zip_Inflater.cpp | 76 ssize_t byteCount; 77 while ((byteCount = TEMP_FAILURE_RETRY(read(fd, dst, len))) > 0) { 78 dst += byteCount; 79 len -= byteCount; 80 totalByteCount += byteCount; 82 if (byteCount == -1) {
|
java_lang_Character.cpp | 52 int32_t byteCount = u_charName(codePoint, nameType, &buf[0], sizeof(buf), &status); 53 return (U_FAILURE(status) || byteCount == 0) ? NULL : env->NewStringUTF(buf);
|
/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);
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/ |
DERObjectIdentifier.java | 165 int byteCount = (fieldValue.bitLength()+6)/7; 166 if (byteCount == 0) 173 byte[] tmp = new byte[byteCount]; 174 for (int i = byteCount-1; i >= 0; i--) 179 tmp[byteCount-1] &= 0x7f;
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/ |
combined_encode.cpp | 285 Int byteCount = 0, byteCount1 = 0, bitCount = 0; 368 byteCount1 = byteCount = bitCount >> 3; /* save the position before GOB header */ 438 byteCount = bitCount >> 3; /* save the state before encoding */ 469 BitstreamRepos(bs1, byteCount, bitCount); /* rewind one MB */ 506 if (mbnum < nTotalMB - 1 && currVol->stream->byteCount + bs1->byteCount + 1 >= currVol->stream->bufferSize) 509 byteCount = currVol->stream->bufferSize - currVol->stream->byteCount - 1; 511 num_bits = BitstreamGetPos(bs1) - (byteCount << 3); 512 BitstreamRepos(bs1, byteCount, 0) [all...] |
/libcore/luni/src/main/java/java/util/zip/ |
DeflaterOutputStream.java | 137 int byteCount; 138 while ((byteCount = def.deflate(buf)) != 0) { 139 out.write(buf, 0, byteCount); 175 int byteCount = def.deflate(buf); 176 out.write(buf, 0, byteCount); 186 * Compresses {@code byteCount} bytes of data from {@code buf} starting at 191 @Override public void write(byte[] buffer, int offset, int byteCount) throws IOException { 195 Arrays.checkOffsetAndCount(buffer.length, offset, byteCount); 199 def.setInput(buffer, offset, byteCount); 214 int byteCount; [all...] |
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
RawImage.java | 154 int byteCount = this.bpp >> 3; // bpp is in bits, we want bytes to match our array 160 this.data, (y * w + x) * byteCount, 161 rotated.data, ((w-x-1) * h + y) * byteCount, 162 byteCount);
|
/dalvik/dx/src/com/android/dx/dex/ |
TableOfContents.java | 154 section.byteCount = end - section.off; 217 public int byteCount = 0;
|
/external/bouncycastle/src/main/java/org/bouncycastle/math/ec/ |
ECPoint.java | 384 int byteCount = converter.getByteLength(this.x); 385 byte[] X = converter.integerToBytes(this.getX().toBigInteger(), byteCount); 391 PO = new byte[byteCount + 1]; 409 System.arraycopy(X, 0, PO, 1, byteCount); 413 byte[] Y = converter.integerToBytes(this.getY().toBigInteger(), byteCount); 415 PO = new byte[byteCount + byteCount + 1]; 418 System.arraycopy(X, 0, PO, 1, byteCount); 419 System.arraycopy(Y, 0, PO, byteCount + 1, byteCount); [all...] |
/external/icu4c/test/cintltst/ |
ucsdetst.c | 73 int32_t byteCount = preflight(src, length, cnv); 75 char *bytes = NEW_ARRAY(char, byteCount + 1); 76 char *dest = bytes, *destLimit = bytes + byteCount + 1; 81 *byteLength = byteCount;
|
/external/icu4c/test/intltest/ |
tscoll.cpp | 381 int32_t i, byteCount; 382 const uint8_t *bytes = source.getByteArray(byteCount); 387 for (i = 0; i < byteCount; i += 1)
|