Searched defs:stream (Results 176 - 200 of 1084) sorted by relevance

1234567891011>>

/external/qemu/distrib/sdl-1.2.15/src/audio/baudio/
H A DSDL_beaudio.cc24 /* Allow access to the audio stream on BeOS */
97 static void FillSound(void *device, void *stream, size_t len, argument
103 SDL_memset(stream, audio->spec.silence, len);
116 SDL_memcpy(stream,audio->convert.buf,audio->convert.len_cvt);
120 (Uint8 *)stream, len);
207 /* Subscribe to the audio stream (creates a new thread) */
/external/qemu/distrib/sdl-1.2.15/test/
H A Dloopwave.c35 void SDLCALL fillerup(void *unused, Uint8 *stream, int len) argument
46 SDL_memcpy(stream, waveptr, waveleft);
47 stream += waveleft;
53 SDL_memcpy(stream, waveptr, len);
/external/replicaisland/src/com/replica/replicaisland/
H A DTiledWorld.java52 public TiledWorld(InputStream stream) { argument
55 parseInput(stream);
73 protected boolean parseInput(InputStream stream) { argument
75 AssetManager.AssetInputStream byteStream = (AssetManager.AssetInputStream) stream;
/external/skia/src/pdf/
H A DSkPDFStream.cpp21 SkPDFStream::SkPDFStream(SkStream* stream) : fState(kUnused_State) { argument
22 setData(stream);
34 // Don't uncompress an already compressed stream, but we could.
53 void SkPDFStream::emitObject(SkWStream* stream, SkPDFCatalog* catalog, argument
56 return emitIndirectObject(stream, catalog);
59 return fSubstitute->emitObject(stream, catalog, indirect);
62 this->INHERITED::emitObject(stream, catalog, false);
63 stream->writeText(" stream\n");
64 stream
84 SkMemoryStream* stream = new SkMemoryStream; local
89 setData(SkStream* stream) argument
106 SkMemoryStream* stream = new SkMemoryStream; local
[all...]
H A DSkPDFStream.h22 A stream object in a PDF. Note, all streams must be indirect objects (via
29 /** Create a PDF stream. A Length entry is automatically added to the
30 * stream dictionary. The stream may be retained (stream->ref() may be
32 * @param data The data part of the stream.
36 explicit SkPDFStream(SkStream* stream);
37 /** Create a PDF stream with the same content and dictionary entries
44 virtual void emitObject(SkWStream* stream, SkPDFCatalog* catalog,
50 kUnused_State, //!< The stream has
65 setSubstitute(SkPDFStream* stream) argument
[all...]
/external/skia/src/utils/
H A DSkFrontBufferedStream.cpp10 SkFrontBufferedStream* SkFrontBufferedStream::Create(SkStream* stream, size_t bufferSize) { argument
11 if (NULL == stream) {
14 return SkNEW_ARGS(SkFrontBufferedStream, (stream, bufferSize));
17 SkFrontBufferedStream::SkFrontBufferedStream(SkStream* stream, size_t bufferSize) argument
18 : fStream(SkRef(stream))
26 // Even if the underlying stream is at the end, this stream has been
112 // remaining in the stream) and provide it to the caller.
131 // Read directly from the stream.
/external/skia/src/xml/
H A DSkXMLPullParser.cpp25 SkXMLPullParser::SkXMLPullParser(SkStream* stream) : fStream(NULL) argument
30 this->setStream(stream);
38 SkStream* SkXMLPullParser::setStream(SkStream* stream) argument
40 if (fStream && !stream)
43 SkRefCnt_SafeAssign(fStream, stream);
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
H A DTestTreeNodeStream.java35 /** Test the tree node stream. */
38 /** Build new stream; let's us override to test other streams. */
43 public String toTokenTypeString(TreeNodeStream stream) { argument
44 return ((CommonTreeNodeStream)stream).toTokenTypeString();
50 TreeNodeStream stream = newStream(t);
52 String found = toNodesOnlyString(stream);
56 found = toTokenTypeString(stream);
67 TreeNodeStream stream = newStream(t);
69 String found = toNodesOnlyString(stream);
73 found = toTokenTypeString(stream);
[all...]
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
H A DMyKeyStoreSpi.java109 public void engineStore(OutputStream stream, char[] password) argument
111 if (!(stream instanceof ByteArrayOutputStream)) {
112 throw new IOException("Incorrect stream");
114 if (((ByteArrayOutputStream) stream).size() == 0) {
115 throw new IOException("Incorrect stream size ");
121 public void engineLoad(InputStream stream, char[] password) argument
/external/chromium/net/spdy/
H A Dspdy_http_stream.h31 // The SpdyHttpStream is a HTTP-specific type of stream known to a SpdySession.
40 SpdyStream* stream() { return stream_.get(); } function in class:net::SpdyHttpStream
42 // Cancels any callbacks from being invoked and deletes the stream.
106 // when a SYN_REPLY comes in for the stream.
107 // It is not owned by this stream object, or point to |push_response_info_|.
115 // We buffer the response body as it arrives asynchronously from the stream.
131 // Is this spdy stream direct to the origin server (or to a proxy).
/external/chromium/third_party/libjingle/source/talk/base/
H A Dsocketpool.cc70 LOG_F(LS_VERBOSE) << "Providing cached stream";
74 if (StreamInterface* stream = pool_->RequestConnectedStream(remote, err)) {
76 active_.push_front(ConnectedStream(remote, stream));
77 LOG_F(LS_VERBOSE) << "Providing new stream";
83 void StreamCache::ReturnConnectedStream(StreamInterface* stream) { argument
86 if (stream == it->second) {
88 if (stream->GetState() == SS_CLOSED) {
90 LOG_F(LS_VERBOSE) << "Returning closed stream";
94 stream->SignalEvent.connect(this, &StreamCache::OnStreamEvent);
95 LOG_F(LS_VERBOSE) << "Caching stream";
105 OnStreamEvent(StreamInterface* stream, int events, int err) argument
157 ReturnConnectedStream(StreamInterface* stream) argument
211 ReturnConnectedStream(StreamInterface* stream) argument
220 OnStreamEvent(StreamInterface* stream, int events, int err) argument
284 ReturnConnectedStream(StreamInterface* stream) argument
[all...]
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
H A DAndroidProtocolHandler.java141 // We strip the query parameters before opening the stream to
155 * @param stream The opened input stream which to examine.
156 * @param url The url from which the stream was opened.
162 public static String getMimeType(Context context, InputStream stream, String url) { argument
179 // Fall back to sniffing the type from the stream.
181 return URLConnection.guessContentTypeFromStream(stream);
/external/chromium_org/android_webview/native/
H A Dinput_stream_impl.cc46 InputStreamImpl::InputStreamImpl(const JavaRef<jobject>& stream) argument
47 : jobject_(stream) {
48 DCHECK(!stream.is_null());
/external/chromium_org/chrome/browser/extensions/api/streams_private/
H A Dstreams_private_api.cc49 scoped_ptr<content::StreamHandle> stream,
53 event_args->Append(new base::StringValue(stream->GetMimeType()));
54 event_args->Append(new base::StringValue(stream->GetOriginalURL().spec()));
55 event_args->Append(new base::StringValue(stream->GetURL().spec()));
70 GURL url = stream->GetURL();
71 streams_[extension_id][url] = make_linked_ptr(stream.release());
46 ExecuteMimeTypeHandler( const std::string& extension_id, const content::WebContents* web_contents, scoped_ptr<content::StreamHandle> stream, int64 expected_content_size) argument
/external/chromium_org/content/browser/fileapi/
H A Dfileapi_message_filter_unittest.cc209 scoped_refptr<Stream> stream = stream_registry->GetStream(kUrl); local
211 ASSERT_FALSE(stream.get() == NULL);
213 stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read));
215 stream = NULL;
223 stream = stream_registry->GetStream(kUrl);
224 ASSERT_FALSE(stream.get() == NULL);
226 stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read));
233 stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read));
265 scoped_refptr<Stream> stream = stream_registry->GetStream(kUrl); local
266 ASSERT_FALSE(stream
313 scoped_refptr<Stream> stream = stream_registry->GetStream(kUrl); local
[all...]
/external/chromium_org/content/browser/streams/
H A Dstream_unittest.cc7 #include "content/browser/streams/stream.h"
48 void Read(Stream* stream) { argument
53 while (stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read) ==
62 virtual void OnDataAvailable(Stream* stream) OVERRIDE {
63 Read(stream); variable
77 void Write(Stream* stream, argument
80 stream->AddData(buffer, buffer_size);
83 virtual void OnSpaceAvailable(Stream* stream) OVERRIDE {
86 virtual void OnClose(Stream* stream) OVERRIDE {
94 GURL url("blob://stream");
[all...]
H A Dstream_url_request_job_unittest.cc7 #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(
107 stream->AddData(buffer, buffer->size());
108 stream->Finalize();
114 scoped_refptr<Stream> stream(
125 stream
[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/renderer/media/
H A Dvideo_source_handler.cc106 WebKit::WebMediaStream stream; local
108 stream = registry_->GetMediaStream(url);
110 stream =
113 if (stream.isNull() || !stream.extraData()) {
118 // Get the first video track from the stream.
120 static_cast<MediaStreamExtraData*>(stream.extraData());
125 webrtc::MediaStreamInterface* native_stream = extra_data->stream().get();
127 LOG(ERROR) << "GetFirstVideoSource - native stream is NULL.";
133 LOG(ERROR) << "GetFirstVideoSource - stream ha
[all...]
/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
/external/chromium_org/media/audio/
H A Daudio_input_volume_unittest.cc63 // Helper method which checks if the stream has volume support.
64 bool HasDeviceVolumeControl(AudioInputStream* stream) { argument
65 if (!stream)
68 return (stream->GetMaxVolume() != 0.0);
126 DLOG(WARNING) << "Failed to open stream for device " << it->unique_id;
H A Daudio_output_dispatcher_impl.cc47 // Ensure that there is at least one open stream.
100 // Don't recycle stream until two buffers worth of time has elapsed.
124 AudioOutputStream* stream = pausing_streams_.back();
126 idle_streams_.push_back(stream);
170 AudioOutputStream* stream = audio_manager_->MakeAudioOutputStream( local
172 if (!stream)
175 if (!stream->Open()) {
176 stream->Close();
179 idle_streams_.push_back(stream);
185 // Make sure that we have at least one stream allocate
[all...]
/external/chromium_org/media/audio/cras/
H A Dcras_input_unittest.cc38 // MakeAudioInputStream to create the stream in the tests.
39 virtual void ReleaseInputStream(AudioInputStream* stream) OVERRIDE {
40 DCHECK(stream); variable
41 delete stream;
/external/chromium_org/media/filters/
H A Daudio_decoder_selector_unittest.cc49 scoped_ptr<DecryptingDemuxerStream> stream) {
50 OnDecoderSelected(decoder.get(), stream.get());
123 // The stream is not encrypted but we have no clear decoder. No decoder can be
134 // The stream is not encrypted and we have one clear decoder. The decoder
147 // The stream is not encrypted and we have multiple clear decoders. The first
148 // decoder that can decode the input stream will be selected.
162 // There is a decryptor but the stream is not encrypted. The decoder will be
175 // The stream is encrypted and there's no decryptor. No decoder can be selected.
210 // The first decoder that can decode the input stream will be selected and
47 MockOnDecoderSelected( scoped_ptr<AudioDecoder> decoder, scoped_ptr<DecryptingDemuxerStream> stream) argument
H A Dvideo_decoder_selector_unittest.cc62 scoped_ptr<DecryptingDemuxerStream> stream) {
63 OnDecoderSelected(decoder.get(), stream.get());
133 // The stream is not encrypted but we have no clear decoder. No decoder can be
144 // The stream is not encrypted and we have one clear decoder. The decoder
157 // The stream is not encrypted and we have multiple clear decoders. The first
158 // decoder that can decode the input stream will be selected.
172 // There is a decryptor but the stream is not encrypted. The decoder will be
185 // The stream is encrypted and there's no decryptor. No decoder can be selected.
220 // The first decoder that can decode the input stream will be selected and
60 MockOnDecoderSelected( scoped_ptr<VideoDecoder> decoder, scoped_ptr<DecryptingDemuxerStream> stream) argument

Completed in 846 milliseconds

1234567891011>>