/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/av/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 | 109 public ByteBuffer put(byte[] src, int srcOffset, int byteCount) { 110 checkPutBounds(1, src.length, srcOffset, byteCount); 111 System.arraycopy(src, srcOffset, backingArray, offset + position, byteCount); 112 position += byteCount; 117 int byteCount = checkPutBounds(SizeOf.CHAR, src.length, srcOffset, charCount); 118 Memory.unsafeBulkPut(backingArray, offset + position, byteCount, src, srcOffset, SizeOf.CHAR, order.needsSwap); 119 position += byteCount; 123 int byteCount = checkPutBounds(SizeOf.DOUBLE, src.length, srcOffset, doubleCount); 124 Memory.unsafeBulkPut(backingArray, offset + position, byteCount, src, srcOffset, SizeOf.DOUBLE, order.needsSwap); 125 position += byteCount; [all...] |
/libcore/luni/src/main/java/javax/crypto/ |
CipherInputStream.java | 102 int byteCount = in.read(inputBuffer); 103 if (byteCount == -1) { 113 outputLength = cipher.update(inputBuffer, 0, byteCount, outputBuffer, 0); 155 public long skip(long byteCount) throws IOException { 156 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;
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/export/binary/ |
ByteUtils.java | 63 int byteCount = -1; 67 while ((byteCount = inputStream.read(buffer)) > 0) { 68 outputStream.write(buffer, 0, byteCount);
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
ByteArrayInput.java | 289 int byteCount = cursor - startPosition; 294 return Utf8Utils.utf8BytesToString(data, startPosition, byteCount);
|
/frameworks/av/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...] |
/frameworks/base/core/jni/ |
android_net_wifi_Wifi.cpp | 57 int byteCount = vsnprintf(buf, sizeof(buf), fmt, args); 59 if (byteCount < 0 || byteCount >= BUF_SIZE) { 74 int byteCount = vsnprintf(buf, sizeof(buf), fmt, args); 76 if (byteCount < 0 || byteCount >= BUF_SIZE) { 91 int byteCount = vsnprintf(buf, sizeof(buf), fmt, args); 93 if (byteCount < 0 || byteCount >= BUF_SIZE) {
|
/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;
|