/external/chromium_org/content/common/fileapi/ |
webblob_messages.h | 5 // IPC messages for HTML5 Blob and Stream. 49 // Stream messages sent from the renderer to the browser. 51 // Registers a stream as being built. 56 // Appends data to a stream being built. 61 // Appends data to a stream being built. 67 // Finishes building a stream. 71 // Creates a new stream that's a clone of an existing src stream. 76 // Removes a stream.
|
/external/chromium_org/content/test/data/media/ |
getusermedia.html | 34 function displayAndWaitForVideo(stream) { 35 gLocalStream = stream; 36 var localStreamUrl = webkitURL.createObjectURL(stream); 41 function createAndRenderClone(stream) { 42 gLocalStream = stream; 43 // TODO(perkj): --use-fake-device-for-media-stream do not currently 46 new_stream.addTrack(stream.getVideoTracks()[0]); 48 if (stream.getAudioTracks().length > 0) { 49 new_stream.addTrack(stream.getAudioTracks()[0]);
|
/external/chromium_org/media/audio/pulse/ |
pulse_util.h | 48 int GetHardwareLatencyInBytes(pa_stream* stream, 52 // Create a recording stream for the threaded mainloop, return true if success, 54 // threaded mainloop and the handle of the created stream will be returned by 55 // |stream|. 58 pa_stream** stream, 64 // Create a playback stream for the threaded mainloop, return true if success, 66 // and the handles of the mainloop, context and stream will be returned by 67 // |mainloop|, |context| and |stream|. 70 pa_stream** stream,
|
/external/chromium_org/net/spdy/ |
spdy_write_queue_unittest.cc | 72 // should be dequeued in priority order with their associated stream. 83 // A NULL stream should still work. 94 base::WeakPtr<SpdyStream> stream; local 95 ASSERT_TRUE(write_queue.Dequeue(&frame_type, &frame_producer, &stream)); 98 EXPECT_EQ(stream_highest, stream.get()); 100 ASSERT_TRUE(write_queue.Dequeue(&frame_type, &frame_producer, &stream)); 103 EXPECT_EQ(stream_medium, stream.get()); 105 ASSERT_TRUE(write_queue.Dequeue(&frame_type, &frame_producer, &stream)); 108 EXPECT_EQ(NULL, stream.get()); 110 EXPECT_FALSE(write_queue.Dequeue(&frame_type, &frame_producer, &stream)); 135 base::WeakPtr<SpdyStream> stream; local 164 base::WeakPtr<SpdyStream> stream = local 174 base::WeakPtr<SpdyStream> stream; local 183 base::WeakPtr<SpdyStream> stream; local 217 base::WeakPtr<SpdyStream> stream; local 227 base::WeakPtr<SpdyStream> stream; local 246 base::WeakPtr<SpdyStream> stream; local [all...] |
/external/lzma/CS/7zip/Compress/LZ/ |
LzOutWindow.cs | 11 System.IO.Stream _stream;
27 public void Init(System.IO.Stream stream, bool solid)
30 _stream = stream;
39 public bool Train(System.IO.Stream stream)
41 long len = stream.Length;
44 stream.Position = len - size;
51 int numReadBytes = stream.Read(_buffer, (int)_pos, (int)curSize);
|
/external/lzma/Java/SevenZip/Compression/RangeCoder/ |
Decoder.java | 15 java.io.InputStream Stream;
17 public final void SetStream(java.io.InputStream stream)
19 Stream = stream;
24 Stream = null;
32 Code = (Code << 8) | Stream.read();
47 Code = (Code << 8) | Stream.read();
64 Code = (Code << 8) | Stream.read();
76 Code = (Code << 8) | Stream.read();
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
CloseShieldOutputStream.java | 22 * Proxy stream that prevents the underlying output stream from being closed.
24 * This class is typically used in cases where an output stream needs to be
25 * passed to a component that wants to explicitly close the stream even if
26 * other components would still use the stream for output.
34 * Creates a proxy that shields the given output stream from being
37 * @param out underlying output stream
44 * Replaces the underlying output stream with a {@link ClosedOutputStream}
45 * sentinel. The original output stream will remain open, but this proxy
|
DemuxOutputStream.java | 23 * Data written to this stream is forwarded to a stream that has been associated
35 * Bind the specified stream to the current thread.
37 * @param output the stream to bind
42 OutputStream stream = getStream();
local 44 return stream;
48 * Closes stream associated with current thread.
64 * Flushes stream associated with current thread.
80 * Writes byte to stream associated with current thread.
82 * @param ch the byte to write to stream
[all...] |
/external/chromium_org/chrome/test/webdriver/ |
webdriver_util.cc | 88 // Stream for writing binary data. 118 // Stream for reading binary data. 168 DataInputStream stream(bytes.c_str(), bytes.length()); 171 if (!stream.ReadUInt32(&signature) || signature != kFileHeaderSignature) { 175 if (!stream.ReadUInt16(&zip->version_needed)) { 179 if (!stream.ReadUInt16(&zip->bit_flag)) { 183 if (!stream.ReadUInt16(&zip->compression_method)) { 187 if (!stream.ReadUInt16(&zip->mod_time)) { 191 if (!stream.ReadUInt16(&zip->mod_date)) { 195 if (!stream.ReadUInt32(&zip->crc)) 275 DataOutputStream stream; local [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/combined/ |
main.m | 11 ANTLRStringStream *stream = [ANTLRStringStream newANTLRStringStream:string]; 12 CombinedLexer *lexer = [CombinedLexer newCombinedLexerWithCharStream:stream]; 18 [stream release];
|
/external/chromium_org/net/quic/test_tools/ |
reliable_quic_stream_peer.h | 19 static void SetWriteSideClosed(bool value, ReliableQuicStream* stream); 21 ReliableQuicStream* stream); 22 static void SetHeadersDecompressed(ReliableQuicStream* stream,
|
/external/chromium_org/third_party/skia/src/svg/ |
SkSVG.cpp | 19 bool SkSVG::decodeStream(SkStream* stream); 21 size_t size = stream->read(nil, 0); 24 size_t actual = stream->read(data, size);
|
/external/skia/src/svg/ |
SkSVG.cpp | 19 bool SkSVG::decodeStream(SkStream* stream); 21 size_t size = stream->read(nil, 0); 24 size_t actual = stream->read(data, size);
|
/external/chromium_org/third_party/freetype/include/freetype/internal/ |
ftstream.h | 5 /* Stream handling (specification). */ 270 /* Each GET_xxxx() macro uses an implicit `stream' variable. */ 273 #define FT_GET_MACRO( type ) FT_NEXT_ ## type ( stream->cursor ) 291 #define FT_GET_MACRO( func, type ) ( (type)func( stream ) ) 310 ( var = (type)func( stream, &error ), \ 330 /* initialize a stream for reading a regular system stream */ 332 FT_Stream_Open( FT_Stream stream, 338 /* create a new (input) stream from an FT_Open_Args structure */ 344 /* free a stream */ 357 FT_Stream_Close( FT_Stream stream ); variable 372 FT_Stream_Pos( FT_Stream stream ); variable 409 FT_Stream_ExitFrame( FT_Stream stream ); variable 432 FT_Stream_GetChar( FT_Stream stream ); variable 436 FT_Stream_GetUShort( FT_Stream stream ); variable 440 FT_Stream_GetUOffset( FT_Stream stream ); variable 444 FT_Stream_GetULong( FT_Stream stream ); variable 448 FT_Stream_GetUShortLE( FT_Stream stream ); variable 452 FT_Stream_GetULongLE( FT_Stream stream ); variable [all...] |
/external/freetype/include/freetype/internal/ |
ftstream.h | 5 /* Stream handling (specification). */ 263 /* Each GET_xxxx() macro uses an implicit `stream' variable. */ 266 #define FT_GET_MACRO( type ) FT_NEXT_ ## type ( stream->cursor ) 284 #define FT_GET_MACRO( func, type ) ( (type)func( stream ) ) 303 ( var = (type)func( stream, &error ), \ 323 /* initialize a stream for reading a regular system stream */ 325 FT_Stream_Open( FT_Stream stream, 331 /* create a new (input) stream from an FT_Open_Args structure */ 337 /* free a stream */ 350 FT_Stream_Close( FT_Stream stream ); variable 365 FT_Stream_Pos( FT_Stream stream ); variable 402 FT_Stream_ExitFrame( FT_Stream stream ); variable 425 FT_Stream_GetChar( FT_Stream stream ); variable 429 FT_Stream_GetUShort( FT_Stream stream ); variable 433 FT_Stream_GetUOffset( FT_Stream stream ); variable 437 FT_Stream_GetULong( FT_Stream stream ); variable 441 FT_Stream_GetUShortLE( FT_Stream stream ); variable 445 FT_Stream_GetULongLE( FT_Stream stream ); variable [all...] |
/hardware/qcom/audio/legacy/alsa_sound/ |
audio_hw_hal.cpp | 45 struct audio_stream_out stream; member in struct:android_audio_legacy::qcom_stream_out 51 struct audio_stream_in stream; member in struct:android_audio_legacy::qcom_stream_in 142 static uint32_t out_get_sample_rate(const struct audio_stream *stream) 145 reinterpret_cast<const struct qcom_stream_out *>(stream); 149 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) 152 reinterpret_cast<struct qcom_stream_out *>(stream); 159 static size_t out_get_buffer_size(const struct audio_stream *stream) 162 reinterpret_cast<const struct qcom_stream_out *>(stream); 166 static audio_channel_mask_t out_get_channels(const struct audio_stream *stream) 169 reinterpret_cast<const struct qcom_stream_out *>(stream); [all...] |
/external/chromium_org/content/browser/streams/ |
stream.h | 27 // A stream that sends data from an arbitrary source to an internal URL 31 // reader to consume part of the stream, then pass it along to another client 32 // to continue processing the stream. 33 class CONTENT_EXPORT Stream : public base::RefCountedThreadSafe<Stream> { 41 // Creates a stream. 46 Stream(StreamRegistry* registry, 50 // Sets the reader of this stream. Returns true on success, or false if there 60 // Adds the data in |buffer| to the stream. Takes ownership of |buffer|. 62 // Adds data of |size| at |data| to the stream. This method creates a cop [all...] |
stream_url_request_job_unittest.cc | 7 #include "content/browser/streams/stream.h" 26 const GURL kStreamURL("blob://stream"); 42 scoped_refptr<Stream> stream = registry_->GetStream(request->url()); variable 43 if (stream.get()) 44 return new StreamURLRequestJob(request, network_delegate, stream); 101 scoped_refptr<Stream> stream( 102 new Stream(registry_.get(), NULL, kStreamURL)); 107 stream->AddData(buffer, buffer->size()) [all...] |
/external/chromium_org/third_party/icu/source/io/ |
ustream.cpp | 41 operator<<(STD_OSTREAM& stream, const UnicodeString& str) 62 stream << buffer; 69 /* stream.flush();*/ 70 return stream; 74 operator>>(STD_ISTREAM& stream, UnicodeString& str) 77 if (stream.fail()) { 78 return stream; 101 ch = stream.get(); 102 if (stream.eof()) { 105 stream.clear(stream.eofbit) [all...] |
/external/chromium_org/third_party/skia/src/images/ |
SkImageDecoder_wbmp.cpp | 25 virtual bool onDecode(SkStream* stream, SkBitmap* bm, Mode) SK_OVERRIDE; 31 static bool read_byte(SkStream* stream, uint8_t* data) 33 return stream->read(data, 1) == 1; 36 static bool read_mbf(SkStream* stream, int* value) 41 if (!read_byte(stream, &data)) { 55 bool init(SkStream* stream) 59 if (!read_byte(stream, &data) || data != 0) { // unknown type 62 if (!read_byte(stream, &data) || (data & 0x9F)) { // skip fixed header 65 if (!read_mbf(stream, &fWidth) || (unsigned)fWidth > 0xFFFF) { 68 if (!read_mbf(stream, &fHeight) || (unsigned)fHeight > 0xFFFF) [all...] |
/external/icu4c/io/ |
ustream.cpp | 37 operator<<(STD_OSTREAM& stream, const UnicodeString& str) 58 stream << buffer; 65 /* stream.flush();*/ 66 return stream; 70 operator>>(STD_ISTREAM& stream, UnicodeString& str) 73 if (stream.fail()) { 74 return stream; 97 ch = stream.get(); 98 if (stream.eof()) { 101 stream.clear(stream.eofbit) [all...] |
/external/skia/src/images/ |
SkImageDecoder_wbmp.cpp | 25 virtual bool onDecode(SkStream* stream, SkBitmap* bm, Mode) SK_OVERRIDE; 31 static bool read_byte(SkStream* stream, uint8_t* data) 33 return stream->read(data, 1) == 1; 36 static bool read_mbf(SkStream* stream, int* value) 41 if (!read_byte(stream, &data)) { 55 bool init(SkStream* stream) 59 if (!read_byte(stream, &data) || data != 0) { // unknown type 62 if (!read_byte(stream, &data) || (data & 0x9F)) { // skip fixed header 65 if (!read_mbf(stream, &fWidth) || (unsigned)fWidth > 0xFFFF) { 68 if (!read_mbf(stream, &fHeight) || (unsigned)fHeight > 0xFFFF) [all...] |
/libcore/luni/src/main/java/java/io/ |
FilterOutputStream.java | 27 * decompression of the underlying stream. Output streams that wrap another 28 * output stream and provide some additional functionality on top of it usually 36 * The target output stream for this filter stream. 42 * target stream. 45 * the target stream that this stream writes to. 52 * Closes this stream. This implementation closes the target stream. 55 * if an error occurs attempting to close this stream [all...] |
OutputStream.java | 30 * <p>Use {@link OutputStreamWriter} to adapt a byte stream like this one into a 31 * character stream. 33 * <p>Most clients should wrap their output stream with {@link 37 * Subclasses that decorate another output stream should consider subclassing 39 * stream. 41 * <p>All output stream subclasses should override <strong>both</strong> {@link 57 * Closes this stream. Implementations of this method should free any 58 * resources used by the stream. This implementation does nothing. 61 * if an error occurs while closing this stream. 68 * Flushes this stream. Implementations of this method should ensure tha [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
Camera3Stream.h | 36 * A class for managing a single stream of input or output data from the camera 39 * The stream has an internal state machine to track whether it's 44 * STATE_ERROR: A serious error has occurred, stream is unusable. Outstanding 47 * STATE_CONSTRUCTED: The stream is ready for configuration, but buffers cannot 55 * STATE_IN_RE_CONFIG: Configuration has started, and the stream has been 59 * STATE_CONFIGURED: Stream is configured, and has registered buffers with the 60 * HAL. The stream's getBuffer/returnBuffer work. The priv pointer may still be 76 * When startConfiguration() is called again, after making sure stream is 83 * When disconnect() is called after making sure stream is idle with 94 static Camera3Stream* cast(camera3_stream *stream); [all...] |