HomeSort by relevance Sort by last modified time
    Searched refs:byteCount (Results 76 - 100 of 204) sorted by null

1 2 34 5 6 7 8 9

  /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...]
  /external/chromium_org/third_party/skia/include/core/
SkMetaData.h 58 const void* findData(const char name[], size_t* byteCount = NULL) const;
81 bool hasData(const char name[], const void* data, size_t byteCount) const {
84 return NULL != ptr && len == byteCount && !memcmp(ptr, data, len);
94 void setData(const char name[], const void* data, size_t byteCount);
SkOSFile.h 44 size_t sk_fread(void* buffer, size_t byteCount, SkFILE*);
45 size_t sk_fwrite(const void* buffer, size_t byteCount, SkFILE*);
  /external/skia/include/core/
SkMetaData.h 58 const void* findData(const char name[], size_t* byteCount = NULL) const;
81 bool hasData(const char name[], const void* data, size_t byteCount) const {
84 return NULL != ptr && len == byteCount && !memcmp(ptr, data, len);
94 void setData(const char name[], const void* data, size_t byteCount);
SkOSFile.h 44 size_t sk_fread(void* buffer, size_t byteCount, SkFILE*);
45 size_t sk_fwrite(const void* buffer, size_t byteCount, SkFILE*);
  /libcore/luni/src/main/java/java/io/
DataInputStream.java 62 @Override public final int read(byte[] buffer, int byteOffset, int byteCount) throws IOException {
63 return in.read(buffer, byteOffset, byteCount);
98 public final void readFully(byte[] dst, int offset, int byteCount) throws IOException {
99 Streams.readFully(in, dst, offset, byteCount);
FileOutputStream.java 186 public void write(byte[] buffer, int byteOffset, int byteCount) throws IOException {
187 IoBridge.write(fd, buffer, byteOffset, byteCount);
  /libcore/luni/src/main/native/
libcore_net_RawSocket.cpp 99 * Assumes that the caller has validated the offset & byteCount values.
103 jbyteArray packet, jint offset, jint byteCount)
140 byteCount, 0, &su.sa, sizeof(su)));
151 * Assumes that the caller has validated the offset & byteCount values.
154 jbyteArray packet, jint offset, jint byteCount, jint port,
180 int packetSize = byteCount;
java_util_zip_Inflater.cpp 78 ssize_t byteCount;
79 while ((byteCount = TEMP_FAILURE_RETRY(read(fd, dst, len))) > 0) {
80 dst += byteCount;
81 len -= byteCount;
82 totalByteCount += byteCount;
84 if (byteCount == -1) {
  /libcore/libart/src/main/java/java/lang/
String.java 156 * if {@code byteCount < 0 || offset < 0 || offset + byteCount > data.length}.
158 public String(byte[] data, int offset, int byteCount) {
159 this(data, offset, byteCount, Charset.defaultCharset());
169 * if {@code byteCount < 0 || offset < 0 || offset + byteCount > data.length}
174 public String(byte[] data, int high, int offset, int byteCount) {
175 if ((offset | byteCount) < 0 || byteCount > data.length - offset) {
176 throw failedBoundsCheck(data.length, offset, byteCount);
    [all...]
  /libcore/libdvm/src/main/java/java/lang/
String.java 168 * if {@code byteCount < 0 || offset < 0 || offset + byteCount > data.length}.
170 public String(byte[] data, int offset, int byteCount) {
171 this(data, offset, byteCount, Charset.defaultCharset());
181 * if {@code byteCount < 0 || offset < 0 || offset + byteCount > data.length}
186 public String(byte[] data, int high, int offset, int byteCount) {
187 if ((offset | byteCount) < 0 || byteCount > data.length - offset) {
188 throw failedBoundsCheck(data.length, offset, byteCount);
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
ECPoint.java 389 int byteCount = converter.getByteLength(this.x);
390 byte[] X = converter.integerToBytes(this.getX().toBigInteger(), byteCount);
396 PO = new byte[byteCount + 1];
414 System.arraycopy(X, 0, PO, 1, byteCount);
418 byte[] Y = converter.integerToBytes(this.getY().toBigInteger(), byteCount);
420 PO = new byte[byteCount + byteCount + 1];
423 System.arraycopy(X, 0, PO, 1, byteCount);
424 System.arraycopy(Y, 0, PO, byteCount + 1, byteCount);
    [all...]
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
SpdyStream.java 514 void receive(InputStream in, int byteCount) throws IOException {
517 if (byteCount == 0) {
531 flowControlError = byteCount > buffer.length - available();
536 Util.skipByReading(in, byteCount);
543 Util.skipByReading(in, byteCount);
551 int firstCopyCount = Math.min(byteCount, buffer.length - limit);
554 byteCount -= firstCopyCount;
559 if (byteCount > 0) {
560 Util.readFully(in, buffer, limit, byteCount);
561 limit += byteCount;
    [all...]
  /bionic/libc/tools/zoneinfo/
ZoneCompactor.java 43 public void skip(int byteCount) {
44 this.offset += byteCount;
47 public void readByteArray(byte[] dst, int dstOffset, int byteCount) {
48 System.arraycopy(bytes, offset, dst, dstOffset, byteCount);
49 offset += byteCount;
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DERObjectIdentifier.java 212 int byteCount = (fieldValue.bitLength() + 6) / 7;
213 if (byteCount == 0)
220 byte[] tmp = new byte[byteCount];
221 for (int i = byteCount - 1; i >= 0; i--)
226 tmp[byteCount - 1] &= 0x7f;
  /libcore/luni/src/main/java/java/util/zip/
ZipInputStream.java 289 * Reads up to {@code byteCount} uncompressed bytes into the buffer
293 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException {
295 Arrays.checkOffsetAndCount(buffer.length, byteOffset, byteCount);
314 int toRead = byteCount > (len - lastRead) ? len - lastRead : byteCount;
332 read = inf.inflate(buffer, byteOffset, byteCount);
GZIPInputStream.java 152 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException {
159 Arrays.checkOffsetAndCount(buffer.length, byteOffset, byteCount);
163 bytesRead = super.read(buffer, byteOffset, byteCount);
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/
byte_array_utils.h 206 int byteCount = 0;
214 byteCount += 3;
217 byteCount += 1;
222 byteCount += 1;
224 return byteCount;
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
CertBlacklist.java 100 int byteCount = f.read(buffer);
101 if (byteCount == -1) {
104 bytes.write(buffer, 0, byteCount);
  /external/chromium_org/third_party/WebKit/Tools/Scripts/
svn-unapply 278 my $byteCount = sysread(CHANGELOG, $newDate, 10);
279 die "Failed reading $fullPath: $!" if !$byteCount || $byteCount != 10;
  /libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
SHA1PRNG_SecureRandomImpl.java 547 private static byte[] getRandomBytes(int byteCount) {
548 if (byteCount <= 0) {
549 throw new IllegalArgumentException("Too few bytes requested: " + byteCount);
555 byte[] result = new byte[byteCount];
556 Streams.readFully(devURandom, result, 0, byteCount);
559 throw new ProviderException("Couldn't read " + byteCount + " random bytes", ex);
  /external/chromium_org/third_party/WebKit/Source/wtf/
BitVector.cpp 45 memcpy(newOutOfLineBits->bits(), other.bits(), byteCount(other.size()));
73 memset(outOfLineBits()->bits(), 0, byteCount(size()));
  /libcore/luni/src/main/java/java/util/jar/
JarInputStream.java 133 * Reads up to {@code byteCount} bytes of decompressed data and stores it in
140 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException {
144 int r = super.read(buffer, byteOffset, byteCount);
  /libcore/luni/src/test/java/libcore/java/util/zip/
InflaterTest.java 113 int byteCount = deflater.deflate(buf);
114 deflatedBytes.write(buf, 0, byteCount);
  /libcore/support/src/test/java/tests/support/
Support_TestWebData.java 42 private static byte[] newBinaryFile(int byteCount) {
43 byte[] result = new byte[byteCount];

Completed in 790 milliseconds

1 2 34 5 6 7 8 9