HomeSort by relevance Sort by last modified time
    Searched refs:byteCount (Results 101 - 125 of 259) sorted by null

1 2 3 45 6 7 8 91011

  /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 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/okhttp/okio/src/main/java/okio/
BufferedSink.java 38 * Like {@link OutputStream#write}, this writes {@code byteCount} bytes
41 BufferedSink write(byte[] source, int offset, int byteCount) throws IOException;
ByteString.java 128 public static ByteString read(InputStream in, int byteCount) throws IOException {
129 byte[] result = new byte[byteCount];
130 for (int offset = 0, read; offset < byteCount; offset += read) {
131 read = in.read(result, offset, byteCount - offset);
  /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*);
  /frameworks/base/core/java/android/os/
FileBridge.java 178 public void write(byte[] buffer, int byteOffset, int byteCount) throws IOException {
179 Arrays.checkOffsetAndCount(buffer.length, byteOffset, byteCount);
181 Memory.pokeInt(mTemp, 4, byteCount, ByteOrder.BIG_ENDIAN);
183 IoBridge.write(mClient, buffer, byteOffset, byteCount);
  /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 185 public void write(byte[] buffer, int byteOffset, int byteCount) throws IOException {
186 IoBridge.write(fd, buffer, byteOffset, byteCount);
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
Util.java 185 * Reads exactly 'byteCount' bytes from 'in' (into 'dst' at offset 'offset'), and throws
190 public static void readFully(InputStream in, byte[] dst, int offset, int byteCount)
192 if (byteCount == 0) {
201 checkOffsetAndCount(dst.length, offset, byteCount);
202 while (byteCount > 0) {
203 int bytesRead = in.read(dst, offset, byteCount);
208 byteCount -= bytesRead;
  /libcore/libart/src/main/java/java/lang/
String.java 146 * if {@code byteCount < 0 || offset < 0 || offset + byteCount > data.length}.
148 public String(byte[] data, int offset, int byteCount) {
149 this(data, offset, byteCount, Charset.defaultCharset());
159 * if {@code byteCount < 0 || offset < 0 || offset + byteCount > data.length}
164 public String(byte[] data, int high, int offset, int byteCount) {
165 if ((offset | byteCount) < 0 || byteCount > data.length - offset) {
166 throw failedBoundsCheck(data.length, offset, byteCount);
    [all...]
  /libcore/luni/src/main/native/
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) {
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DERObjectIdentifier.java 233 int byteCount = (fieldValue.bitLength() + 6) / 7;
234 if (byteCount == 0)
241 byte[] tmp = new byte[byteCount];
242 for (int i = byteCount - 1; i >= 0; i--)
247 tmp[byteCount - 1] &= 0x7f;
  /libcore/luni/src/main/java/java/util/zip/
ZipInputStream.java 294 * Reads up to {@code byteCount} uncompressed bytes into the buffer
298 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException {
300 Arrays.checkOffsetAndCount(buffer.length, byteOffset, byteCount);
319 int toRead = byteCount > (len - lastRead) ? len - lastRead : byteCount;
337 read = inf.inflate(buffer, byteOffset, byteCount);
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/
byte_array_utils.h 224 int byteCount = 0;
232 byteCount += 3;
235 byteCount += 1;
240 byteCount += 1;
242 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;
  /external/chromium_org/third_party/skia/tools/
sk_tool_utils_font.cpp 161 size_t byteCount = SkUTF16_ToUTF8(&uni, 1, NULL);
162 SkAutoSTMalloc<10, char> utf8(byteCount);
164 for (unsigned byteIndex = 0; byteIndex < byteCount; ++byteIndex) {
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
SpdyConnection.java 281 * Until there is a window sufficient to send {@code byteCount}, the caller
286 * Zero {@code byteCount} writes are not subject to flow control and
287 * will not block. The only use case for zero {@code byteCount} is closing
290 public void writeData(int streamId, boolean outFinished, OkBuffer buffer, long byteCount)
292 if (byteCount == 0) { // Empty data frames are not flow-controlled.
297 while (byteCount > 0) {
308 toWrite = (int) Math.min(Math.min(byteCount, bytesLeftInWriteWindow), maxFrameSize);
312 byteCount -= toWrite;
313 frameWriter.data(outFinished && byteCount == 0, streamId, buffer, toWrite);
807 * Eagerly reads {@code byteCount} bytes from the source before launching a background task t
    [all...]
NameValueBlockReader.java 40 @Override public long read(OkBuffer sink, long byteCount)
43 long read = source.read(sink, Math.min(byteCount, compressedLimit));
  /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/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 47 private static byte[] newBinaryFile(int byteCount) {
48 byte[] result = new byte[byteCount];

Completed in 511 milliseconds

1 2 3 45 6 7 8 91011