Searched defs:stream (Results 226 - 250 of 1278) sorted by relevance

1234567891011>>

/external/chromium_org/content/child/npapi/
H A Dplugin_stream.h21 // Base class for a NPAPI stream. Tracks basic elements
22 // of a stream for NPAPI notifications and stream position.
26 // plugin will be notified when the stream has been fully sent.
32 // Opens the stream to the Plugin.
35 // If the size of the stream is known, use length to set the size. If
38 // can be issued on the stream.
45 // Writes to the stream.
51 // Notify the plugin that a stream is complete.
54 // Close the stream
62 NPStream* stream() { return &stream_; } function in class:content::PluginStream
[all...]
/external/chromium_org/content/common/
H A Dfont_config_ipc_linux.cc26 // Return a stream from the file descriptor, or NULL on failure.
122 SkStream* stream = StreamFromFD(result_fd); local
124 return stream;
/external/chromium_org/content/test/plugin/
H A Dplugin_execute_stream_javascript.cc19 NPError ExecuteStreamJavaScript::NewStream(NPMIMEType type, NPStream* stream, argument
24 int32 ExecuteStreamJavaScript::WriteReady(NPStream *stream) { argument
28 int32 ExecuteStreamJavaScript::Write(NPStream *stream, int32 offset, int32 len, argument
30 if (stream == NULL) {
31 SetError("Write got null stream");
35 SetError("Write got bogus stream chunk size");
60 NPError ExecuteStreamJavaScript::DestroyStream(NPStream *stream, argument
H A Dplugin_get_javascript_url2_test.cc11 // The identifier for the self url stream.
14 // The maximum chunk size of stream data.
40 NPError ExecuteGetJavascriptUrl2Test::NewStream(NPMIMEType type, NPStream* stream, argument
42 if (stream == NULL) {
43 SetError("NewStream got null stream");
47 COMPILE_ASSERT(sizeof(unsigned long) <= sizeof(stream->notifyData),
49 unsigned long stream_id = reinterpret_cast<unsigned long>(stream->notifyData);
60 int32 ExecuteGetJavascriptUrl2Test::WriteReady(NPStream *stream) { argument
64 int32 ExecuteGetJavascriptUrl2Test::Write(NPStream *stream, int32 offset, int32 len, argument
66 if (stream
91 DestroyStream(NPStream *stream, NPError reason) argument
[all...]
/external/chromium_org/media/audio/
H A Daudio_input_volume_unittest.cc62 // Helper method which checks if the stream has volume support.
63 bool HasDeviceVolumeControl(AudioInputStream* stream) { argument
64 if (!stream)
67 return (stream->GetMaxVolume() != 0.0);
125 DLOG(WARNING) << "Failed to open stream for device " << it->unique_id;
H A Daudio_io.h41 // Models an audio stream that gets rendered to the audio hardware output.
44 // An audio stream allocates several buffers for audio data and calls
47 // by |samples_per_packet| specified in AudioParameters when the stream is
70 virtual void OnError(AudioOutputStream* stream) = 0;
78 // Open the stream. false is returned if the stream cannot be opened. Open()
86 // The output stream does not take ownership of this callback.
99 // Close the stream. This also generates AudioSourceCallback::OnClose().
113 virtual void OnData(AudioInputStream* stream, argument
119 virtual void OnData(AudioInputStream* stream, argument
[all...]
H A Daudio_output_dispatcher_impl.cc44 // Ensure that there is at least one open stream.
115 // Leave at least a single stream running until the close timer fires to help
135 AudioOutputStream* stream = audio_manager_->MakeAudioOutputStream( local
137 if (!stream)
140 if (!stream->Open()) {
141 stream->Close();
146 audio_stream_ids_[stream] = stream_id;
150 idle_streams_.push_back(stream);
164 AudioOutputStream* stream = idle_streams_[i]; local
165 stream
[all...]
/external/chromium_org/media/audio/cras/
H A Dcras_input_unittest.cc43 // MakeAudioInputStream to create the stream in the tests.
44 virtual void ReleaseInputStream(AudioInputStream* stream) OVERRIDE {
45 DCHECK(stream); variable
46 delete stream;
/external/chromium_org/media/cast/logging/
H A Dlog_serializer.cc117 z_stream stream = {0}; local
118 int result = deflateInit2(&stream,
127 stream.next_in = reinterpret_cast<uint8*>(uncompressed_buffer);
128 stream.avail_in = uncompressed_bytes;
129 stream.next_out = reinterpret_cast<uint8*>(output);
130 stream.avail_out = max_output_bytes;
134 result = deflate(&stream, Z_FINISH);
140 result = deflateEnd(&stream);
144 *output_bytes = max_output_bytes - stream.avail_out;
/external/chromium_org/media/filters/
H A Ddecoder_selector.cc23 static bool HasValidStreamConfig(DemuxerStream* stream) { argument
24 switch (stream->type()) {
26 return stream->audio_decoder_config().IsValidConfig();
28 return stream->video_decoder_config().IsValidConfig();
37 static bool IsStreamEncrypted(DemuxerStream* stream) { argument
38 switch (stream->type()) {
40 return stream->audio_decoder_config().is_encrypted();
42 return stream->video_decoder_config().is_encrypted();
70 DemuxerStream* stream,
76 DCHECK(stream);
69 SelectDecoder( DemuxerStream* stream, bool low_delay, const SelectDecoderCB& select_decoder_cb, const typename Decoder::OutputCB& output_cb) argument
[all...]
/external/chromium_org/net/quic/
H A Dquic_client_session_test.cc125 QuicReliableClientStream* stream = session_.CreateOutgoingDataStream(); local
126 EXPECT_TRUE(stream);
127 streams.push_back(stream);
131 // Close a stream and ensure I can now open a new one.
141 QuicReliableClientStream* stream = session_.CreateOutgoingDataStream(); local
142 EXPECT_TRUE(stream);
143 streams.push_back(stream);
146 QuicReliableClientStream* stream; local
150 stream_request.StartRequest(session_.GetWeakPtr(), &stream,
153 // Close a stream an
[all...]
/external/chromium_org/net/spdy/
H A Dspdy_stream_test_util.h25 explicit ClosingDelegate(const base::WeakPtr<SpdyStream>& stream);
36 // Returns whether or not the stream is closed.
47 explicit StreamDelegateBase(const base::WeakPtr<SpdyStream>& stream);
57 // Waits for the stream to be closed and returns the status passed
65 // Returns whether or not the stream is closed.
68 // Returns the stream's ID. If called when the stream is closed,
69 // returns the stream's ID when it was open.
76 const base::WeakPtr<SpdyStream>& stream() { return stream_; } function in class:net::test::StreamDelegateBase
88 // stream,
[all...]
H A Dspdy_write_queue.cc23 const base::WeakPtr<SpdyStream>& stream)
26 stream(stream),
27 has_stream(stream.get() != NULL) {}
48 const base::WeakPtr<SpdyStream>& stream) {
52 if (stream.get())
53 DCHECK_EQ(stream->priority(), priority);
55 PendingWrite(frame_type, frame_producer.release(), stream));
60 base::WeakPtr<SpdyStream>* stream) {
68 *stream
20 PendingWrite( SpdyFrameType frame_type, SpdyBufferProducer* frame_producer, const base::WeakPtr<SpdyStream>& stream) argument
45 Enqueue(RequestPriority priority, SpdyFrameType frame_type, scoped_ptr<SpdyBufferProducer> frame_producer, const base::WeakPtr<SpdyStream>& stream) argument
58 Dequeue(SpdyFrameType* frame_type, scoped_ptr<SpdyBufferProducer>* frame_producer, base::WeakPtr<SpdyStream>* stream) argument
77 RemovePendingWritesForStream( const base::WeakPtr<SpdyStream>& stream) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGPathByteStreamSource.cpp26 SVGPathByteStreamSource::SVGPathByteStreamSource(const SVGPathByteStream* stream) argument
28 ASSERT(stream);
29 m_streamCurrent = stream->begin();
30 m_streamEnd = stream->end();
/external/chromium_org/third_party/WebKit/Source/modules/encoding/
H A DTextDecoder.cpp89 bool stream = false; local
90 options.get("stream", stream);
95 WTF::FlushBehavior flush = stream ? WTF::DoNotFlush : WTF::DataEOF;
/external/chromium_org/third_party/WebKit/Source/platform/mediastream/
H A DMediaStreamCenter.cpp83 bool MediaStreamCenter::didAddMediaStreamTrack(MediaStreamDescriptor* stream, MediaStreamComponent* component) argument
85 return m_private && m_private->didAddMediaStreamTrack(stream, component);
88 bool MediaStreamCenter::didRemoveMediaStreamTrack(MediaStreamDescriptor* stream, MediaStreamComponent* component) argument
90 return m_private && m_private->didRemoveMediaStreamTrack(stream, component);
93 void MediaStreamCenter::didStopLocalMediaStream(MediaStreamDescriptor* stream) argument
96 m_private->didStopLocalMediaStream(stream);
104 void MediaStreamCenter::didCreateMediaStreamAndTracks(MediaStreamDescriptor* stream) argument
109 for (size_t i = 0; i < stream->numberOfAudioComponents(); ++i)
110 didCreateMediaStreamTrack(stream->audioComponent(i));
112 for (size_t i = 0; i < stream
119 didCreateMediaStream(MediaStreamDescriptor* stream) argument
146 MediaStreamDescriptor* stream = webStream; local
[all...]
/external/chromium_org/third_party/angle/src/compiler/preprocessor/
H A DPreprocessor.cpp68 std::ostringstream stream; local
69 stream << value;
73 token.text = stream.str();
/external/chromium_org/third_party/angle/src/compiler/translator/
H A DDirectiveHandler.cpp160 std::stringstream stream; local
161 stream << version;
162 std::string str = stream.str();
H A DInfoSink.h45 TPersistStringStream stream; local
46 stream << t;
47 sink.append(stream.str());
74 TPersistStringStream stream; local
76 stream.precision(1);
77 stream << std::showpoint << std::fixed << f;
79 stream.unsetf(std::ios::fixed);
80 stream.unsetf(std::ios::scientific);
81 stream.precision(8);
82 stream <<
[all...]
H A DintermOut.cpp41 TStringStream stream; local
44 stream << getQualifierString() << " " << getPrecisionString() << " ";
46 stream << "array[" << getArraySize() << "] of ";
48 stream << getCols() << "X" << getRows() << " matrix of ";
50 stream << getNominalSize() << "-component vector of ";
52 stream << getBasicString();
53 return stream.str();
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d9/
H A DVertexDeclarationCache.cpp53 // Find an indexed attribute to be mapped to D3D stream 0
87 int stream = i; local
100 stream = 0;
104 stream = indexedAttribute;
118 device->SetStreamSourceFreq(stream, frequency);
125 if (mAppliedVBs[stream].serial != attributes[i].serial ||
126 mAppliedVBs[stream].stride != attributes[i].stride ||
127 mAppliedVBs[stream].offset != attributes[i].offset)
129 device->SetStreamSource(stream, vertexBuffer->getBuffer(), attributes[i].offset, attributes[i].stride);
130 mAppliedVBs[stream]
[all...]
/external/chromium_org/third_party/freetype/src/base/
H A Dftpatent.c28 _tt_check_patents_in_range( FT_Stream stream, argument
39 p = stream->cursor;
116 FT_Stream stream = face->stream; local
138 result = _tt_check_patents_in_range( stream, length_i );
149 FT_Stream stream = face->stream; local
234 result = _tt_check_patents_in_range( stream, num_ins );
/external/chromium_org/third_party/freetype/src/sfnt/
H A Dttbdf.c48 FT_Stream stream = FT_FACE(face)->stream; local
63 FT_Stream stream )
72 error = tt_face_goto_table( face, TTAG_BDF, stream, &length );
157 error = tt_face_load_bdf_props( face, FT_FACE( face )->stream );
H A Dttpost.c157 FT_Stream stream,
160 FT_Memory memory = stream->memory;
309 FT_Stream stream,
312 FT_Memory memory = stream->memory;
376 FT_Stream stream; local
383 /* get a stream for the face's resource */
384 stream = face->root.stream;
387 error = face->goto_table( face, TTAG_post, stream, &post_len );
401 error = load_format_20( face, stream, post_limi
156 load_format_20( TT_Face face, FT_Stream stream, FT_Long post_limit ) argument
308 load_format_25( TT_Face face, FT_Stream stream, FT_Long post_limit ) argument
[all...]
/external/chromium_org/third_party/icu/source/io/
H A Dustream.cpp41 operator<<(STD_OSTREAM& stream, const UnicodeString& str) argument
62 stream << buffer;
69 /* stream.flush();*/
70 return stream;
74 operator>>(STD_ISTREAM& stream, UnicodeString& str) argument
77 if (stream.fail()) {
78 return stream;
101 ch = stream.get();
102 if (stream.eof()) {
105 stream
[all...]

Completed in 529 milliseconds

1234567891011>>