Searched refs:nBytes (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/awt/javax/imageio/stream/
H A DFileCacheImageInputStream.java98 int nBytes = is.read(b, off, len);
100 if (nBytes < 0) {
105 raf.write(b, off, nBytes);
106 streamPos += nBytes;
107 return nBytes;
111 int nBytes = raf.read(b, off, len);
112 streamPos += nBytes;
113 return nBytes;
H A DMemoryCacheImageOutputStream.java128 int nBytes = (int)(newFlushedPosition - flushedPosition);
130 ramc.getData(os, nBytes, flushedPosition);
/frameworks/base/awt/org/apache/harmony/x/imageio/plugins/png/
H A DPNGImageReaderSpi.java59 int nBytes = markable.read(signature, 0, 8);
60 if(nBytes != 8) markable.read(signature, nBytes, 8-nBytes);
/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/
H A Dualgobase.cpp34 static inline void movsb (const void*& src, size_t nBytes, void*& dest) __attribute__((always_inline));
41 static inline void movsb (const void*& src, size_t nBytes, void*& dest) argument
44 : "=&S"(src), "=&D"(dest), "=&c"(nBytes)
45 : "0"(src), "1"(dest), "2"(nBytes)
129 void copy_n_fast (const void* src, size_t nBytes, void* dest) argument
133 nHeadBytes = min (nHeadBytes, nBytes);
135 nBytes -= nHeadBytes;
137 const size_t nMiddleBlocks = nBytes / MMX_BS;
145 nBytes %= MMX_BS;
147 movsb (src, nBytes, des
[all...]
H A Dutf8.h50 // Count the leading bits. Header bits are 1 * nBytes followed by a 0.
58 size_t nBytes = 0; local
59 for (; c & mask; ++nBytes)
61 return (nBytes ? nBytes : 1); // A sequence is always at least 1 byte.
116 size_t nBytes = Utf8SequenceBytes (c); local
117 m_v = c & (0xFF >> nBytes); // First byte contains bits after the header.
118 while (--nBytes && *++m_i) // Each subsequent byte has 6 bits.
166 const size_t nBytes = Utf8Bytes (v); local
167 if (nBytes >
[all...]
H A Duiosfunc.h51 inline explicit skip (size_t nBytes) : m_nBytes(nBytes) {} argument
67 inline explicit width (size_t nBytes) : m_nBytes(nBytes) {} argument
H A Dmostream.h62 inline void skip (size_type nBytes);
176 /// Skips \p nBytes without writing anything.
177 inline void ostream::skip (size_type nBytes) argument
179 seek (pos() + nBytes);
H A Dmistream.h88 inline void skip (size_type nBytes);
201 /// Skips \p nBytes without reading them.
202 inline void istream::skip (size_type nBytes) argument
204 seek (pos() + nBytes);
H A Duexception.cpp76 /// Initializes the empty object. \p nBytes is the size of the attempted allocation.
77 bad_alloc::bad_alloc (size_t nBytes) throw() argument
79 m_nBytesRequested (nBytes)
H A Dualgobase.h143 const size_t nBytes (distance (first, last));
144 memmove (advance (result, -nBytes), first, nBytes); local
H A Duexception.h115 explicit bad_alloc (size_t nBytes = 0) throw();
/frameworks/base/core/jni/
H A Dandroid_server_Watchdog.cpp41 int nBytes; local
42 while ((nBytes = read(stackFd, buf, sizeof(buf))) > 0) {
43 write(outFd, buf, nBytes);
/frameworks/base/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_framedecoder.cpp593 for (int32 nBytes = temp >> 1; nBytes != 0; nBytes--) /* read main data. */
612 for (int32 nBytes = temp >> 1; nBytes != 0; nBytes--) /* read main data. */

Completed in 1498 milliseconds