/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/ |
TempFile.java | 32 * NOTE: The stream should NOT be wrapped in
35 * other stream which would benefit from being buffered it's the
38 * @return the stream.
45 * NOTE: The stream should NOT be wrapped in
48 * other stream which would benefit from being buffered it's the
51 * @return the stream.
|
/hardware/libhardware/include/hardware/ |
audio_policy.h | 73 * - process volume control requests: the stream volume is converted from 129 /* request an output appropriate for playback of the supplied stream type and 132 audio_stream_type_t stream, 140 * by corresponding stream. */ 143 audio_stream_type_t stream, 147 * by corresponding stream. */ 150 audio_stream_type_t stream, 177 /* initialises stream volume conversion parameters by specifying volume 178 * index range. The index range for each stream is defined by AudioService. */ 180 audio_stream_type_t stream, [all...] |
/external/guava/guava/src/com/google/common/io/ |
ByteStreams.java | 85 * Writes a byte array to an output stream from the given supplier. 133 * Opens an input stream from the supplier, copies all bytes from the 134 * input to the output, and closes the input stream. Does not close 135 * or flush the output stream. 138 * @param to the output stream to write to 156 * Opens an output stream from the supplier, copies all bytes from the input 157 * to the output, and closes the output stream. Does not close or flush the 158 * output stream. 160 * @param from the input stream to read from 180 * Copies all bytes from the input stream to the output stream [all...] |
/dalvik/libdex/ |
DexDebugInfo.cpp | 135 ALOGE("Invalid debug info stream. class %s; proto %s", 149 const u1* stream, 154 u4 line = readUnsignedLeb128(&stream); 155 u4 parametersSize = readUnsignedLeb128(&stream); 189 name = readStringIdx(pDexFile, &stream); 212 u1 opcode = *stream++; 220 address += readUnsignedLeb128(&stream); 224 line += readSignedLeb128(&stream); 229 reg = readUnsignedLeb128(&stream); 239 localInReg[reg].name = readStringIdx(pDexFile, &stream); 321 const u1* stream = dexGetDebugInfoStream(pDexFile, pCode); local [all...] |
/external/skia/tests/ |
ImageDecodingTest.cpp | 39 * Return true if this stream format should be skipped, due 72 SkFILEStream stream(filename.c_str()); 74 SkImageDecoder::Format format = SkImageDecoder::GetStreamFormat(&stream); 79 SkAutoTDelete<SkImageDecoder> decoder(SkImageDecoder::Factory(&stream)); 85 bool success = decoder->decode(&stream, &bm8888, SkBitmap::kARGB_8888_Config, 91 success = stream.rewind(); 98 success = decoder->decode(&stream, &bm8888Unpremul, SkBitmap::kARGB_8888_Config, 196 // Create a stream containing a bitmap encoded to Type type. 214 // Now encode it to a stream. 224 // stream provided in buildTileIndex [all...] |
/frameworks/base/core/jni/android/graphics/ |
BitmapRegionDecoder.cpp | 79 static jobject createBitmapRegionDecoder(JNIEnv* env, SkStream* stream) { 80 SkImageDecoder* decoder = SkImageDecoder::Factory(stream); 91 if (!decoder->buildTileIndex(stream, &width, &height)) { 111 SkStream* stream = new SkMemoryStream(ar.ptr() + offset, length, true); local 113 jobject brd = createBitmapRegionDecoder(env, stream); 114 SkSafeUnref(stream); // the decoder now holds a reference 131 SkMemoryStream* stream = new SkMemoryStream(data); local 133 jobject brd = createBitmapRegionDecoder(env, stream); 134 SkSafeUnref(stream); // the decoder now holds a reference 144 SkStreamRewindable* stream = CopyJavaInputStream(env, is, storage) local [all...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/impl/ |
unit_test_log.ipp | 114 std::ostream& stream() { return *m_stream; } 135 s_log_impl().m_log_formatter->log_start( s_log_impl().stream(), test_cases_amount ); 138 s_log_impl().m_log_formatter->log_build_info( s_log_impl().stream() ); 151 s_log_impl().m_log_formatter->log_finish( s_log_impl().stream() ); 153 s_log_impl().stream().flush(); 175 s_log_impl().m_log_formatter->test_unit_start( s_log_impl().stream(), tu ); 191 s_log_impl().m_log_formatter->test_unit_finish( s_log_impl().stream(), tu, elapsed ); 205 s_log_impl().m_log_formatter->test_unit_skipped( s_log_impl().stream(), tu ); 238 s_log_impl().m_log_formatter->log_exception( s_log_impl().stream(), s_log_impl().m_checkpoint_data, ex ); 286 s_log_impl().m_log_formatter->log_entry_finish( s_log_impl().stream() ); [all...] |
/external/apache-http/src/org/apache/http/conn/ |
EofSensorWatcher.java | 39 * Each stream will notify it's watcher at most once. 54 * @param wrapped the underlying stream which has reached EOF 61 * closes the underlying stream. The caller will leave the 62 * wrapped stream alone, as if <code>false</code> was returned. 70 * Indicates that the {@link EofSensorInputStream stream} is closed. 74 * @param wrapped the underlying stream which has not reached EOF 81 * closes the underlying stream. The caller will leave the 82 * wrapped stream alone, as if <code>false</code> was returned. 90 * Indicates that the {@link EofSensorInputStream stream} is aborted. 95 * IOException to be thrown to make sure the input stream gets shut down. [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/tools/trace/ |
format.py | 36 def __init__(self, stream): 37 self.stream = stream 40 self.stream.write(text) 122 def __init__(self, stream): 123 Formatter.__init__(self, stream) 125 if stream is sys.stdin: 127 elif stream is sys.stdout: 129 elif stream is sys.stderr: 166 def DefaultFormatter(stream) [all...] |
/external/mesa3d/src/gallium/tools/trace/ |
format.py | 36 def __init__(self, stream): 37 self.stream = stream 40 self.stream.write(text) 122 def __init__(self, stream): 123 Formatter.__init__(self, stream) 125 if stream is sys.stdin: 127 elif stream is sys.stdout: 129 elif stream is sys.stderr: 166 def DefaultFormatter(stream) [all...] |
/external/sfntly/cpp/src/sfntly/ |
font_factory.h | 44 // Load the font(s) from the input stream. The current settings on the factory 46 // stream contains valid font data. Some font container formats may have more 48 // the data in the stream cannot be parsed or is invalid an array of size zero 55 // stream contains valid font data. Some font container formats may have more 57 // the data in the stream cannot be parsed or is invalid an array of size zero 61 // Load the font(s) from the input stream into font builders. The current 63 // font builders are returned if the stream contains valid font data. Some 65 // multiple font builder objects will be returned. If the data in the stream 71 // font builders are returned if the stream contains valid font data. Some 73 // multiple font builder objects will be returned. If the data in the stream [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
datapart_decode.cpp | 43 BitstreamDecVideo *stream = video->bitstream; local 100 if ((status = quickSearchVideoPacketHeader(stream, resync_marker_length)) != PV_SUCCESS) 142 BitstreamDecVideo *stream = video->bitstream; local 151 int32 startSecondPart, startFirstPart = getPointer(stream); 159 BitstreamShowBits16(stream, 9, &code); 162 PV_BitstreamFlushBits(stream, 9); 163 BitstreamShowBits16(stream, 9, &code); 169 MCBPC = PV_VlcDecMCBPC_com_intra(stream); 183 movePointerTo(stream, startFirstPart); 191 BitstreamShowBits16(stream, 9, &code) 307 BitstreamDecVideo *stream = video->bitstream; local 519 BitstreamDecVideo *stream = video->bitstream; local 576 BitstreamDecVideo *stream = video->bitstream; local [all...] |
/libcore/luni/src/main/java/java/io/ |
BufferedOutputStream.java | 24 * Expensive interaction with the underlying input stream is minimized, since 40 * The buffer containing the bytes to be written to the target stream. 76 * Flushes this stream to ensure all pending data is written out to the 77 * target stream. In addition, the target stream is flushed. 80 * if an error occurs attempting to flush this stream. 97 * {@code offset} to this stream. If there is room in the buffer to hold the 99 * {@code buffer} are written to the target stream, the target is flushed, 108 * stream. 114 * if an error occurs attempting to write to this stream [all...] |
/libcore/luni/src/main/java/java/util/zip/ |
InflaterOutputStream.java | 28 * written to the underlying stream. 42 * for uncompressed data, and compressed data will be written to this stream. 53 * for uncompressed data, and compressed data will be written to this stream. 65 * for uncompressed data, and compressed data will be written to this stream. 86 * Writes remaining data into the output stream and closes the underlying 87 * output stream. 109 * @throws IOException if an I/O error occurs, or the stream has been closed 117 * Writes a byte to the decompressing output stream. {@code b} should be a byte of 119 * stream. 122 * @throws IOException if an I/O error occurs, or the stream has been close [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
MimeBoundaryInputStream.java | 27 * Stream that constrains itself to a single MIME body part.
28 * After the stream ends (i.e. read() returns -1) {@link #hasMoreParts()}
30 * If {@link #parentEOF()} is <code>true</code> an unexpected end of stream
31 * has been detected in the parent stream.
48 * @param s The underlying stream.
73 * Closes the underlying stream.
82 * Determines if the underlying stream has more parts (this stream has
86 * stream, <code>false</code> otherwise.
93 * Determines if the parent stream has reached EOF [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/ |
QuotedPrintableInputStream.java | 31 * Performs Quoted-Printable decoding on an underlying stream.
40 private InputStream stream;
field in class:QuotedPrintableInputStream 45 public QuotedPrintableInputStream(InputStream stream) {
46 this.stream = stream;
50 * Closes the underlying stream.
55 stream.close();
72 * Pulls bytes out of the underlying stream and places them in the
74 * underlying stream directly) to detect and filter out "transport
78 * @throws IOException Underlying stream threw IOException. [all...] |
/external/esd/include/ |
esd.h | 25 /* maximum length of a stream/sample name */ 43 /* stream functionality: play, record, monitor */ 44 ESD_PROTO_STREAM_PLAY, /* play all following data as a stream */ 45 ESD_PROTO_STREAM_REC, /* record data from card as a stream */ 46 ESD_PROTO_STREAM_MON, /* send mixed buffer output as a stream */ 62 ESD_PROTO_STREAM_FILT, /* filter mixed buffer output as a stream */ 71 ESD_PROTO_STREAM_PAN, /* set stream panning */ 89 /* bits of stream/sample data */ 99 /* whether it's a stream or a sample */ 105 /* the function of the stream/sample, and common functions * [all...] |
/external/llvm/utils/TableGen/ |
X86DisassemblerTables.h | 56 /// @param o - The output stream to print the entry on. 90 /// @param o1 - The output stream to print the ID table to. 91 /// @param o2 - The output stream to print the decision structure to. 92 /// @param i1 - The indentation level to use with stream o1. 93 /// @param i2 - The indentation level to use with stream o2. 115 /// stream and indent level for the UID tables generated by 118 /// @param o1 - The output stream to print the ID tables generated by 120 /// @param o2 - The output stream for the decision structure itself. 121 /// @param i1 - The indent level to use with stream o1. 122 /// @param i2 - The indent level to use with stream o2 [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/ |
esd.h | 25 /* maximum length of a stream/sample name */ 43 /* stream functionality: play, record, monitor */ 44 ESD_PROTO_STREAM_PLAY, /* play all following data as a stream */ 45 ESD_PROTO_STREAM_REC, /* record data from card as a stream */ 46 ESD_PROTO_STREAM_MON, /* send mixed buffer output as a stream */ 62 ESD_PROTO_STREAM_FILT, /* filter mixed buffer output as a stream */ 71 ESD_PROTO_STREAM_PAN, /* set stream panning */ 89 /* bits of stream/sample data */ 99 /* whether it's a stream or a sample */ 105 /* the function of the stream/sample, and common functions * [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/ |
esd.h | 25 /* maximum length of a stream/sample name */ 43 /* stream functionality: play, record, monitor */ 44 ESD_PROTO_STREAM_PLAY, /* play all following data as a stream */ 45 ESD_PROTO_STREAM_REC, /* record data from card as a stream */ 46 ESD_PROTO_STREAM_MON, /* send mixed buffer output as a stream */ 62 ESD_PROTO_STREAM_FILT, /* filter mixed buffer output as a stream */ 71 ESD_PROTO_STREAM_PAN, /* set stream panning */ 89 /* bits of stream/sample data */ 99 /* whether it's a stream or a sample */ 105 /* the function of the stream/sample, and common functions * [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/ |
esd.h | 25 /* maximum length of a stream/sample name */ 43 /* stream functionality: play, record, monitor */ 44 ESD_PROTO_STREAM_PLAY, /* play all following data as a stream */ 45 ESD_PROTO_STREAM_REC, /* record data from card as a stream */ 46 ESD_PROTO_STREAM_MON, /* send mixed buffer output as a stream */ 62 ESD_PROTO_STREAM_FILT, /* filter mixed buffer output as a stream */ 71 ESD_PROTO_STREAM_PAN, /* set stream panning */ 89 /* bits of stream/sample data */ 99 /* whether it's a stream or a sample */ 105 /* the function of the stream/sample, and common functions * [all...] |
/external/chromium_org/third_party/skia/src/images/ |
SkImageDecoder.cpp | 189 bool SkImageDecoder::decode(SkStream* stream, SkBitmap* bm, 199 if (!this->onDecode(stream, &tmp, mode)) { 216 bool SkImageDecoder::buildTileIndex(SkStream* stream, 221 return this->onBuildTileIndex(stream, width, height); 279 SkAutoTUnref<SkStream> stream(SkStream::NewFromFile(file)); 280 if (stream.get()) { 281 if (SkImageDecoder::DecodeStream(stream, bm, pref, mode, format)) { 296 SkMemoryStream stream(buffer, size); 297 return SkImageDecoder::DecodeStream(&stream, bm, pref, mode, format); 333 * @param decoder Decoder appropriate for this stream [all...] |
/external/skia/src/images/ |
SkImageDecoder.cpp | 192 bool SkImageDecoder::decode(SkStream* stream, SkBitmap* bm, 202 if (!this->onDecode(stream, &tmp, mode)) { 219 bool SkImageDecoder::buildTileIndex(SkStream* stream, 224 return this->onBuildTileIndex(stream, width, height); 282 SkAutoTUnref<SkStream> stream(SkStream::NewFromFile(file)); 283 if (stream.get()) { 284 if (SkImageDecoder::DecodeStream(stream, bm, pref, mode, format)) { 299 SkMemoryStream stream(buffer, size); 300 return SkImageDecoder::DecodeStream(&stream, bm, pref, mode, format); 336 * @param decoder Decoder appropriate for this stream [all...] |
/frameworks/compile/slang/BitWriter_2_9/ |
BitcodeWriter.cpp | 121 unsigned AbbrevToUse, BitstreamWriter &Stream) { 132 Stream.EmitRecord(Code, Vals, AbbrevToUse); 137 BitstreamWriter &Stream) { 141 Stream.EnterSubblock(bitc::PARAMATTR_BLOCK_ID, 3); 152 Stream.EmitRecord(bitc::PARAMATTR_CODE_ENTRY_OLD, Record); 156 Stream.ExitBlock(); 160 BitstreamWriter &Stream) { 162 Stream.EnterSubblock(TYPE_SYMTAB_BLOCK_ID_OLD_3_0, 3); 171 unsigned V7Abbrev = Stream.EmitAbbrev(Abbv); 199 Stream.EmitRecord(bitc::VST_CODE_ENTRY, NameVals, is7Bit ? V7Abbrev : 0) [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/ |
css.js | 20 function tokenBase(stream, state) { 21 var ch = stream.next(); 24 var result = hooks[ch](stream, state); 27 if (ch == "@") {stream.eatWhile(/[\w\\\-]/); return ret("def", stream.current());} 29 else if ((ch == "~" || ch == "|") && stream.eat("=")) return ret(null, "compare"); 32 return state.tokenize(stream, state); 35 stream.eatWhile(/[\w\\\-]/); 39 stream.match(/^\s*\w*/); 43 stream.eatWhile(/[\w.%]/) [all...] |