HomeSort by relevance Sort by last modified time
    Searched refs:Stream (Results 1 - 25 of 262) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/chromium_org/content/browser/streams/
stream_write_observer.h 10 class Stream;
14 // Sent when space becomes available in the stream, and the source should
16 virtual void OnSpaceAvailable(Stream* stream) = 0;
18 // Sent when the stream is closed, and the writer should stop sending data.
19 virtual void OnClose(Stream* stream) = 0;
stream_read_observer.h 12 class Stream;
16 // Sent when there is data available to be read from the stream.
17 virtual void OnDataAvailable(Stream* stream) = 0;
stream_registry.h 18 class Stream;
26 // Registers a stream, and sets its URL.
27 void RegisterStream(scoped_refptr<Stream> stream);
29 // Clones a stream. Returns true on success, or false if |src_url| doesn't
35 // Gets the stream associated with |url|. Returns NULL if there is no such
36 // stream.
37 scoped_refptr<Stream> GetStream(const GURL& url);
40 typedef std::map<GURL, scoped_refptr<Stream> > StreamMap;
stream_handle_impl.h 15 class Stream;
19 StreamHandleImpl(const base::WeakPtr<Stream>& stream,
30 base::WeakPtr<Stream> stream_;
stream.cc 5 #include "content/browser/streams/stream.h"
23 Stream::Stream(StreamRegistry* registry,
42 writer_->RegisterCallback(base::Bind(&Stream::OnSpaceAvailable,
44 reader_->RegisterCallback(base::Bind(&Stream::OnDataAvailable,
50 Stream::~Stream() {
53 bool Stream::SetReadObserver(StreamReadObserver* observer) {
60 void Stream::RemoveReadObserver(StreamReadObserver* observer) {
65 void Stream::RemoveWriteObserver(StreamWriteObserver* observer)
    [all...]
stream_unittest.cc 7 #include "content/browser/streams/stream.h"
48 void Read(Stream* stream) {
53 while (stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read) ==
54 Stream::STREAM_HAS_DATA) {
62 virtual void OnDataAvailable(Stream* stream) OVERRIDE {
63 Read(stream); variable
77 void Write(Stream* stream,
    [all...]
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...]
  /external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime.Tests/
Antlr.Runtime.Tests.pas 47 Stream: IANTLRStringStream;
49 Stream := TANTLRStringStream.Create('One'#13#10'Two');
50 CheckEquals(0, Stream.Index);
51 CheckEquals(0, Stream.CharPositionInLine);
52 CheckEquals(1, Stream.Line);
54 Stream.Consume; // O
55 CheckEquals(1, Stream.Index);
56 CheckEquals(1, Stream.CharPositionInLine);
57 CheckEquals(1, Stream.Line);
59 Stream.Consume; //
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/fileapi/
Stream.h 42 class Stream : public ScriptWrappable, public RefCounted<Stream> {
44 static PassRefPtr<Stream> create(const String& mediaType)
46 return adoptRef(new Stream(mediaType));
49 virtual ~Stream();
51 // Returns the internal URL referring to this stream.
53 // Returns the media type of this stream.
56 // Appends data to this stream.
58 // Mark this stream finalized so that a reader of this stream is notifie
    [all...]
Stream.idl 31 // FIXME: close() method which is necessary for Stream building feature
34 // FIXME: Add a flag to indicate if this stream frees memory when read or not
37 // FIXME: Make the Blob a subclass of the Stream.
40 EnabledAtRuntime=stream
41 ] interface Stream {
Stream.cpp 32 #include "core/fileapi/Stream.h"
40 Stream::Stream(const String& mediaType)
46 // Create a new internal URL for a stream and register it with the provided
52 void Stream::addData(const char* data, size_t len)
60 void Stream::finalize()
65 Stream::~Stream()
  /ndk/tests/device/test-stlport_shared-exception/jni/
ctor2.cpp 22 struct Stream : public virtual VBase, public StreamBase
24 Stream() {}
25 virtual ~Stream() {}
28 struct DerivedStream : public Stream
  /ndk/tests/device/test-stlport_static-exception/jni/
ctor2.cpp 22 struct Stream : public virtual VBase, public StreamBase
24 Stream() {}
25 virtual ~Stream() {}
28 struct DerivedStream : public Stream
  /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
ANTLRInputStream.cs 35 using Stream = System.IO.Stream;
45 public ANTLRInputStream(Stream input)
49 public ANTLRInputStream(Stream input, int size)
53 public ANTLRInputStream(Stream input, Encoding encoding)
57 public ANTLRInputStream(Stream input, int size, Encoding encoding)
61 public ANTLRInputStream(Stream input, int size, int readBufferSize, Encoding encoding)
65 private static StreamReader GetStreamReader(Stream input, Encoding encoding) {
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
ANTLRInputStream.cs 36 using Stream = System.IO.Stream;
47 public ANTLRInputStream( Stream input )
52 public ANTLRInputStream( Stream input, int size )
57 public ANTLRInputStream( Stream input, Encoding encoding )
62 public ANTLRInputStream( Stream input, int size, Encoding encoding )
67 public ANTLRInputStream( Stream input, int size, int readBufferSize, Encoding encoding )
72 private static StreamReader GetStreamReader(Stream input, Encoding encoding)
  /external/arduino/hardware/arduino/cores/arduino/
Stream.h 2 Stream.h - base class for character-based streams.
26 class Stream : public Print
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/
StreamingVideoActivity.java 39 * Simple storage class for stream information.
41 static class Stream implements Serializable {
43 * Human-readable name for the stream.
53 * URI of the stream
57 public Stream(String name, String code, String uri) {
67 } else if (o == null || !(o instanceof Stream)) {
70 Stream stream = (Stream) o; local
71 return name.equals(stream.name
    [all...]
  /external/clang/test/Sema/
parentheses.cpp 32 class Stream {
35 Stream &operator<<(int);
36 Stream &operator<<(const char*);
37 Stream &operator>>(int);
38 Stream &operator>>(const char*);
41 void f(Stream& s, bool b) {
98 Stream() << b + c;
99 Stream() >> b + c; // expected-warning {{operator '>>' has lower precedence than '+'; '+' will be evaluated first}} \
  /hardware/libhardware/modules/camera/
Stream.cpp 23 #define LOG_TAG "Stream"
30 #include "Stream.h"
34 Stream::Stream(int id, camera3_stream_t *s)
52 Stream::~Stream()
59 void Stream::setUsage(uint32_t usage)
70 void Stream::setMaxBuffers(uint32_t max_buffers)
81 int Stream::getType()
86 bool Stream::isInputType(
    [all...]
Stream.h 25 // Stream represents a single input or output stream for a camera device.
26 class Stream {
28 Stream(int id, camera3_stream_t *s);
29 ~Stream();
31 // validate that astream's parameters match this stream's parameters
45 // This stream is being reused. Used in stream configuration passes
52 // The camera device id this stream belongs to
54 // Handle to framework's stream, used as a cookie for buffer
    [all...]
  /external/lzma/CS/7zip/Compress/RangeCoder/
RangeCoder.cs 9 System.IO.Stream Stream;
18 public void SetStream(System.IO.Stream stream)
20 Stream = stream;
25 Stream = null;
30 StartPosition = Stream.Position;
46 Stream.Flush();
51 Stream.Close();
    [all...]
  /external/llvm/unittests/Support/
YAMLParserTest.cpp 35 yaml::Stream Stream(Input, SM);
37 EXPECT_FALSE(Stream.validate()) << Message << ": " << Input;
38 EXPECT_TRUE(Stream.failed()) << Message << ": " << Input;
44 yaml::Stream Stream(Input, SM);
45 EXPECT_TRUE(Stream.validate()) << Message << ": " << Input;
149 yaml::Stream Stream(StringInArray, SM);
151 = dyn_cast<yaml::SequenceNode>(Stream.begin()->getRoot())
    [all...]
  /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();
  /external/lzma/CPP/7zip/Compress/
RangeCoder.h 23 COutBuffer Stream;
24 bool Create(UInt32 bufferSize) { return Stream.Create(bufferSize); }
26 void SetStream(ISequentialOutStream *stream) { Stream.SetStream(stream); }
29 Stream.Init();
43 HRESULT FlushStream() { return Stream.Flush(); }
45 void ReleaseStream() { Stream.ReleaseStream(); }
65 Stream.WriteByte((Byte)(temp + (Byte)(Low >> 32)));
106 UInt64 GetProcessedSize() { return Stream.GetProcessedSize() + _cacheSize + 4; }
    [all...]
  /external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
Stream.pm 1 package ANTLR::Runtime::Stream;

Completed in 1484 milliseconds

1 2 3 4 5 6 7 8 91011